Diagnostic functions
KRC_MessageReset
KRC_Diag
Special functions
KRC_ReadSysVar
KRC_WriteSysVar
KRC_BrakeTest
KRC_MasRef
KRC_ReadSafeOPStatus
KRC_ReadTouchUPState
KRC_TouchUP
7.2
Frequently used input/output signals in the function blocks
7.2.1
Input/output signal KRC_AxisGroupRefArr (memory)
Each function block requires a reference to the internal structure
KRC_AxisGroupRefArr, in which the internal state of the mxA interface is
stored. It is imperative that the reference always applies to the same instance
of this structure.
7.2.2
Input signals
This signal input is used to set the number of the robot addressed by a function
AxisGroupIdx
block.
This number must always be "0", as currently only 1 robot can be controlled by
the PLC.
If this signal is set, mxAutomation transfers the associated function block to
ExecuteCmd
the robot. The function block is stored in a statement buffer by the robot, pro-
vided there is still sufficient space in the buffer. If the ExecuteCmd input is re-
set, mxAutomation deletes the function block from the buffer again unless
execution of the statement has already begun.
7.2.3
Output signals
This signal output indicates that the associated function block is currently be-
Busy
ing transferred to the robot's statement buffer or has already been transferred.
It is reset when the ExecuteCmd input is reset.
This signal output indicates that the associated function block is currently be-
Active
ing executed on the robot. It is reset when the ExecuteCmd input is reset.
This signal output indicates that the associated function block has been suc-
Done
cessfully executed by the robot. It is reset when the ExecuteCmd input is reset.
This signal output indicates that an error has occurred during execution of the
Error
associated function block on the robot. In this case, the signal output ErrorID
contains an error number. It is reset when the ExecuteCmd input is reset.
This signal output contains an error number.
ErrorID
Issued: 13.08.2012 Version: KST PLC mxAutomation Logix 1.0 V1 en (PDF)
(>>>
7.8.3 "Resetting error messages of the mxA interface"
Page 87)
(>>>
7.8.5 "Reading diagnostic signals" Page 88)
(>>>
7.9.1 "Reading system variables" Page 90)
(>>>
7.9.2 "Writing system variables" Page 91)
(>>>
7.9.3 "Calling a brake test" Page 92)
(>>>
7.9.4 "Calling a mastering test" Page 94)
(>>>
7.9.5 "Reading the safety controller signals" Page 96)
(>>>
7.9.6 "Reading the state of the TouchUp status keys"
Page 97)
(>>>
7.9.7 "Teaching points" Page 97)
7 Programming
23 / 123
Need help?
Do you have a question about the KUKA.PLC mxAutomation Logix 1.0 and is the answer not in the manual?