Code: |
AS + 200 |
Symoblic: |
bccGetIC |
NOTE: this command is not supported in RTE firmware.
This command will get value for a logical input channel. Request parameters are the following:
Offset |
Type |
Label |
Description |
---|---|---|---|
0 |
U16 |
CH |
Required channel index (see your hardware documentation for valid channel values) |
On success, a bccAck is received with following data:
Offset |
Type |
Label |
Description |
---|---|---|---|
0 |
U8 |
PSTATE |
Channel physical state (0=Off/Open, otherwise On/Close) |
1 |
U8 |
LSTATE |
Channel logical state (0=Off/Open, otherwise On/Close) |
On failure, a bccNack is received. Specific errors:
NACK code |
Description |
Extra data |
---|---|---|
nackIllegalArgs |
Illegal arguments |
U16 What illegal 1=Channel index |
nackWriteOnly |
Channel is not readable |
|