8 writing all output lines – Watlow 8PID Controller User Manual
Page 53

12
3.8 WRITING ALL OUTPUT LINES
All 16 possible output Lines may be set or cleared simultaneously with one command.
The desired level of each line [1=High(ON) 0=Low(OFF)] is represented by one bit in a
hexadecimal byte representing each four-line group. Refer to Section 3.10 for further
explanation of this compressed data format.
To set the level of all output lines with one command:
XOF (abcd)
O is the Output indicator
F is the Fast write indicator
a is the value for output lines 15-12
b is the value for output lines 11-08
c is the value for output lines 07-04
d is the value for output lines 03-00
Example:
Command : XOF0000
Set all outputs low (off).
Response: XOF0000
Command : XOF1111
Set lines 12, 08, 04, and 00 high (on).
Response: XOF1111
Example Command Construction:
Turn ON Lines 15, 14, 13, 12, 09, 04, 02
Turn OFF Remaining Lines
I/O Line Nr
| 15 14 13 12 | 11 10 09 08 | 07 06 05 04 | 03 02 01 00
Binary Value
| 1 1 1 1 | 0 0 1 0 | 0 0 0 1 | 0 1 0 0
Hex Value
| F | 2 | 1 | 4
Dec Value
| 15 | 2 | 1 | 4
ASCII Char
| ? | 2 | 1 | 4
Resulting Command: XOF?214