43 / 123Issued: 13.08.2012 Version: KST PLC mxAutomation Logix 1.0 V1 en (PDF)
7 Programming
Memory
Inputs
Outputs
7.6.15 Reading an analog output
Description The function block KRC_ReadAnalogOutput polls and reads an analog output
of the robot controller. This function is executed in the Submit interpreter.
Memory
Fig. 7-15: Function block KRC_ReadDigitalInput
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.
Number INT Number of the analog input
1 … 32
Parameter Type Description
ErrorID DINT Error number
Done BOOL TRUE = statement has been executed
Value REAL Value of the analog input
Error BOOL TRUE = error in function block
Fig. 7-16: Function block KRC_ReadAnalogOutput
Parameter Type Description
KRC_AxisGroup
RefArr
AXIS_GROUP_
REF_ARR
Reference to the internal structure of the axis group