
e-mail:
voice:
360.854.9559
fax:
866.783.1742
9
SRC-16 Installation and Operation Manual
INSTALLATION
Binary Commands
All commands start with a 2Ah (ASCII *)
The first byte contains the board ID and the byte count iiibbbbb
The byte count is the number of bytes after the byte containing the byte count
including checksum. The second byte contains an 8 bit command. Some commands
are followed by data bytes.
Checksum is the LSByte of the sum of all bytes preceding checksum including start.
Binary commands must be received as a packet. If 50 ms or more passes after a
character is received, with no new character following, the SRC-16 will begin look-
ing for a new string if no valid data packet has been received.
SRC-16 Commands
Command
Additional Data BytesFunction
Test Strings
42h
2A 02 42 6E
Set serial speed to 2400
43h
2A 02 43 6F
Set serial speed to 9600
44h
2A 02 44 70
Set serial speed to 19200
45h
2A 02 45 71
Set serial speed to 38400
46h
2A 02 46 72
Enable error & good responses
47h
2A 02 47 73
Disable error & good responses
48h
n
2A 03 48 01 76
Latch output n (00 – 0F)
49h
n
2A 03 49 01 77
Unlatch output n (00 – 0F)
4Ah
n t
2A 04 41 01 0A 83
Pulse output n (00 – 0F), t= time (1-
63h =.1-9.9sec)
4Bh
n
2A 03 4B 01 79
Poll output n (00 – 0F) (see
55h)
4Ch
n
2A 03 4C 01 7A
Poll input n (00 – 0F) (see 55h)
4Dh
2A 02 4D 79
All Output status request (see 52h)
4Eh
2A 02 4E 7A
All Input status request (see 53h)
4Fh
2A 02 4F 7B
Unit version request (see 54h)
Response from SRC-16 Function
50h
Error response if enabled by 46h
51h
Good response if enabled by 46h
52h
n
Response of 4Dh, outputs are sent as 1
byte
53h
n
Response of 4Eh, inputs are sent as 1
byte
Also sent when any input changes state
54h
nn
Response to 4Fh outputs version, (ie
01h, 03h =
ver 1.02)
55h
n
Response to 4Bh or 4Ch for polled output or input where the
three highest bits of n are used to identify if an input/output is low/high and the low-
est 4 bits identify the input or output. n = 00h – 0Fh if input n is low, n = 20h – 2Fh
if input n is high, n = 40h – 4Fh if output n is low and n = 60 – 6F if output n is high.
n=cccxnnnn where ccc = 000 = input low, 001 = input hi, 010 = output lo, 011 = out-
put hi. nnnnn lowest 5 bits used to identify the input or output