Professional Documents
Culture Documents
Configuration
XEC PLC
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.
- S- S-
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.
3/4
XGB-INV IG5A (RS-485 Modbus RTU) Sample program
4/4