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 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: 0=Monitor not defined 1=Monitor active (with data) 2=Monitor active (with no data) 3=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 |
---|---|---|
nackIllegalArgs |
Illegal arguments |
U16 What illegal: 1=Owner ID 2=Process ID |
nackNotFound |
Monitor not found |
|