|
|
List of system variables
3.22 Cycles parameterization
$C_K_NUM
Number of "K" addresses programmed in block
INT
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
-
7
-
0
-
Write:
X
-
7
-
0
-
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
No restrictions
$C_I_ORDER [10]
Group number of address I for IJK groups
INT
Description:
$C_I_ORDER[]
Number of IJK group in which I has been programmed
Up to 10 entries with address I can be made in the block for macro programming with G65/G66. This allows the sequence of IJK groups to be
evaluated
The association between IJK groups is always noted.
Index 1:
Up to 10 entries are possible for macro programming with G65/G66 in the block with address I.
Unit
Init value
Min
Max
-
0
-2147483648
2147483647
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
-
7
-
0
-
Write:
X
-
7
-
0
-
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
No restrictions
$C_J_ORDER [10]
Group number of address J for IJK groups
INT
Description:
$C_J_ORDER[]
Number of IJK group in which J has been programmed.
Up to 10 entries with address J can be made in the block for macro programming with G65/G66. This allows the sequence of IJK groups to be
evaluated
The association between IJK groups is always noted.
Index 1:
Up to 10 entries are possible for macro programming with G65/G66 in the block with address J.
Unit
Init value
Min
Max
-
0
-2147483648
2147483647
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
-
7
-
0
-
Write:
X
-
7
-
0
-
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
No restrictions
System variables
List Manual, 10/2020, 6FC5397-6AP40-6BA4
611
List of system variables
3.22 Cycles parameterization
$C_K_ORDER [10]
Group number of address K for IJK groups
INT
Description:
$C_K_ORDER[]
Number of IJK group in which K has been programmed.
Up to 10 entries with address K can be made in the block for macro programming with G65/G66. This allows the sequence of IJK groups to be
evaluated
The association between IJK groups is always noted.
Index 1:
Up to 10 entries are possible for macro programming with G65/G66 in the block with the address K.
Unit
Init value
Min
Max
-
0
-2147483648
2147483647
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
-
7
-
0
-
Write:
X
-
7
-
0
-
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
No restrictions
$C_ME
Address extension for subprogram calls via M function
INT
Description:
$C_ME
Address extension for address M for subprogram call per M function
Unit
Init value
Min
Max
-
0
-2147483648
2147483647
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
-
7
-
0
-
Write:
X
-
7
-
0
-
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
No restrictions
$C_TE
Address extension for subprogram calls via T function
INT
Description:
$C_TE
Address extension for address T for subprogram call per M function
Unit
Init value
Min
Max
-
0
-2147483648
2147483647
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
-
7
-
0
-
Write:
X
-
7
-
0
-
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
No restrictions
System variables
612
List Manual, 10/2020, 6FC5397-6AP40-6BA4
List of system variables
3.22 Cycles parameterization
$C_MACPAR [33]
Auxiliary variable for implementing # macros
DOUBLE
Description:
$MAC_PAR[n]
Macro variable in Iso2/3 mode programmed in the original program with #<number>
Index 1:
The max. number of ISO macro parameters is 33
Unit
Init value
Min
Max
-
0.0
-1.8E+308
1.8E+308
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
-
7
-
0
-
Write:
X
-
7
-
0
-
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
No restrictions
$C_AUX_VALUE [1]
Parameter for auxiliary function replacement.
DOUBLE
Description:
Parameter for auxiliary function replacement. It contains the value of the auxiliary function that is to be replaced. Currently, only M functions
can be replaced by appropriate configuration of $MN_M_NO_FCT_CYCLE.
Index 1:
Max. number of replaced auxiliary functions. Currently, only one auxiliary function can be replaced.
Unit
Init value
Min
Max
-
0.0
-1.8E+308
1.8E+308
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
-
7
-
0
-
Write:
X
-
7
-
0
-
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
No restrictions
$C_AUX_EXT [1]
Parameter for auxiliary function replacement.
INT
Description:
Parameter for auxiliary function replacement. It contains the address extension of the auxiliary function that is to be replaced. Currently, only
M functions can be replaced by appropriate configuration of $MN_M_NO_FCT_CYCLE.
Index 1:
Max. number of replaced auxiliary functions. Currently, only one auxiliary function can be replaced.
Unit
Init value
Min
Max
-
0
0
2147483647
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
-
7
-
0
-
Write:
X
-
7
-
0
-
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
No restrictions
System variables
List Manual, 10/2020, 6FC5397-6AP40-6BA4
613
List of system variables
3.22 Cycles parameterization
$C_AUX_IS_QUICK [1]
Parameter for auxiliary function replacement.
BOOL
Description:
Parameter for auxiliary function replacement. It contains the information whether the auxiliary function that is to be replaced is to be output
with a fast (TRUE) or normal (FALSE) acknowledgment. Currently, only M functions can be replaced by appropriate configuration of
$MN_M_NO_FCT_CYCLE.
Index 1:
Max. number of replaced auxiliary functions. Currently, only one auxiliary function can be replaced.
Unit
Init value
Min
Max
-
FALSE
FALSE
TRUE
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
-
7
-
0
-
Write:
X
-
7
-
0
-
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
No restrictions
$C_T_VALUE
Cycle parameter for address T
DOUBLE
Description:
$C_T_VALUE
Value of the programmed, non-split address T for
T function replacement and M function replacement (ISO3 mode).
Unit
Init value
Min
Max
-
0.0
-1.8E+308
1.8E+308
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
-
7
-
0
-
Write:
X
-
7
-
0
-
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
No restrictions
$C_TCA
Parameter for replacing the TCA command
BOOL
Description:
Query whether the replacement of the TCA command is active.
FALSE = TCA replacement not active
TRUE = TCA replacement active
Unit
Init value
Min
Max
-
FALSE
FALSE
TRUE
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
-
7
-
0
-
Write:
X
-
7
-
0
-
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
No restrictions
System variables
614
List Manual, 10/2020, 6FC5397-6AP40-6BA4
List of system variables
3.22 Cycles parameterization
$C_DUPLO_PROG
Parameter for replacing the TCA command
BOOL
Description:
Query whether a duplo number was programmed when the TCA command was replaced.
FALSE = duplo number was not programmed
TRUE = duplo number was programmed
Unit
Init value
Min
Max
-
FALSE
FALSE
TRUE
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
-
7
-
0
-
Write:
X
-
7
-
0
-
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
No restrictions
$C_DUPLO
Parameter for replacing the TCA command
INT
Description:
Returns the value of the programmed duplo number when the TCA command is replaced.
Unit
Init value
Min
Max
-
0
-2147483648
2147483647
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
-
7
-
0
-
Write:
X
-
7
-
0
-
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
No restrictions
$C_THNO_PROG
Parameter for replacing the TCA command
BOOL
Description:
Query whether a toolholder or spindle number was programmed when the TCA command was replaced.
FALSE = toolholder or spindle number was not programmed
TRUE = toolholder or spindle number was programmed
Unit
Init value
Min
Max
-
FALSE
FALSE
TRUE
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
-
7
-
0
-
Write:
X
-
7
-
0
-
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
No restrictions
$C_THNO
Parameter for replacing the TCA command
INT
Description:
Returns the value of the programmed toolholder or spindle number when the TCA command is replaced.
Unit
Init value
Min
Max
System variables
List Manual, 10/2020, 6FC5397-6AP40-6BA4
615
List of system variables
3.22 Cycles parameterization
$C_THNO
Parameter for replacing the TCA command
INT
-
0
-2147483648
2147483647
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
-
7
-
0
-
Write:
X
-
7
-
0
-
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
No restrictions
$C_ISOPRINT
Status ISOOPEN, ISOPRINT, ISOCLOSE
INT
Description:
$C_ISOPRINT
Status variable for ISOOPEN, ISOPRINT, ISOCLOSE.
Unit
Init value
Min
Max
-
0
-2147483648
2147483647
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
-
7
-
0
-
Write:
X
-
7
-
0
-
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
No restrictions
$C_MTL_PROG
Parameter for replacing the MTL command
BOOL
Description:
Query whether the address MTL was also replaced when the T function was replaced.
FALSE = Address MTL was not programmed
TRUE = Address MTL was replaced
Unit
Init value
Min
Max
-
FALSE
FALSE
TRUE
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
-
7
-
0
-
Write:
X
-
7
-
0
-
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
No restrictions
$C_MTL
Parameter for replacing the MTL command
INT
Description:
Returns the value of the programmed location number of the multitool when the MTL command is replaced.
Unit
Init value
Min
Max
-
0
-2147483648
2147483647
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
-
7
-
0
-
Write:
X
-
7
-
0
-
System variables
616
List Manual, 10/2020, 6FC5397-6AP40-6BA4
List of system variables
3.23 System data
$C_MTL
Parameter for replacing the MTL command
INT
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
No restrictions
3.23
System data
$AN_SETUP_TIME
Time since booting with default values
DOUBLE
Description:
The $AN_SETUP_TIME timer counts the time elapsed since the control last booted with default values (in minutes).
The timer is automatically reset each time the control boots with default data.
Use in NC program:
IF $AN_SETUP_TIME> 60000 GOTOF MARK01
Unit
Init value
Min
Max
s
0.0
-1.8E+308
1.8E+308
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
runin stp
X
7
X
7
X
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Current value
Link:
No restrictions
$AN_POWERON_TIME
Time since control last booted
DOUBLE
Description:
The $AN_POWERON_TIME timer counts the time elapsed since the control last booted (in minutes).
The timer is automatically reset each time the control boots.
Use in NC program:
IF $AN_POWERON_TIME == 480 GOTOF MARK02
Unit
Init value
Min
Max
s
0.0
-1.8E+308
1.8E+308
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
runin stp
X
7
X
7
X
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Current value
Link:
No restrictions
System variables
List Manual, 10/2020, 6FC5397-6AP40-6BA4
617
List of system variables
3.23 System data
$AN_NCK_VERSION
NCK version
DOUBLE
Description:
NCK version
NCK version: only the integer places in the floating-point number are evaluated,
the decimal places can contain identifiers for intermediate versions used by the
development department. The integer places contain the official software version
identifier of the NCK: For example, the value for NCK version 20.00.00 is
variable 200000.0
compare OPI N/Y nckVersion
Unit
Init value
Min
Max
-
0.0
0.0
1.8E+308
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
X
7
X
7
X
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Independent
Link:
No restrictions
$AN_IPO_LOAD_LIMIT
IPO utilization limit reached
BOOL
Description:
Variable $AN_IPO_LOAD_LIMIT returns TRUE when the interpolator load limit is reached. Machine data $MN_IPO_MAX_LOAD is used to specify
the gross interpolator operating time (in % of the interpolation cycle) at which variable $AN_IPO_LOAD_LIMIT is set to TRUE. If the value falls
below the limit again, the variable is reset to FALSE.
Unit
Init value
Min
Max
-
FALSE
FALSE
TRUE
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
X
7
-
0
X
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AN_IPO_ACT_LOAD
Current IPO runtime
DOUBLE
Description:
$AN_IPO_ACT_LOAD supplies the current interpolator runtime including the runtime of the synchronized actions in all channels.
Unit
Init value
Min
Max
-
0.0
-1.8E+308
1.8E+308
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
X
7
X
7
X
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
System variables
618
List Manual, 10/2020, 6FC5397-6AP40-6BA4
List of system variables
3.23 System data
$AN_IPO_MAX_LOAD
Maximum IPO runtime
DOUBLE
Description:
$AN_IPO_MAX_LOAD supplies the longest interpolator runtime of one interpolation cycle (including the runtime of the synchronized actions).
Unit
Init value
Min
Max
-
0.0
-1.8E+308
1.8E+308
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
X
7
X
7
X
Write:
X
X
7
-
0
X
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AN_IPO_MIN_LOAD
Shortest IPO runtime
DOUBLE
Description:
$AN_IPO_MIN_LOAD supplies the shortest interpolator runtime including the runtime of the synchronized actions per interpolation cycle in all
channels.
Unit
Init value
Min
Max
-
0.0
-1.8E+308
1.8E+308
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
X
7
X
7
X
Write:
X
X
7
-
0
X
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AN_IPO_LOAD_PERCENT
Ratio of current IPO runtime to IPO cycle
DOUBLE
Description:
$AN_IPO_LOAD_PERCENT supplies the current interpolator load percentage across all channels. Is calculated from the ratio of the interpolator
runtime across all channels in the last interpolation cycle to the interpolation cycle.
Unit
Init value
Min
Max
-
0.0
-1.8E+308
1.8E+308
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
X
7
X
7
X
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AN_SYNC_ACT_LOAD
Current runtime for synchronized actions
DOUBLE
Description:
$AN_SYNC_ACT_LOAD supplies the current runtime for synchronized actions of the last interpolation cycle across all channels.
Unit
Init value
Min
Max
-
0.0
-1.8E+308
1.8E+308
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
System variables
List Manual, 10/2020, 6FC5397-6AP40-6BA4
619
List of system variables
3.23 System data
$AN_SYNC_ACT_LOAD
Current runtime for synchronized actions
DOUBLE
Read:
X
X
7
X
7
X
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AN_SYNC_MAX_LOAD
Longest runtime for synchronized actions
DOUBLE
Description:
$AN_SYNC_MAX_LOAD supplies the longest runtime for synchronized actions of one interpolation cycle across all channels.
Unit
Init value
Min
Max
-
0.0
-1.8E+308
1.8E+308
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
X
7
X
7
X
Write:
X
X
7
-
0
X
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AN_SYNC_TO_IPO
Synact / IPO computing time percentage
DOUBLE
Description:
$AN_SYNC_TO_IPO supplies the percentage proportion of the synchronized action runtime measured against the overall interpolation runtime
of the last interpolation cycle across all channels.
Unit
Init value
Min
Max
-
0.0
-1.8E+308
1.8E+308
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
X
7
X
7
X
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AN_SERVO_ACT_LOAD
Current runtime of position controller
DOUBLE
Description:
$AN_SERVO_ACT_LOAD supplies the current runtime of the position controller.
Unit
Init value
Min
Max
-
0.0
-1.8E+308
1.8E+308
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
X
7
X
7
X
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
System variables
620
List Manual, 10/2020, 6FC5397-6AP40-6BA4
List of system variables
3.23 System data
$AN_SERVO_MAX_LOAD
Longest runtime of position controller
DOUBLE
Description:
$AN_SERVO_MAX_LOAD supplies the longest runtime of the position controller.
Unit
Init value
Min
Max
-
0.0
-1.8E+308
1.8E+308
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
X
7
X
7
X
Write:
X
X
7
-
0
X
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AN_SERVO_MIN_LOAD
Shortest runtime of position controller
DOUBLE
Description:
$AN_SERVO_MIN_LOAD supplies the shortest runtime of the position controller.
Unit
Init value
Min
Max
-
0.0
-1.8E+308
1.8E+308
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
X
7
-
0
X
Write:
X
X
7
X
7
X
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AN_REBOOT_DELAY_TIME
Time until reboot
DOUBLE
Description:
A value higher than zero indicates that the NCK has received the "NCK Reset" signal from the HMI and displays the time period (in seconds)
programmed on the NCK for rebooting (Power Off followed by Power ON).
The user can thus identify a reboot operation in a synchronized action
and prepare his application accordingly.
$AN_REBOOT_DELAY_TIME is 0.0 provided that no "NCK Reset" has been received.
Example:
A synchronized action reacts to the variable and switches the
axes to "Safe standstill" in a Safety Integrated application.
Comments:
- See also: $MN_REBOOT_DELAY_TIME
- The "NCK Reset" is implemented on the OPI by means of PI "_N_IBN_SS".
Unit
Init value
Min
Max
s
0.0
0.0
1.8E+308
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
-
X
0
X
7
X
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
Cross-channel
nel:
Scan mode:
Independent
Link:
No restrictions
System variables
List Manual, 10/2020, 6FC5397-6AP40-6BA4
621
List of system variables
3.23 System data
$AN_TIMER [n]
System variable for global NCK time measurement
DOUBLE
Description:
$AN_TIMER[n]
Timer unit in seconds
The time is counted in multiples of an interpolation cycle.
The timers are started by $AN_TIMER[n]=<start value>.
The timers are stopped by $AN_TIMER[n]=-1.
When a timer is stopped, the last current time value is stored.
Index 1:
The dimension is defined via the MD $MN_MM_NUM_AN_TIMER.
Unit
Init value
Min
Max
-
0.0
-1.8E+308
1.8E+308
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
runin stp
X
7
-
0
X
Axis entry:
Overlap chan-
Cross-channel
nel:
Scan mode:
Not classified
Link:
Not classified
$A_PROBE [2]
Probe status
INT
Description:
$A_PROBE[1]: Status of first probe
$A_PROBE[2]: Status of second probe
0 => not deflected
1 => deflected
Index 1:
n: Number of the probe
Unit
Init value
Min
Max
-
0
0
1
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
System variables
622
List Manual, 10/2020, 6FC5397-6AP40-6BA4
List of system variables
3.23 System data
$AN_PERSDIAG [4,46]
Diagnostics data for data persistence
DOUBLE
Description:
Diagnostics data for data persistence (frequency, time required); e.g. CompactFlash Card
The time values indicate how long it took to achieve data persistence from the viewpoint of the NC software
The following values can be read:
Index1 Meaning
0 Always sums on all subfunctions
1 Subfunction 'Passive file system'
2 Subfunction 'Active file system'
3 Subfunction 'Machine data'
Index2 Meaning
0 Number of all synchronous write operations
1 Number of failed synchronous write operations (system deficiency)
2 Summated time of all synchronous write operations in seconds
3 Minimum time required for a synchronous write operation in seconds
4 Average time (averaged across all synchronous write operations) in seconds
5 Maximum time required for a synchronous write operation in seconds
6 Number of overflows of the preprocessing PowerFail buffer since NCK start
7 Number of overflows of the tool change PowerFail buffer since NCK start
8 Number of overflows of the synchronized action PowerFail buffer since NCK start
9 Overflow of the preprocessing PowerFail buffer pending at the time of PowerFail /PowerOff
10 Overflow of the tool change PowerFail buffer pending at the time of PowerFail /PowerOff
11 Overflow of the synchronized action PowerFail buffer pending at the time of PowerFail /PowerOff
12 Number of data entries in the preprocessing PowerFail buffer since NCK start
13 Number of data entries in the tool change PowerFail buffer in IPO since NCK start
14 Number of data entries in the synchronized action PowerFail buffer in IPO since NCK start
Index2 values = 6 to 14 only defined for index1 = 2 = active file system
20 Number of all asynchronous write operations
21 Number of failed asynchronous write operations (system deficiency)
22 Summated time of all asynchronous write operations in seconds (blocking component)
23 Minimum time required for an asynchronous write operation in seconds (blocking component)
24 Average time (averaged across all asynchronous write operations) in seconds (blocking component)
25 Maximum time required for an asynchronous write operation in seconds (blocking component)
26-31 Reserved
32 Summated time of all asynchronous write operations in seconds (total runtime)
33 Minimum time required for an asynchronous write operation in seconds (total runtime)
34 Average time (averaged across all asynchronous write operations) in seconds (total runtime)
35 Maximum time required for an asynchronous write operation in seconds (total runtime)
36-39 Reserved
40 Number of data backup operations in which an asynchronous data backup operation was still active when it was called.
41 Reserved
42 Summated time that was waited after a collision for the end of the previous asynchronous data backup operation
43 Minimum time that was waited after a collision for the end of the previous asynchronous data backup operation
44 Average time that was waited after a collision for the end of the previous asynchronous data backup operation
45 Maximum time that was waited after a collision for the end of the previous asynchronous data backup operation
Writing any value to the following indices deletes the relevant statistic type:
A write access to one of the indices 0-5 resets all values of these indices to 0
System variables
List Manual, 10/2020, 6FC5397-6AP40-6BA4
623
List of system variables
3.23 System data
$AN_PERSDIAG [4,46]
Diagnostics data for data persistence
DOUBLE
A write access to one of the indices 20-29 resets all values of these indices to 0
A write access to one of the indices 30-39 resets all values of these indices to 0
A write access to one of the indices 40-49 resets all values of these indices to 0
Application in the NC program:
IF $AN_PERSDIAG[0, 1] > 0 GOTOF, check card
Index 1:
Addressing of the different functionalities.
Index 2:
Addressing of the different information
Unit
Init value
Min
Max
s
0.0
0
1.8E+308
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
X
7
X
7
X
Write:
X
X
2
X
2
X
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Current value
Link:
No restrictions
$AN_VMODEL_STATUS
System variable for status of VRML model
INT
Description:
TO DO!
Unit
Init value
Min
Max
-
0
-2147483648
2147483647
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
runin stp
X
3
X
3
X
Axis entry:
Overlap chan-
Cross-channel
nel:
Scan mode:
Not classified
Link:
Not classified
$A_DPSB_IN [32,128]
PROFIBUS/PROFINET input byte (signed)
INT
Description:
The field variable $A_DPSB_IN[n,m] is used to read a data byte (8 bits) from PROFIBUS/PROFINET IO.
n:= Index for the input data area
m:= Byte Index for the data
The value is shown as signed.
The data area to be read can become invalid during power up or even during operation as connected devices may not yet have been detected
or are already no longer connected to the PROFIBUS/PROFINET. In this case, the old value or initial value 0 is always read.
Whether a data area is valid can be queried with the variables $A_DP_IN_STATE[n] or $A_DP_IN_VALID.
Index 1:
Input data area
Index 2:
Byte offset within the input data area
Unit
Init value
Min
Max
-
0
-128
127
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
-
-
0
-
0
-
System variables
624
List Manual, 10/2020, 6FC5397-6AP40-6BA4
List of system variables
3.23 System data
$A_DPSB_IN [32,128]
PROFIBUS/PROFINET input byte (signed)
INT
Axis entry:
Overlap chan-
Cross-channel
nel:
Scan mode:
Not classified
Link:
Not classified
$A_DPB_IN [32,128]
PROFIBUS/PROFINET input byte (unsigned)
INT
Description:
The field variable $A_DPB_IN[n,m] is used to read a data byte (8 bits) from PROFIBUS/PROFINET IO.
n:= Index for the input data area
m:= Byte Index for the data
The value is shown as unsigned.
The data area to be read can become invalid during power up or even during operation as connected devices may not yet have been detected
or are already no longer connected to the PROFIBUS/PROFINET. In this case, the old value or initial value 0 is always read.
Whether a data area is valid can be queried with the variables $A_DP_IN_STATE[n] or $A_DP_IN_VALID.
Index 1:
Input data area
Index 2:
Byte offset within the input data area
Unit
Init value
Min
Max
-
0
0
255
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
Cross-channel
nel:
Scan mode:
Not classified
Link:
Not classified
$A_DP_IN_VALID
PROFIBUS/PROFINET valid input data areas
INT
Description:
The variable $A_DP_IN_VALID is used to read all valid input data areas of the PROFIBUS/PROFINET IO. The value is coded as a bit array. The
assignment of the bits corresponds to the indices of the input data areas. The input data area is invalid if the input data area could not be logged
on during power on or the communications with the PROFIBUS/PROFINET has been interrupted during normal operation. The status of an input
data area can be queried with the variable $A_DP_IN_STATE[n].
Unit
Init value
Min
Max
-
0
-2147483648
2147483647
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
Cross-channel
nel:
Scan mode:
Not classified
Link:
Not classified
System variables
List Manual, 10/2020, 6FC5397-6AP40-6BA4
625
List of system variables
3.23 System data
$A_DP_IN_STATE [32]
PROFIBUS/PROFINET status of input data area
INT
Description:
The variable $A_DP_IN_STATE[n] is used to read the status of the input data area.
n:= Index for the input data area
The following states can be read:
0: Data area has not been configured
1: Data area could not be activated yet
2: Data area is available
3: Data area is currently not available
Whether an input data area is available can be queried with the variable $A_DP_IN_VALID.
Index 1:
Input data area
Unit
Init value
Min
Max
-
0
0
3
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
Cross-channel
nel:
Scan mode:
Not classified
Link:
Not classified
$A_DP_OUT_STATE [32]
PROFIBUS/PROFINET status of output data area
INT
Description:
The variable $A_DP_OUT_STATE[n] is used to read the status of the output data area.
n:= Index for the output data area
The following states can be read:
0: Data area has not been configured
1: Data area could not be activated yet
2: Data area is available
3: Data area is currently not available
Whether a data area is available can be queried with the variable $A_DP_OUT_VALID.
Index 1:
Output data area
Unit
Init value
Min
Max
-
0
0
3
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
Cross-channel
nel:
Scan mode:
Not classified
Link:
Not classified
System variables
626
List Manual, 10/2020, 6FC5397-6AP40-6BA4
List of system variables
3.23 System data
$A_DP_OUT_VALID
PROFIBUS/PROFINET valid output data areas
INT
Description:
The variable $A_DP_OUT_VALID_IN is used to read all valid output data areas of the PROFIBUS/PROFINET IO.
The value is coded as a bit array. The assignment of the bits corresponds to the indices of the output data areas. The output data area is invalid
if the output data area could not be logged on during power up or the communications with the PROFIBUS/PROFINET has been interrupted
during normal operation. The status of an output data area can be queried with the variable $A_DP_OUT_STATE[n].
Unit
Init value
Min
Max
-
0
-2147483648
2147483647
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
Cross-channel
nel:
Scan mode:
Not classified
Link:
Not classified
$A_DP_IN_CONF
PROFIBUS/PROFINET configured input data areas
INT
Description:
The variable $A_DP_IN_CONF is used to read all configured input data areas of the PROFIBUS/PROFINET IO. The value is coded as a bit field. The
assignment of the bits corresponds to the indices of the input data areas. A configured input data area is present if a logical starting address
has been entered in an input data area via machine data $MN_DPIO_LOGIC_ADDRESS_IN. The status of an input data area can be queried with
the variable $A_DP_IN_STATE[n].
Unit
Init value
Min
Max
-
0
-2147483648
2147483647
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
Cross-channel
nel:
Scan mode:
Not classified
Link:
Not classified
$A_DP_OUT_CONF
PROFIBUS/PROFINET configured output data areas
INT
Description:
The variable $A_DP_OUT_CONF is used to read all configured output data areas of the PROFIBUS/PROFINET IO. The value is coded as a bit field.
The assignment of the bits corresponds to the indices of the output data areas. A configured data area is present if a logical starting address
has been entered in an output data area via machine data $MN_DPIO_LOGIC_ADDRESS_OUT. The status of an output data area can be queried
with the variable $A_DP_OUT_STATE[n].
Unit
Init value
Min
Max
-
0
-2147483648
2147483647
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
Cross-channel
nel:
Scan mode:
Not classified
Link:
Not classified
System variables
List Manual, 10/2020, 6FC5397-6AP40-6BA4
627
List of system variables
3.23 System data
$A_DP_IN_LENGTH [32]
PROFIBUS/PROFINET length of input data area
INT
Description:
The variable $A_DP_IN_LENGTH[n] is used to read the length of the input data area.
n:= Index for the input data area
Whether an input data area is available can be queried with the variables $A_DP_IN_VALID and $A_DP_IN_STATE[n].
Index 1:
Input data area
Unit
Init value
Min
Max
-
0
0
2147483647
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
Cross-channel
nel:
Scan mode:
Not classified
Link:
Not classified
$A_DP_OUT_LENGTH [32]
PROFIBUS/PROFINET length of output data area
INT
Description:
The variable $A_DP_OUT_LENGTH[n] is used to read the length of the output data area.
n:= Index for the output data area
Whether an output data area is available can be queried with the variables $A_DP_OUT_VALID and $A_DP_OUT_STATE[n].
Index 1:
Output data area
Unit
Init value
Min
Max
-
0
0
2147483647
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
Cross-channel
nel:
Scan mode:
Not classified
Link:
Not classified
$A_DPW_IN [32,128]
PROFIBUS/PROFINET input word (unsigned)
INT
Description:
The field variable $A_DPW_IN[n,m] is used to read a data word (16 bits) from PROFIBUS/PROFINET IO.
n:= Index for the input data area
m:= Byte Index for the data
The value is shown as unsigned.
The data area to be read can become invalid during power up or even during operation as connected devices may not yet have been detected
or are already no longer connected to the PROFIBUS/PROFINET. In this case, the old value or initial value 0 is always read.
Whether a data area is valid can be queried with the variables $A_DP_IN_STATE[n] or $A_DP_IN_VALID.
Index 1:
Input data area
Index 2:
Byte offset within the input data area
Unit
Init value
Min
Max
-
0
0
65535
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
System variables
628
List Manual, 10/2020, 6FC5397-6AP40-6BA4
List of system variables
3.23 System data
$A_DPW_IN [32,128]
PROFIBUS/PROFINET input word (unsigned)
INT
Read:
runin stp
X
7
X
7
X
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
Cross-channel
nel:
Scan mode:
Not classified
Link:
Not classified
$A_DPR_OUT [32,128]
PROFIBUS/PROFINET output data (4 bytes)
DOUBLE
Description:
The field variable $A_DPR_OUT[n,m] is used to write output data (32 bits REAL) to PROFIBUS/PROFINET IO.
n:= Index for the output data area
m:= Byte Index for the data
The value is compressed to 4 bytes IEEE (real).
The data area to be written can become invalid during power up or even during operation as connected devices may not yet have been detected
or are already no longer connected to the PROFIBUS/PROFINET. In this case the transfer of the value cannot be guaranteed.
Whether a data area is valid can be queried with the variables $A_DP_OUT_STATE[n] or $A_DP_OUT_VALID.
Index 1:
Output data area
Index 2:
Byte offset within the output data area
Unit
Init value
Min
Max
-
0.0
-1.8E+308
1.8E+308
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
runin stp
X
7
-
0
X
Axis entry:
Overlap chan-
Cross-channel
nel:
Scan mode:
Not classified
Link:
Not classified
$A_DPB_OUT [32,128]
PROFIBUS/PROFINET output byte (unsigned)
INT
Description:
The field variable $A_DPB_OUT[n,m] is used to write a data byte (8 bits) to PROFIBUS/PROFINET IO.
n:= Index for the output data area
m:= Byte Index for the data
The value is shown as unsigned.
The data area to be written can become invalid during power up or even during operation as connected devices may not yet have been detected
or are already no longer connected to the PROFIBUS/PROFINET. In this case the transfer of the value cannot be guaranteed.
Whether a data area is valid can be queried with the variables $A_DP_OUT_STATE[n] or $A_DP_OUT_VALID.
Index 1:
Input data area
Index 2:
Byte offset within the input data area
Unit
Init value
Min
Max
-
0
0
255
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
runin stp
X
7
-
0
X
Axis entry:
Overlap chan-
Cross-channel
nel:
Scan mode:
Not classified
Link:
Not classified
System variables
List Manual, 10/2020, 6FC5397-6AP40-6BA4
629
List of system variables
3.23 System data
$A_DPW_OUT [32,128]
PROFIBUS/PROFINET output word (unsigned)
INT
Description:
The field variable $A_DPW_OUT[n,m] is used to write a data word (16 bits) to PROFIBUS/PROFINET IO.
n:= Index for the output data area
m:= Byte Index for the data
The value is shown as unsigned.
The data area to be written can become invalid during power up or even during operation as connected devices may not yet have been detected
or are already no longer connected to the PROFIBUS/PROFINET. In this case the transfer of the value cannot be guaranteed.
Whether a data area is valid can be queried with the variables $A_DP_OUT_STATE[n] or $A_DP_OUT_VALID.
Index 1:
Input data area
Index 2:
Byte offset within the input data area
Unit
Init value
Min
Max
-
0
0
65535
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
runin stp
X
7
-
0
X
Axis entry:
Overlap chan-
Cross-channel
nel:
Scan mode:
Not classified
Link:
Not classified
$A_DPR_IN [32,128]
PROFIBUS/PROFINET input data (4 bytes)
DOUBLE
Description:
The field variable $A_DPR_IN[n,m] is used to read input data (32 bits REAL) from PROFIBUS/PROFINET IO.
n:= Index for the input data area
m:= Byte Index for the data
The value is expanded to 8 bytes IEEE (double).
The data area to be read can become invalid during power up or even during operation as connected devices may not yet have been detected
or are already no longer connected to the PROFIBUS/PROFINET. In this case, the old value or initial value 0.0 is always read.
Whether a data area is valid can be queried with the variables $A_DP_IN_STATE[n] or $A_DP_IN_VALID.
Index 1:
Input data area
Index 2:
Byte offset within the input data area
Unit
Init value
Min
Max
-
0.0
-1.8E+308
1.8E+308
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
Cross-channel
nel:
Scan mode:
Not classified
Link:
Not classified
System variables
630
List Manual, 10/2020, 6FC5397-6AP40-6BA4
List of system variables
3.23 System data
$A_DPSW_IN [32,128]
PROFIBUS/PROFINET input word (signed)
INT
Description:
The field variable $A_DPSW_IN[n,m] is used to read a data word (16 bits) from PROFIBUS/PROFINET IO.
n:= Index for the input data area
m:= Byte Index for the data
The value is shown as signed.
The data area to be read can become invalid during power up or even during operation as connected devices may not yet have been detected
or are already no longer connected to the PROFIBUS/PROFINET. In this case, the old value or initial value 0 is always read.
Whether a data area is valid can be queried with the variables $A_DP_IN_STATE[n] or $A_DP_IN_VALID.
Index 1:
Input data area
Index 2:
Byte offset within the input data area
Unit
Init value
Min
Max
-
0
-32768
32767
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
Cross-channel
nel:
Scan mode:
Not classified
Link:
Not classified
$A_DPSD_IN [32,128]
PROFIBUS/PROFINET input data double word DBD (sign-
INT
ed)
Description:
The field variable $A_DPSD_IN[n,m] is used to read a data double word (32 bits) from PROFIBUS/PROFINET IO.
n:= Index for the input data area
m:= Byte Index for the data
The value is shown as signed.
The data area to be read can become invalid during power up or even during operation as connected devices may not yet have been detected
or are already no longer connected to the PROFIBUS/PROFINET. In this case, the old value or initial value 0 is always read.
Whether a data area is valid can be queried with the variables $A_DP_IN_STATE[n] or $A_DP_IN_VALID.
Index 1:
Input data area
Index 2:
Byte offset within the input data area
Unit
Init value
Min
Max
-
0
-2147483648
2147483647
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
Cross-channel
nel:
Scan mode:
Not classified
Link:
Not classified
System variables
List Manual, 10/2020, 6FC5397-6AP40-6BA4
631
List of system variables
3.23 System data
$A_DPSB_OUT [32,128]
PROFIBUS/PROFINET output byte (signed)
INT
Description:
The field variable $A_DPSB_IN[n,m] is used to write a data byte (8 bits) to PROFIBUS/PROFINET IO.
n:= Index for the output data area
m:= Byte Index for the data
The value is shown as signed.
The data area to be written can become invalid during power up or even during operation as connected devices may not yet have been detected
or are already no longer connected to the PROFIBUS/PROFINET. In this case the transfer of the value cannot be guaranteed.
Whether a data area is valid can be queried with the variables $A_DP_OUT_STATE[n] or $A_DP_OUT_VALID.
Index 1:
Output data area
Index 2:
Byte offset within the output data area
Unit
Init value
Min
Max
-
0
-128
127
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
runin stp
X
7
-
0
X
Axis entry:
Overlap chan-
Cross-channel
nel:
Scan mode:
Not classified
Link:
Not classified
$A_DPSW_OUT [32,128]
PROFIBUS/PROFINET output word (signed)
INT
Description:
The field variable $A_DPSW_IN[n,m] is used to write a data word (16 bits) to PROFIBUS/PROFINET IO.
n:= Index for the output data area
m:= Byte Index for the data
The value is shown as signed.
The data area to be written can become invalid during power up or even during operation as connected devices may not yet have been detected
or are already no longer connected to the PROFIBUS/PROFINET. In this case the transfer of the value cannot be guaranteed.
Whether a data area is valid can be queried with the variables $A_DP_OUT_STATE[n] or $A_DP_OUT_VALID.
Index 1:
Output data area
Index 2:
Byte offset within the output data area
Unit
Init value
Min
Max
-
0
-32768
32767
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
runin stp
X
7
-
0
X
Axis entry:
Overlap chan-
Cross-channel
nel:
Scan mode:
Not classified
Link:
Not classified
System variables
632
List Manual, 10/2020, 6FC5397-6AP40-6BA4
List of system variables
3.23 System data
$A_DPSD_OUT [32,128]
PROFIBUS/PROFINET output data double word (signed)
INT
Description:
The field variable $A_DPSD_OUT[n,m] is used to write a data double word (32 bits) to PROFIBUS/PROFINET IO.
n:= Index for the output data area
m:= Byte Index for the data
The value is shown as signed.
The data area to be written can become invalid during power up or even during operation as connected devices may not yet have been detected
or are already no longer connected to the PROFIBUS/PROFINET. In this case the transfer of the value cannot be guaranteed.
Whether a data area is valid can be queried with the variables $A_DP_OUT_STATE[n] or $A_DP_OUT_VALID.
Index 1:
Output data area
Index 2:
Byte offset within the output data area
Unit
Init value
Min
Max
-
0
-2147483648
2147483647
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
runin stp
X
7
-
0
X
Axis entry:
Overlap chan-
Cross-channel
nel:
Scan mode:
Not classified
Link:
Not classified
$AN_COLL_MEM_AVAILABLE
Memory available for collision monitoring in KB
DOUBLE
Description:
Collision calculation requires internal memory. The amount required is either calculated automatically from the number of available protection
areas, protection area elements, facets and the number of machine axes, or it can be explicitly defined by machine data $MN_MM_MAX-
NUM_3D_COLLISION.
The size of the reserved memory area can be read in kbytes with the system variable $AN_COLL_MEM_AVAILABLE.
Unit
Init value
Min
Max
-
0.0
0
1.8E+308
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
X
7
X
7
X
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
Cross-channel
nel:
Scan mode:
Not classified
Link:
No restrictions
$AN_COLL_MEM_USE_MIN
Minimum memory requirement for collision monitoring
DOUBLE
Description:
Collision calculation requires internal memory. The amount required is either calculated automatically from the number of available protection
areas, protection area elements, facets and the number of machine axes, or it can be explicitly defined by machine data $MN_MM_MAX-
NUM_3D_COLLISION.
The size of the reserved memory area can be read in kbytes with the system variable $AN_COLL_MEM_AVAILABLE.
The system variable $AN_COLL_MEM_USE_MIN returns the minimum memory space required for collision calculation as a percentage of the
reserved memory area.
It can be reset by writing it to the value 0. Each attempt to write a value other than 0 is rejected with an error message.
Unit
Init value
Min
Max
-
0.0
0
100.
Read/Write properties:
System variables
List Manual, 10/2020, 6FC5397-6AP40-6BA4
633
List of system variables
3.23 System data
$AN_COLL_MEM_USE_MIN
Minimum memory requirement for collision monitoring
DOUBLE
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
X
7
X
7
X
Write:
X
X
7
X
7
X
Axis entry:
Overlap chan-
Cross-channel
nel:
Scan mode:
Not classified
Link:
No restrictions
$AN_COLL_MEM_USE_MAX
Maximum memory requirement for collision monitor-
DOUBLE
ing in percent
Description:
Collision calculation requires internal memory. The amount required is either calculated automatically from the number of available protection
areas, protection area elements, facets and the number of machine axes, or it can be explicitly defined by machine data $MN_MM_MAX-
NUM_3D_COLLISION.
The size of the reserved memory area can be read in kbytes with the system variable $AN_COLL_MEM_AVAILABLE.
The system variable $AN_COLL_MEM_USE_MAX returns the minimum memory space required for collision calculation as a percentage of the
reserved memory area.
It can be reset by writing it to the value 0. Each attempt to write a value other than 0 is rejected with an error message.
Unit
Init value
Min
Max
-
0.0
0
100
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
X
7
X
7
X
Write:
X
X
7
X
7
X
Axis entry:
Overlap chan-
Cross-channel
nel:
Scan mode:
Not classified
Link:
No restrictions
$AN_COLL_MEM_USE_ACT
Current memory requirement for collision monitoring
DOUBLE
Description:
Collision calculation requires internal memory. The amount required is either calculated automatically from the number of available protection
areas, protection area elements, facets and the number of machine axes, or it can be explicitly defined by machine data $MN_MM_MAX-
NUM_3D_COLLISION.
The size of the reserved memory area can be read in kbytes with the system variable $AN_COLL_MEM_AVAILABLE.
The system variable $AN_COLL_MEM_USE_ACT returns the memory space currently required for collision calculation (that is for the last
calculation) as a percentage of the reserved memory area.
It can be reset by writing it to the value 0. Each attempt to write a value other than 0 is rejected with an error message.
Unit
Init value
Min
Max
-
0.0
0
100.
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
X
7
X
7
X
Write:
X
X
7
X
7
X
Axis entry:
Overlap chan-
Cross-channel
nel:
Scan mode:
Not classified
Link:
No restrictions
System variables
634
List Manual, 10/2020, 6FC5397-6AP40-6BA4
List of system variables
3.23 System data
$AN_COLL_STATE [n]
Activation status of a protection area for collision avoid-
BOOL
ance
Description:
The system variable indicates if a protection area can currently be part of collision monitoring.
However, the following requirements must be met first:
1. The activation status of the protection area is active ("A") or the activation status is PLC-controlled ("P") and the interface bit assigned to the
protection area is set.
2. The protection area group ("Machine", "TOOL" etc.) has been activated in the current operating mode via the associated interface bit.
A protection area for which this system variable gives the value TRUE only then enters real collision monitoring when it is part of at least one
collision pair ($NP_COLL_PAIR). The other partner must also be an active protection area.
Index 1:
Index of the protection area whose status is to be read.
Unit
Init value
Min
Max
-
FALSE
FALSE
TRUE
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
-
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
Cross-channel
nel:
Scan mode:
Not classified
Link:
No restrictions
$AN_COLL_IPO_ACTIVE
Status of main run monitoring of collision avoidance
BOOL
Description:
The system variable indicates if the main run monitoring of the collision avoidance is active.
Unit
Init value
Min
Max
-
FALSE
FALSE
TRUE
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
-
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
Cross-channel
nel:
Scan mode:
Not classified
Link:
No restrictions
$AN_COLL_IPO_LIMIT
Speed reduced by collision monitoring in the main run
BOOL
Description:
The system variable indicates if the main run monitoring of the collision avoidance leads to a velocity reduction.
Unit
Init value
Min
Max
-
FALSE
FALSE
TRUE
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
-
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
Cross-channel
nel:
Scan mode:
Not classified
Link:
No restrictions
System variables
List Manual, 10/2020, 6FC5397-6AP40-6BA4
635
List of system variables
3.23 System data
$AN_COLL_LOAD [20]
CPU time required for collision avoidance functions in
DOUBLE
ms
Description:
Gives the required calculation time in ms - required for certain operations in connection with collision avoidance. The operation is defined by
index i.
i = 0: Time requirement for last call of PROTA
i = 1: Time requirement for last call of collision avoidance during preprocessing
i = 2: Time requirement for last call of the calculation of free space (real-time monitoring)
The variables can be reset by describing with value 0. Every write attempt with a value other than 0 is refused with an error message.
Index 1:
Choice of functions
Unit
Init value
Min
Max
s
0.0
0
1.8E+308
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
X
7
X
7
X
Write:
X
X
7
X
7
X
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
No restrictions
$AN_PREP_ACT_LOAD
Current preprocessing runtime
DOUBLE
Description:
$AN_PREP_ACT_LOAD returns the current net preprocessing runtime across all channels.
Unit
Init value
Min
Max
-
0.0
-1.8E+308
1.8E+308
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
X
7
X
7
-
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AN_PREP_MAX_LOAD
Longest preprocessing runtime
DOUBLE
Description:
$AN_PREP_MAX_LOAD returns the longest net preprocessing runtime across all channels.
Unit
Init value
Min
Max
-
0.0
-1.8E+308
1.8E+308
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
X
7
X
7
-
Write:
X
X
7
-
0
-
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
System variables
636
List Manual, 10/2020, 6FC5397-6AP40-6BA4
List of system variables
3.23 System data
$AN_PREP_MIN_LOAD
Shortest preprocessing runtime
DOUBLE
Description:
$AN_PREP_MIN_LOAD returns the shortest net preprocessing runtime across all channels.
Unit
Init value
Min
Max
-
0.0
-1.8E+308
1.8E+308
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
X
7
X
7
-
Write:
X
X
7
-
0
-
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AN_PREP_ACT_LOAD_GROSS
Current preprocessing runtime
DOUBLE
Description:
$AN_PREP_ACT_LOAD_GROSS returns the current gross preprocessing runtime across all channels.
Unit
Init value
Min
Max
-
0.0
-1.8E+308
1.8E+308
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
X
7
X
7
-
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AN_PREP_MAX_LOAD_GROSS
Longest preprocessing runtime
DOUBLE
Description:
$AN_PREP_MAX_LOAD_GROSS returns the longest gross preprocessing runtime across all channels.
Unit
Init value
Min
Max
-
0.0
-1.8E+308
1.8E+308
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
X
7
X
7
-
Write:
X
X
7
-
0
-
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AN_PREP_MIN_LOAD_GROSS
Shortest preprocessing runtime
DOUBLE
Description:
$AN_PREP_MIN_LOAD_GROSS returns the shortest gross preprocessing runtime across all channels.
Unit
Init value
Min
Max
-
0.0
-1.8E+308
1.8E+308
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
X
7
X
7
-
System variables
List Manual, 10/2020, 6FC5397-6AP40-6BA4
637
List of system variables
3.23 System data
$AN_PREP_MIN_LOAD_GROSS
Shortest preprocessing runtime
DOUBLE
Write:
X
X
7
-
0
-
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AN_AUXFU_LIST_GROUPINDEX
Global list of auxiliary functions - group index
INT
[1679]
Description:
The array variable $AN_AUXFU_LIST_GROUPINDEX[n] is used to read the group index of the auxiliary function collected in the channel. The
variable is only valid in conjunction with search run type 5 (SERUPRO). After the search target has been found, the auxiliary functions collected
in groups in the individual channels in accordance with $AC_AUXFU_TICK[n] are entered in the cross-channel list with channel number
$AN_AUXFU_LIST_CHANNO[n] and group index. The auxiliary functions collected in the channel can be accessed by the group index.
Index 1:
Index = 0 .. MD_MAXNUM_AUXFU_LIST_INDEX
Unit
Init value
Min
Max
-
0
-1
MD_MAXNUM_AUXFU_GROUPS - 1
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
runin stp
X
3
X
3
X
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AN_AUXFU_LIST_CHANNO [1679]
Global list of auxiliary functions - channel number
INT
Description:
The array variable $AN_AUXFU_LIST_CHANNO[n] is used to read the channel number of the auxiliary function collected in the channel. The
variable is only valid in conjunction with search run type 5 (SERUPRO). After the search target has been found, the auxiliary functions collected
in groups in the individual channels in accordance with $AC_AUXFU_TICK[n] are entered in the cross-channel list with channel number and
group index $AN_AUXFU_LIST_GROUPINDEX[n].
Index 1:
Index = 0 .. MD_MAXNUM_AUXFU_LIST_INDEX
Unit
Init value
Min
Max
-
0
-1
10
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
runin stp
X
3
X
3
X
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AN_AUXFU_LIST_ENDINDEX
Last valid index of the global auxiliary function list
INT
Description:
The variable $AN_AUXFU_LIST_ENDINDEX determines the last valid index for the global auxiliary function list.
Unit
Init value
Min
Max
-
0
-1
1679
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
-
-
0
-
0
-
System variables
638
List Manual, 10/2020, 6FC5397-6AP40-6BA4
List of system variables
3.23 System data
$AN_AUXFU_LIST_ENDINDEX
Last valid index of the global auxiliary function list
INT
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AN_AXCTSWE [31]
Axis container rotation slot enabled
INT
Description:
Is the rotation enabled for a slot of an axis container?
Bit mask, each bit corresponds to a slot, e.g. 0x5 corresponds to the slots 1 and 3.
Bit == 1: the slot of an axis container is enabled for rotation.
Bit == 0: the slot of an axis container is not enabled for rotation.
Example: Axis container with 4 slots: whenever ($AN_AXCTSWE[ct1] and 'Hffff') == 'Hfff5' do DO M99.
As soon as a slot has been enabled for the axis container rotation, bit == 1 is recorded for unused slots. In the example 'Hfff0'.
If the slots of an axis container are distributed over several NCUs, the current status of the slots is only displayed on the other NCUs if all slots
for the axis container rotation have been enabled on the other NCU. In the case of a direct axis container rotation (AXCTSED), nothing is
displayed.
Notice: The most significant bit is not a sign bit, but stands for the 32nd slot of an axis container. Therefore do not query variables with >0 but
to != 0 in order to establish whether a slot has actually been enabled for rotation.
The axis container name or axis name of an axis in the axis container can be specified as an index.
Index 1:
Maximum axis number
Unit
Init value
Min
Max
-
0
0
0x7fffffff
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
-
-
0
-
0
-
Axis entry:
GEO
CHAN
MACH
SPIN
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
No restrictions
$AN_LAI_AX_IS_AXCTAX
Bit mask shows whether an LAI axis is an axis in an axis
INT
container
Description:
Bit mask shows whether an axis in the logical NCK machine axis image (machine data 10002 $MN_AXCONF_LOGIC_MACHAX_TAB) is an axis
in an axis container (machine data 1270x/1271x $MN_AXCT_AXCONF_ASSIGN_TABi).
Unit
Init value
Min
Max
-
0
0
0x7fffffff
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
No restrictions
$AN_LAI_AX_IS_LINKAX
Bit mask shows whether an LAI axis is a link axis.
INT
Description:
Bit mask shows whether an axis in the logical NCK machine axis image (machine data 10002 $MN_AXCONF_LOGIC_MACHAX_TAB) is a link axis
(axis physicially connected to another NCU).
Unit
Init value
Min
Max
System variables
List Manual, 10/2020, 6FC5397-6AP40-6BA4
639
List of system variables
3.23 System data
$AN_LAI_AX_IS_LINKAX
Bit mask shows whether an LAI axis is a link axis.
INT
-
0
0
0x7fffffff
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
No restrictions
$AN_LAI_AX_IS_LEADLINKAX
Bit mask shows whether an LAI axis is a leading link axis.
INT
Description:
Bit mask shows whether an axis in the logical NCK machine axis image (machine data 10002 $MN_AXCONF_LOGIC_MACHAX_TAB) is a leading
link axis, i.e. several NCUs refer to the same machine axis through MD10002 $MN_AXCONF_LOGIC_MACHAX_TAB and the axial MD30554
$MA_AXCONF_ASSIGN_MASTER_NCU is used to establish which NCU is the master NCU, which creates the setpoint values for the position
controller following booting.
Unit
Init value
Min
Max
-
0
0
0x7fffffff
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not for lead link axes
$AN_LAI_AX_TO_MACHAX [31]
Assignment of the physical axis to an LAI axis.
INT
Description:
The NCU and machine axis are recorded for an LAI axis, this illustrates the physical image of the axis. In this case, the NCU Id is reported from
the 10000 location, e.g. 20005: NCU 2 axis 5. Without NCU link, i.e. if there is only one NCU, then only the number of the machine axis is
reported. In this case, the NCU Id equals zero. If the LAI axis is not used, 0 is returned.
Index 1:
Maximum axis number in the logical machine axis image
Unit
Init value
Min
Max
-
0
0
0x7fffffff
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
No restrictions
System variables
640
List Manual, 10/2020, 6FC5397-6AP40-6BA4
List of system variables
3.23 System data
$AN_LAI_AX_TO_IPO_NC_CHANAX
Assignment of an LAI axis to the interpolator (NCU or
INT
[31]
channel, channel axis).
Description:
If the LAI axis is currently interpolated on this NCU, the channel and the channel axis number are reported in such a way, which defines the
interpolator of the axis. In this case, the channel is recorded from the hundred place and the channel axis number is recorded from the unit
place, e.g. 1005 - channel 10 channel axis 5. These values are always lower than 10000.
If the LAI axis is currently interpolated on another NCU, the NCU Identifier of the interpolating NCU and the global axis number of the machine
axis is recorded. In this case, the NCU is recorded from the 10000 place, e.g. 20203: NCU 2 and the global axis number is 203. This global axis
number can be used to determine the interpolating channel and the channel axis number on the other NCU with NCU Id 2, with $AN_IPO_CHA-
NAX[203].
If the LAI axis is not used, 0 is returned.
Index 1:
Maximum axis number in the logical machine axis image.
Unit
Init value
Min
Max
-
0
0
0x7fffffff
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
No restrictions
$AN_IPO_CHANAX [n]
Assignment of the global axis to the interpolator (chan-
INT
nel, channel axis).
Description:
For a global axis number, such as the one reported by $VA_IPO_NC_CHANAX, the channel and channel axis number are reported, which define
the writing interpolator of the axis. In this case, the channel is reported from the hundred place and the channel axis number from the unit place
e.g. 1005 - channel 10 channel axis 5.
If the axis is not used on this NCU with the specified global axis number, 0 is returned.
Index 1:
Global axis number to be provided by $VA_IPO_NC_CHANAX.
Unit
Init value
Min
Max
-
0
0
0x7fffffff
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
No restrictions
$AN_LANGUAGE_ON_HMI
Currently set language on HMI
INT
Description:
The variable $AN_LANGUAGE_ON_HMI determines the language currently set on the HMI. The variable can only be written on the HMI.
Application in the NC program:
IF $AN_LANGUAGE_ON_HMI == 3 GOTOF ENGLISH
The possible values are described in the Appendix to the Programming Guide
Unit
Init value
Min
Max
-
0
0
255
Read/Write properties:
System variables
List Manual, 10/2020, 6FC5397-6AP40-6BA4
641
List of system variables
3.23 System data
$AN_LANGUAGE_ON_HMI
Currently set language on HMI
INT
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
-
-
0
X
7
-
Axis entry:
Overlap chan-
Cross-channel
nel:
Scan mode:
Not classified
Link:
Not classified
$AN_SLTRACE
Trigger variable for the log function
INT
Description:
This variable is reserved for the applications SinuTrace and Operate-Trace.
It serves as a trigger variable for the log function.
The variable has the following values:
0: Inactive
1: Start logging requested
2: Stop logging requested
The value is usually set by the part program, the reset through the application via OPI.
Unit
Init value
Min
Max
-
0
0
2
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
runin stp
X
7
X
7
X
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AN_EXPORT_RESTRICTED
Export restriction
BOOL
Description:
Export restriction
Identification of the software subject to export restriction according to BAfA and ECC
Compare OPI N/Y exportRestricted
Unit
Init value
Min
Max
-
TRUE
FALSE
TRUE
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
X
7
X
7
X
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Independent
Link:
No restrictions
System variables
642
List Manual, 10/2020, 6FC5397-6AP40-6BA4
List of system variables
3.23 System data
$AN_LINK_CONN_SND [16]
Number of link variable changes per cycle
INT
Description:
Number of link variable changes per cycle from the current to the specified NCU number.
The index NCU No of the $AN_LINK_CONN_SDN[ NCU No] variable currently varies from 1 to 16. The variable returns the number of bytes from
the current NCU Act to the NCU No reserved for replacing any non-cyclic messages. Depending on the utilization of this transmission capacity,
SIEMENS can provide new SDB blocks for the CBE-30, which reduce the total transmission capacity from NCU Act to NCU No. This makes the
link faster and the servo cycle shorter. Note: Systems without NCU link return the value 0. If NCU Act == NCU No, the variable returns "0".
Index 1:
Currently, the index can have a value between 1 and 16.
Unit
Init value
Min
Max
-
0
-2147483648
2147483647
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
X
7
X
7
-
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
No restrictions
$AN_LINK_CONN_RCV [16]
Number of link variable changes per cycle
INT
Description:
Number of link variable changes per cycle from the specified NCU number to the current NCU number.
The $AN_LINK_CONN_RCV[NCU-No] variable defines the reserved transmission capacity for non-cyclic messages from NCU No to NCU Act in
bytes. Note: Systems without an NCU link return the value 0. The variable "0" is returned if NCU Act == NCU No.
Index 1:
Currently, the index can have a value between 1 and 16.
Unit
Init value
Min
Max
-
0
-2147483648
2147483647
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
X
7
X
7
-
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
No restrictions
$AN_LINK_CONN_SIZE_LINKVAR
Gross number of bytes required for a link variable
INT
Description:
Gross number of bytes required for a link variable that is to be transferred into every PTP relationship
The assignment of a link variable (e.g. $a_dlb[9] = 1) does not utilize the non-cyclic link connections with a message of length
$AN_LINK_CONN_SIZE_LINKVAR. It is irrelevant whether a double-link variable or a byte-link variable is described. The customer can thus
estimate the maximum number of transferable link variables per IPO cycle ($AN_LINK_CONN_SND[NCU-No] / $AN_LINK_CONN_SIZE_LINK-
VAR= number of link variables changes per IPO cycle from NCU Act to NCU No).
Unit
Init value
Min
Max
-
0
-2147483648
2147483647
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
X
7
X
7
-
Write:
-
-
0
-
0
-
System variables
List Manual, 10/2020, 6FC5397-6AP40-6BA4
643
List of system variables
3.23 System data
$AN_LINK_CONN_SIZE_LINKVAR
Gross number of bytes required for a link variable
INT
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
No restrictions
$AN_LINK_TRANS_RATE_LAST
Number of link variables that were still available in last
INT
interpolation cycle
Description:
Number of link variables which could have been transferred in the previous interpolation cycle. The value of $AN_LINK_TRANS_RATE_LAST is
constant in the current interpolation cycle.
Unit
Init value
Min
Max
-
0
0
2147483647
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
X
7
X
7
X
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
No restrictions
$AN_LINK_TRANS_RATE_LAST_SUM
Unused link variables in the stated transmission direc-
INT
[16]
tion
Description:
Number of unused link variables in the previous interpolation cycle in the stated transmission direction.
The index NCU no. of the variable $AN_LINK_TRANS_RATE_LAST_SUM[ NCU-No] defines the transmission direction, and nowadays ranges from
1 to 16. The variable returns the number of user link variables ($A_DLx) for the stated NCU which could have been used in the previous
interpolation cycle in this transmission direction.
Index 1:
Currently, the index can have a value between 1 and 16.
Unit
Init value
Min
Max
-
0
0
2147483647
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
X
7
X
7
X
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
No restrictions
$A_PROBE_LIMITED [2]
Measuring velocity exceeded.
INT
Description:
$A_PROBE_LIMITED contains the accumulated number of DP communication cycles in which at least one limitation was active.
An increasing value indicates that the frequency of the probe signals must be reduced (e.g. by reducing the speed of the gearwheel that is to
be measured).
Index 1:
n: Number of the probe
Unit
Init value
Min
Max
-
0
0
2147483647
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
runin stp
X
7
X
7
X
System variables
644
List Manual, 10/2020, 6FC5397-6AP40-6BA4
List of system variables
3.23 System data
$A_PROBE_LIMITED [2]
Measuring velocity exceeded.
INT
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AN_SIM_CHAN_MASK
Bit mask of channels that are synchronized in the simu-
INT
lation
Description:
The channels that are to be synchronized during the simulation can be specified by the bitcoded variable $AN_SIM_CHAN_MASK. The variable
is defaulted with the bit mask across all configured channels.
The synchronized multichannel simulation is configured via bit 4 in $MN_PROG_TEST_MASK.
Application in the NC program:
$AN_SIM_CHAN_MASK = 'B101'
; channel 1 and channel 3 are synchronized in the simulation.
Unit
Init value
Min
Max
-
0
0
2147483647
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
runin stp
X
7
X
7
X
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Current value
Link:
No restrictions
$AN_SIM_MAX_IPOSTEP
Maximum simulation step in real-time interpolation cy-
INT
cles
Description:
The maximum simulation increment can be read and written in real-time interpolation cycle via variable $AN_SIM_MAX_IPOSTEP. An event is
output to the HMI interface after each increment. This enables the number of interpolation points to be set. If a value of 0 is specified, the system
determines the maximum possible increment.
The variable is only valid in conjunction with the synchronized simulation (see bit 4 $MN_PROG_TEST_MASK).
Application in the NC program:
$AN_SIM_MAX_IPOSTEP = 10
; One interpolation cycle in the simulation corresponds to a maximum of 10 real-time interpolation cycles.
Unit
Init value
Min
Max
-
0
0
2147483647
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
runin stp
X
7
X
7
X
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Current value
Link:
No restrictions
$AN_ACTIVATE_COLL_CHECK [2]
Status of the field ActivateCollCheck at the PLC->NCK
INT
interface.
Description:
Status of the field activateCollCheck at the interface PLC->NCK (DB10.DBX234.0 - DB10.DBX241.7).
The data are made available in groups of 4 bytes, i.e. with index 0 you receive the first 4 bytes (DB10.DBX234.0 - DB10.DBX237.7), with index
1 the second 4 bytes (DB10.DBX238.0 - DB10.DBX241.7)
Index 1:
The index designates the group of 4 bytes which is to be output at the PLC interface.
Unit
Init value
Min
Max
System variables
List Manual, 10/2020, 6FC5397-6AP40-6BA4
645
List of system variables
3.23 System data
$AN_ACTIVATE_COLL_CHECK [2]
Status of the field ActivateCollCheck at the PLC->NCK
INT
interface.
-
0
-2147483648
2147483647
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
X
7
X
7
X
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
Cross-channel
nel:
Scan mode:
Not classified
Link:
Not classified
$AN_COLL_CHECK_OFF
Status of the byte DeactivateCollCheckGroups at the
INT
PLC->NCK interface.
Description:
Status of the byte DeactivateCollCheckGroups on the interface PLC->NCK (DB10.DBB58) for the operating-mode-dependant suppression of the
collision avoidance for groups of protection areas.
Unit
Init value
Min
Max
-
0
-2147483648
2147483647
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
X
7
X
7
X
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
Cross-channel
nel:
Scan mode:
Not classified
Link:
Not classified
$NP_T_NAME [n]
Name of an internally generated tool protection area
STRING
element.
Description:
Name of an internally generated tool protection area element.
Index 1:
The maximum number of tool protection areas is set by the MD $MN_MM_MAXNUM_3D_T_PROT_ELEM.
Index 3:
Max. string length
Unit
Init value
Min
Max
-
""
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
-
7
X
7
-
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
Cross-channel
nel:
Scan mode:
Not classified
Link:
No restrictions
System variables
646
List Manual, 10/2020, 6FC5397-6AP40-6BA4
List of system variables
3.23 System data
$NP_T_TYPE [n]
Type of internally generated tool protection area ele-
STRING
ment
Description:
Type of internally generated tool protection area element. The following types are possible:
FRAME: An element of this type does not contain a body, but only defines a frame, which is effective for the subsequent protection area
definitions.
1. BOX (L, W, H): Paraxial cuboid symmetrical in relation to the zero point, with the dimensions L in the X direction, W in the Y direction and
H in the Z direction, this means that the corners of the cuboid are located at (+/-L/2, +/-W/2, +/-H/2).
2. SPHERE (R): Sphere centered on the zero point with the radius R.
3. CYLINDER (H, R): Cylinder with radius R and height H, longitudinal axis parallel to the Z axis. The center point of the cylinder lies at the zero
point, that is the two limiting circular surfaces are parallel to the X-Y plane, and are located at +/-H/2.
4. FILE: Grid consisting of triangular areas in STL format.
Index 1:
The maximum number of tool protection areas is set by the MD $MN_MM_MAXNUM_3D_T_PROT_ELEM.
Index 3:
Max. string length
Unit
Init value
Min
Max
-
""
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
-
7
X
7
-
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
Cross-channel
nel:
Scan mode:
Not classified
Link:
No restrictions
$NP_T_FILENAME [n]
File name of a tool protection area element of the type
STRING
"FILE".
Description:
This parameter contains the name of the file containing the description of the tool protection area element if this element is the type "FILE".
Index 1:
The maximum number of tool protection areas is set by the MD $MN_MM_MAXNUM_3D_T_PROT_ELEM.
Index 3:
Max. string length
Unit
Init value
Min
Max
-
""
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
-
7
X
7
-
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
Cross-channel
nel:
Scan mode:
Not classified
Link:
No restrictions
$NP_T_PARA [n,3]
Parameters for describing the type
DOUBLE
Description:
Parameters describing the tool protection area element. A maximum of 3 parameters are required for the types described in $NP_T_TYPE.
Index 1:
The maximum number of tool protection areas is set by the MD $MN_MM_MAXNUM_3D_T_PROT_ELEM.
Index 2:
The maximum number of parameters is 3.
Unit
Init value
Min
Max
mm
0.0
-1.8E+308
1.8E+308
Read/Write properties:
System variables
List Manual, 10/2020, 6FC5397-6AP40-6BA4
647
List of system variables
3.23 System data
$NP_T_PARA [n,3]
Parameters for describing the type
DOUBLE
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
-
7
X
7
-
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
No restrictions
$NP_T_OFF [n,GEODIM]
Offset component
DOUBLE
Description:
Component i (0<=i<=2) of the offset vector of the tool protection area element n.
Index 1:
The maximum number of tool protection areas is set by the MD $MN_MM_MAXNUM_3D_T_PROT_ELEM.
Index 2:
The 2nd index i designates the coordinate axis (0 <= i <= 2).
Unit
Init value
Min
Max
mm
0.0
-1.8E+308
1.8E+308
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
-
7
X
7
-
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
Cross-channel
nel:
Scan mode:
Not classified
Link:
No restrictions
$NP_T_DIR [n,GEODIM]
Direction of rotary axis
DOUBLE
Description:
Components of the rotary axis for a coordinate rotation of the tool protection area element n.
Index 1:
The maximum number of tool protection areas is set by the MD $MN_MM_MAXNUM_3D_T_PROT_ELEM.
Index 2:
The 2nd index i designates the coordinate axis (0 <= i <= 2).
Unit
Init value
Min
Max
-
0.0
-1.8E+308
1.8E+308
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
-
7
X
7
-
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
Cross-channel
nel:
Scan mode:
Not classified
Link:
No restrictions
$NP_T_ANG [n]
Angle of a coordinate rotation in the tool protection
DOUBLE
area element n.
Description:
Angle (in degrees) of a coordinate rotation in the tool protection area element n.
Index 1:
The maximum number of tool protection areas is set by the MD $MN_MM_MAXNUM_3D_T_PROT_ELEM.
Unit
Init value
Min
Max
deg.
0.0
-1.8E+308
1.8E+308
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
-
7
X
7
-
System variables
648
List Manual, 10/2020, 6FC5397-6AP40-6BA4
List of system variables
3.23 System data
$NP_T_ANG [n]
Angle of a coordinate rotation in the tool protection
DOUBLE
area element n.
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
Cross-channel
nel:
Scan mode:
Not classified
Link:
No restrictions
$AN_COLL_STATE_COND [n]
Activation conditions of a protection area for collision
INT
avoidance
Description:
The system variable indicates whether a protection area can be a current part of the collision monitoring.
The individual conditions that have to be fulfilled for a protection area to be active for collision avoidance are also displayed.
The variable is coded as follows:
Bit 0: Protection area is monitored (this bit has the same meaning as the system variable $AN_COLL_STATE).
Bit 1: The protection area is included in the internally mapped model.
Bit 2: The protection area has the status 'P' (PLC-controlled).
Bit 3: The protection area has the status 'A' (active).
Bit 4: All axes that can move the protection area are referenced.
Bit 5: Indicates whether a PLC bit is assigned to the protection area.
Bit 6: Status of the interface bit assigned to the protection area.
Bit 7: The protection area has no connection with ROOT (the kinematic chain is interrupted by a SWITCH).
An active protection area (bit 0 = TRUE) participates in the collision avoidance only if it is part of at least one collision pair ($NP_COLL_PAIR),
and its other partner is also an active protection area.
Index 1:
Index of the protection area whose status is to be read.
Unit
Init value
Min
Max
-
FALSE
0
127
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
-
-
0
-
0
X
Axis entry:
Overlap chan-
Cross-channel
nel:
Scan mode:
Not classified
Link:
No restrictions
$AN_LINK_COMM_STATE
Status of the NCU-Link communication between all
INT
NCUs of the NCU-Link cluster
Description:
Status of the NCU-Link communication between all NCUs of the NCU-Link cluster
Decimal values of the variable:
0: NCU-Link communication is not active (MD18780 $MN_MM_NCU_LINK_MASK)
1: NCU-Link communication is active (MD18780 $MN_MM_NCU_LINK_MASK), and is functioning correctly, that means signs of life are being
received from all NCUs in the cluster
2: NCU-Link communication is active (MD18780 $MN_MM_NCU_LINK_MASK), but is not functioning correctly (e.g. commissioning with
inactive link connection, communication error, etc.)
Unit
Init value
Min
Max
-
0
0
2
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
-
-
0
-
0
-
System variables
List Manual, 10/2020, 6FC5397-6AP40-6BA4
649
List of system variables
3.23 System data
$AN_LINK_COMM_STATE
Status of the NCU-Link communication between all
INT
NCUs of the NCU-Link cluster
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AN_FACETS_AVAILABLE
Available number of facets of collision bodies
INT
Description:
Machine parts can be modeled from triangular surfaces for the collision avoidance function. The maximum number of triangles is limited by
the machine data 18895 $MN_MM_MAXNUM_3D_FACETS. The system variable $AN_FACETS_AVAILABLE states how many of them are still
available.
Unit
Init value
Min
Max
-
0
0
2147483647
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
Cross-channel
nel:
Scan mode:
Not classified
Link:
No restrictions
$AN_FACETS_ACT
Currently used number of facets of internal collision
INT
bodies
Description:
Machine parts can be modeled from triangular surfaces for the collision avoidance function. The maximum number of triangles is limited by
the machine data 18895 $MN_MM_MAXNUM_3D_FACETS. The system variable $AN_FACETS_ACT states how many of them are currently
being used.
Unit
Init value
Min
Max
-
0
0
2147483647
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
Cross-channel
nel:
Scan mode:
Not classified
Link:
No restrictions
$AN_FACETS_MIN
Minimum number of facets of collision bodies used
INT
Description:
Machine parts can be modeled from triangular surfaces for the collision avoidance function. The maximum number of triangles is limited by
the machine data 18895 $MN_MM_MAXNUM_3D_FACETS. The system variable $AN_FACETS_MIN states the lowest number of them that have
so far been used.
It can be reset by writing with any value.
Unit
Init value
Min
Max
-
0
0
2147483647
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
runin stp
X
7
X
7
X
System variables
650
List Manual, 10/2020, 6FC5397-6AP40-6BA4
List of system variables
3.23 System data
$AN_FACETS_MIN
Minimum number of facets of collision bodies used
INT
Axis entry:
Overlap chan-
Cross-channel
nel:
Scan mode:
Not classified
Link:
No restrictions
$AN_FACETS_MAX
Maximum number of facets of collision bodies used
INT
Description:
Machine parts can be modeled from triangular surfaces for the collision avoidance function. The maximum number of triangles is limited by
the machine data 18895 $MN_MM_MAXNUM_3D_FACETS. The system variable $AN_FACETS_MIN states the highest number of them that
have so far been used.
It can be reset by writing with any value.
Unit
Init value
Min
Max
-
0
0
2147483647
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
runin stp
X
7
X
7
X
Axis entry:
Overlap chan-
Cross-channel
nel:
Scan mode:
Not classified
Link:
No restrictions
$AN_FACETS_INTERN_AVAILABLE
Available number of facets of internal collision bodies
INT
Description:
Changeable machine parts, such as tools, can be automatically modeled from triangular surfaces for the collision avoidance function. The
maximum number of triangles is limited by the machine data 18894 $MN_MM_MAXNUM_3D_FACETS_INTERN. The system variable $AN_FAC-
ETS_INTERN_AVAILABLE states how many of them are still available.
Unit
Init value
Min
Max
-
0
0
2147483647
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
Cross-channel
nel:
Scan mode:
Not classified
Link:
No restrictions
$AN_FACETS_INTERN_ACT
Currently used number of internal facets of collision
INT
bodies
Description:
Changeable machine parts, such as tools, can be automatically modeled from triangular surfaces for the collision avoidance function. The
maximum number of triangles is limited by the machine data 18894 $MN_MM_MAXNUM_3D_FACETS_INTERN. The system variable $AN_FAC-
ETS_INTERN_ACT states how many of them are currently being used.
Unit
Init value
Min
Max
-
0
0
2147483647
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
-
-
0
-
0
-
System variables
List Manual, 10/2020, 6FC5397-6AP40-6BA4
651
List of system variables
3.23 System data
$AN_FACETS_INTERN_ACT
Currently used number of internal facets of collision
INT
bodies
Axis entry:
Overlap chan-
Cross-channel
nel:
Scan mode:
Not classified
Link:
No restrictions
$AN_FACETS_INTERN_MIN
Minimum number of internal facets of collision bodies
INT
used
Description:
Changeable machine parts, such as tools, can be automatically modeled from triangular surfaces for the collision avoidance function. The
maximum number of triangles is limited by the machine data 18894 $MN_MM_MAXNUM_3D_FACETS_INTERN. The system variable $AN_FAC-
ETS_INTERN_MIN states the lowest number of them that have so far been used.
It can be reset by writing with any value.
Unit
Init value
Min
Max
-
0
0
2147483647
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
runin stp
X
7
X
7
X
Axis entry:
Overlap chan-
Cross-channel
nel:
Scan mode:
Not classified
Link:
No restrictions
$AN_FACETS_INTERN_MAX
Maximum number of internal facets of collision bodies
INT
used
Description:
Changeable machine parts, such as tools, can be automatically modeled from triangular surfaces for the collision avoidance function. The
maximum number of triangles is limited by the machine data 18894 $MN_MM_MAXNUM_3D_FACETS_INTERN. The system variable $AN_FAC-
ETS_INTERN_MAX states the highest number of them that have so far been used.
It can be reset by writing with any value.
Unit
Init value
Min
Max
-
0
0
2147483647
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
runin stp
X
7
X
7
X
Axis entry:
Overlap chan-
Cross-channel
nel:
Scan mode:
Not classified
Link:
No restrictions
$AN_PROT_AREAS_ACT
Currently used number of protection areas of collision
INT
bodies
Description:
The collision avoidance function can monitor a maximum number of protection areas. This number is defined by machine data 18890
$MN_MM_MAXNUM_3D_PROT_AREAS. The system variable $AN_PROT_AREAS_ACT states how many of the areas are currently being used.
Unit
Init value
Min
Max
-
0
0
2147483647
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
System variables
652
List Manual, 10/2020, 6FC5397-6AP40-6BA4
List of system variables
3.23 System data
$AN_PROT_AREAS_ACT
Currently used number of protection areas of collision
INT
bodies
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
Cross-channel
nel:
Scan mode:
Not classified
Link:
No restrictions
$AN_PROT_AREA_ELEM_ACT
Currently used number of protection area elements of
INT
collision bodies
Description:
The collision avoidance function can monitor a maximum number of protection area elements. This number is defined by machine data 18892
$MN_MM_MAXNUM_3D_PROT_AREA_ELEM. The system variable $AN_PROT_AREA_ELEM_ACT states how many of the elements are currently
being used.
Unit
Init value
Min
Max
-
0
0
2147483647
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
Cross-channel
nel:
Scan mode:
Not classified
Link:
No restrictions
$AN_COLL_PAIRS_ACT
Currently used number of collision pairs of collision
INT
bodies
Description:
The collision avoidance function can monitor a maximum number of protection area pairs. This number is defined by machine data 18898
$MN_MM_MAXNUM_3D_COLL_PAIRS. The system variable $AN_COLL_PAIRS_ACT states how many of the pairs are currently being used.
Unit
Init value
Min
Max
-
0
0
2147483647
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
Cross-channel
nel:
Scan mode:
Not classified
Link:
No restrictions
$AN_T_PROT_ELEM_ACT
Currently used number of tool protection area elements
INT
Description:
The collision avoidance function can only monitor a maximum number of tool protection area elements. This number is defined by machine
data 18893 $MN_MM_MAXNUM_3D_T_PROT_ELEM. The system variable $AN_T_PROT_ELEM_ACT states how many of the elements are
currently being used.
Unit
Init value
Min
Max
-
0
0
2147483647
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
-
-
0
-
0
-
System variables
List Manual, 10/2020, 6FC5397-6AP40-6BA4
653
List of system variables
3.23 System data
$AN_T_PROT_ELEM_ACT
Currently used number of tool protection area elements
INT
Axis entry:
Overlap chan-
Cross-channel
nel:
Scan mode:
Not classified
Link:
No restrictions
$AN_KIN_CHAIN_ELEM_ACT
Number of kinematic elements used
INT
Description:
The kinematic chains can only use a maximum number of elements. This number is defined by machine data 18880 $MN_MM_MAX-
NUM_KIN_CHAIN_ELEM. The system variable $AN_KIN_CHAIN_ELEM_ACT states how many of the elements are currently being used.
Unit
Init value
Min
Max
-
0
0
2147483647
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
Cross-channel
nel:
Scan mode:
Not classified
Link:
No restrictions
$AN_ROBOUT [8]
NCK-PLC robot control interface
INT
Description:
The system variable writes the data of the robot handling for the robot control interface, which is sent from the NCK to the PLC. The data can
be read back. The index [0...7] states the relevant byte number.
Index 1:
Byte number
Unit
Init value
Min
Max
-
0
0
255
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
runin stp
X
7
-
0
X
Axis entry:
Overlap chan-
Cross-channel
nel:
Scan mode:
No restrictions
Link:
No restrictions
$AN_ROBIN [8]
NCK-PLC robot status interface
INT
Description:
The system variable reads the data of the robot handling for the robot status interface, which is sent from the PLC to the NCK. The index [0...7]
states the relevant byte number.
Index 1:
Byte number
Unit
Init value
Min
Max
-
0
0
255
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
Cross-channel
nel:
Scan mode:
No restrictions
Link:
No restrictions
System variables
654
List Manual, 10/2020, 6FC5397-6AP40-6BA4
List of system variables
3.23 System data
$AN_POWERON_STATE
>State of NCK power on
INT
Description:
The bit-coded variable indicates the state of the NCK power on.
All bits = 0: NCK power on has not started.
Bit0=1: The NCK power on has started, i.e. all NCK objects (channels etc.) have already been created and are being initialized.
Bit1=1: The main run states can now be read. This means that all stations have been initialized, and that power on Reset has been executed
together with the Reset INIT blocks.
Bit2=1: User interventions (Reset, Stop etc.) are now possible and purposeful. This means that any configured Safety ProgEvent has been
correctly completed or possibly could not be executed because of alarms. Any configured PowerOn ProgEvent is executed next provided that
its execution is not prevented by alarms.
Bit24=1: The NCK power on has finished together will all the ProgEvents that could be executed automatically (Safety ProgEvent, PowerOn
ProgEvent). The bit does not indicate whether or not an error occurred during the power on (see Bit25).
Bit25=1: The NCK power on finished with errors. This means, for example, that an error occurred while the stations were being initialized,
during the Reset INIT blocks or the execution of the Safety ProgEvent. Other alarms indicate the exact problem, and the alarm responses indicate
which actions can be executed.
Unit
Init value
Min
Max
-
0
0
2147483647
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
Cross-channel
nel:
Scan mode:
No restrictions
Link:
No restrictions
$P_ACCESSLEVEL
Access level
INT
Description:
Currently set access authorization level. Can be modified by entering a password or key-operated switch.
0 = access level for SIEMENS
1 = access level for machine builders
2 = access level for commissioning engineers (machine builders)
3 = access level for end users with password
4 = access level key-operated switch 3
5 = access level key-operated switch 2
6 = access level key-operated switch 1
7 = access level key-operated switch 0
Unit
Init value
Min
Max
-
0
0
7
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
-
7
X
7
-
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
Cross-channel
nel:
Scan mode:
No restrictions
Link:
No restrictions
System variables
List Manual, 10/2020, 6FC5397-6AP40-6BA4
655
List of system variables
3.23 System data
$P_MODEL_SCALING_OVL [65535]
>Information, whether model scaling is overloaded.
INT
Description:
The variable states in bit-coded form whether and how the machine data programmed via the MMCID is changed in respect of the model
definition in the characteristics effective on cold start. Changes are only defined and possible for simulation NCK systems.
The field index corresponds to the MMCID of the machine data that is to be checked. For example, $AN_MODLE_SCALING_OVL[20700]
designates the machine data $MC_REFP_NC_START_LOCK. The field index of a non-existent MMCID does not lead to the alarm, but returns the
value -1 (0xffffffff).
All bits = 0: The machine data remains unchanged with its characteristics defined for the NCK model.
Bit0=1: Simulation NCK. An entry in the file that is determined with the internally used environment variable NCNCKSIMS has changed one
or more characteristics of the original model definition
Bit1=1: Simulation NCK. An entry in the file that is determined with the internally used environment variable NCNCKSIMS00 has changed one
or more characteristics of the original model definition
Bit2=1: Simulation NCK. An entry in the file that is determined with the internally used environment variable NCNCKSIMS01 has changed one
or more characteristics of the original model definition
Index 1:
mmcId of a machine data
Unit
Init value
Min
Max
-
0
-1
0xf
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
-
7
X
7
-
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
Cross-channel
nel:
Scan mode:
No restrictions
Link:
No restrictions
$PN_CHANGE_CNTR_NK_DATA
Change counter for kinematic chain data (chain ele-
INT
ments and NK_SWITCHes)
Description:
Change counter for kinematic chain data (chain elements and NK_SWITCHes).
Unit
Init value
Min
Max
-
0
0
2147483647
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
-
7
X
7
-
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
Cross-channel
nel:
Scan mode:
No restrictions
Link:
No restrictions
$PN_CHANGE_CNTR_NK_ELEM
Change counter for kinematic chain elements (without
INT
NK_SWITCH))
Description:
Change counter for kinematic chain elements (without NK_SWITCH))
Unit
Init value
Min
Max
-
0
0
2147483647
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
-
7
X
7
-
Write:
-
-
0
-
0
-
System variables
656
List Manual, 10/2020, 6FC5397-6AP40-6BA4
List of system variables
3.23 System data
$PN_CHANGE_CNTR_NK_ELEM
Change counter for kinematic chain elements (without
INT
NK_SWITCH))
Axis entry:
Overlap chan-
Cross-channel
nel:
Scan mode:
No restrictions
Link:
No restrictions
$PN_CHANGE_CNTR_NK_SWITCH
Change counter for $NK_SWITCHes
INT
Description:
Change counter for $NK_SWITCHes
Unit
Init value
Min
Max
-
0
0
2147483647
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
-
7
X
7
-
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
Cross-channel
nel:
Scan mode:
No restrictions
Link:
No restrictions
$PN_CHANGE_CNTR_NP_DATA
Change counter for 3D protection area data ($NP_xxx)
INT
Description:
Change counter for 3D protection area data ($NP_xxx)
Unit
Init value
Min
Max
-
0
0
2147483647
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
-
7
X
7
-
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
Cross-channel
nel:
Scan mode:
No restrictions
Link:
No restrictions
$PN_CHANGE_CNTR_NT_DATA
Change counter for transformation data ($NT_xxx)
INT
Description:
Change counter for transformation data ($NT_xxx)
Unit
Init value
Min
Max
-
0
0
2147483647
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
-
7
X
7
-
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
Cross-channel
nel:
Scan mode:
No restrictions
Link:
No restrictions
System variables
List Manual, 10/2020, 6FC5397-6AP40-6BA4
657
List of system variables
3.23 System data
$P_NCKTYPE
NCK type
INT
Description:
The system variable returns the NCK type.
6000: SOLUTIONLINE
10700: 840D sl
14000: 802D sl T/M
14000: 802D sl N/G o. C/U
14500: 808D
15000: 840Di sl
16000: 828D
Unit
Init value
Min
Max
-
0
0
2147483647
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
-
7
X
7
-
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
Cross-channel
nel:
Scan mode:
No restrictions
Link:
No restrictions
$AN_CUTRACE
Trigger variable for the SINAMICS trace function
INT
Description:
Variable for triggering the trace function in SINAMICS.
Writing the value 1 when using telegram 390, 391 or 395 sets bit 4 in all Control Units in drive parameter r898 "Control word drive object 1"
activated by MD13120 $MN_CONTROL_UNIT_LOGIC_ADDRESS.
The trigger tripped by the telegram must have previously been parameterized in the trace.
The variable has the following values:
Write:
0: No action
1: Trip trigger
Read:
Always 0 because the trigger cannot be read back
Unit
Init value
Min
Max
-
0
0
1
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
runin stp
X
7
X
7
X
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
System variables
658
List Manual, 10/2020, 6FC5397-6AP40-6BA4
List of system variables
3.24 Axial system variables
3.24
Axial system variables
$P_EP [31]
Programmed end position
DOUBLE
Description:
$P_EP[X]
System variable $P_EP supplies the current WCS setpoint position in the interpreter. The numerical value is not necessarily identical to the value
programmed in the part program. The two values differ in the following
situations:
- with incremental programming
- when the WCS is changed by a frame or tool selection
If an ASUB is started after a block search with calculation, the positions in the interpreter are synchronized with this operation. $P_EP then
supplies
the actual standstill positions of the axes in the ASUB. The collected search position can be interrogated via system variable $AC_RETPOINT.
Index 1:
Maximum axis number
Unit
Init value
Min
Max
Linear / angular position
0.0
-1.8E+308
1.8E+308
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
-
7
-
0
-
Write:
-
-
0
-
0
-
Axis entry:
GEO
CHAN
MACH
SPIN
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$P_EPM [31]
Programmed MCS target position
DOUBLE
Description:
Axial variable $P_EPM[ax] determines the current programmed MCS target position in the preprocessor for the specified axis (see also $P_EP).
Index 1:
Maximum axis number
Unit
Init value
Min
Max
Linear / angular position
0.0
-1.8E+308
1.8E+308
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
-
7
-
0
-
Write:
-
-
0
-
0
-
Axis entry:
GEO
CHAN
MACH
SPIN
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$P_APR [31]
Axis position in the starting point with SAR in the WCS
DOUBLE
Description:
$P_APR[X]
Position of axis in workpiece coordinate system at starting point
of approach movement on smooth approach to the contour
Index 1:
Maximum axis number
Unit
Init value
Min
Max
Linear / angular position
0.0
-1.8E+308
1.8E+308
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
System variables
List Manual, 10/2020, 6FC5397-6AP40-6BA4
659
List of system variables
3.24 Axial system variables
$P_APR [31]
Axis position in the starting point with SAR in the WCS
DOUBLE
Read:
X
-
7
-
0
-
Write:
-
-
0
-
0
-
Axis entry:
GEO
CHAN
MACH
SPIN
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$P_AEP [31]
1st contour point with SAR in the WCS
DOUBLE
Description:
$P_AEP[X]
Approach point: First contour point in workpiece coordinate system on smooth
approach to contour
Index 1:
Maximum axis number
Unit
Init value
Min
Max
Linear / angular position
0.0
-1.8E+308
1.8E+308
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
-
7
-
0
-
Write:
-
-
0
-
0
-
Axis entry:
GEO
CHAN
MACH
SPIN
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$P_POLF [31]
Programmed retraction position of the axis
DOUBLE
Description:
$P_POLF[X]
supplies the programmed retraction position of the axis
X: Axis
Index 1:
Maximum axis number
Unit
Init value
Min
Max
Linear / angular position
0.0
-1.8E+308
1.8E+308
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
-
7
-
0
-
Write:
-
-
0
-
0
-
Axis entry:
GEO
CHAN
MACH
SPIN
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
System variables
660
List Manual, 10/2020, 6FC5397-6AP40-6BA4
List of system variables
3.24 Axial system variables
$P_POLF_VALID [31]
Status of the value of $P_POLF
INT
Description:
$P_POLF_VALID[X]
Supplies the status of $P_POLF[X]
X: Axis
Return values:
0: No retraction programmed
1: Retraction programmed Position programmed
2: Retraction programmed as distance
Index 1:
Maximum axis number
Unit
Init value
Min
Max
-
0
0
2
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
-
7
-
0
-
Write:
-
-
0
-
0
-
Axis entry:
GEO
CHAN
MACH
SPIN
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AA_IW [31]
Current WCS setpoint of an axis
DOUBLE
Description:
Axial variable $AA_IW[ax] determines the current setpoint in the workpiece coordinate system (WCS) for the specified axis. The setpoint is
equivalent to the interpolator output value for the current interpolation cycle. The WCS value contains no axial offset components (DRF,
AA_OFF, ext. work offset, etc.).
Index 1:
Maximum axis number
Unit
Init value
Min
Max
Linear / angular position
0.0
-1.8E+308
1.8E+308
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
-
-
0
-
0
-
Axis entry:
GEO
CHAN
MACH
SPIN
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AA_REPOS_DELAY [31]
-
BOOL
Description:
$AA_REPOS_DELAY[X]
TRUE: Repos suppression is currently active for this axis.
FALSE: otherwise
Index 1:
Maximum axis number
Unit
Init value
Min
Max
-
FALSE
FALSE
TRUE
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
-
-
0
-
0
-
System variables
List Manual, 10/2020, 6FC5397-6AP40-6BA4
661
List of system variables
3.24 Axial system variables
$AA_REPOS_DELAY [31]
-
BOOL
Axis entry:
GEO
CHAN
MACH
SPIN
Overlap chan-
channel-specific
nel:
Scan mode:
Program sensitive
Link:
Not for lead link axes
$AA_IEN [31]
Current SZS setpoint of an axis
DOUBLE
Description:
Axial variable $AA_IEN[ax] determines the current setpoint in the settable zero coordinate system (SZS) for the specified axis. See also
$AA_IW[ax]. The SZS value contains no axial offset components (DRF, AA_OFF, ext. work offset, etc.).
Index 1:
Maximum axis number
Unit
Init value
Min
Max
Linear / angular position
0.0
-1.8E+308
1.8E+308
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
-
-
0
-
0
-
Axis entry:
GEO
CHAN
MACH
SPIN
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AA_IBN [31]
Current BZS setpoint of an axis
DOUBLE
Description:
Axial variable $AA_IBN[ax] determines the current setpoint in the basic zero coordinate system (BZS) for the specified axis. See also $AA_IW[ax].
The BZS value contains no axial offset components (DRF, $AA_OFF, ext. work offset, etc.).
Index 1:
Maximum axis number
Unit
Init value
Min
Max
Linear / angular position
0.0
-1.8E+308
1.8E+308
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
-
-
0
-
0
-
Axis entry:
GEO
CHAN
MACH
SPIN
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AA_IB [31]
Current BCS setpoint of an axis
DOUBLE
Description:
Axial variable $AA_IB[ax] determines the current setpoint in the basic coordinate system (BCS) for the specified axis. See also $AA_IW[ax]. The
BCS value contains no axial offset components (DRF, $AA_OFF, ext. work offset, etc.).
Index 1:
Maximum axis number
Unit
Init value
Min
Max
Linear / angular position
0.0
-1.8E+308
1.8E+308
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
-
-
0
-
0
-
Axis entry:
GEO
CHAN
MACH
SPIN
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
System variables
662
List Manual, 10/2020, 6FC5397-6AP40-6BA4
List of system variables
3.24 Axial system variables
$AA_IM [31]
Current MCS setpoint of an axis
DOUBLE
Description:
Axial variable $AA_IM[ax] determines the current setpoint in the machine coordinate system (MCS) for the specified axis. See also $AA_IW[ax].
The MCS value contains all axial offset components (DRF, $AA_OFF, ext. work offset, etc.).
Index 1:
Maximum axis number
Unit
Init value
Min
Max
Linear / angular position
0.0
-1.8E+308
1.8E+308
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
-
-
0
-
0
-
Axis entry:
GEO
CHAN
MACH
SPIN
Overlap chan-
channel-specific
nel:
Scan mode:
Program sensitive
Link:
Not classified
$AA_ACT_INDEX_AX_POS_NO [31]
Current indexing position
INT
Description:
$AA_ACT_INDEX_AX_POS_NO[X]
0: Not an indexing axis, no indexing position is thus available.
> 0: Number of last reached or last crossed indexing position
Index 1:
Maximum axis number
Unit
Init value
Min
Max
-
0
-2147483648
2147483647
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
-
-
0
-
0
-
Axis entry:
GEO
CHAN
MACH
SPIN
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AA_PROG_INDEX_AX_POS_NO [31]
Programmed indexing position
INT
Description:
$AA_PROG_INDEX_AX_POS_NO[X]
0: Not an indexing axis, no indexing position is thus available or
the indexing axis is not currently approaching an indexing position
> 0: Number of programmed indexing position
Index 1:
Maximum axis number
Unit
Init value
Min
Max
-
0
-2147483648
2147483647
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
-
-
0
-
0
-
Axis entry:
GEO
CHAN
MACH
SPIN
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
System variables
List Manual, 10/2020, 6FC5397-6AP40-6BA4
663
List of system variables
3.24 Axial system variables
$AA_ENC_ACTIVE [31]
Measuring system is active
BOOL
Description:
Axial variable $AA_ENC_ACTIVE[ax] determines whether the active measuring system is operating below the encoder limit frequency.
Index 1:
Maximum axis number
Unit
Init value
Min
Max
-
FALSE
FALSE
TRUE
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
-
-
0
-
0
-
Axis entry:
GEO
CHAN
MACH
SPIN
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AA_ENC1_ACTIVE [31]
1. Measuring system is active
BOOL
Description:
Axial variable $AA_ENC1_ACTIVE[ax] determines whether the first measuring system is operating below the encoder limit frequency.
Index 1:
Maximum axis number
Unit
Init value
Min
Max
-
FALSE
FALSE
TRUE
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
-
0
X
Write:
-
-
0
-
0
-
Axis entry:
GEO
CHAN
MACH
SPIN
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AA_ENC2_ACTIVE [31]
2. Measuring system is active
BOOL
Description:
Axial variable $AA_ENC2_ACTIVE[ax] determines whether the second measuring system is operating below the encoder limit frequency.
Index 1:
Maximum axis number
Unit
Init value
Min
Max
-
FALSE
FALSE
TRUE
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
-
0
X
Write:
-
-
0
-
0
-
Axis entry:
GEO
CHAN
MACH
SPIN
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
System variables
664
List Manual, 10/2020, 6FC5397-6AP40-6BA4
List of system variables
3.24 Axial system variables
$VA_IM [31]
Current MCS actual value of an axis
DOUBLE
Description:
Axial variable $VA_IM[ax] determines the encoder actual value (measured by active measuring system) in the machine coordinate system
(MCS). All actual value compensations are corrected (leadscrew error compensation, backlash compensation, quadrant error compensation).
For rotary axes/spindles, the returned value is independent of the modulo setting, a transformation is only performed for specific actions.
When a spindle or axis disable is active, this variable returns the current setpoint by definition. In this case, if the actual value also has to be
returned, BIT3 must be set in $MA_MISC_FUNCTION_MASK.
Index 1:
Maximum axis number
Unit
Init value
Min
Max
Linear / angular position
0.0
-1.8E+308
1.8E+308
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
-
-
0
-
0
-
Axis entry:
GEO
CHAN
MACH
SPIN
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$VA_IM1 [31]
Current MCS actual value of an axis
DOUBLE
Description:
Axial variable $VA_IM1[ax] determines the encoder actual value (measured by encoder 1) in the machine coordinate system (MCS). All actual
value compensations are corrected (leadscrew error compensation, backlash compensation, quadrant error compensation). For rotary axes/
spindles, the returned value is independent of the modulo setting, a transformation is only performed for specific actions.
When a spindle or axis disable is active, this variable returns the current setpoint by definition. In this case, if the actual value also has to be
returned, BIT3 must be set in $MA_MISC_FUNCTION_MASK.
Index 1:
Maximum axis number
Unit
Init value
Min
Max
Linear / angular position
0.0
-1.8E+308
1.8E+308
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
-
-
0
-
0
-
Axis entry:
GEO
CHAN
MACH
SPIN
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$VA_IM2 [31]
Current MCS actual value of an axis
DOUBLE
Description:
Axial variable $VA_IM2[ax] determines the encoder actual value (measured by encoder 2) in the machine coordinate system (MCS). All actual
value compensations are corrected (leadscrew error compensation, backlash compensation, quadrant error compensation). For rotary axes/
spindles, the returned value is independent of the modulo setting, a transformation is only performed for specific actions.
When a spindle or axis disable is active, this variable returns the current setpoint by definition. In this case, if the actual value also has to be
returned, BIT3 must be set in $MA_MISC_FUNCTION_MASK.
Index 1:
Maximum axis number
Unit
Init value
Min
Max
Linear / angular position
0.0
-1.8E+308
1.8E+308
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
System variables
List Manual, 10/2020, 6FC5397-6AP40-6BA4
665
List of system variables
3.24 Axial system variables
$VA_IM2 [31]
Current MCS actual value of an axis
DOUBLE
Write:
-
-
0
-
0
-
Axis entry:
GEO
CHAN
MACH
SPIN
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$VA_LAG_ERROR [31]
Axis following error
DOUBLE
Description:
Variable $VA_LAG_ERROR[X] supplies the contour-related following error, i.e. position setpoint after fine interpolator actual position value.
Index 1:
Maximum axis number
Unit
Init value
Min
Max
-
0.0
-1.8E+308
1.8E+308
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
-
X
0
X
7
X
Write:
-
-
0
-
0
-
Axis entry:
CHAN
MACH
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AA_MW [31]
Measured probe position (WCS)
DOUBLE
Description:
$AA_MW[X]
Probe measured value in workpiece coordinate system
Index 1:
Maximum axis number
Unit
Init value
Min
Max
Linear / angular position
0.0
-1.8E+308
1.8E+308
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
runin stp
X
7
X
7
X
Axis entry:
GEO
CHAN
MACH
SPIN
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AA_MM [31]
Measured probe position (MCS)
DOUBLE
Description:
$AA_MM[X]
Probe measured value in machine coordinate system
Index 1:
Maximum axis number
Unit
Init value
Min
Max
Linear / angular position
0.0
-1.8E+308
1.8E+308
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
runin stp
X
7
X
7
X
System variables
666
List Manual, 10/2020, 6FC5397-6AP40-6BA4
List of system variables
3.24 Axial system variables
$AA_MM [31]
Measured probe position (MCS)
DOUBLE
Axis entry:
GEO
CHAN
MACH
SPIN
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AA_MW1 [31]
Probe position trigger 1 (WCS)
DOUBLE
Description:
$AA_MW1[X]
Measurement result axial measurement
Trigger event 1 in WCS
Index 1:
Maximum axis number
Unit
Init value
Min
Max
Linear / angular position
0.0
-1.8E+308
1.8E+308
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
runin stp
X
7
X
7
X
Axis entry:
GEO
CHAN
MACH
SPIN
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AA_MW2 [31]
Probe position trigger 2 (WCS)
DOUBLE
Description:
$AA_MW2[X]
Measurement result axial measurement
Trigger event 2 in WCS
Index 1:
Maximum axis number
Unit
Init value
Min
Max
Linear / angular position
0.0
-1.8E+308
1.8E+308
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
runin stp
X
7
X
7
X
Axis entry:
GEO
CHAN
MACH
SPIN
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AA_MW3 [31]
Probe position trigger 3 (WCS)
DOUBLE
Description:
$AA_MW3[X]
Measurement result axial measurement
Trigger event 3 in WCS
Index 1:
Maximum axis number
Unit
Init value
Min
Max
Linear / angular position
0.0
-1.8E+308
1.8E+308
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
System variables
List Manual, 10/2020, 6FC5397-6AP40-6BA4
667
List of system variables
3.24 Axial system variables
$AA_MW3 [31]
Probe position trigger 3 (WCS)
DOUBLE
Write:
runin stp
X
7
X
7
X
Axis entry:
GEO
CHAN
MACH
SPIN
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AA_MW4 [31]
Probe position trigger 4 (WCS)
DOUBLE
Description:
$AA_MW4[X]
Measurement result axial measurement
Trigger event 4 in WCS
Index 1:
Maximum axis number
Unit
Init value
Min
Max
Linear / angular position
0.0
-1.8E+308
1.8E+308
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
runin stp
X
7
X
7
X
Axis entry:
GEO
CHAN
MACH
SPIN
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AA_MM1 [31]
Probe position trigger 1 (MCS)
DOUBLE
Description:
$AA_MM1[X]
Measurement result axial measurement
Trigger event 1 in MCS
Index 1:
Maximum axis number
Unit
Init value
Min
Max
Linear / angular position
0.0
-1.8E+308
1.8E+308
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
runin stp
X
7
X
7
X
Axis entry:
GEO
CHAN
MACH
SPIN
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AA_MM2 [31]
Probe position trigger 2 (MCS)
DOUBLE
Description:
$AA_MM2[X]
Measurement result axial measurement
Trigger event 2 in MCS
Index 1:
Maximum axis number
Unit
Init value
Min
Max
Linear / angular position
0.0
-1.8E+308
1.8E+308
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
System variables
668
List Manual, 10/2020, 6FC5397-6AP40-6BA4
List of system variables
3.24 Axial system variables
$AA_MM2 [31]
Probe position trigger 2 (MCS)
DOUBLE
Read:
runin stp
X
7
X
7
X
Write:
runin stp
X
7
X
7
X
Axis entry:
GEO
CHAN
MACH
SPIN
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AA_MM3 [31]
Probe position trigger 3 (MCS)
DOUBLE
Description:
$AA_MM3[X]
Measurement result axial measurement
Trigger event 3 in MCS
Index 1:
Maximum axis number
Unit
Init value
Min
Max
Linear / angular position
0.0
-1.8E+308
1.8E+308
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
runin stp
X
7
X
7
X
Axis entry:
GEO
CHAN
MACH
SPIN
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AA_MM4 [31]
Probe position trigger 4 (MCS)
DOUBLE
Description:
$AA_MM4[X]
Measurement result axial measurement
Trigger event 4 in MCS
Index 1:
Maximum axis number
Unit
Init value
Min
Max
Linear / angular position
0.0
-1.8E+308
1.8E+308
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
runin stp
X
7
X
7
X
Axis entry:
GEO
CHAN
MACH
SPIN
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AA_MEAACT [31]
Axial measurement active
BOOL
Description:
$AA_MEAACT[X]
Value is exactly then TRUE if
axial measurement active for X
Corresponds with NC/PLC interface signal <Messung_aktiv/> (measurement active)
Index 1:
Maximum axis number
Unit
Init value
Min
Max
-
FALSE
FALSE
TRUE
System variables
List Manual, 10/2020, 6FC5397-6AP40-6BA4
669
List of system variables
3.24 Axial system variables
$AA_MEAACT [31]
Axial measurement active
BOOL
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
-
0
X
Write:
-
-
0
-
0
-
Axis entry:
GEO
CHAN
MACH
SPIN
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AC_DRF [31]
Handwheel override of an axis
DOUBLE
Description:
Axial variable $AC_DRF[ax] determines the axial override value caused by the handwheel (DRF offset).
Index 1:
Maximum axis number
Unit
Init value
Min
Max
Linear / angular position
0.0
-1.8E+308
1.8E+308
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
-
-
0
-
0
-
Axis entry:
GEO
CHAN
MACH
SPIN
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AC_PRESET [31]
PRESET value of an axis
DOUBLE
Description:
Axial variable $AC_PRESET[ax] determines the last defined PRESET value.
Index 1:
Maximum axis number
Unit
Init value
Min
Max
Linear / angular position
0.0
-1.8E+308
1.8E+308
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
-
-
0
X
7
-
Axis entry:
GEO
CHAN
MACH
SPIN
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AA_ETRANS [31]
External zero offset
DOUBLE
Description:
Axial variable $AA_ETRANS[ax] is used to enter an external work offset which can be activated by the PLC. After activation by the PLC, the
offset value is traversed as an axial override in the next block.
If Bit 1 is set in $MC_MM_SYSTEM_FRAME_MASK, an active movement is stopped immediately, on activation by the PLC, the preprocessor is
reorganized, and the system frame is initialized with the axis value of $AA_ETRANS[ax] and is activated. The offset is traversed before resuming
the interrupted movement. The external work offset has an absolute effect on the translation of the current system frame. Multiple activation
is thus not additive; only the coarse component of the translation (not the fine offset) is overwritten with the value from $AA_ETRANS[ax].
Index 1:
Maximum axis number
Unit
Init value
Min
Max
Linear / angular position
0.0
-1.8E+308
1.8E+308
Read/Write properties:
System variables
670
List Manual, 10/2020, 6FC5397-6AP40-6BA4
List of system variables
3.24 Axial system variables
$AA_ETRANS [31]
External zero offset
DOUBLE
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
-
7
X
7
-
Write:
X
-
7
X
7
-
Axis entry:
GEO
CHAN
MACH
SPIN
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AA_MEAS_P1_VALID [31]
Unlatch 1st measuring point of an axis
INT
Description:
Variable for workpiece and tool measurement.
Axial variable $AA_MEAS_P1_VALID[ax] is used to unlatch the current axis position with reference to a selected coordinate system. Variable
$AC_MEAS_P1_COORD is used to select the coordinate system.
Application:
$AA_MEAS_P1_VALID[ax] = 0
; 1st measuring point of axis is invalid
$AA_MEAS_P1_VALID[ax] = 1
; Determining 1st measuring point of axis
The unlatched measuring point is stored in $AA_MEAS_POINT1[ax].
Index 1:
Maximum axis number
Unit
Init value
Min
Max
-
0
0
1
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
X
7
X
7
X
Write:
runin stp
X
7
X
7
X
Axis entry:
GEO
CHAN
MACH
SPIN
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AA_MEAS_P2_VALID [31]
Unlatch 2nd measuring point of an axis
INT
Description:
Variable for workpiece and tool measurement.
Axial variable $AA_MEAS_P2_VALID[ax] is used to unlatch the current axis position with reference to a selected coordinate system. Variable
$AC_MEAS_P2_COORD is used to select the coordinate system.
Application:
$AA_MEAS_P2_VALID[ax] = 0
; 2nd measuring point of axis is invalid
$AA_MEAS_P2_VALID[ax] = 1
; Determining 2nd measuring point of axis
The unlatched measuring point is stored in $AA_MEAS_POINT2[ax].
Index 1:
Maximum axis number
Unit
Init value
Min
Max
-
0
0
1
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
X
7
X
7
X
Write:
runin stp
X
7
X
7
X
Axis entry:
GEO
CHAN
MACH
SPIN
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
System variables
List Manual, 10/2020, 6FC5397-6AP40-6BA4
671
List of system variables
3.24 Axial system variables
$AA_MEAS_P3_VALID [31]
Unlatch 3rd measuring point of an axis
INT
Description:
Variable for workpiece and tool measurement.
Axial variable $AA_MEAS_P3_VALID[ax] is used to unlatch the current axis position with reference to a selected coordinate system. Variable
$AC_MEAS_P3_COORD is used to select the coordinate system.
Application:
$AA_MEAS_P3_VALID[ax] = 0
; 3rd measuring point of axis is invalid
$AA_MEAS_P3_VALID[ax] = 1
; Determining 3rd measuring point of axis
The unlatched measuring point is stored in $AA_MEAS_POINT3[ax].
Index 1:
Maximum axis number
Unit
Init value
Min
Max
-
0
0
1
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
X
7
X
7
X
Write:
runin stp
X
7
X
7
X
Axis entry:
GEO
CHAN
MACH
SPIN
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AA_MEAS_P4_VALID [31]
Unlatch 4th measuring point of an axis
INT
Description:
Variable for workpiece and tool measurement.
Axial variable $AA_MEAS_P4_VALID[ax] is used to unlatch the current axis position with reference to a selected coordinate system. Variable
$AC_MEAS_P4_COORD is used to select the coordinate system.
Application:
$AA_MEAS_P4_VALID[ax] = 0
; 4th measuring point of axis is invalid
$AA_MEAS_P4_VALID[ax] = 1
; Determining 4th measuring point of axis
The unlatched measuring point is stored in $AA_MEAS_POINT4[ax].
Index 1:
Maximum axis number
Unit
Init value
Min
Max
-
0
0
1
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
X
7
X
7
X
Write:
runin stp
X
7
X
7
X
Axis entry:
GEO
CHAN
MACH
SPIN
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
System variables
672
List Manual, 10/2020, 6FC5397-6AP40-6BA4
List of system variables
3.24 Axial system variables
$AA_MEAS_POINT1 [31]
1. measuring point
DOUBLE
Description:
Variable for workpiece and tool measurement.
Axial variable $AA_MEAS_POINT1[ax] is used to write the 1st measuring point for workpiece and tool measurement. The measuring point can
be either written directly or unlatched with variables $AC_MEAS_LATCH[0], $AA_MEAS_P1_VALID[ax].
Application:
$AA_MEAS_POINT1[x] = $AA_IW[x]
$AA_MEAS_POINT1[y] = $AA_IW[y]
$AA_MEAS_POINT1[z] = $AA_IW[z]
Index 1:
Maximum axis number
Unit
Init value
Min
Max
Linear / angular position
0.0
-1.8E+308
1.8E+308
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
-
7
X
7
-
Write:
X
-
7
X
7
-
Axis entry:
GEO
CHAN
MACH
SPIN
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AA_MEAS_POINT2 [31]
2. measuring point
DOUBLE
Description:
Variable for workpiece and tool measurement.
Axial variable $AA_MEAS_POINT2[ax] is used to write the 2nd measuring point for workpiece and tool measurement. The measuring point can
be either written directly or unlatched with variables $AC_MEAS_LATCH[1], $AA_MEAS_P2_VALID[ax].
Application:
$AA_MEAS_POINT2[x] = $AA_IW[x]
$AA_MEAS_POINT2[y] = $AA_IW[y]
$AA_MEAS_POINT2[z] = $AA_IW[z]
Index 1:
Maximum axis number
Unit
Init value
Min
Max
Linear / angular position
0.0
-1.8E+308
1.8E+308
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
-
7
X
7
-
Write:
X
-
7
X
7
-
Axis entry:
GEO
CHAN
MACH
SPIN
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
System variables
List Manual, 10/2020, 6FC5397-6AP40-6BA4
673
List of system variables
3.24 Axial system variables
$AA_MEAS_POINT3 [31]
3. measuring point
DOUBLE
Description:
Variable for workpiece and tool measurement.
Axial variable $AA_MEAS_POINT3[ax] is used to write the 3rd measuring point for workpiece and tool measurement. The measuring point can
be either written directly or unlatched with variables $AC_MEAS_LATCH[2], $AA_MEAS_P3_VALID[ax].
Application:
$AA_MEAS_POINT3[x] = $AA_IW[x]
$AA_MEAS_POINT3[y] = $AA_IW[y]
$AA_MEAS_POINT3[z] = $AA_IW[z]
Index 1:
Maximum axis number
Unit
Init value
Min
Max
Linear / angular position
0.0
-1.8E+308
1.8E+308
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
-
7
X
7
-
Write:
X
-
7
X
7
-
Axis entry:
GEO
CHAN
MACH
SPIN
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AA_MEAS_POINT4 [31]
4. measuring point
DOUBLE
Description:
Variable for workpiece and tool measurement.
Axial variable $AA_MEAS_POINT4[ax] is used to write the 4th measuring point for workpiece and tool measurement. The measuring point can
be either written directly or unlatched with variables $AC_MEAS_LATCH[3], $AA_MEAS_P4_VALID[ax].
Application:
$AA_MEAS_POINT4[x] = $AA_IW[x]
$AA_MEAS_POINT4[y] = $AA_IW[y]
$AA_MEAS_POINT4[z] = $AA_IW[z]
Index 1:
Maximum axis number
Unit
Init value
Min
Max
Linear / angular position
0.0
-1.8E+308
1.8E+308
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
-
7
X
7
-
Write:
X
-
7
X
7
-
Axis entry:
GEO
CHAN
MACH
SPIN
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
System variables
674
List Manual, 10/2020, 6FC5397-6AP40-6BA4
List of system variables
3.24 Axial system variables
$AA_MEAS_SP_VALID [31]
Validity of position setpoint
INT
Description:
Variable for workpiece and tool measurement.
Axial variable $AA_MEAS_SP_VALID[ax] is used to set the defined setpoint of an axis to valid or invalid.
Application:
$AA_MEAS_SP_VALID[ax] = 0 ; Position setpoint of axis is invalid
$AA_MEAS_SP_VALID[ax] = 1 ; Position setpoint of axis is valid
The position setpoint is stored in $AA_MEAS_SETPOINT[ax]
Index 1:
Maximum axis number
Unit
Init value
Min
Max
-
0
0
1
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
-
7
X
7
-
Write:
X
-
7
X
7
-
Axis entry:
GEO
CHAN
MACH
SPIN
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AA_MEAS_SETPOINT [31]
Position setpoint of an axis
DOUBLE
Description:
Variable for workpiece and tool measurement.
Axial variable $AA_MEAS_SETPOINT[ax] is used to define a position setpoint for an axis. This position setpoint is considered when calculating
the workpiece position or the tool length.
Application:
$AA_MEAS_SETPOINT[x] = 0.0
$AA_MEAS_SETPOINT[y] = 0.0
$AA_MEAS_SETPOINT[z] = 0.0
Index 1:
Maximum axis number
Unit
Init value
Min
Max
Linear / angular position
0.0
-1.8E+308
1.8E+308
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
-
7
X
7
-
Write:
X
-
7
X
7
-
Axis entry:
GEO
CHAN
MACH
SPIN
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
System variables
List Manual, 10/2020, 6FC5397-6AP40-6BA4
675
List of system variables
3.24 Axial system variables
$AA_MEAS_SETANGLE [31]
Angle setpoint of an axis
DOUBLE
Description:
Variable for workpiece and tool measurement.
Axial variable $AA_MEAS_SETANGLE[ax] is used to define an angle setpoint for an axis. This angle setpoint is considered when calculating the
workpiece position or the tool length.
Application:
$AA_MEAS_SETANGLE[x] = 0.0
$AA_MEAS_SETANGLE[y] = 0.0
$AA_MEAS_SETANGLE[z] = 0.0
Index 1:
Maximum axis number
Unit
Init value
Min
Max
Linear / angular position
0.0
-1.8E+308
1.8E+308
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
-
7
X
7
-
Write:
X
-
7
X
7
-
Axis entry:
GEO
CHAN
MACH
SPIN
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AA_OFF [31]
Overlaid movement of an axis
DOUBLE
Description:
Axial variable $AA_OFF[ax] is used to overlay a movement for the programmed axis. The behavior of the overlaid movement can be config-
ured with $MA_AA_OFF_MODE.
The set value is only effective if the axis is assigned to the channel in which the value is set.
Index 1:
Maximum axis number
Unit
Init value
Min
Max
Linear / angular position
0.0
-1.8E+308
1.8E+308
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
-
X
0
X
7
X
Write:
-
X
0
X
7
X
Axis entry:
GEO
CHAN
MACH
SPIN
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AA_OFF_LIMIT [31]
Limit value reached for axis offset
INT
Description:
Axial variable $AA_OFF_LIMIT[ax] is used to interrogate a limit value for the axis offset $AA_OFF[ax].
The following values are possible:
0: Limit value not reached
1: Limit value reached in positive axis direction
-1: Limit value reached in negative axis direction
Index 1:
Maximum axis number
Unit
Init value
Min
Max
-
0
-1
1
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
System variables
676
List Manual, 10/2020, 6FC5397-6AP40-6BA4
List of system variables
3.24 Axial system variables
$AA_OFF_LIMIT [31]
Limit value reached for axis offset
INT
Read:
runin stp
X
7
X
7
X
Write:
-
-
0
-
0
-
Axis entry:
GEO
CHAN
MACH
SPIN
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AA_OFF_VAL [31]
Integrated path of axis offset
DOUBLE
Description:
Axial variable $AA_OFF_VAL[ax] determines the integrated value of the overlaid movement for an axis.
An overlaid movement can be canceled again by means of the
negative value of this variable.
e.g. $AA_OFF[axis] = -$AA_OFF_VAL[axis]
Index 1:
Maximum axis number
Unit
Init value
Min
Max
-
0.0
-1.8E+308
1.8E+308
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
-
-
0
-
0
-
Axis entry:
GEO
CHAN
MACH
SPIN
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AC_RETPOINT [31]
Repositioning point in ASUB
DOUBLE
Description:
$AC_RETPOINT[X]
$AC_RETPOINT[] supplies the WCS position of an axis at which an ASUB has been started. The axis can then be repositioned at this point in the
ASUB.
If an ASUB is started immediately after a block search with calculation, $AC_RETPOINT then supplies the collected search position.
For a modulo axis $AC_RETPOINT[] supplies the position as modulo converted.
System variable $AC_RPVALID[] can be used to check whether $AC_RETPOINT[] is supplying a valid repositioning point within the current
program context (see documentation for $AC_RPVALID[]).
Note about application in synchronized actions:
The points generated by REPOS are supplied while the REPOS approach blocks are being processed. The current parameter settings for the
REPOS operation (approach to interruption point, block start point, etc.) defined by G codes RMI, RMB, RME, RMN or VDI signal are also taken
into account.
Index 1:
Maximum axis number
Unit
Init value
Min
Max
Linear / angular position
0.0
-1.8E+308
1.8E+308
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
-
-
0
-
0
-
Axis entry:
GEO
CHAN
MACH
SPIN
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
System variables
List Manual, 10/2020, 6FC5397-6AP40-6BA4
677
List of system variables
3.24 Axial system variables
$AA_TOFF [31]
Offset in tool direction
DOUBLE
Description:
Variable $AA_TOFF[geo axis] is used to overlay a movement in the corresponding tool direction. The behavior of the overlaid movement can be
configured with $MC_TOFF_MODE.
Activation in the part program is performed using the TOFFON instruction.
The TOFFOF instruction can be used to reset the offset values.
The velocity for the offset can be defined with MD 21194 TOFF_VELO; the acceleration can be defined with MD21196 TOFF_ACCEL.
The variable is only appropriate in conjunction with an active orientation transformation or an active toolholder.
Index 1:
Maximum axis number
Unit
Init value
Min
Max
mm
0.0
-1.8E+308
1.8E+308
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
runin stp
X
7
X
7
X
Axis entry:
GEO
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AA_TOFF_VAL [31]
Integrated value of offset in TCS
DOUBLE
Description:
Variable $AA_TOFF_VAL[geo axis] determines the integrated value of the overlaid movement in the corresponding tool direction.
The variable is only appropriate in conjunction with an active orientation transformation or an active toolholder.
Index 1:
Maximum axis number
Unit
Init value
Min
Max
mm
0.0
-1.8E+308
1.8E+308
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
-
-
0
-
0
-
Axis entry:
GEO
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AA_TOFF_LIMIT [31]
Limit value for offset in TCS reached
INT
Description:
Axial variable $AA_TOFF_LIMIT[ax] is used to interrogate a limit value for the offset in
the tool direction (TCS) via $AA_TOFF[geo axis].
The following values are possible:
0: Limit value not reached
1: Limit value reached in positive axis direction
-1: Limit value reached in negative axis direction
The limit values can be defined with SD 42970 TOFF_LIMIT.
The variable is only appropriate in conjunction with an active orientation transformation or an active toolholder.
Index 1:
Maximum axis number
Unit
Init value
Min
Max
-
0
-1
1
System variables
678
List Manual, 10/2020, 6FC5397-6AP40-6BA4
|