beautypg.com

Kistler-Morse KM STXPlus User Manual

Page 60

background image

APPENDIX C: MODBUS PROTOCOL SERIAL COMMANDS

Read a Register

NOTE
Address xxxx must be a valid word address in the device or the device will respond with an error.

Write a Register

NOTE
Address xxxx must be a valid word address in the device or the device will respond with an error.
The word must not be a read-only word in the device.

IMPORTANT POINTS

All register values that are numeric are either 1 byte, 1 word, or 1 double-word integers. For
those values that are floating point values you must read the format register to determine the
placement of the decimal point then multiply or divide the integer by the appropriate magnitude
of 10 in order to get the floating point value. The remaining registers that are character values
have 2 characters / word where the high byte is the first character and the low byte is the second
character.

C-7