SmarTek Systems SAS-1 Detailed Communication Formats User Manual

Page 10

Advertising
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

<ESC>{SASxxxx,RESET}

SAS-1 Response:

Chr(2)OKChr(3)

(“OK” is ASCII)

followed by:

Chr(2)<CR><LF>SmarTek<sp>Systems<sp>SAS-1<sp>Rev.<sp>xxx
<sp>xMbit<sp>RTClk<sp>xxminChr(3)

where <CR> and <LF> represent a carriage return and line feed respectivly and <sp> is a space.

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

<ESC>{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

Advertising