Chapter 6 Wiring, Communication Setting and Network Construction
6-11
RS-485 Wiring:
Explanation of numbers
Master Slave Terminal resistor Shielded cable
Notes:
1.
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.
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
6.3.4 Supported Function Codes and Exception Codes
Modbus Function Codes:
1. The function codes that RS-485 port of the motion controller supports are listed in the following
table.
Function
code
Indication
writable/readable
Available
register
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
16#05
Write one single bit register
value.
1 Bit register
16#06
Write one single word register
value.
1
16#0F
Write multiple bit register
values.
256 Bit register
16#10
Write multiple word register
100
Word
Figure 19
D+
D-
SG
D+ D- SG SG D+ D-
3
4
1
2
2
3
4