XGB-INV IG5A (RS-485 Modbus RTU) Sample program
Configuration
XEC PLC
RS-485 (Modbus communication)
Baud rate: 19,200, Data bit: 8, Stop bit: 1, Parity bit: None
Note that baud rate and stop/parity bit are selectable in I/O group.
* I/O group: I61 baud rate, I65: parity/stop bit setting.
Wiring Diagram (Max. total distance should be within 500m)
+ S+ S+
- S- S-
XGB iG5A iG5A
RS-485 Built-in Cnet Station no. : 1 Station no. : 2
Station no. : 0
1/4
XGB-INV IG5A (RS-485 Modbus RTU) Sample program
The communication between IG5A and built-in XGB Cnet through ch2 (RS-485).
XEC Sample Program for only slave station no. 1
Reception
( %MW10
3 words )
Transmission
( %MW0, %MW1
2 words )
IG5A Setting
DRV=3(RS-485), FRQ=7(RS-485), I59=0(Modbus RTU),
I60=1(station no.), I61=4(19,200bps), I65=0(Parity:None, Stop Bit:1)
Eg) XEC (%MW0 1 Word data) -> address no. 5 of iG5A inverter (Frequency reference )
XEC (%MW1 1 Word data) -> address no. 6 of iG5A inverter (Run command )
2/4
XGB-INV IG5A (RS-485 Modbus RTU) Sample program
XG-PD Parameter setting
① Please set “Channel 2 of Active mode” to “Use P2P settings” in using XG-PD of XG5000.
② You have to set P2P Channel to “Modbus RTU client.
③ P2P Block setting for only slave station no. 1
3/4
XGB-INV IG5A (RS-485 Modbus RTU) Sample program
XG-PD download/Link enable
After link enable,
select [Online]—[Reset].
4/4