Search

Delta Industrial Automation

Tips & Tricks

Tag

PLC – VFD Example

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

VFDLINK FB

 

Successful Application: Top cleaner greenhouse deck

Another successful application from our parters in Netherlands Innomotion.

On below video new top cleaner unit for cleaning the glass roofs of greenhouses, and since last year fully equipped with delta inverters

http://www.dailymotion.com/video/xpbwg1_van-der-waay-machinebouw-top-cleaner-greenhouse-deck-cleaner-village-farms_tech

For the cleaning brushes they use VFD-L, And to drive the car over the roof our VFD-E.
And finally to control all the sequence a simple SS2 makes all the job.

Congratulations Innomotion!

CANOpen Communication: DVPCOPM-SL with VFD-EC

Why Can Open?

Modbus is strong an with a long and successful story of applications, but when interpolation is needed, you should need something else..
Is strong, easy to use, and more important fully compatible with many different brand devices on the market.

Because of that we want to start a new Can Open Category with simple applications, easy to work on.
In the near future we will keep adding Can Open examples with all our new compatible Can Open devices (ASDA-A2, C2000, etc…) but for start our cost effective CANOpen drive VFD-EC will work.
Let´s start with the Hardware.

Hardware Configuration:

1. DVP-SX2 + DVPCOPM-SL (CANOpen Master)
2. VFD-EC (CANOpen Embedded Slave)
3. TAP-CN03 (CANOpen Splitter with terminal resistor)
4. TAP-CB03 (CANOpen Cable)

Be aware on the following advices:
– Use CANOpen wirings, Ethernet cables have the same pin-out, and they will work on short distances, but it can give you problems due they don´t have same internal impedance.
– Remember to turn on the terminal resistor switch of TAP-CN03! If you don´t want to use it, remember to put 120 Ohm terminal resistor.
– No need to supply V+ and V- connections for short distances, for long ones is recommended.

So at last, you may have something similar to this:

VFD-EC Configuration:

P0.02 -> 9 Reset fatory default values

P2.00 -> 5 CANopen of First master frequency command
P2.01 -> 5 CANOpen of forst operation command
P4.08 -> 23 multi-function input terminal (MI6) as Emergency STOP (link MI6 and DCM to work)
P9.20 -> 2 CANopen Station Address
P9.21 -> 0 CANOpen Baudrate 1Mbps
P9.24 -> 1 Adapt DS402 protocol

CANOpen Builder Configuration:

Full screen recommended

As you can see in the video, once you link on the EDS files the inverter parameters with the PLC registers, you just have to work with them as local registers in the PLC.
The PDO frames are going to be sended automatically in a continuous matter, so every change will be automatically updated in the other device.

HMI and PLC Program:
And after that, you only need to download the PLC and HMI programs.
You will find it in the following link.
The HMI and PLC are connected trough RS232 (DVPACAB2030), but you can change it with no problem.

CANOpen VFD-EC Control.rar

If it´s your first step with CANopen, test it in your lab, and let us know your experience.
Enjoy!

HMI Getting Started

Here it is!
Again thinking in the begginers (and in this case not only them), let me share with you all our kit HMI Getting Started.
For the ones who uses PLC Getting started, and for the other too

HMI used to be more intuitive and user friendly than the PLC, but If you are trying to accomplish a complete program with reciepe, graph pictures etc.. you need some knowledge.
So our intention is give you some tutorials and examples and all the necessary tools to made your learning time as short as possible.

In this HMI getting started you will find:
1. eRemote / eServer Tutorials
2. HMI communication Examples with Delta devices
3. Manuals for DOPA and DOPB
4. Program examples for many features (graph, password, History, Event, Alarm, etc…)

Don’t hesitate to share with everybody.

HMI Getting Started

PLC Link (PLC to VFD)

PLC-Link is not only a tool to exchange data between PLC’s.
With PLC-link you can also share memory space with a servo, inverter, temperature controller, etc…
In this case I would show you the procedure to do it with VFD-E series drive.

The advantage of this method agains the “sending frames one” is that you don’t need to program and trigger one frame for every value read or write to the slave.
With this method, you only have to configurate the communication, and you will have any Slave value in your master buffers.
follow the next steps:

1. Hardware
use exactly the same advices as the PLC-VFD communication post.

2. Decide the protocol to be used.
And write it on a post it in front of you. In this case we use protocol Modbus ASCII, 9600 baud,7,Even,1

3. Inverter configuration (almost same as PLC-VFD communcation post)
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 = 1
Transmission Speed
3: Baud rate 9600bps

9.04 = 1
Communication Protocol
0: 7,E,1 (Modbus, ASCII)

4. PLC Software
In this case I recommend to have the manual opened, because basically is a matter to configure the PLC-Link special registers properly.

D1399:ID address of the first slave
D1434:Number of consecutive registers to be Read (by the master)
D1355:First register direction of the slave to be Read (H2102 = Frequency command)
D1450: Number of consecutive registers to be Write (by the master)
D1415: First register direction of the slave to be Write (H2001 = Frequency command)
D1480:Readed values Master Buffer (Slave 1)
D1496:Writed values Master Buffer (Slave 1)

To find what register I need to edit in each case, look in the manual for any of those registers, and look for the proper one.

And Check the following program and test it.
PLC Link COM2 (PLC – VFD)

I’m pretty sure that system will save you a lot of time and efforts.

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

Blog at WordPress.com.

Up ↑