The default parameters: Station number is 1, baud rate is 19200bps, 8 data bits, 1 stop bit,
even parity.
There are many ways to set the parameters of PLC communication port:
There are two ways to set Modbus communication parameters: (1) setting parameters by
programming software; (2) setting parameters by XINJEConfig tool, refer to chapter 6-2-6 for
details.
Free format communication parameters can be set by programming software, refer to chapter
6-3-2 for details.
X-NET communication parameters can be set by Xinje Config tool. Refer to X-NET fieldbus
manual for details.
Note: For the A, B terminal on the PLC body, 1Mbps and higher baud rate is only fit for X-
NET communication mode.
6-2.MODBUS communication
6-2-1.Function overview
XD, XL series PLC support both Modbus master and Modbus slave.
Master mode: When PLC is set to be master, it can communicate with other slave devices
which have MODBUS-RTU or MODBUS-ASCII protocol via Modbus instructions; it also
can change data with other devices.
For example: Xinje XD3 series PLC can control inverter by Modbus.
Slave mode: When PLC is set to be slave, it can only response with other master devices.
Master and slave: In RS485 network, there can be one master and several slaves at one time
(see below diagram). The master station can read and write any slave station. Two slave
stations cannot communicate with each other. Master station should write program and read