44 / 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.16 Writing an analog output
Description The function block KRC_WriteAnalogOutput polls and writes an analog output
of the robot controller. This function is executed in the Submit interpreter.
Memory
Inputs
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 output
1 … 32
Parameter Type Description
Value REAL Value of the analog output
ErrorID DINT Error number
Done BOOL TRUE = statement has been executed
Error BOOL TRUE = error in function block
Fig. 7-17: Function block KRC_WriteAnalogOutput
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 rising edge of the
signal.
Number INT Number of the analog output
1 … 32
Value REAL Value of the analog output