how to connect rs485 in PLC?

Version 1.1 by Leo Wei on 2022/06/08 12:57

How to make RS485 RS422 RS232 cable?

1. RS485 Wiring diagram

PLC port_hardware__html_98400bed9b318ee5.jpg

RS422 Wiring diagram

PLC port_hardware__html_e84cde2457eaf0b.jpg

LX3V series PLC can’t support RS232

 
2-------------3
3-------------2
5-------------5

Com1 support RS485 and RS422,Please check the following picture.

(If PLC points>=24 point PLC support COM1 RS485/RS422 and COM2 RS485,for example:LX3V-1410. total 24 points

If PLC points< 24 points, plc only support COM1 RS422 and COM2 RS485,for example LX3V-0806/LX3V-1208)

PLC port_hardware__html_d02e296e7b1ddb3.jpg

Our Com2 support RS485,Please check the following picture.

PLC port_hardware__html_f59d703c2ba14434.jpg

LX3V-0806/LX3V-1208 plc only can support COM1 RS422 and COM2 RS485.

LX3V-0806/LX3V-1208 plc com2 rs485 port is in below.NoteLX3V-0806/LX3V-1208 plc can not support connect module.because it does not with module port)

PLC port_hardware__html_7c7c79f4ce33b11a.png

2.PLC COM2(please check more detailed in modbus demo)

PLC COM2 could support Wecon PLC protocol and Modbus RTU protocol.So user need to set plc parameter in D8120 and D8126 to choose use which protocol.

For example(Wecon HMI connect Wecon PLC COM2 by Wecon PLC protocol)

HMI parameter is in the picture below.(Setting--->Communication)

PLC port_hardware__html_e525975e78a036bd.png

PLC program example.

D8120 means communication parameter format(9600,1,7,EVEN)---->D8120=10000110(2)=86(Hex)

PLC port_hardware__html_43fb98c177e1d6c8.png

PLC port_hardware__html_15d37b3ce661e4c6.png

D8126=01H means use Wecon PLC protocol.

PLC port_hardware__html_78abf500a3fb8c5b.png

3