Kistler-Morse KM STXPlus User Manual

Page 28

Advertising
background image

APPENDIX B: KISTLER-MORSE

®

PROTOCOL SERIAL COMMANDS

‘Z’ Command — Perform Zero Calibration
This command is sent by the master to request the STXplus calibrate its current input A/D to
correspond with the engineering units value that was sent by the master by adjusting the zero
weight crossing point rather that adjusting the slope of delta counts/delta weight. The range of
this value can be ±2,147,483,647. The response from the STXplus will be a single digit status
where 0 - successful. For this example, the master sends the STXplus at address 01 a value of
85643. assuming that the format is set to 2(X.).

Request from Master

Response from STXplus

>aaZ±fffffffssr

Ar

Format

>01Z85643.38r

A030r E

xample

‘V0’ Command — Version
This command is sent by the master to request the STXplus to send its version number in hex.
For this example, the master requests the code from an STXplus at address 01, which returns a
version of 01 hex and a checksum of 61.

Request from Master

Response from STXplus

>aaV0ssr

Addssr

Format

>01V0E7r

A0161r

Example

‘G0’ Command — Read Vessel Name
This command is sent by the master to request the STXplus to send its vessel name. The
maximum number of characters for a vessel name is 10. The default value is “ “. For this
example, the master requests the vessel name from an STXplus at address 01, which returns
“Gravel” and a checksum of 61.

Request from Master

Response from STXplus

>aaG0ssr

A??????????ssr

Format

>01G0D8r

AGravel61r

Example

‘P0’ Command — Write Vessel Name
This command is sent by the master to set the STXplus vessel name. The maximum number of
characters for a vessel name is 10. For this example, the master sends a vessel name of “Sand”
to an STXplus at address 01.

Request from Master

Response from STXplus

>aaP0??????????ssr

Ar

Format

>01P0Sand67r

Ar

Example

‘n1’ Command — Read Analog/Digital Mode Flag
This command is sent by the master to request the STXplus to send the analog/digital mode. The
range of returned values is 0-1 where 0 for calibrated in analog mode or 1 for calibrated in digital
mode. The default value is 0 (analog mode). For this example, the master requests the mode for
an STXplus at address 01 which returns the mode of 1 (digital mode) and a checksum of 51.

B-9

Advertising