212
6 Communication Function
This chapter mainly includes: basic concept of communication, Modbus
communication and free communication.
Relative Instruction
Mnemonic
Function
Circuit and soft components
Chapter
MODBUS Communication
COLR
Coil Read
6-2-3
INPR
Input coil read
INPR
S1
S2
S3
D1
D2
6-2-3
COLW
Single coil write
COLW
D1
D2
S1
S2
6-2-3
MCLW
Multi-coil write
MCLW
D1
D2
D3
S1
S2
6-2-3
REGR
Register read
REGR
S1
S2
S3
D1
D2
6-2-3
INRR
Input register
read
INRR
S1
S2
S3
D1
D2
6-2-3
REGW
Single register
write
REGW
D1
D2
S1
S2
6-2-3
MRGW
Multi-register
write
MRGW
D1
D2
D3
S1
S2
6-2-3
Free Communication
SEND
Send data
SEND
D10
D100
K2
6-3-4
RCV
Receive data
RCV
D20
D200
K2
6-3-4
Read and write serial port data
CFGCR
Read serial port
CFGCR
HD0
K7
K2
6-5-1
CFGCW
Write serial
port6-3-4
CFGCW
HD0
K8
K2
6-5-1
6-1
.
Summary
XD, XL series PLC main units can fulfill your requirement on communication and network.
They not only support Modbus RTU, but also support Modbus ASCII and field bus X-NET.
XD, XL series PLC offer multiple communication methods, with which you can
communicate with the devices (such as printer, instruments etc.) that have Modbus
communication protocol.
6-1-1
.
COM port
XD, XL series PLC have multiple communication ports, such as USB port, Ethernet port,
port0~port5, port2-RS232, port2-RS485.
COM Port
COLR
S1
S2
S3
D1
D2