Kistler-Morse KM STXPlus User Manual
Page 46
APPENDIX B: KISTLER-MORSE
®
PROTOCOL SERIAL COMMANDS
‘PH’ Command — Write Setpoint Value
This command is sent by the master to set the setpoint value of an STXplus. Acceptable values
for setpoint number is 1 and 2. The range of this value can be ±2,147,483,647. For this example,
the master sets setpoint 2’s value for an STXplus at address 01 to 1.1219 assuming it is using a
format of 6(X.XXXX).
Request from Master
Response from STXplus
>aaPHn(-)ffffffffssr
Ar
Format
>01PH21.121957r
Ar
Example
‘GS’ Command — Read Raw/In Linearization Value
This command is sent by the master to request the STXplus to send the selected raw/in
linearization value. Acceptable selected values is 0-4 corresponding to points 1-5. The range of
this value can be between 0 and 2,147,483,647. The default values for points 1-5 are 0., 2500.,
5000., 7500., and 9999., respectively. For this example, the master requests point 1’s raw/in
linearization value for an STXplus at address 01 assuming it is using a format of 4(X.XX), which
returns 347.51 engineering units and a checksum of 32.
Request from Master
Response from STXplus
>aaGSnssr
A(-)ffffffffssr Format
>01GS12Cr
A347.5132r Example
‘PS’ Command — Write Raw/In Linearization Value
This command is sent by the master to set the raw/in linearization value of an STXplus.
Acceptable selected values is 1-4 corresponding to points 2-5, remember that point 1 must be 0.
The range of this value can be between 0 and 2,147,483,647. For this example, the master sets
point 2’s raw/in linearization value for an STXplus at address 01 to 1.1219 assuming it is using a
format of 6(X.XXXX).
Request from Master
Response from STXplus
>aaPSn(-)ffffffffssr
Ar
Format
>01PS21.121962r
Ar
Example
‘GT’ Command — Read Corrected/Out Linearization Value
This command is sent by the master to request the STXplus to send the selected corrected/out
linearization value. Acceptable selected values is 0-4 corresponding to points 1-5. The range of
this value can be between 0 and 2,147,483,647. The default values for points 1-5 are 0., 2500.,
5000., 7500., and 9999. respectively. For this example, the master requests point 1’s corrected/
out linearization value for an STXplus at address 01 assuming it is using a format of 4(X.XX),
which returns 347.51 engineering units and a checksum of 32.
Request from Master
Response from STXplus
>aaGTnssr
A(-)ffffffffssr Format
>01GT12Dr
A347.5132r Example
B-27