Chapter 6 Wiring, Communication Setting and Network Construction RS-485 Wiring: 1 2 2 3 3 4 Figure 19 Explanation of numbers Notes: 1. Terminal resistors with the value of 120Ω are recommended to connect to both ends of the bus. 2. To ensure high communication quality, please use the shielded twisted pair cable (20AWG). 3. When the internal voltages of two devices are different, make SG (Signal Ground) of the two devices connected with each other to balance their SG voltages and make the communication more stable. Communication Format that RS-485 Supports RS-485 communication port supports ASCII or RTU communication formats and the supported baud rate can be up to 115200bps.
6.3.4 Supported Function Codes and Exception Codes 6_ Modbus Function Codes: 1. The function codes that RS-485 port of the motion controller supports are listed in the following table. 6-11 D+ D- SG D+ D- SG SG D + D- 4 Master Slave Terminal resistor Shielded cable Baud rate 9600, 19200, 38400, 57600, 115200 Mode ASCII RTU Communication format 7,E,1 7,E,2 7,N,1 7,N,2 8,E,1 8,E,2 7,O,1 7,O,2 8,E,1 8,E,2 8,N,1 8,N,2 8,N,1 8,N,2 8,O,1 8,O,2 8,O,1 8,O,2 Function code Indication w Max. number of Available register ritable/readable registers 16#01 Read output bit register values. 256 Bit register 16#02 Read bit register values.
256 Bit register 16#03 Read one single or multiple word register values. 100 Word register 16#05 Write one single bit register value. 1 Bit register 16#06 Write one single word register value. 1 Word register 16#0F Write multiple bit register values. 256 Bit register 16#10 Write multiple word register values. 100 Word register