beautypg.com

Kistler-Morse KM STXPlus User Manual

Page 45

background image

APPENDIX B: KISTLER-MORSE

®

PROTOCOL SERIAL COMMANDS

‘wg’ Command — Write Setpoint State
This command is sent by the master to set the setpoint state of an STXplus. This can only be
accomplished if setpoint test is enabled (see command “GB/PB“). Acceptable values for setpoint
number is 1 and 2. The range of acceptable values is 0-1 where 0 is setpoint off or 1 is setpoint
on. For this example, the master sets setpoint 1’s state for an STXplus at address 01 to 1
(setpoint on). Any of the 6 leading zeros may be omitted.

Request from Master

Response from STXplus

>aawgn000000dssr

Ar

Format

>01wg11A1r

Ar

Example

‘GB’ Command — Read Setpoint Test Mode
This command is sent by the master to request the STXplus to send the setpoint test mode.
Acceptable values for setpoint number is 1 and 2. The range of acceptable values is 0-1 where
0 is test mode disabled or 1 is test mode enabled. The default value is 1 (test mode enabled).
For this example, the master requests setpoint 2’s test mode for an STXplus at address 01 which
returns 0 (test mode disabled) and a checksum of 50.

Request from Master

Response from STXplus

>aaGTnssr

A000000dssr

Format

>01GB21Cr

A000000050r

Example

‘PB’ Command — Write Setpoint Test Mode
This command is sent by the master to set the setpoint test mode of an STXplus. Acceptable
values for setpoint number is 1 and 2. The range of acceptable values is 0-1 where 0 is test mode
disabled or 1 is test mode enabled. For this example, the master sets setpoint 1’s state for an
STXplus at address 01 to 1 (test mode enabled). Any of the 6 leading zeros may be omitted.

Request from Master

Response from STXplus

>aaPBn000000dssr

Ar

Format

>01PB1155r

Ar

Example

‘GH’ Command — Read Setpoint Value
This command is sent by the master to request the STXplus to send the setpoint value.
Acceptable values for setpoint number is 1 and 2. The range of this value can be ±2,147,483,647.
The default value is 0. For this example, the master requests setpoint 1’s 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

>aaGHnssr

A(-)ffffffffssr Format

>01GH121r

A347.5132r Example

B-26