JVL MIS17 Series User Manual page 312

Integrated step motors, including step motor controller smc66, smc85
Table of Contents

Advertisement

12.1
This would write a 32-bit hexadecimal value of ddccbbaa - note the byte-packing.
Example to write the value 999888 to P_SOLL (register 3) using offset 40000, to the mo-
tor with address 254. Values in decimal:
Value = 999888,
High Word = 15, High Word - High byte = 0, High Word - Low byte = 15
Low Word = 16848, Low Word - High byte = 65, Low Word - Low byte = 208
Address = 40000 + 2 * 3 = 40006
High byte = 156, Low byte = 70
Note, that some implementations of the Modbus requires an offset added to the address,
eg. to write to P_SOLL (register 3) use the address 2 * 3 + 1 = 7, or 40000 + 2 * 3 +
1 = 40007. This refers only to the master. It should generate the same command, as be-
low.
The word order for 32-bit values is Low Word, High Word, and the byte order for 16-
bit values is High byte, Low byte.
Command:
254, 16, 156, 70, 0, 2, 4, 65, 208, 0, 15, 232, 101
Response:
254, 16, 156, 70, 0, 2, 154, 66
312
JVL Industri Elektronik A/S - User Manual - Integrated Stepper Motors MIS17x, 23x, 34x, 43x
Modbus

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents