PLC - VFD Comunication - Delta Industrial Automation

Download as pdf or txt
Download as pdf or txt
You are on page 1of 10
At a glance
Powered by AI
The document discusses how to configure a Delta PLC and VFD for RS-485 communication using MODBUS protocol. It provides the hardware setup, parameter configuration on both devices, and programming examples to send and read data between the PLC and VFD.

You need to set the communication parameters on the VFD like the communication source, address, baud rate and protocol. On the PLC, you need to use MODWR and MODRD instructions along with the device and register addresses to send and receive data.

The steps are to set the device address and register address in the MODWR instruction, along with the data to write. You need to use a special mark to trigger the communication. The register addresses and data formats are according to the MODBUS protocol.

Delta Industrial Automation

Tips & Tricks

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 wri en (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

Delta Automation Europe

Hello everybody, Our intention with this blog is to publish small examples and tips that are useful for the
programmer, yet not enough important to appear in the newsle er. If anybody would like to collaborate with it,
don’t hesitate to send your post to [email protected]. I’ll be pleased to upload it. The posts need to
be wri en in English and be as illustrated as possible, either with images or videos. Enjoy

April 29, 2011


Programable Logic Controllers (PLC)
Delta Inverter, Delta PLC, PLC - VFD Example, VFD

53 thoughts on “PLC – VFD Comunication”

1. BrunoRC
September 19, 2019 at 3:39 pm

Thanks dude, it´s all of me was seach!

2. bala
October 10, 2018 at 10:54 am

HI FRIENDS ,DV28SV2 MODEL , I NOW I AM WORKING ONE RECTIFIER MODBUS COMMUNICATION


,THAT RECTIFIER READ WRITE ADDRESS START FROM READ 40010, WRITE ADDRESS 40015 I CANNOT
READ WRITE VALUE HOW CAN COMMUNICATE AND READ WRITE PLEASE HELP ME

3. Quintin Wa
October 25, 2017 at 6:27 am

Good day

I have a PLC (Automation Direct P3000) and VFD (Delta C2000) using Modbus TCP/IP through the CMC-
MOD01 communication card. I am having a delay of around 10 secs between the two when ever I Read/Write to
a register on the drive and I cannot find the fault, do you have any suggestions please.

4. zago1819
April 4, 2017 at 6:47 am

Hello. I have used delta plc dvp14ss2 and delta inverter . And make comnication 485. It’s work great. Now i
have same plc and want make with Toshiba inverter vfn-c3. But no luck :( anybody was did before ? What
parameters i can use for read and write ?

Claudio
December 2, 2017 at 5:13 pm

Did you find a solution sir? I have the same issue to solve.

5. jelber velez
August 22, 2016 at 6:48 am

Is programming possible through RS485 Port for DVP10SX. Please HELP.

6. Syed Najaf Abbas


June 22, 2016 at 6:01 am

Dear Sir,
Kindly tell me how can communicate Delta PLC with ABB VSD drive with modbus RMBA-01

7. Hongly
January 17, 2016 at 3:36 am

Hi all Brothers. can you help me please, now i can’t connect rs-232 with my PLC DVP-14ss when i was upload
code Modbus communication
how can i do now

8. osama
December 21, 2014 at 5:09 am

Dear sir
thanks for your effort and your video
it’s clear to programming PLC Delta with VFD delta but I have confused about how can do it in PLC Siemens
S7-200 where this type not accepted address (2001H , 2102H ,etc. ) so how can write this address on modbus
block for Siemens PLC
Osama Elhosieny

9. scooba84
June 30, 2014 at 1:16 pm

I have a SV2 PLC thatis connected through RS485 to thres ASDA-AB servo drives. I am ge ing the alarm
“ALE96” on the drive when in communication. Do you know what this means as it is not in the documentation.

10. Martín
April 15, 2014 at 7:04 pm

Dear Sir,

I just bought my first Delta equipment:


-Dop-b03s211
-Dvp-12sa2
-2 vfd-m inverters
I will use this on a polyurethane dosing machine.

The connections goes as follows:

Dop-b03s211 -> rs-485 (front of the plc) -> Dvp-12sa2 ->rs-485 (bo om of the plc) -> 2 vfd-m inverters

What i want is to set frequencie AND have a “run/stop” control on each inverter through Hmi input

Please, I would very much appreciate any help or guidance you are able to give me.
Regards from Argentina!

kashif khan
May 29, 2014 at 6:30 am

HI MARTIN
I AM DOING THE SAME WITH VFD-E,(1 HMI , 1 PLC AND 2 VFD-E)
I CONNECT HMI TO PLCs COM1 (RS232) AND CONNECT BOTH VFD WITH PLC THROUGH
COM2(RS485).
I PROGRAMMED THE PLC AS PER GIVEN INSTRUCTION IN THIS POST . THAN I PROGRAMMED
HMI FOR OPERATION CONTROL .

11. sandeep k. patil


January 30, 2014 at 7:46 am

Dear Sir,

I want to communicate PLC & VFD using Modbus RS485.


As per VFD manual i have set the bellow parameter & wiring detail
02.00=3;
02.01=3;
09.00=1;
09.01=1;
09.04=5;
09.12=0:

4 : DATA-
5 : DATA+

Comm Address use READ= 2103 [Frequency]

PLC sending continious queries but we are not ge ing reply from VFD.
pls suggest me is there any se ing missing my side.

mkashi
February 4, 2014 at 4:16 am

What is you PLC code for vfd communication?

12. ahmad alayoubi


December 20, 2013 at 3:59 pm

Read-Write to Inverter.rar……
not working…

13. RAHUL
November 24, 2013 at 6:20 am

Hello Delta,
In my PLC i have a communication with VFD. I have set the speed as 3800,but the prob is customer wants to
calibrate it to the readings from 2400 like that. that the speed corresponding to 2400 is 3800 like.

thanks

14. manisegaravarma
October 3, 2013 at 4:31 am

dvp-14ss and vfd-L communication


how to read the current, voltage and frequency of inverter through PLC
and also interfacing with SCADA

15. mkashi
June 14, 2013 at 10:51 am

RS-485 serial interface, pin configuration


1: Reserved
2: EV
3: GND
4: SG-
5: SG+
6: Reserved
7: Reserved
8: Reserved
please follow above pin configuration for plc to vfd communication.

16. Stefano
April 18, 2013 at 10:53 am

you can communicate with “inverter” another brand for example toshiba? the procedure is the same? can also
be used pclink?

Delta Automation Europe


April 18, 2013 at 10:56 am

If they use Modbus, I can’t see why not.


If they use specific protocol, then, be er use MODWR instruction and send one by one all the instructions.

Stefano
April 18, 2013 at 11:04 am

my problem is that the software is designed to work with pclink and delta inverter. but now I need to
communicate with a toshiba vs-ps1 and did not want to upset all the software and use pclink if possible.

17. Noel
September 12, 2012 at 2:34 am

Is programming possible through RS485 Port for DVP10SX. Please HELP.

Delta Automation Europe


September 12, 2012 at 12:46 pm

Yes sure!
The example is for all CPU´s

18. Dipen pitroda


July 6, 2012 at 6:19 am

how to connect more then two vfd -m in modbus ascii network? & how to do wiring for the same?

kashif khan
July 6, 2012 at 7:13 pm

i have an experience of vfd-e to connect them together on mod bus, they connect in parallel, + with + and –
with -, and every vfd has its own address to communicate.

Dipen pitroda
July 10, 2012 at 5:28 am

Thank you so much Kashif Khan. I will try & revert. Have a good day..
zaroky
March 18, 2013 at 10:39 pm

can i have your email for more explain if you please

19. kashif khan


June 23, 2012 at 8:23 pm

problem solved..
i reset the parameter and it worked.

20. mkashi
June 23, 2012 at 3:07 pm

TO CONFIRM WIRING PROBLEM I INSTALLED VFDSOFT AND IT IS WORKING PERFECTLY..

21. mkashi
June 22, 2012 at 9:10 am

Hello Delta,
i am continuously trying to communicate between VFD-E and DVP24ES2 but useless. i must be missing some
thing.
i have some confusions like,
conversion of drive parameter into xxxH value,

can i have a simple code to run the drive?(to understand ba er)

i am still trying..

Delta Automation Europe


June 22, 2012 at 12:03 pm

Check the wiring!!


I´ve been a week testing with wrong wiring, it was a nightmare…

kashif khan
June 23, 2012 at 7:16 am

Hello Delta,
to confirm cable i install the VFDSoft and it works perfectly.
and with the plc i interchanged the +/- of cable on com2 but no change.

22. mmsaifi
April 16, 2012 at 8:15 pm

well, mr. pathak no one can solve this problem coz no one must knew about it that how to connect 16 slaves
using RS232 hardware configuration. if only one can only u can. :)

23. Abhishek Pathak


April 16, 2012 at 7:45 am
my name is abhishek pathak. i hv 2 year exp. on delta products. on a site i see modbus comm. Of one display to
16 plc on rs232 . and every plc’s were communicated with sepret drives on rs485. but i cant troblesute that how
it can do. bcos i face there some communication problems.

mmsaifi
April 16, 2012 at 8:11 pm

well, I didn’t put station address to 1.. its very pointless but muxt say good for troubleshooting for
beginners.

24. Delta Automation Europe


March 28, 2012 at 8:17 am

Just a guess, but did you put station address to 1?

25. mmsaifi
March 25, 2012 at 11:32 am

Greetings of the day!


I m using a USB-RS232 converter to download/upload program to my PLC DVP-32ES using WPLsoft 2.20 but
Its not communicating with the converter although converter is successfully read by the Device manager.
The problem is in Communication se ing in com port option, the software displaying nothing just clean no
ma er i connect my converter to pc or not… ???

Delta Automation Europe


March 27, 2012 at 10:46 am

My experience says: Never trust in USB-RS232 converters…


Try any of this alternatives h ps://deltautomation.wordpress.com/2011/05/25/communication-interface-pc-
to-dvp-delta-plc/

mmsaifi
March 27, 2012 at 9:02 pm

Well, I have made it using the converter. I think there must be some problem in WPLSoft wen using MS
Vista OS..Its just an easy as it always be although this time I did it on Win7.
Thanks for your feedback.!

26. Vladimir
January 19, 2012 at 12:02 am

One question, How you control marks (M1 and M2)?

I’m trying to do the same with a DVP-28SV and VFD-EL, an HMI control marks but the response is to slow
(after 8 seconds motor runs or stops). How must I do for a response with no delay?

Arturo
March 20, 2013 at 6:32 pm

Sorry vladimir, did you solve your problem? because i can’t do it, i have the same problem, the response
time is to slow
Thanks
Delta Automation Europe
March 20, 2013 at 10:48 pm

I should recommend PLC Link with VFD

27. saed hirbawi


January 14, 2012 at 5:44 pm

i need help for communication between HMI and PLC and vdf-c2000
thank you

Delta Automation Europe


January 18, 2012 at 9:57 am

Dear Saed,
Don’t hesitate to connect with your local distributor to help on this.

28. Mr Lee
July 14, 2011 at 5:01 pm

how to control the frequency from the se ing?

Delta Automation Europe


July 16, 2011 at 12:11 am

Sorry Mr Lee, in the example the frequency is already controlled!?


I don’t understand your question

29. tawfeeq
May 12, 2011 at 1:34 pm

thank you for help

30. Shahab Uddin


May 3, 2011 at 5:47 am

I think so. Thanks!

31. shahabduet
April 30, 2011 at 5:10 am

I think, It will be more effective if you provide a HMI/TP program for that. Thanks.

Delta Automation Europe


May 2, 2011 at 1:11 pm

Dear sir,
The post was focus in the comunication between PLC and VFD, this kind of configuration without display is
very common with standalone machines with no displays (only bu ons).
On the other side, If do you want to add some HMI to the system, I’ll recommend another network
configuration (the HMI master for PLC and VFD slaves).
And on this case, the application will be a mix of this two posts HMI – VFD and HMI – PLC.

But I try to publish some communication sampler with HMI-PLC-VFD in a near future.

3 Pingback

1. VFD & arduino | anilarduino


2. PLC Link (PLC to VFD) | Delta Automation Tips & Tricks
3. Analog Control II (distributed Analog I/O) | Delta Automation Tips & Tricks

BLOG AT WORDPRESS.COM.

UP ↑

You might also like