Search

Delta Industrial Automation

Tips & Tricks

Month

April 2011

PLC – VFD Comunication

Another communication post.

This time I’ll give you the tools to control some Delta Inverter with Delta PLC trough RS-485.
I’ll made this tutorial step by step, starting as always from the hardware.

1. Hardware
The pinout in this case is really simple, the middle pins of the RJ11 (or RJ45) are the positive and negative of the RS485 communication. So I recommend to buy some RJ01 from Delta inverter range, or some telephone wiring, cut one side and use the flying leads to connect to the PLC.

2. Decide the protocol to be used.
And remember to write the protocol in a paper avoids future problems!
In this case I’m going to use the next (7, N, 2, 38400, ASCII)

3. Configuration of the Inverter.
The important think on this step is get ready the inverter to receive orders from RS485 interface, so depending the inverter the values are going to be different. In this example I use VFD-E.
Check the parameters If you are going to use another inverter.

2.00 = 3
Source of First Master Frequency Command
3: RS-485 (RJ-45) communication

2.01 = 3
Source of First Operation Command
3: RS-485 (RJ-45) communication. Keypad STOP/RESET enabled.

9.00 = 2
Communication Address
in my example 2

9.01 = 3
Transmission Speed
3: Baud rate 38400bps (max speed for some inverters)

9.04 = 0
Communication Protocol
0: 7,N,2 (Modbus, ASCII)

4. PLC Software (send).
To send some frame trough the PLC RS485 port, we’re going to use the instruction MODWR (API 101) and the special mark M1122 to trigger the communication.

The MODWR has the next composition:
MODWR S1 S2 N
S1 = Device Address of the slave (2 as we configure on steps 3, 4 and 5)
S2 = Data Address of the slave (H2001 to change frequency)
N = Data to be written (just 1 word)

You can found the inverter slave data address on the inverter manual or in following file
Inverter Data Address for VFD-E.

5. PLC Software (read).
To read some frame trough PLC RS485 port, for example the Frequency Output. We’re going to use the instruction MODRD (API 100) and again the special mark M1122 to trigger the communication.
But this time, we will use the special registers D1050 to D1055, where we could found the data received.

The MODRD has the next composition:
MODWR S1 S2 N
S1 = Device Address of the slave (2 as we configure on steps 3, 4 and 5)
S2 = Data Address of the slave (H2102 to read output frequency)
N = Data to be read (3 words)

You can download the PLC program examples on the next link.
Read-Write to Inverter.rar

RTU-EN01 application

Inside the Delta Fieldbus Solutions range, we provide several different field-bus (Modbus, Ethernet, CanOpen, Profibus, DeviceNet, etc…) and almost for all of them we have Remote Terminal Units (RTU) to help us to solve us a lot of long distance troubles.

In this case the application is with the Ethernet Modbus TCP/IP Field-bus (RTU-EN01).
This device is designed to setup remote I/O trough Ethernet Modbus TCP/IP, but it has also another capability.
This device could be the node to have a whole modbus network below him. like the picture attached.

So below I’ll try to show you how to access to those slave PLC’s from the SV28 Master like a remote I/O modules. Of course you can connect in spite of PLC’s some inverter, servomotor or temperature controller.

The example consists in receive in the 28SV Master the DI/DO status of the 14SS slaves with ID:4 and 5.

1. We need to map the Master memory with the remote DI/DO of the slaves (for example):
ID:5 : Y0~Y7 map to D200 ( CoiltoD.dvp )
ID:4 : Y0~Y7 map to D300 ( CoiltoD_2.dvp )

2. Open the DCI Soft, and detect the DVPEN01-SL. Go to Data Exchange and set as the picture below

3. The detect the RTU-EN01 and configure the IP address as you configured in the Data Exchange thumb index

4. Finally download the examples attached and in theory you have to see the next
Master D100 map to Y0~Y7
Master D200 map to Y10~Y17
( refer to DtoCoil_2.dvp)

5. By the way, don’t forget to configure the comunication port of the RTU-EN01 with the same protocol as the 14SS Slaves!

Now you only have the problem to decide how big is your network!

Hannover Messe A2 motion demos 2

To finish the presentation of the motion Demos of the Hannover Messe, I give you the 2 other demos left.

First the Demo of a 4 axis of A2 servos controlled by DVP20PM, and our new vision system who recognize the value and the position of the dice.

We call it the automatic Gambler

And Finally the Demo of the new DMCNET system.
One Embeded PC with our DMCNET card, who is able to control with sincronization 12 axis!
Furthernore 3 of those 16 axes are linear motors, and they work with Delta A2 drives (in the future we explain our secret).
And of course all communicating trough CANOpen DS402, even those Remote I/O’s.

DMCNET presentation on Delta electronics website.

Hannover Messe A2 motion demos 1

As many of you, the last week we have been attending the Hannover Messe. Presenting all the new products that we already presented on this blog. (and many more…)

One of the most interesting things of the Delta IABU stand were the Motion Demos comming from Taiwan.
There were 3, and for the people who can’t visit us these days we will show you a video of all of them.
Today we’ll start with a Demo who shows us how A2 solve the problem of the Cut on the fly applications.

The demo is presented by a good friend of us, Mr. Winex Yang, our Taiwanese expert in Delta Electronics Motion systems.

New Product Launch DOP-B07E(S)515

Finally Delta enters completely to the Ethernet, with the new DOP-B 7inch.

This HMI it has been desinged to offer one step more to the customers who are looking to a 5inch HMI range.
With his 5inch pannel cut-out this 7inch HMI can adopts 65536 colors TFT LCD, with greatly enhances resolution to SVGA(800×600).

Delta also provide Standard type (DOP-B07S515) and Ethernet type (DOP-B07E515) for different application field.

Dowloand the next file for detailed information
DOP-B07E(S)515

Our first shipment will arrive on June 2011, so you already ask for quotation to your closest distributor.

Blog at WordPress.com.

Up ↑