Search

Delta Industrial Automation

Tips & Tricks

DVP04TC-S/DVP04PT-S & DTE Channel setup

For DVP04TC-s/ DVP04PT-s and DTE its is possible to configure the input channels for different sensor types and also disable the unused channels. This will prevent flashing error LED when no other errors are present.

  • For DVP04TC-s and DVP04PT-S we use Control Register 1 (CR#1):

Example 1: For DVP04TC-S set CH1 for J-type sensor, CH2 K-type sensor, CH3 T-type sensor and disable CH4.

CH1 = (b2-b0) = (0, 0, 0) for J-type

CH2 = (b5-b3) = (0, 0, 1) for K-type

CH3 = (b6-b8) = (1, 0, 0) for T-type

CH4 = (b11-b9) = (1, 1, 1) to disable channel

04tc-s

to-tc

Example 2: For DVP04PT-S set CH1 for PT100 sensor, CH2 NI100 sensor and disable CH3-4.

CH1 = (b3-b0) = (0, 0, 0, 0) for PT100

CH2 = (b7-b4) = (0, 0, 0, 1) for NI100

CH3 = (b11-b8) = (1, 1, 1, 1) to disable channel

CH4 = (b15-b12) = (1, 1, 1, 1) to disable channel

pt

to_pt

 

  • For DTE we use Function Address 10F6H :

Example 3: For DTE set CH1 – CH4 Enable, CH5 -CH7 Disable & CH8 Enable:

CH1(b0) = (0) Enable

CH2(b1) = (0) Enable

CH3(b2) = (0) Enable

CH4(b3) = (0) Enable

CH5(b4) = (1) Disable

CH6(b5) = (1) Disable

CH7(b6) = (1) Disable

CH8(b7) = (0) Enable

Write data 01110000 0r 70H to Function Address 10F6H

dte

dte2

Enjoy!

 

Homing and Positioning with C2000 with S7 1500 / 1200 via Profibus-DP

Positioning is one of the main applications of drive technologies and motion control and  the necessity of positioning in industrial applications is quite wide and there are many applications where positioning could be applied. Some of these applications are a process machine valve, a conveyor, the thread of a ball-screw, a lifter, a drilling machine pattern or a driving cart through an assembly line. Precise positioning (tenths of millimeters for CNC for example) takes into account many other factors and are driven by Servo-controllers like the Delta ASD family servo-drives. However, the  C2000 can be used for a variety of positioning functions with all robustness of a power drive for non-precise application where millimeters or less are not a problem. In this application we are going to learn how to set a drive system with C2000 for positioning, and how to transfer a position command using Profibus-DP from a S7-Siemens PLC with  TIA PORTAL.

You can also download the C2000 fine tuning for this application:

super_tuned_for_pos

You can also download the S7-1500 fw 1.8 program:

DELTA_COMM_S71500_VIDEO_pos

C2000 as a Master for Modbus RTU for P2p using TPEditor for display

MODBUS RTU is a layer 2 network protocol created in the end of the 70’s with the necessity of a fieldbus protocol in industry to transmit and receive data in a simple way through the many devices of a network, in mind. MODBUS RTU uses RS-485 electrical standards and works on a Master-Slave setup, where a master writes and reads data into the registers of the slaves in the network. It has become the default protocol in many industry devices like PLCs, drives, sensors and it is highly used nowadays.

The Delta C2000 also uses MODBUS RTU as a built-in communication protocol. In this application note we are going to learn how to set up a Master – slave configuration, write, read and program the internal PLC with ISPsoft to work on a peer-to-peer (P2P) application with 2 motors, one used as a master and other as a slave. P2P is used when we want both motors to run at the same speed together in an application and monitor their current, its typical use can be applied to pumps, fans, conveyors, rollers. It can be also taken as an alternative for the analog input/output of the drive, when we need more than just 2 measurements. Delta C2000 also permits to create a small Text panel customized display with TPEditor, which we will follow at the end of the chapters.

Download the application note:

AMDC2000MODBUSMASTER0616.pdf

Download the ISPsoft interal PLC programs and Drive parameters for VFDsoft.

MASTERC2000

Easy control of Delta VFD drives

This week we would like to show you two new function blocks (FB) that we have developed to make even easier to use Delta Industrial Automation products.

Usually we need to control several AC drives from a single Master PLC and Modbus communication is a cheap and helpful way to get it.

In order to reduce programming and commissioning time we have developed two FB:

  • COM2_VFDLINK: Configures the communication parameters (baudrate, number of bits, parity,…) that all the nodes on the network have to share and informs about the communication state of each node.
  • DELTA_VFD: Controls each one of the slaves VFD, we can Start/Stop, Forward/Reverse, frequency command and reset faults. On the other side, the FB informs us about the status of the drive, alarm code, output frequency and output current.

Below you’ll find the FB library ready to be imported in your ISPSoft and a little pdf explaining the I/O of each FB, enjoy it!

VFDLink

VFDLINK FB

 

Data exchange between the Delta DVP12-SE PLC and Other PLC via Ethernet

DVP12-SE PLC can be configured to exchange data between other PLCs via Ethernet(modbus TCP/IP) by using DCISoft  Software. DCISoft  Software is an integrated configuration tool of Delta network modules for WINDOWS operation system. Below is how to configure DVP12-SE for Data Exchange with other PLCs.

masterslavesEthernet function of DVP12-SE PLC

Ethernet function.PNG

Follow the steps below to configure DVP12-SE for Data Exchange.

1. Communication Setting: Start DCISoft in your PC, and click Communication Setting on the Tools menu.

DCISoft interface

When the DCISoft opens as shown above,Click the communication settings icon on the tool menu as shown below. Set the communication type and the communication parameter that you prefer to use on your PC for connecting the DCISoft with the DVP12-SE PLC .

communication setting.PNG

2. Auto Search

After setting the communication type and communication parameter, then push the “Auto Search” button to search  for the DVP12-SE in the DCISoft for configuration.

searching

3. Setup Overview : after the step above, the interface below will appear. Double-click on the DVP12-SE module icon contained in the interface  below to enter the setup overview page.

searching1.PNG

4. Overview

After the step above, the interface below will appear which contains several tabs in the tool bar. The first tab is the overview tab, this tab shows the current basic status of the DVP12-SE PLC module. I will further talk about the Basic and the Data Exchange tabs used for the configuration of the DVP12-SE PLC.

overview.PNG

5. Basic settings 

Push the basic tab, the interface below for setting the network parameter will appear.

basic.PNG

5.1 Module name:  There can be many DVP12-SE on the network. Thus, you can set up a module name for each module to identify the module when you need to use them.

5.2 Network setup: In the IP configuration field, you can Enable DHCP (DHCP: is Automatically updated by the server. There has to be a server in the LAN) or static IP. (Static IP: Is Preset or manually modified by the user).  if you choose Static IP, manually modified  the; IP addressSubnet mask (Netmask ) and the Gateway IP.

6. Data Exchange 

Click the data exchange tab, the interface below will appear. The Data Exchange is used for configuring exchange of data between PLC via network. A Delta Ethernet master can read/write data from/into a slave.

If a device which is not a Delta PLC is connected, users can use the  hexadecimal four-digit MODBUS address of the device for data exchange.

Data exchange.PNG

6.1. Enable  data Exchange:
Users can enable or disable a data exchange. After a data exchange is enabled, the data will
be exchanged

6.2 .Enable Condition:
In the enable condition field,you can select Always Enable,Program Control or PLC Run. If Always Enable is selected,DVP12-SE will execute data exchange continuously until the setting in DCISoft is changed.
If Program Control is selected, DVP12-SE will execute data exchange according to the
program setting. If PLC Run is selected, DVP12-SE will execute data exchange when the DVP12-SE Run Mode switch is activated

6.3. Slave ID, IP Address and Enable (Station Address-IP Address:)
You have to type in the IP address of the slaves. for example, If the IP address of a slave is 192.168.0.1, and the station number of the slave is 1, you can type 1 in the first Slave ID cell, select the box in the first Enable cell, and type  in the first IP Address cell. You have to enable and include the IP addresses of the other  PLC that will be  slaves

6.4. Master Device, Slave Device, and Quantity:

below is a brief information about the function of Master Device, Slave Device, and Quantity in data exchange dialog box of DCISoft.

In the Master Device, Slave Device cell,  if the the slaves device is a Delta PLC, enter the starting D register that you will use for data exchange.

If the slave is a third party device(not a delta PLC), enter the an hexadecimal four-digit MODBUS address that the device will use for data exchange. see below the meaning of the arrow signs in the master device and slave device column of  data exchange page in DCISoft.

Reading (): Initial reception register in a masterInitial transmission register in a slave

Writing (): Initial transmission register in a master Initial reception register in a slave

6.5. Quantity: A slave station can send 100 pieces of data at most and receive 100 pieces of data at most  Simultaneously

See explanation below on how the Quantity  field of data exchange works.

qquantity.PNG

From the figure above, with the quantity specified as 100, see explanation below what the specified D registers does.

writing data from the slave side and receiving data at the master side ( )

Looking at the first row of the Master Device and Slave Device column as contained in the figure above, The master will use D register ; D0, D1……….up to D99 (that is possible 100 pieces of different data base on the “100” Quantity Specified in DCISoft) to receive the data written by  D99, D100…..up to D199 of the slave  simultaneously. (that is possible 100 pieces of different data base on the “100 ” Quantity Specified in DCISoft)

writing data from the master side and receiving data at the slave side ()

Looking at the second row of the  Master Device and Slave Device column as contained in the figure above, The master can write data to the slave D register using D200, D201……up to D300 and the slave can read this data using D300, D301…D400.

From the configuration above, I can send and receive up to 100 pieces of different data by enabling data exchange and specifying a quantity of 100.

7. Reconstruction

reconstruction

To save your configuration to your PC desktop or USB stick, push the new button as show above and save the DCISoft file

Example

Look at the video below to see how I send and receive data between two DVP12-SE using the configuration that I explained earlier above, I use one DVP12-SE PLC as a master and the other DVP12-SE PLC as a slave for data exchange.

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!

Blog at WordPress.com.

Up ↑