background image

 

iQF-Series Modbus RTU Setup

 

2018/12/18

 

P a g e

 | 

1

 

 

 

IQF-SERIES MODBUS RTU SETUP 

 

 

Summary of Contents for Mitsubishi Electric IQF Series

Page 1: ...iQF Series Modbus RTU Setup 2018 12 18 P a g e 1 IQF SERIES MODBUS RTU SETUP ...

Page 2: ...______________10 Recommended Parameter Settings _____________________________________________________________10 How to change the parameter setting value ______________________________________________________11 FX5U Setup ___________________________________________________________________________12 Parameter Setup ___________________________________________________________________________12 Progra...

Page 3: ...e functionality and programming of the FX5U PLC to connect with a CS80 VSD using Modbus RTU At the end of this manual you will be able to send and receive messages from the FX5U PLC to a CS80 VSD This manual can also be used as a guideline to connect to other Modbus RTU devices Figure 1 ...

Page 4: ...s o FREQROL CS80 INSTRUCTION MANUAL DETAILED IB NA 0600721ENG B o MELSEC iQ F FX5 User s Manual MODBUS Communication JY997D56101 o MELSEC iQ F FX5 User s Manual Startup JY997D58201 o MELSEC iQ F FX5UC User s Manual Hardware JY997D61401 o MELSEC iQ F FX5 User s Manual Serial Communication JY997D55901 o MELSEC iQ F FX5 User s Manual MELSEC Communication Protocol JY997D60801 o MELSEC iQ F FX5 User s ...

Page 5: ...of CS80 connector Using the PU connector as a Modbus network port enables communication operation from a Modbus Master etc When the PU connector is connected with a Modbus Master by using a communication cable a user program can run and monitor the inverter or read and write to parameters PU Connector Pinouts Figure 2 ...

Page 6: ...tup 2018 12 18 P a g e 6 Wiring between a Modbus Master and an inverter for RS 485 communication Wiring as below Figure 3 Wiring between a Modbus Master and multiple inverters for RS 485 communication Wiring as below Figure 4 ...

Page 7: ...485 i Use shielded twisted pair cables for connecting RS 485 communication equipment ii Twisted Pair Cable Figure 5 iii Termination Resistor Setting 1 Make sure to provide a termination resistor at each end of a line 2 Built in RS 485 port FX5 485 BD and FX5 485ADP have a built in termination resistor 3 Set the termination resistor selector switch accordingly Figure 6 ...

Page 8: ...iQF Series Modbus RTU Setup 2018 12 18 P a g e 8 Figure 7 ...

Page 9: ... 18 P a g e 9 2 Turning off the power to the PLC a Before wiring make sure that the power of the PLC is off 3 Wiring communication equipment a Connect RS 485 communication equipment i Connection Diagram For RS 485 communication Figure 8 ...

Page 10: ...lection disconnected PU detection PU stop selection 14 Parameter 77 Parameter Write Selection 2 Parameter 79 Operation Mode Set 2 Parameter 117 PU Communication Station Number 1 Parameter 118 PU Communication Speed 192 Parameter 119 PU Communication Stop Bit Length Data Length 0 Parameter 120 PU Communication Parity Check 2 Parameter 121 PU Communication Retry Count 1 Parameter 122 PU Communicatio...

Page 11: ... show Pr 1 Press to read the present set value initial value appears 4 Changing the setting value Press or to change the set value to Press to enter the setting and are displayed alternately Press or to read another parameter Press to show the setting again Press twice to show the next parameter Hold for one second to return the display to the first screen in the monitor mode the monitor item init...

Page 12: ...on setting of the FX5 set parameters with GX Works3 Setting of parameter differs according to the module used The procedure for each module is as follows Parameter Setup Step 1 Open GX Works 3 and start a new project Figure 9 Step 2 Select Series FXCPU Type FX5U Program Language FBD LD Figure 10 ...

Page 13: ...iQF Series Modbus RTU Setup 2018 12 18 P a g e 13 Step 3 Navigation window Parameter FX5UCPU Module Parameter 485 Serial Port Figure 11 ...

Page 14: ...iQF Series Modbus RTU Setup 2018 12 18 P a g e 14 Step 4 Select MODBUS_RTU Communication Figure 12 Step 5 Adjust Parity Bit Even Stop Bit 1bit and Baudrate 19 200bps Figure 13 ...

Page 15: ...iQF Series Modbus RTU Setup 2018 12 18 P a g e 15 Step 6 Click Check button wait for message box no error found Figure 14 Step 7 Click Apply button Figure 15 ...

Page 16: ...iQF Series Modbus RTU Setup 2018 12 18 P a g e 16 Programming Modbus Registers Available to Monitor To From CS80 VSD Figure 16 ...

Page 17: ...iQF Series Modbus RTU Setup 2018 12 18 P a g e 17 Figure 17 ...

Page 18: ...iQF Series Modbus RTU Setup 2018 12 18 P a g e 18 Figure 18 ...

Page 19: ...ith the CS80 VSD or any other Modbus device In the FX5 master function communication is executed with the slave station using the ADPRW instruction This instruction allows to communicate read write data with the slave station by the function code which is supported by the master Figure 19 ...

Page 20: ...itoring Parameters from the CS80 VSD Step 1 Create a Structured Data Type for VSD Parameters Navigation window Structured Data Types Right Click Add New Data Figure 20 Step 2 Edit the Structured Data Type by adding the Parameters to be monitored Figure 21 ...

Page 21: ...tup 2018 12 18 P a g e 21 Step 3 Create a Global Label for VSD Parameters Navigation window Label Global Label Global Figure 22 Step 4 Create a new Program Navigation window Program Scan MAIN Right Click Add New Data Figure 23 ...

Page 22: ...iQF Series Modbus RTU Setup 2018 12 18 P a g e 22 Step 5 Create Local Labels for the new Program Navigation window Program Scan MAIN 01_Read_and_Write_VSD Local Label Figure 24 ...

Page 23: ...Step 6 Add Function Block ADPRW to the new Program Open the Element Selection Screen Select ADPRW Function Block from the Element Selection Screen Drag and Drop it to the Program Screen Figure 25 Step 7 Add Parameters to Function Block ADPRW Figure 26 ...

Page 24: ...onitoring Values from the CS80 VSD Step 1 Create a Structured Data Type for VSD Display Values Navigation window Structured Data Types Right Click Add New Data Figure 27 Step 2 Edit the Structured Data Type by adding the Values to be monitored Figure 28 ...

Page 25: ...iQF Series Modbus RTU Setup 2018 12 18 P a g e 25 Step 3 Create a Global Label for VSD Parameters Navigation window Label Global Label Global Figure 29 ...

Page 26: ...Step 4 Add Function Block ADPRW to the new Program Open the Element Selection Screen Select ADPRW Function Block from the Element Selection Screen Drag and Drop it to the Program Screen Figure 30 Step 5 Add Parameters to Function Block ADPRW Figure 31 ...

Page 27: ...mmands to the CS80 VSD Step 1 Create a Structured Data Type for the Write to Bit Commands Navigation window Structured Data Types Right Click Add New Data Figure 32 Step 2 Edit the Structured Data Type by adding the Bits to be written to in the CS80 VSD Figure 33 ...

Page 28: ...iQF Series Modbus RTU Setup 2018 12 18 P a g e 28 Step 3 Create a Global Label for Write Bits Navigation window Label Global Label Global Figure 34 ...

Page 29: ...Step 4 Add Function Block ADPRW to the new Program Open the Element Selection Screen Select ADPRW Function Block from the Element Selection Screen Drag and Drop it to the Program Screen Figure 35 Step 5 Add Parameters to Function Block ADPRW Figure 36 ...

Page 30: ...ands to the CS80 VSD Step 1 Create a Structured Data Type for the Write to Register Commands Navigation window Structured Data Types Right Click Add New Data Figure 37 Step 2 Edit the Structured Data Type by adding the Registers to be written to in the CS80 VSD Figure 38 ...

Page 31: ...iQF Series Modbus RTU Setup 2018 12 18 P a g e 31 Step 3 Create a Global Label for Write Registers Navigation window Label Global Label Global Figure 39 ...

Page 32: ...Step 4 Add Function Block ADPRW to the new Program Open the Element Selection Screen Select ADPRW Function Block from the Element Selection Screen Drag and Drop it to the Program Screen Figure 40 Step 5 Add Parameters to Function Block ADPRW Figure 41 ...

Page 33: ...18 P a g e 33 Convert and Download Program to the FX5U PLC Step 1 Rebuild Program to check for any program issues Main Menu Convert Rebuild All Figure 42 Step 2 Download PLC Program to the FX5U PLC Main Menu Online Write to PLC Figure 43 ...

Reviews: