Kistler-Morse KM STXPlus User Manual
Page 39
APPENDIX B: KISTLER-MORSE
®
PROTOCOL SERIAL COMMANDS
Request from Master
Response from STXplus
>aa[W200000ddssr
Ar
Format
>01[W21578973r
Ar
Example
‘[R3’ Command — Read 0mA Trim Value
This command is sent by the master to request the STXplus to send the 0mA trim value. The trim
value is used to calibrate the current output engine at the 0mA point. The range of acceptable
values is 0-65535. The default value is 0. For this example, the master requests the 0mA trim
value for an STXplus at address 01 which returns 591 and a checksum of 5F.
Request from Master
Response from STXplus
>aa[R3ssr
A00dddddssr
Format
>01[R341r
A00005915Fr
Example
‘[W3’ Command — Write 0mA Trim Value
This command is sent by the master to set the 0mA trim value of an STXplus. The trim value is
used to calibrate the current output engine at the 0mA point. The range of acceptable values is
0-65535. For this example, the master sets the 0mA trim value for an STXplus at address 01 to
89. Any of the 2 leading zeros may be omitted.
Request from Master
Response from STXplus
>aa[W300000ddssr
Ar
Format
>01[W389D7r
Ar
Example
‘R9’ Command — Read Current Output High Weight
This command is sent by the master to request the STXplus to send the current output high
weight calibration value. This would be the maximum A/D counts if operating in analog mode or
the maximum weight units if operating in digital mode (refer to commands “n1”/”m1” for analog/
digital mode) where the highest portion of the current output range would be obtained (refer to
commands “n2”/”m2” for current output range). The range of this value can be ±8,388,607 in
analog mode and ±2,147,483,647 in digital mode. The default value is 8,388,607. For this
example, the master requests the current output high weight for an STXplus at address 01
assuming it is in digital mode and using a format of 3(X.X), which returns 347.5 engineering units
and a checksum of EB.
Request from Master
Response from STXplus
>aaR9ssr
A(-)fffffffssr Format
>01R9ECr
A347.501r Example
‘w9’ Command — Write Current Output High Weight
This command is sent by the master to set the current output high weight calibration value of an
STXplus. This would be the maximum A/D counts if operating in analog mode or the maximum
weight units if operating in digital mode (refer to commands “n1”/”m1” for analog/digital mode)
where the highest portion of the current output range would be obtained (refer to commands
“n2”/”m2” for current output range). The range of this value can be ±2,147,483,647. For this
B-20