manualshive.com logo in svg
background image

 

Appendix 一                     

Encoder RS485 TCP

Standard MODBUS-RTU

 

This encoder uses MODBUS-RTU (National Standard GB/T19582-2008) TCP for 

communication, supports one master station to control multiple slave stations, and 127 
slave station addresses can be configured through the built-in host computer. The 
master station can be a single-chip computer, PLC or PC, etc. 

1.1

 

Communication parameters 

The default configuration of the serial port at the factory, the baud rate is 9600bps 

by default, the data bit is 8, no parity, and the stop bit is 1. The baud rate can be 
configured in the range of 9600~115200bps, and the encoder default communication 
address (station number) is 1. 

1.2  MODBUS-RTU Frame format 

This encoder supports 0x03 (read holding register), 0x06 (write a single register) 

function codes of MODBUS

 

1.2.1  0x03 Read holding register 

Host send

 

Byte 

Content 

ADR

 

0x03 

Start 

register 

high 
byte 

Start 

register 

low 

byte 

High 

byte of 

register 
number 

Low 

byte of 

register 
number 

CRC 

High 

byte 

CRC 

low 

byte 

The 1

st

 byte ADR

 

Slave address code

1

127

 

The 2

nd

 byte 0x03 

 

Read register value function code 

The 3

rd

.

4

th

. byte

 

Start address of the register to be read 

The 5

th

.

6

th

. byte

 

Number of registers to be read 

The 7

th

.

8

th

. byte

 

CRC16 checksum from byte 1 to 6 

Return from station

 

Byte 

4

6

  M-1

M+1 

M+2 

Content 

ADR

 

0x03 

Total 

byte 

Register 

data 1 

Register 

data 2 

….. 

Register 

data M 

CRC 

High 

byte 

CRC 
Low 

byte 

The 1

st

 byte ADR

 

Slave address code

1

127

 

 

The 2

nd

 byte 0x03 

 

Return to read function code 

 

The 3

rd

 byte

 

The total number of bytes from 4 to M 
(including 4 and M) 

 

The 4

th

. ~ M byte

 

Register data 

 

Содержание RS485

Страница 1: ...Multi turns Absolute Rotary Encoder User Manual RS485 深圳布瑞特科技有限公司 BriterEncoder 1 ...

Страница 2: ... not be lost A simple multi turn encoder with a single code disc precision reduction gear multi turns are 0 99 turns single turns are 0 32768P R absolute values and a resolution of 0 35 degrees can be achieved within the range All parameters can be set through the RS485 communication of the computer and the zero point can be set at any position Therefore when the encoder is installed the device ca...

Страница 3: ... of the Shaft Axial 20 N Radial 80 N Maximum mechanical speed 1000RPM Starting torque 0 006Nm Weight 150 g include 1 2meter shielded wire Environment Parameters Operating temperature 40 85 C Storage temperature 40 85 C Humidity 98 No condensation Waterproof Shell IP54 Shaft Bearing IP65 Wiring Methods Red Positive power supply 5V 9 24V Please pay attention to the voltage value on the encoder label...

Страница 4: ...ocess so when there is a motor in the system or a strong electromagnetic interference environment the encoder power supply should use an isolated power supply and external extension It is best to use double shielded cables and other measures for the communication line The outer shell of the encoder shell and shielded cable should be well grounded to prevent damage to the encoder circuit due to lig...

Страница 5: ... for repair only raw material cost is required when repair 深圳布瑞特科技有限公司 Address Building A2 Anle Industrial Park No 172 Hangcheng Street Xixiang Street Banan Shenzhen 518101 地址 深圳市宝安区西乡街道航城大道 172 号安乐工业区 A2 栋 6 层 邮编 518101 Website www briterencoder com Technology support Tel 0755 23025071 Email briterencoder foxmail com Shop https www aliexpress com store 900241184 Product warranty and disclaimer Co...

Страница 6: ...pports 0x03 read holding register 0x06 write a single register function codes of MODBUS 1 2 1 0x03 Read holding register Host send Byte 1 2 3 4 5 6 7 8 Content ADR 0x03 Start register high byte Start register low byte High byte of register number Low byte of register number CRC High byte CRC low byte The 1st byte ADR Slave address code 1 127 The 2nd byte 0x03 Read register value function code The ...

Страница 7: ...er CRC high byte CRC low byte 1 3 Register definition 1 3 1 Encoder register Register address description Value ranges Support function code Remarks 0x0000 0x0001 Encoder value 0 0xFFFFFFFF 0 4294967295 0x03 0x0002 Encoder coil value 0 0xFFFF 0 65535 0x03 0x0003 Encoder singe turn value 0 0xFFFF 0 65535 0x03 0x0004 Encoder address 1 127 0x06 Communication address 0x0005 Baud rate 0x0000 0x0004 0x0...

Страница 8: ...Read encoder single turn value Tx 01 03 00 03 00 01 74 0A Rx 01 03 04 02 7A D8 C6 Note The CRC check digit is in the brackets the return data of the encoder single turn value is 02 7A decimal 634 1 4 5 Set the encoder address Tx 01 06 00 04 00 02 49 CA Rx 01 06 00 04 00 02 49 CA Note The CRC check digit is in the brackets and the set address is 02 HEX 0x0002 1 4 6 Set the encoder baud rate Tx 01 0...

Отзывы: