Appendix |
| C |
@ | I | Reads |
|
| Returns “aaa=xxxx” where: |
aaa- Value between 0 and 19 for word type data or 100 to 119 for floating type data.
xxxx- Data at the address. Current address is incremented.
@aa[=xxxx] | B | Sets the value at | |||
|
| aa |
| - | Value between 0 and 19 for word type data or |
|
|
|
|
| 100 to 119 for floating type data. |
|
| xxxx - | (Optional) Data at the address. | ||
~n | B | Sets test mode depending on value assigned to n: | |||
|
| 1 | - | XYZ test. | |
|
| 9 | - | Reset | |
9 | I | Reads contact input event FIFO. Returns “Xtttttt” where: |
X- State of the four contact inputs: 1 for closed, 0 for open. See table below.
tttttt - |
| Time since the last buffered 9 command | ||
X | A | B | C | D |
@ | 0 | 0 | 0 | 0 |
A | 1 | 0 | 0 | 0 |
B | 0 | 1 | 0 | 0 |
C | 1 | 1 | 0 | 0 |
D | 0 | 0 | 1 | 0 |
E | 1 | 0 | 1 | 0 |
F | 0 | 1 | 1 | 0 |
G | 1 | 1 | 1 | 0 |
H | 0 | 0 | 0 | 1 |
I | 1 | 0 | 0 | 1 |
J | 0 | 1 | 0 | 1 |
K | 1 | 1 | 0 | 1 |
L | 0 | 0 | 1 | 1 |
M | 1 | 0 | 1 | 1 |
N | 0 | 1 | 1 | 1 |
O | 1 | 1 | 1 | 1 |
P | 1 | 1 | 1 | 1 |
Whenever the status of a contact input changes, the state of all contacts and the time since the last buffered 9 command in the event FIFO is encountered.
GSIOC Commands