91 / 123Issued: 13.08.2012 Version: KST PLC mxAutomation Logix 1.0 V1 en (PDF)
7 Programming
Outputs
7.9.2 Writing system variables
Description The function block KRC_WriteSysVar writes a system variable.
Memory
Inputs
So far, only the system variable $ADVANCE can be read. If required
for the customer-specific application, the list of readable system vari-
ables can be expanded by KUKA.
Parameter Type Description
Value1 …
Value10
REAL Value of the system variable
If the system variable is a structure type, up to
10 components of the structure can be read.
ErrorID DINT Error number
Done BOOL TRUE = statement has been executed
Error BOOL TRUE = error in function block
Fig. 7-54: Function block KRC_WriteSysVar
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.
Index INT Index of the system variable
1: $ADVANCE