LXM32M | 3 Basics |
|
|
3.3.3Reading and writing parameters
Parameters are processed as 32 bit values. 16 bit values must also be processed as 32 bit values. Two consecutive 16 bit parameters must be read or written to process a 16 bit parameter. The first Modbus address must be specified.
If several consecutive parameters are to be processed, a single Mod- bus command with the corresponding Modbus address and the length indication is sufficient.
NOTE: This does not apply to reading and writing parameters with addresses in the range from 17408 (4400h) to 17663 (44FFh). In this range, only a single parameter can be addressed with one Modbus command.
Example Reading the parameter CTRL1_KPp "Position controller P gain" Modbus address 4614
When the parameter CTRL1_KPp with the Modbus parameter address 4614 and length 2 is read, the two parameter addresses 4614 and
4615 are read. Result:
Address | Value |
|
|
4614 | 0000h |
|
|
4615 | 00C8h |
|
|
0198441113843, V1.01, 01.2012
21 |