You are not registered yet. Please click here to register!


 
 
plc storereviewsdownloads
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc.
 
Try our online PLC Simulator- FREE.  Click here now to try it.

New Here? Please read this important info!!!


Go Back   PLCS.net - Interactive Q & A > PLCS.net - Interactive Q & A > LIVE PLC Questions And Answers

Reply
 
Thread Tools Display Modes
Old July 8th, 2020, 05:09 AM   #1
Mufti
Member
Jordan

Mufti is offline
 
Join Date: Apr 2011
Location: Amman
Posts: 9
Question Delta PLC to LS VFD Modbus problem

Attempting to connect PLC Delta DVP12SE to VFD LS SV075iG5A-4.
PLC COM2 LED is flickering but no response from Inverter
This is my first attempt to use Modbus to communicate PLC with Inverter or Servo drive.
Screen shots + .dvp file attached to this post.
Tying to figure this out and I will post the solution when I find it.
Any advice would be highly appreciated
-----
Connection ( 2-wire )
Delta-PLC LS-VFD
S+ S+
S- S-
-----
LS VFD Parameters:
Drv: 3(RS485)
Frq: 7(RS485)
I59: 0(Modbus RTU)
I60: 2(Inverter Modbus Address)
I61: 3(Baudrate 9600)
I62: 0(No-Action Lost Mode)
I63: 1(1 Sec Time-out)
-----
PLC ladder used is a modified ladder from Delta's Application Examples of Programming page 12-5
Link for pdf ( http://www.deltronics.ru/images/manu...N_20120417.pdf )
-----
-----
Adjustments for ladder diagram:
* MODRD K1 H2102 K2 -----> MODRD K1 HA K2
Read Frequency from VFD to PLC
" H0x000A Output Frequency Address for LS VFD "
* MODWR K1 H2000 D10 -----> MODWR K1 H6 H2
Run FWD command to VFD
" Run Forward command H2 to Run Command Address H6 "
* MODWR K1 H2001 D11 -----> MODWR K1 H5 K4000
Set VFD Frequency to 40 Hz
" Set H5 Frequency reference to K4000=40Hz "
-----
Link for LS iG5A Inverter :
https://inverterdrive.com/file/LS-Starvert-iG5A-Manual
Communication Chapter 11
-----
Attached Images
File Type: png Program 1.png (5.7 KB, 26 views)
File Type: png Program 2.png (3.8 KB, 17 views)
File Type: png Program 3.png (11.0 KB, 18 views)
Attached Files
File Type: zip Modbus1.zip (11.8 KB, 17 views)
  Reply With Quote
Old July 8th, 2020, 05:25 AM   #2
Mufti
Member
Jordan

Mufti is offline
 
Join Date: Apr 2011
Location: Amman
Posts: 9
Tried to change VFD to modbus address 2 instead of 1 ( VFD Parameter I60 : 2 and PLC D1121 = K2 ).

Tried to SET and RST PLC-M1143 to change COM2 RS485 mode from ASCII to RTU since VFD works on RTU and LS-Bus modes.

Both attempts failed.
  Reply With Quote
Old July 8th, 2020, 05:37 AM   #3
Mufti
Member
Jordan

Mufti is offline
 
Join Date: Apr 2011
Location: Amman
Posts: 9
I tried adding a separate counters for flags M1127, M1129, M1140 and M1141.
All flags are from M1129 ( Communication time out flag )
  Reply With Quote
Old July 8th, 2020, 06:06 AM   #4
Mufti
Member
Jordan

Mufti is offline
 
Join Date: Apr 2011
Location: Amman
Posts: 9
Modbus scope reading

Connected the output of the PLCs COM2 to a scope and the signal seems OK.
Attached Images
File Type: jpg modbus_fluke.jpg (55.2 KB, 80 views)
  Reply With Quote
Old July 8th, 2020, 07:52 AM   #5
parky
Member
United Kingdom

parky is offline
 
parky's Avatar
 
Join Date: Oct 2004
Location: Midlands
Posts: 3,350
Never worked with Delta but I believe this is either a rip off or badged version of Mitsubishi, the code and memory looks almost identical, so it may be worth looking at the Mitsubishi communication manual for Modbus (FX range of PLC's).
Here is a link to the manual:
https://dl.mitsubishielectric.com/dl...997d26201g.pdf
  Reply With Quote
Old July 9th, 2020, 01:32 AM   #6
Mufti
Member
Jordan

Mufti is offline
 
Join Date: Apr 2011
Location: Amman
Posts: 9
Many thanks Parky for your reply, delta seems to have the same structure of registers and settings but with different numbers.

I found out that LS VFD protocol is totally different compared to Deltas. Mainly the issue was with special data register D1120(RS485 Com2 Protocol).

For Delta VFD it should be H86 (10000110) = 9600bps,7bit,even parity and 1 stop bit.

For LS VFD it should be H89 (10001001) = 9600bps,8bit,none parity and 2 stop bits.

I was able to send some MODRD instructions to read the model and capacity registers of the VFD and store on a data register on the PLC.

Still MODWR did not work yesterday. Although the only flag triggered when I ran the code was M1127(COM2 Rx-Tx Complete).
  Reply With Quote
Old July 12th, 2020, 01:03 AM   #7
Mufti
Member
Jordan

Mufti is offline
 
Join Date: Apr 2011
Location: Amman
Posts: 9
Thumbs up All done

Finally everything is working perfect now. MOWDR issue was with the LS VFD register address map, for some reason all addresses needs to be incremented by 1.

Example: 0x0004 is supposed to be parameter lock, turns out to be frequency reference. 0x0005 freq. ref. is actually operation command and so on.

A simply program was used to mod write a value of 4444 value into all memory map of the LS inverter, every register at a time with 1 second loop just to give time to visually inspect the screen of the inverter, once the 44.44hz was written to the inverter and appears on the screen it will be known that this is the frequency reference register. This is the only method I could think of to solve the memory address issue, after a few trials I found out the the memory map was all shifted up by one, maybe its a programming issue from my side I dont know and all I care about is that I can now make the PLC talk to the VFDs.

A working code is attached to this post.
Attached Images
File Type: jpg LS Address.jpg (202.1 KB, 25 views)
Attached Files
File Type: zip Modbus Single LS VFD working.zip (12.0 KB, 40 views)
  Reply With Quote
Old June 3rd, 2021, 07:15 AM   #8
radobarq
Member
Iran

radobarq is offline
 
Join Date: Aug 2016
Location: tehran
Posts: 1
Delta PLC to LS VFD Modbus proble

Hello
I have the same problem.
Resolved for you?
Is this file you sent correct?
Thank you for your help.
  Reply With Quote
Old July 22nd, 2021, 12:16 PM   #9
tohid.farhadi
Member
Iran

tohid.farhadi is offline
 
Join Date: May 2021
Location: ahar
Posts: 1
delta ls modbus.zip delta 14ss2 plc modbus with 4 ls ig5a inverter and control stop star reset frequency and read frequency current rpm and faults from each inverter
  Reply With Quote
Reply
Jump to Live PLC Question and Answer Forum

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Topics
Thread Thread Starter Forum Replies Last Post
How can i communicate between delta plc with Ethernet support and python with pymodbu Akashban LIVE PLC Questions And Answers 4 March 26th, 2020 07:27 AM
Mitsubishi E700 vfd and delta plc communication kHAWAJA M SOHAIL LIVE PLC Questions And Answers 0 January 22nd, 2020 09:13 AM
Float Data in Modbus RTU DELTA PLC thanhnobi LIVE PLC Questions And Answers 4 September 9th, 2017 10:50 AM
i have problem in plc ls xg5000 eng mahmoud mostafa LIVE PLC Questions And Answers 0 February 14th, 2015 03:03 PM
Delta VFD on Modbus / RS485 rakveen LIVE PLC Questions And Answers 3 May 24th, 2008 09:12 PM


All times are GMT -4. The time now is 10:04 PM.


.