Search

Delta Industrial Automation

Tips & Tricks

Category

Fieldbus Tips&Tricks

CANopen, Modbus RS485/RS232, Modbus TCP/IP, Ethernet IP, Profibus, Bacnet, Ethercat

MODBUS TCP communication between C2000 and AH500 in speed mode

Modbus RTU is a famous layer 2 fieldbus protocol used in wide range of applications since the mid 80’s and it has its encapsulation in a Ethernet frame, on TCP/IP protocol of layer 4 – 3 of OSI model. It can be used on Ethernet networks though a logic IP address, Modbus TCP uses the same function codes of RTU. The main advantage is that it is faster and can be used to send or receive data through any Ethernet device such as switches and routers in different topologies like star, tree or other line topologies using TCP/UDP/IP protocols in Layer 3-4. It can be installed in Standard 10, 100 or 1000 Mbit/s Ethernet technology based on copper cables, fiber optics or wireless standards can be used. Number of stations is almost infinite and it can go up to a speed of 1.5 Kbyte per telegram frame.

The full application note can be found here:

 

The ISPsoft program used is listed here:

AH500_MODBUS_TCP

 

 

 

 

 

 

 

/

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 FB explanation

VFDLINK FB

VFDLink_example

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!

How to connect ASDA-A2 to a PROFINET network

Problem: our ASDA-A2 servo drive is a very good high-end servo drive, except for the fact that it does not support PROFINET until now, and for one of our potential costumers we needed such functionality.

This document explains the solution that we did for such problems.

System structure: the system is basically to control a load with our ASDA-A2-M servo drive, which has CANOpen communication. The controller is a PROFINET Master (e.g. Siemens S7 PLC).

Here we used a gateway, to bridge the connection between PROFINET and CANOpen, the gateway used was IXXAT CME/  PN from HMS.

ASDA-A2 configuration: the servo drive’s parameters were adjusted to the connected motor, and to be controlled by a CANOpen Master, below are the main parameters for such a configuration:

Parameter Value Discerption
P1-01 0x000B Control Mode and Output Direction (CANopen Mode)
P1-44 1000 Electronic Gear Ratio (1st Numerator) (N1)
P1-45 1 Electronic Gear Ratio (Denominator) (M)
P3-00 0x0004 Communication Address Setting
P3-01 0x0403 Transmission Speed (1.0M bits / second)

 

The ASDA-A2-M CANOpen interface supports up to 4 PDOs duplex (transmit and receive), each PDO has a length of 8 bytes.

For an explanation for the commands needed to control the drive from CANOpen, please refer to the document CANopen for ASDA-A2_M_EN_20120921

IXXAT CME/PN gateway: this gateway can be parametrized using its own software (CANopen Configuration Studio for IXXAT CME-PN 2.1). In the software the ESD file for the ASDA-A2 can be loaded, and the values that need to be transferred are selected. The variables selected for this application are as follows:

Index Sub-Index Size (Bits) Parameter name
RPDO1
6040 00 16 Controlword
6081 00 32 Profile velocity
RPDO2
607A 00 32 Target Position
60FF 00 32 Target Velocity
RPDO3
6083 00 32 Profile acceleration
6084 00 32 Profile deceleration
RPDO4
6060 00 8 Modes of operation
6098 00 8 Homing method
607C 00 32 Home offset
TPDO1
6041 00 16 Statusword
6077 00 16 Torque actual value
6078 00 16 Current actual value
TPDO2
6064 00 32 Position actual value
TPDO3
606C 00 32 Velocity actual value
TPDO4
603F 00 16 Error code

 

After the configuration has been made, a compilation is done in the software, and then the GSDML file is exported to be used in the PROFINET master as a device .

full screen is recommended

 

And the last step is to download the configuration to the IXXAT gateway using the USB cable (mini USB port).

PROFINET Master: here in this case a Siemens PLC is used (CPU1516-3 PN), first step in the hardware configuration the GSDML file is loaded, and then the device is inserted in the HW configuration. After inserting the device, it will automatically assign inputs and outputs areas for the mentioned variables, where they can be used later in the PLC program to control the servo drive.

we hope this will be of help to your application.

Announcement: DVPSCM52-SL (Bacnet)

Did you already test our DVPSCM12-SL?
If not, I don’t know what are you waiting for!

The DVPSCM12-SL is the magic device that allows you to communicate with any RS485 based device.
And we’re no talking only about PLC’s or HMI’s… We’re talking about inverters, HVAC, Electrical power analayzers or whatever your customer decides that needs data.

You can find plenty of information in our Announcement: New products DVP02LC-SL and DVPSCM12-SL post.

untitled

So according to the success of his product, we decide to do something similar more focus in Building Automation, and we decide to develop a communication module for Bacnet

As you can see in this presentation, our device is able to communicate with the main HVAC brands (Johnson Controls, Honeywell, Siemens, Delta), And we demostrated on the below videos.
BacNet examples


For further information don’thesitate to download the manual of this device on our web site.
DVPSCM52-SL Manual

And let us know your experiences

PLC Link (PLC to Temperature Controllers)

Happy new year 2013 for you all.
We decide to start this new ear with a new chapter of the PLC-Link series, I hope you like it!

As we see on the other chapters PLC to PLC and PLC to VFD, PLC Link is a method to easily communicate with Delta devices based on RS485 Modbus.
Because we already did it PLC and VFD, today we´ll do it with Temperature controllers.

1. Netwrok Structure:
Communication is RS485, so follow the twisted pairs recommendations when possible.
untitled

2. DTC Configuration:
First you have to setup the communication protocol as the PLC (9600,7,E,1 ASCII)
Second, remeber to change to 1 the parameter “Communication write-in selection”

untitled

3. PLC Software:
Step 1 -> Set up communication protocol
Step 2 -> Set the number of register to be read/write (Check manual to understand the D1436 and D1452 special register meaning).
Step 4 -> Select the registers to be read/write (H4700 = Present Value; H4701 = Set Value)
Check the following Table for DTA and DTB
untitled
For DTC or DTD jus follow the DTC manual table
Step 5 -> Enable PLC-Link

Do not hesitate to download the below examples
PLC LINK COM2 (PLC – DTC) and PLC LINK COM2 (PLC – DTA).dvp (Tested by DDC Automation)

Special Thanks to DDC Automation from UK for this example
Let us know your experience

Successful Application – Profibus communication with VFD-EL & CME-PD01

It’s well known that Profibus is quite extended within industrial enviroment.
But this doesn’t mean that you need to use Siemens inverter when the fieldbus network is already setup!

We know that Simatic Step7 is not a piece of cake…
So, on the tutorial below you will find step by step, how to manage Simatic Step7 to be able to add Delta Inverter VFD-EL (with Profibus card CMA-PD01) into some profibus network.

Probably you will need GDS file.
GSD file (For VFD-B, VFD-F, VFD-M, VFD-S, VFD-L, VFD-E)
GSD for CME-PD01 GSD

And the tutorial
Delta – Siemens comunication VFD-EL via CME-PD01 (Profibus)

Let us know If this information is important for you, and we’ll post the same for new inverters like C2000 or CP200.
Ah! and remeber our profibus slave module in case you need to add cost effective remote I/O

Sucsesful Applications – How to communicate with ABB ACS550

In a perfect world, all our customers should ask for Delta inverters in their machines.
But because we have what we have, the post from today is to help you to communicate ABB ACS550 Inverter to Delta PLC or Delta HMI (via Modbus).

This are the two posibilities we suggest in this tutorial:

And in the following link you will find this tutorial.
Delta’s Products communication with ACS550

Let us know you experience, and don’t hesitate to convince your customer to use Delta for the next machine!!
they won’t regret!

New product announcement – DVS (Unmanaged Ethernet Switches)

Delta put things in order, and give the total ethernet solution with new launch of Delta Industrial Unmanaged Ethernet switches.

With the rise of industrial automation technology, Ethernet has become the most popular and widely used communication protocol.
Based on Delta’s accumulated Ethernet communication experience and industrial know-how, the Delta Industrial Ethernet Solution helps customers build up an industrial Ethernet network that will satisfy their requirements in a wide range of applications.
All of Delta’s Ethernet products are certified to UL, CE and FCC standards.

FTP Information link
Web page information link

Blog at WordPress.com.

Up ↑