55 / 123Issued: 13.08.2012 Version: KST PLC mxAutomation Logix 1.0 V1 en (PDF)
7 Programming
7.6.26 Reading the software limit switches of the external axes
Description The function block KRC_ReadSoftEndEx reads the software limit switches of
the external axes. This function is executed in the Submit interpreter.
Memory
Inputs
Outputs
Parameter Type Description
A1_Min …
A6_Min
REAL Negative software limit switch of axis A1 … A6
A1_Max …
A6_Max
REAL Positive software limit switch of axis A1 … A6
ErrorID DINT Error number
Done BOOL TRUE = statement has been executed
Error BOOL TRUE = error in function block
Fig. 7-27: Function block KRC_ReadSoftEndEx
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 executed in the case of a ris-
ing edge of the signal.
Parameter Type Description
E1_Min …
E6_Min
REAL Negative software limit switch of axis E1 … E6
E1_Max …
E6_Max
REAL Positive software limit switch of axis E1 … E6
ErrorID DINT Error number
Done BOOL TRUE = statement has been executed
Error BOOL TRUE = error in function block