0X10-- Write Multiple Data - Leadshine CS2RS Series User Manual

Rs485 closed loop stepper drive
Hide thumbs Also See for CS2RS Series:
Table of Contents

Advertisement

Note: 0x1801-- Auxiliary control word, and 0x2211 is to save the value to EEPROM. This step is required
after the parameter has been modified, to prevent losing the written value after power-off.
4.2.5 FC= 0x0F-- Write multiple bit
Sent Message (Master to Slave)
Slave ID
00 - 1F
FC
0F
First address
High
write
Low
High
Number of bit
write
Low
Number
of
Double number
byte
of bit write
DATA1
8-bit
DATA2
8-bit
Low
CRC
High
-
4.2.6 FC= 0x10-- Write multiple address
Sent Message (Master to Slave)
Slave ID
00 - 1F
FC
10
High
First address
write
Low
Number
of
High
address write
Low
Number
of
Double number
byte
of bit write
High
DATA1
Low
High
DATA2
Low
Low
CRC
High
Example E: Modify the configuration of digital input (DI)
Send message:01 10 01 46 00 04 08 00 00 00 28 00 00 00 29 1C 14
Receive message:01 10 01 46 00 04 21 E3
Details as following:
Master->slave data:
CS2RS Series RS485 Closed Loop Stepper Drive User Manual
Receive Message (Slave to Master)
Slaver ID
00 - 1F
FC
0F
High
Address
Low
High
Number
of
byte write
Low
Low
CRC
High
-
Receive Message (Slave to Master)
Slaver ID
00 - 1F
FC
10
High
Address
Low
High
DATA
Low
Low
CRC
High
-
-19-

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cs2rs-d503Cs2rs-d507Cs2rs-d1008

Table of Contents