Reading diagnostic signals
Description
The function block KRC_Diag reads the diagnostic signals of the robot controller.
![]() | The function block may only be instanced once per axis group. In the case of multiple instancing, the signals of the most recently called function block are output. |
Inputs
Parameter | Type | Description |
|---|---|---|
AxisGroupIdx | INT | Index of axis group
|
ShowTrace | BOOL | TRUE = activate display of the active function blocks in the message window of the iiQKA.OS2 user interface. FALSE = deactivate display of the active function blocks in the message window of the iiQKA.OS2 user interface. Notice: Only activate the display for test and diagnostic purposes. If the display is active, approximate positioning is no longer possible and the cycle time of the submit interpreter is adversely affected. |
MaxSubmitCycle | INT | Maximum cycle time of the submit interpreter Default: 1 000 ms Notice: If the maximum cycle time is exceeded, the $MOVE_ENABLE signal for the motion enable is reset. |
Outputs
Parameter | Type | Description |
|---|---|---|
Valid | BOOL | TRUE = data are valid |
QueueCount | INT | Number of buffered statements
|
PosActValid | BOOL | TRUE = position data are valid (BCO) |
BrakeActive | BOOL | TRUE = robot is stopped by means of a BRAKE statement |
SubmitHeartbeat | INT | Heartbeat signal of the submit interpreter (counter is incremented by 1 every Submit cycle)
Notice: During load data determination (KRC_LDDstart function block), it is possible for the heartbeat signal of the submit interpreter to be interrupted up to 400 ms. |
SubmitCyc_Act | REAL | Current cycle time of the submit interpreter; unit: ms Mean value over 1 000 ms = 1/number of cycles per second |
SubmitCyc_Min | REAL | Shortest cycle time of the submit interpreter since the last broken connection; unit: ms |
SubmitCyc_Max | REAL | Longest cycle time of the submit interpreter since the last broken connection; unit: ms |
SubmitCyc_Avg | INT | Mean value of the cycle time of the submit interpreter during the calculation period Avg_Duration; unit: ms |
ActivePosOrderID | DINT | Order ID of the KRC_Move motion command that is currently being executed |
ActiveOrderIDB | DINT | Order ID of the current KRC_Move motion command in the advance run |
Avg_Duration | DINT | Duration of the current calculation period for the mean value of the cycle time; unit: ms The calculation period is restarted after a break in the connection to the submit interpreter or, at the latest, after 60 minutes. |
ProconosHeartbeat | INT | Life sign of the real-time driver of mxAutomation (value is increased by 1 in each driver cycle) |
ProconosCyc_Act | INT | Current cycle time of the real-time driver of mxAutomation; unit: ms Mean value over 1 000 ms = 1/number of cycles per second |
ProconosCyc_Min | INT | Shortest cycle time of the real-time driver of mxAutomation since the last broken connection; unit: ms |
ProconosCyc_Max | INT | Longest cycle time of the real-time driver of mxAutomation since the last broken connection; unit: ms |
ProconosCyc_Avg | INT | Mean value of the cycle time of the real-time driver of mxAutomation during the determination period Avg_Duration; unit: ms |
ErrorID_RI | DINT | Robot interpreter error number |
ErrorID_SI | DINT | Submit interpreter error number |
ErrorID_PLC | DINT | PLC error number |
ErrorID_PCOS | DINT | Error number from the real-time driver of mxAutomation |
Error | BOOL | TRUE = error in function block |
ErrorID | DINT | Error number |
