Code: |
AS + 203 |
Symbolic: |
bccGetOW16 |
NOTE: this command is not supported in RTE firmware.
This command will get value for multiple 16 bit output word. Request parameters are the following:
Offset |
Type |
Label |
Description |
---|---|---|---|
0 |
U8 |
REP |
No. of consecutive output words (#1) |
1 |
U16 |
INDEX |
Index of first output word required (see your hardware documentation for valid index values) |
Note (#1): maximum value for REP in BCC3 is 63.
On success, a bccAck is received with following data:
Offset |
Type |
Label |
Description |
---|---|---|---|
0 |
U16 |
PSTATE0 |
Physical state of output word 0 |
2 |
U16 |
LSTATE0 |
Logical state of output word 0 |
4 |
U16 |
PSTATE1 |
Physical state of output word 1 |
6 |
U16 |
LSTATE1 |
Logical state of output word 1 |
8 |
... |
... |
... |
Notes:
•data size is calulated as 4 bytes * REP.
On failure, a bccNack is received. Specific errors:
NACK code |
Description |
Extra data |
---|---|---|
nackIllegalArgs |
Illegal arguments |
U16 What illegal 1=No. of output words 2=Output word first index |
nackWriteOnly |
Output word not readable |
U16 Index of output word in error |