Reading the status of the workspaces
Description
The function block KRC_ReadWorkstates reads the current status of the workspaces. The status of the workspaces is updated cyclically.
Inputs
|
Parameter |
Type |
Description |
|---|---|---|
|
AxisGroupIdx |
INT |
Index of axis group
|
Outputs
|
Parameter |
Type |
Description |
|---|---|---|
|
Valid |
BOOL |
TRUE = data are valid |
|
WORKSTATE1 |
BOOL |
Status of the workspaces |
|
WORKSTATE2 |
BOOL | |
|
WORKSTATE3 |
BOOL | |
|
WORKSTATE4 |
BOOL | |
|
WORKSTATE5 |
BOOL | |
|
WORKSTATE6 |
BOOL | |
|
WORKSTATE7 |
BOOL | |
|
WORKSTATE8 |
BOOL | |
|
AXWORKSTATE1 |
BOOL | |
|
AXWORKSTATE2 |
BOOL | |
|
AXWORKSTATE3 |
BOOL | |
|
AXWORKSTATE4 |
BOOL | |
|
AXWORKSTATE5 |
BOOL | |
|
AXWORKSTATE6 |
BOOL | |
|
AXWORKSTATE7 |
BOOL | |
|
AXWORKSTATE8 |
BOOL | |
|
Error |
BOOL |
TRUE = error in function block |
|
ErrorID |
DINT |
Error number |