Code: |
AS + 814 |
Symbolic: |
bccLadMonStatus |
This command will query current status of specified ladder monitor and miscellaneous info for the monitored process itself. Request parameters are the following:
Offset |
Type |
Label |
Description |
---|---|---|---|
0 |
U32 |
OWNER |
Owner identification ID |
4 |
U32 |
MONID |
Monitor ID |
On success, a bccAck is received with the following data:
Offset |
Type |
Label |
Description |
---|---|---|---|
0 |
U8 |
STATUS |
Current monitor status: 0x00 = Monitor not defined 0x01 = Monitor active (with data) 0x02 = Monitor active (with no data) 0x03 = Monitor expired (timer WD denied) |
1 |
U16 |
FREQ |
Data stream frequency (0=data sent when possible) [hz] |
3 |
U8 |
PTYPE |
Process type: 0 = Synchronous 1 = High priority 2 = Normal priority 3 = Low priority |
4 |
U16 |
PFREQ |
Process frequency [hz] |
6 |
U32 |
PSTS |
Process status: 0x00000001 = Process is running 0x00000002 = Process has runtime error(s) |
10 |
DBL |
PLENGTH |
Process length [us] |
On failure, a bccNack is received. Specific errors:
NACK code |
Description |
Extra data |
---|---|---|
nackNotFound |
Monitor not found |
|