PresetHreg - 6, SlaveAddr, RegAddr16, SPAddr16, SPMode
A ModBus Master script command
When processed this command will result in the SPLat master sending out a ModBus function 6 query (Force single holding register), then wait for the response.
Parameters are:
| Item | Bit Length | Description |
|---|---|---|
| SlaveAddr | 8 | An 8-bit slave address |
| RegAddr16 | 16 | The 16-bit, 0-based address of a holding register (4xxxx reference) in the slave. |
| SPAddr16 | 16 | A 16-bit RAM address within the SPLat master's RAM. |
| NumberFormat | 8 | Specifies the number format sent to the slave, either byte (8 bits), word (16 bits, standard) or float together with the endianness of the value. |
