Search

Delta Industrial Automation

Tips & Tricks

How to connect C/CP2000 to S7 1500/1200 using Profibus-DP

PROFIBUS DP is a widely used layer 2 industrial network protocol patented by Siemens and a default protocol in many Siemens automation products. In this application note we will learn how to exchange data between Delta C2000 drives and S7 1500 PLC through Profibus-DP Fieldbus. In the first part, the  hardware setup of it will be covered including GSD installation.

After that, we will check how to communicate through PZD (cyclic data), memory addresses, words and bits on both sides of communication with practical examples of C2000 Delta drives.

The example was made with S7 1500 and TIA portal with Delta C2000, but it can surely also be used for the S7 1200 and CP2000.

You can download the application note from here:

AMDS71500C200060XXPROFIBUSDP

Or use the you tube.com tutorial:

Communication between Delta HMI and Siemens PLC S7-1200

Many users have faced the challenge to connect our DOP series HMI and Siemens S7-1200 PLC. This tutorial is intended to help all who may have little knowledge either Delta HMI or Siemens PLC in order to make this communication easy to set.

HMI-S71200

By following the below steps, you will find an easy way to connect both devices using Ethernet as a communication media:

Settings on Delta HMI side

1- In DOPSoft menu bar, go to “Options” => “Communication Setting”

Picture 1

2- Click on the Ethernet port and set the following parameters on the “Device” tab

2.1- Create a new connection by means of the “+” button:

Picture 4

Picture 2

2.2- Select “S7 1200 (ISO TCP) protocol from the SIEMENS list

Picture 3

Settings on Siemens S7-1200 PLC side using TIA Portal

1- Inside the PLC program, the “TCON” system function block (SFB) has to be inserted in order to establish the communication with Delta HMI

2- Open the Main Operation Block “OB1” and insert the “TCON” SFB as follows

3- In “Instructions” -> “Extended instructions” -> “Communications” -> “Open user communication”, open the “Others” folder and drag the “TCON” block to the operation block. This automatically generates an instance data block for the “TCON” function that you have to confirm with “OK”

Picture 54- Set the Input and Output parameters of the TCON block. Press F1 when selecting the TCN Block to access online help

Picture 6

5- Inside the properties of the TCON block specify the IP address of the communication partner

Picture 7

6- TIA Portal => PLC Properties

6.1- Select “General” => “Protection” => “Permit access with PUT/GET communication from remote partner”

Picture 8Picture 9

7- Enter the “Properties” option of the System Data Block previously generated and disable the “Optimized block access” option

Picture 10

Picture 11

Hope this tutorial is helpful to all of you. Good luck !

 

Hannover Messe 2016 highlights

Hannover Messe 2016 is just finish, one year more.
For those who came, welcome, and for those who couldn’t pass by, this is what we showed.

MS300/MH300
Capture
MS300 means Standard Compact Drive & MH300 means High Performance Compact drive
Small and compact format to replace our beloved VFD-E, and yes, both have PLC integrated, but no size limits anymore! 2K steps and 5K steps respectively.
Let’s see If we’re on time to give it a ride within this year!

PPC series
Capture
Industrial PC’s! So far 2 models of 15″ and 19″ inch, both with sexy silver IP65 frame, and of course compatible with Windows XP, Windows 7 and Linux.

A2 400V
Capture
Size Matters! finally the new A2 400V series, specifically for European market. At this moment only M version available, and don’t try to weight the motor alone!

DMPS
DMPS
First complete Delta solution.
If you have to pump, let us know, we can provide not only the hardware, but also the software. Just plug and play.

DX-Series & DIACloud
DIAcloud
Delta Remote control solution.
No more ask IT guys to open the port for my machine, this is the tool you need to directly connect the machine to the cloud, and show to the boss how can he connect form his mobile phone. piece of cake.

And last but not least

AS300
AS300
Brand new PLC Series in the middle between DVP and AH500.
Is the kind of PLC that you’ll expected, with the flexibility and programming langages of AH500, but with a cost more closer to DVP.
Nevertheless we’ll need still more time until this is real, don’t expect it until 2017.

Hope to see you next year!

Delta welcomes Hannover Messe 2016

Good news for our followers.
If you never have been on the Industrial Automation top event in Europe, now it’s your time!

We give free entrance tickets with one only condition! please visit us on Hall 11, Stand A49, and let us know that you are one of our readers.
We’ll be happy to give you sneak preview of what’s coming from Delta Headquarters to help you on your future projects.

Read below message and follow the instructions:

Delta to Highlight its Strengthened Capabilities in Automation and Energy Management Solutions at Hannover Messe 2016
Register now for your free entrance ticket for the Hannover Messe from 25-29 April, Stand A49, Hall 11.

Registration link for free entrance ticket to Hannover Messe 2016 

HANNOVER-MESSE_01

Starter kit release

Hello everyone,

Indicated for beginners, experts, professionals and amateurs.
Our brand new Delta starter kit is ready for you.

The idea is give you quick and easy system configuration to practice your programming skills.
There’s 2 starter kits, the Standard and the Ethernet, feel free to choose whatever you prefer just clicking on below link.
Starter kit landing page

You just need to add your personal data on that webpage and our partners will contact you for the delivery.

image_7e0391d1-9630-44f8-b0e1-33040d31e9b3_starterkit

The Kit is composed by PLC, HMI,  power supply and all the necessary cables for program them. It also came with USB disk with several training examples and manual.
You can find a description of both kits on this link
In case you need more exhaustive information use this other one link.

Capture

This is the perfect kit for everyone who wants to introduce in Delta programming software.

In case you already have your Delta elements, and just want the training tools, feel free to download all the information for free from our website.

Enjoy, and do not hesitate to share your experience with us.

Delta PLC data latched information

Delta PLC has a lot of different series and type.

In order to more clarify regarding the battery,  real-time calendar, program and latched register , we sort it out as below.

Program, real time calendar, regsiter_201603

You can know each data latched period information in this pdf file.

Delta Electronics participated in Middle East Electricity show in Dubai

Delta Electronics has showed its products and solutions in the MEE exhibition held in Dubai (1-3 March).

Various products were demonstrated in the booth, including PLCs, HMIs, Drives, Servo and Delta Multi-Pump Solution (DMPS).

Visitors from all around the middle east were present, good connections were made and costumers showed lots of interest in our products.

Due to the fact that oil prices are going down, and most of the projects in the Gulf area are oil and gas related projects, lots of costumers moved their attention to Delta as an economic alternative to other brands.

Some pictures from the show:

See you soon in Hannover Messe, April.

HMI – PLC Real Time Clock Setting

Real Time Clock Sync

Since real time clock synchronization between HMI and PLC is a normal requirement for most application, we’d like to show you the updating function of real time clock provided by DOPSoft.

You can refer to the below technical document for the complete explanation on how to set real time clock synchronization.

Real Time Clock Setting

And here you can also download the HMI example program:

HMI program example

I hope it will be useful for you all !

Good luck !

PLC LINK: 32 slaves and R/W 100words

Probably some of you already know the PLC Link feature of our DVP series PLCs, it allows us to easily exchange data between the master PLC and several slaves saving a lot of programming time.

Slaves can be PLC, drives, temperature controller and, in general, any equipment that includes and RS485 Modbus port.

For those who don’t know this feature here you can find other posts in this blog with detailed information:

 

Exchange between Master PLC and Slave drive (VFD):

https://deltautomation.wordpress.com/2011/08/05/plc-link-plc-to-vfd/

PLC-VFD

Exchange between Master PLC and Slave PLC:

https://deltautomation.wordpress.com/2011/07/21/plc-link-plc-to-plc/

PLC-PLC

Exchange between Master PLC and Slave temperature controller:

https://deltautomation.wordpress.com/2013/01/04/plc-link-plc-to-temperature-controllers/

PLC-DT

In general, the PLC Link feature is limited to:

  • 16 slaves.
  • Read up to 50 words (16 bits variable) from each slave.
  • Write up to 50 words (16 bits variable) to each slave.

Today I would like to show you how our PLC DVP12SE (Link) is able to overcome this limitations and increase the number of slaves and the number of data to be exchanged.

Using the DVP12SE PLC (fw versions 1.6 and above) you will be able to:

  • Communicate with up to 32 slaves.
  • Read up to 100 words (16 bits variable) from each slave.
  • Write up to 100 words (16 bits variable) to each slave.

 

Let’s take as an example an application where we want to communicate with first slave (ID1) and a second one over the 16 standard slaves, the 20th (ID20) for instance, at the end of this post you’ll find the example programs to be downloaded on the Master and in the two slaves.

 

First of all, we have to be sure that the communication parameters are the same on all the nodes connected to the Modbus (ASCII/RTU, baudrate, data bits, parity,stop bits) and also that all have a different node number.

MST-1

Two internal bits are very important in order to start the PLC Link functionality, M1350 and M1351:

MST-2

Also we have to indicate to our PLC that we want to access to more than 16 slaves and that we want to read/write more than 50 words on each slave:

MST-3

Next step is to assign to each slave (ID1 to ID32) his configured node number into the Modbus (in this case we have configured ID1 with node 1 and ID20 with node 20):

MST-4

In order to configure the PLC Link there’s no need to program complex polling structures nor keeping into account communication timeouts or errors in order to resend Modbus messages, you only need to fill a few special registers with the right values in order to indicate to the PLC which nodes you want to communicate and which registers of these slaves nodes you want to read/write.

In this example we will:

  • Master PLC reads D0~D49 (50 words) on PLC ID1 and stores the data on D100~D149 of his internal memory.

MST-5

  • Master PLC reads D0~D49 (50 words) on PLC ID20 and stores the data on D150~D199 of his internal memory.

    MST-6

  • Master PLC writes the values of his D200~D249 (50 words) on registers D100~D149 of the PLC ID1.

MST-7

  • Master PLC writes the values of his D200~D249 (50 words) on registers D100~D149 of the PLC ID20.

MST-8

  • Increments D200 and D249 (these values will be wrote on ID1 and ID20).

MST-9

On the slave’s side, we only have to configure the communication (ASCII/RTU, baudrate, data bits, parity, stop bits) and a different node number to each slave.

 

  • NODE 1:

SLV-1

  • NODE 20:

SLV-2

 

Here you have the programs of the Master PLC and both Slaves and also a pdf where you can find which registers you have to configure in order to read/write each one of the 32 Slaves.

PLC LINK 32 slaves

PLC Software

 

Now you have seen all the required steps to configure a powerful data exchange between a Master PLC and up to 32 Modbus slaves with just a few program code lines, enjoy it!

Blog at WordPress.com. | The Baskerville Theme.

Up ↑

Follow

Get every new post delivered to your Inbox.

Join 1,301 other followers