62 / 123 Issued: 13.08.2012 Version: KST PLC mxAutomation Logix 1.0 V1 en (PDF)
KUKA.PLC mxAutomation Logix 1.0
Inputs
Outputs
7.6.32 Reading the state of an interrupt
Description The function block KRC_ReadInterruptStatus reads the state of an interrupt in
the advance run. This is updated cyclically.
A distinction can be made between the state of the interrupt in the advance run
and the state in the main run.
Memory
Parameter Type Description
KRC_AxisGroup
RefArr
AXIS_GROUP_
REF_ARR
Reference to the internal structure of the axis group
Parameter Type Description
AxisGroupIdx INT Index of axis group
ExecuteCmd BOOL The statement is buffered in the case of a rising edge of the
signal.
Interrupt INT Number of the interrupt
1 … 8
BufferMode INT Mode in which the statement is executed
1: ABORTING
2: BUFFERED
(>>> "BufferMode" Page 27)
Parameter Type Description
ErrorID DINT Error number
Busy BOOL TRUE = statement is currently being trans-
ferred or has already been transferred
Done BOOL TRUE = statement has been executed
Aborted BOOL TRUE = statement was aborted before it was
processed in the advance run
Error BOOL TRUE = error in function block
Fig. 7-33: Function block KRC_ReadInterruptStatus
Parameter Type Description
KRC_AxisGroup
RefArr
AXIS_GROUP_
REF_ARR
Reference to the internal structure of the axis group