275
Note:
1. COM2 with *1 only show the RS232 pins.
2. XD/XL series PLC
,
RS232 do not support full-duplex, so it can only communicate in
single direction.
3. RS232 communication distance is short (about 13m); RS485 is suitable for longer distance.
485 wiring methods
Connect all A terminals, connect all B terminals. A is RS485+, B is RS485-.
Application
:
One xinje XD3 series PLC controls 3 XC series PLCs, slave PLCs follow the
master’s action. (Master PLC Y0 ON, then slave PLC Y0 ON; Master PLC Y0 OFF, then
slave PLC Y0 OFF) Precondition: on-off of Y0 makes communication have enough time to
react. Also three slave PLCs can be not that synchronous (not fully synchronous).
Method 1 usual program
Y0
Y0
COLW K1 H4800 Y0 K2
COLW K2 H4800 Y0 K2
COLW K3 H4800 Y0 K2
The program takes serial port 2 as example, so corresponding communication flag is the serial
port 2’s. About other serial port, please refer to appendix 1. Serial port, please refer to
appendix 1.
Method 2 use broadcasting function
:
tudonghoatoancau.com