background image

 

The M

1

 M+2byte

 

CRC16 checksum from byte 1 to M 

 

1.2.2  0x06 Write a single register 

Host send

  

Byte 

content 

ADR

 

0x06 

Start 
register 
high 
byte 

Start 
register 
low byte 

High byte 
of 
register 
number 

Low byte 
of 
register 
number 

CRC 
High 
Byte 

CRC 
Low 
byte 

When the slave station receives correctly, the slave station sends back

 

Byte 

Conte

nt 

ADR

 

0x06 

Registe

r high 

byte 

Regist
er low 

byte 

High 

byte of 

register 
number 

Low byte 

of register 

number 

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 

0x06 

0x00

 9600 

0x01

19200 

0x02

38400 

0x03

57600 

0x04

115200 

0x0008 

Encoder reset 

zero mark 

0x0001 

0x06 

Write 0x0001

the 

encoder takes the 

current position as 

the zero point 

0x0009 

Encoder 

value 

increasing 

direction 

0x0000~0x0001 

0x06 

0x00

clockwise 

0x01

counterclockwise 

Содержание 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...

Отзывы: