17
OFF
ON
ON
OFF
OFF
ON
ON
OFF
XG1 series PLC: COM1 port supports MODBUS and X-NET fieldbus functions. COM2 port supports Modbus,
X-NET fieldbus and X-NET motion bus functions.
XG2 series PLC: COM2 port and COM3 port support Modbus communication.
When the dial switch is used for RS485 communication, whether the PLC is the terminal. When the PLC is at
the beginning or end of the bus, please turn the dial switch to on. SW1 corresponds to COM1, SW2 corresponds
to COM2, and SW3 corresponds to COM3.
Note: SW1 of XG2 series PLC is updating dial switch.
(3)
RS232 port
XG2 series PLC has a RS232 port (COM1), supports MODBUS communication.
3 4
5
1
2
6
8
7
Mini Din 8-pin plug (hole)
If you want to use COM1 port to download the program, you can connect with PC through DVP or XVP cable
of Xinje. If not, you can also make your own cable. The connection mode of DVP cable is shown in the
following figure:
3
4
5
1
2
6
8
7
1
5
9
6
Mini Din 8-pin plug (pins) DB9 plug (holes)
Note: The above figure is the wiring diagram of DVP cable. On this basis, XVP cable needs to be connected
with terminal 1 (Mini DIN8) and terminal 7 (DB9).
(4)
LAN port
Ethernet communication is supported through the LAN port (RJ45 standard), which can download programs,
online monitoring and remote monitoring for the PLC, connect the PLC to the LAN, and communicate with
other TCP IP devices in the LAN.
4: RxD
5: TxD
8: GND