Modbus RS485 Stepper Drive User Manual
Slave>master data:
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.3 Preset Multiple Registers FC= 10
Preset Multiple Registers Query (Master to Slave)
Preset Multiple Registers Response (Slave to Master)
Address of first register to write to
Address of first register written to
Total number of registers to write
to
Total number of registers written
to
Number of data bytes in message
Example E: Write multiple registers-- configure input port functions
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:
00 00, 00 28, 00 00, 00 29
Slave>master data:
Note: (1) In above example, modify the function of DI2 / DI3, and write the value as DI2=0x28 ( means path 0),
DI2=0x29 (means path 1);
(2) The data type of parameter is 32bit, which include high 16bit register and low 16bit register.usually , we use low