Instruction Manual

11
Or:
XS03O <CR><LF>
Input 3 is ON (HIGH level TTL signal)
3.6 SETTING INDIVIDUAL OUTPUT LINE LEVELS
I/O lines defined as Outputs may be set or cleared individually. Lines must be addressed
by their two digit I/O Line Nr (00-15). It is the users responsibility to properly address
lines designated as outputs although attempting to set or clear an input line will have no
affect on that line.
XO (n)(a) <CR>
O is the Output indicator
n is the output line nr. 0 to 15
a is either an "O" (output ON )
or "F" (output OFF)
Example:
Command:
XO15O <CR>
Set output nr 15 ON (HIGH TTLsignal)
Response:
XO15O <CR><LF>
Output nr 15 is ON
3.7 READING ALL LINES
The status of all 22 I/O lines (inputs and outputs alike) may be retrieved with a single
command to save time. The line status is returned in compact hexadecimal format with
each bit representing one line. Refer to Section 3.10 for further explanation of this data
format.
XSF <CR>
S is the status indicator
F is the fast scan indicator
Example:
Command:
XFS <CR>
Response:
XS(abcdef) <CR><LF>
a is the value for lines 21 to 20
b is the value for lines 19 to 16
c is the value for lines 15 to 12
d is the value for lines 11 to 08
e is the value for lines 07 to 04
f is the value for lines 03 to 00
Example Response Deciphering: Response:
XS3;2>:7 <CR> <LF>
ASCII Char | 3 | ; | 2 | > | : | 7
Dec Value | 3 | 11 | 2 | 14 | 10 | 7
Hex Value | 3 | B | 2 | E | A | 7
Binary Value | 1 1| 1 0 1 1| 0 0 1 0| 1 1 1 0| 1 0 1 0| 0 1 1 1
I/O Line Nr |21 20|19 18 17 16|15 14 13 12|11 10 09 08|07 06 05 04|03 02 01 00
Once broken down to its binary format the response indicates that Lines 21, 20, 19, 17,
16, 13, 11, 10, 09, 07, 05, 02, 01 and 00 are all High (ON) and the rest are Low (OFF).