beautypg.com

SmarTek Systems SAS-1 Detailed Communication Formats User Manual

Page 10

background image

SmarTek Systems (www.smarteksys.com)

10

When SAS-1 is set to FLOW mode, the AZDET mode, the RELAY mode, or the DRLY mode,
this command must be sent to the SAS-1 after every other output message or SAS-1 will stop
and fall back (after 5 minutes) to default operation as specified by the D_MODE parameter.

SAS-1 Response:

Continue the flow of data/messages from SAS-1

Command to SAS-1: RESET SAS-1

{SASxxxx,RESET}

SAS-1 Response:

Chr(2)OKChr(3)

(“OK” is ASCII)

followed by:

Chr(2)SmarTekSystemsSAS-1Rev.xxx
xMbitRTClkxxminChr(3)

where and represent a carriage return and line feed respectivly and is a space.

Command to SAS-1: Send SAS-1 New Executable Code

{SASxxxx,WROM}

SAS-1 Response:

Chr(2)OKChr(3)

“OK” is ASCII

Sender Response:

Line 1 of the Code File (Supplied by SmarTek Systems) is sent to SAS-1.

SAS-1 Response:

Chr(2)OKChr(3)

If data is received with no errors,

Chr(2)NOT_OKChr(3)

If data is received with errors.

If SAS-1 Response is “OK” then:

Line 2 of Code File is sent to SAS-1,

Else If SAS-1 Response is “NOT_OK” Then