Search

Delta Industrial Automation

Tips & Tricks

Tag

Delta Inverter

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

 

 

 

 

 

 

 

/

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

VFDLINK FB

VFDLink_example

Successful Application: 11 Axis Cutting / profiling machine

Another successful application from our Netherlands distributor Innomotion.

This time is a Woodcutting / Profiling machine with 11 axis control!

Kast

As you can see on the picture our partners use 7 VFD-E drives for transportation and high speed spindle, and 4 servodrives ASDA-A2 400W for the cutting/profiling.
Everything controlled by central CPU with Master CANopen module (DVPCOPM-SL).

stootborden1

Via the PC Cad drawings are imported to the Machine and machine settings are executed. The PLC is controlling all the I/O and servo’s for the motion.
In this machine the wooden boards for the stairs are cut to length , width and angle on front and end of the board. The PC software is written in Labview.

freesdraaien.

I hope you like it!
And with some luck, you can use it as inspiration for your next project!

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!

How to control Delta AC drive using Step & Direction

There are three basic ways to control a AC drive:
– Torque control (analog signal, digital signal, embedded potentiometer, communication)
– Speed Control (analog signal, digital signal, embedded potentiometer, communication)
– Position Control (Step&Direction, Comunication)

But because the inverters accuracy (usually) is not very good, the engineers, prefer to use Steppers, or Servosystems.
So the majority of the inverter applications used to be Speed or Torque control.

But the last years, in the industry appears the need to realize good positioning with middle power and reliable cost. Servo drives are still too expensive for middle power and steppers are only for low power applications.

Because of that, the new C2000 surprise us again, with the capability to have accurate positioning using Step & Direction control.
The way to achieve the good accuracy, is because some feedback encoder located on the motor and the EMC-PG01L card, to acquire the feedback and position command at the same time.

If you wolud like to set up this system in your factory, or for your customers, check the following tutorial presentation from Mr. Robert Lo.

C2000 Step & Direction

name: den-eindhoven
Password: BuPd2175

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 ↑