SINUMERIK 840D sl. Service - Configuring Commissioning. Manual (2011-2020) - page 93

 

  Index      Manuals     SINUMERIK 840D sl. Service - Configuring Commissioning. Manual (2011-2020)

 

Search            copyright infringement  

 

   

 

   

 

Content      ..     91      92      93      94     ..

 

 

 

SINUMERIK 840D sl. Service - Configuring Commissioning. Manual (2011-2020) - page 93

 

 

List of system variables
3.2 Channel-specific system variables
$AC_BLOCKTYPEINFO
Block type info
INT
10: Pole treatment for orientstion transformations
10000: Look ahead of position of pole axis for orientation transformations
10001 Inserted block for traversing the pole cone at orientation transformations:
Unit
Init value
Min
Max
-
0
0
2147483647
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
-
X
0
X
7
-
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AC_SPLITBLOCK
-
INT
Description:
System variable $AC_SPLITBLOCK is capable of detecting all blocks generated
internally and programmed blocks which were truncated as a result.
It can return the following values:
= 0 : It is an unchanged programmed block (a block generated by the compressor
is viewed here as a programmed block).
<> 0: Block has been truncated or is an internally generated block, the variable
can assume the following values (variable is bit-coded):
= 1: It is an internally generated block or a truncated original block
= 3: It is the last block in a chain of internally generated blocks
or truncated original blocks
Unit
Init value
Min
Max
-
0
0
3
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
-
X
0
X
7
-
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AC_TANEB
Tangent angle at block end point
DOUBLE
Description:
$AC_TANEB determines the angle between the path tangent at the end of the current block and the
path tangent at the start of the next block. This variable should only be applied to programmed main blocks. $AC_BLOCKTYPE can be used to
determine whether the current block is a main block.
Unit
Init value
Min
Max
-
0.0
-180.0
180.0
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
-
X
0
X
7
X
Write:
-
-
0
-
0
-
System variables
List Manual, 10/2020, 6FC5397-6AP40-6BA4
59
List of system variables
3.2 Channel-specific system variables
$AC_TANEB
Tangent angle at block end point
DOUBLE
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AC_SYNC_ACT_LOAD
Current runtime for synchronized actions
DOUBLE
Description:
Variable $AC_SYNC_ACT_LOAD supplies the current runtime for synchronized actions of the last interpolator cycle in the channel.
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
$AC_SYNC_MAX_LOAD
Longest runtime for synchronized actions
DOUBLE
Description:
Variable $AC_SYNC_MAX_LOAD supplies the longest runtime for synchronized actions of an interpolator cycle in the channel.
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
$AC_SYNC_AVERAGE_LOAD
Average runtime for synchronized actions
DOUBLE
Description:
Variable $AC_SYNC_AVERAGE_LOAD supplies the average runtime per interpolator cycle for synchronized actions in the channel.
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
System variables
60
List Manual, 10/2020, 6FC5397-6AP40-6BA4
List of system variables
3.2 Channel-specific system variables
$AC_IW_STAT
Position information for PTP
INT
Description:
Variable $AC_IW_STAT describes the
position information of the articulated joints (transformation-specific) for cartesian PTP travel.
The variable is relevant only for transformations which support PTP.
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-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AC_IW_TU
Position information of axes for PTP
INT
Description:
Variable $AC_IW_TU describes the position information of the axes (MCS) for cartesian PTP travel.
The variable is relevant only for transformations which support PTP.
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-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AC_TRANS_SYS
Reference system for cart. manual trav. (trans.)
INT
Description:
$AC_TRANS_SYS
Reference system for translation with cartesian manual travel
0: Axis-spec. manual trav. active
1: Cart. manual trav. in BCS
2: Cart. manual trav. in WCS
3: Cart. manual trav. in TCS
Only appropriate in connection with transformations which support cart. manual travel.
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-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
System variables
List Manual, 10/2020, 6FC5397-6AP40-6BA4
61
List of system variables
3.2 Channel-specific system variables
$AC_JOG_COORD
Coordinate system for manual travel
INT
Description:
Variable $AC_JOG_COORD is used to set the coordinate system frame for manual travel.
The following values are possible:
0: Manual travel in WCS
1: Manual travel in SZS
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:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AC_ROT_SYS
Reference system for cart. manual trav. (ori.)
INT
Description:
$AC_ROT_SYS
Reference system for orientation with cartesian manual travel
0: Axis-spec. manual trav. active
1: Cart. manual trav. in BCS
2: Cart. manual trav. in PCS
3: Cart. manual trav. in TCS
Only appropriate in connection with transformations which support cart. manual travel.
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-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AC_MEA [2]
Probe has switched
INT
Description:
$AC_MEA[n]
As soon as all the trigger events programmed in a block have been fulfilled, both values ($AC_MEA[1] and $AC_MEA[2]) are set.)
Index 1:
n: Number of the probe (1 - MAXNUM_PROBE)
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
-
System variables
62
List Manual, 10/2020, 6FC5397-6AP40-6BA4
List of system variables
3.2 Channel-specific system variables
$AC_MEA [2]
Probe has switched
INT
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AC_TRAFO
Active transformation
INT
Description:
$AC_TRAFO
Code number of active transformation
according to machine data $MC_TRAFO_TYPE_n
Note special meaning in the case of parameterized persistent transformation (bit 1 of $MC_TRAFO_MODE_MASK set to 1):
The parameters of the first chained transformation are returned in the case of TRACON. 0 is returned if only the persistent transformation is
active.
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-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$P_TRAFO
Programmed transformation
INT
Description:
$P_TRAFO
Code number of programmed transformation
according to machine data $MC_TRAFO_TYPE_n
Note special meaning in the case of parameterized persistent transformation (bit 1 of $MC_TRAFO_MODE_MASK set to 1):
The first chained transformation is returned in the case of TRACON. 0 is returned if only the persistent transformation is active.
Unit
Init value
Min
Max
-
0
-2147483648
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-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
System variables
List Manual, 10/2020, 6FC5397-6AP40-6BA4
63
List of system variables
3.2 Channel-specific system variables
$AC_TRAFO_PAR [n]
Transformation selection parameters
DOUBLE
Description:
$AC_TRAFO_PAR[n]
Selection parameters of active transformation
Please note special meaning when persistent transformation is configured
(Bit 1 of $MC_TRAFO_MODE_MASK is set to 1):
The parameters of the first chained transformation are returned in the case of TRACON.
0 is returned if only the persistent transformation is active.
Index 1:
n: Number of the parameter
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-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$P_TRAFO_PAR [n]
Progr. transformation selection parameters
DOUBLE
Description:
$P_TRAFO_PAR[n]
Selection parameters of programmed transformation
Please note special meaning when persistent transformation is configured
(Bit 1 of $MC_TRAFO_MODE_MASK is set to 1):
The parameters of the first chained transformation are returned in the case of TRACON.
0 is returned if only the persistent transformation is active.
Index 1:
n: Number of the parameter
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-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
System variables
64
List Manual, 10/2020, 6FC5397-6AP40-6BA4
List of system variables
3.2 Channel-specific system variables
$AC_TRAFO_PARSET
Transformation data set number
INT
Description:
$AC_TRAFO_PARSET
The variable contains the value 0 if no kinematic transformation is active.
If a conventionally defined transformation (i.e. not using kinematic chains) is active, the variable contains the number of the current trans-
formation data set.
Note the special meaning with a parameterized persistent transformation
(Bit 1 of $MC_TRAFO_MODE_MASK is set to 1):
With TRACON, the number of the data set of the first chained transformation
is returned.
If only the persistent transformation is active, 0 is returned.
If a transformation defined with kinematic chains is active, the variable contains the number of the $NT data set with an offset of 1000; this
means that the first transformation returns the value 1001.
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-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$P_TRAFO_PARSET
Transformation data set number
INT
Description:
$P_TRAFO_PARSET
The variable contains the value 0 if no kinematic transformation is active.
If a conventionally defined transformation (i.e. not using kinematic chains) is active, the variable contains the number of the current trans-
formation data set.
If a transformation defined by kinematic chains is active, the variable contains the number of the $NT data set with an offset of 1000, in other
words, the first transformation returns the value 1001.
Note the special meaning with a parameterized persistent transformation
(Bit 1 of $MC_TRAFO_MODE_MASK is set to 1):
If only the persistent transformation is active, 0 is returned.
Unit
Init value
Min
Max
-
0
-2147483648
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-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
System variables
List Manual, 10/2020, 6FC5397-6AP40-6BA4
65
List of system variables
3.2 Channel-specific system variables
$AC_LIFTFAST
State of the liftfast
INT
Description:
$AC_LIFTFAST
Information about execution of rapid lift.
0: Initial state.
1: Rapid lift has been executed.
The variable is set internally
to "1" by the NC at the beginning of the rapid lift process.
The variable must be reset to its initial state
($AC_LIFTFAST=0) by the evaluating program (if one is configured)
so that any subsequent rapid lift process can be detected again.
Unit
Init value
Min
Max
-
0
-2147483648
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
-
0
X
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$P_LIFTFAST
Status of liftfast
INT
Description:
$P_LIFTFAST
Information about execution of rapid lift.
0: Initial state.
1: Rapid lift has been executed.
The variable is set internally
to "1" by the NC at the beginning of the rapid lift process.
The variable must be reset to its initial state ($AC_LIFTFAST=0)
by the evaluating program (if one is configured) so that any subsequent
rapid lift process can be detected again.
The variable is reset by writing $AC_LIFTFAST!
Unit
Init value
Min
Max
-
0
-2147483648
1
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
-
7
-
0
-
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
System variables
66
List Manual, 10/2020, 6FC5397-6AP40-6BA4
List of system variables
3.2 Channel-specific system variables
$AC_ASUP
-
INT
Description:
$AC_ASUP
Code number for the reason for activating an ASUB. The reasons are bit-coded
and have the following meaning:
BIT0: Activation due to: user interrupt "ASUB with Blsync"
Activation by: VDI signal, digital-analog interface
Continued by: Freely selectable Reorg or Ret
BIT1: Activation due to: User interrupt "ASUB"
To continue the program with Repos, the position immediately prior
to the interrupt is stored.
Activation by: VDI signal, digital-analog interface
Continued by: Freely selectable
BIT2: Activation due to: user interrupt "ASUB from channel state Ready"
Activation by: VDI signal, digital-analog interface
Continued by: Freely selectable
BIT3: Activation due to: user interrupt "ASUB in a manual mode
and channel state not READY"
Activation by: VDI signal, digital-analog interface
Continued by: Freely selectable
BIT4: Activation due to: Activation due to: User interrupt "ASUB".
To continue the program with Repos, the current position at the moment
of interrupt is stored.
Activation by: VDI signal, digital-analog interface
Continued by: Freely selectable
BIT5: Activation due to: Cancellation of subroutine repeat
Activation by: VDI signal
Continued by: Execution of system ASUB REPOS
BIT6: Activation due to: Activation of decoding single block
Activation by: VDI signal (+OPI)
Continued by: Execution of system ASUB REPOS
BIT7: Activation due to: Activation of delete distance to go
Activation by: VDI signal
Continued by: Execution of system ASUB Ret
BIT8: Activation due to: Activation of axis synchronization
Activation by: VDI signal
Continued by: Execution of system ASUB REPOS
BIT9: Activation due to: Mode change
Activation by: VDI signal
Continued by: Execution of system ASUB REPOS or RET (see MD.)
BIT10: Activation due to: Program continuation under TeachIn or after TeachIn deactivation
Activation by: VDI signal
Continued by: Execution of system ASUB Ret
BIT11: Activation due to: Overstore selection
Activation by: Pi selection
Continued by: Execution of system ASUB REPOS
BIT12: Activation due to: Alarm with reaction 'offset block with Repos' ( COMPBLOCKWITHREORG)
System variables
List Manual, 10/2020, 6FC5397-6AP40-6BA4
67
List of system variables
3.2 Channel-specific system variables
$AC_ASUP
-
INT
Activation by: Internal
Continued by: Execution of system ASUB REPOS
BIT13: Activation due to: Retraction with G33 and Stop
Activation by: Internal
Continued by: Execution of system ASUB Ret
BIT14: Activation due to: Activation of dry run feedrate
Activation by: VDI
Continued by: Execution of system ASUB REPOS
BIT15: Activation due to: Deactivation of dry run feedrate
Activation by: VDI
Continued by: Execution of system ASUB REPOS
BIT16: Activation due to: Activation of block suppression
Activation by: VDI
Continued by: Execution of system ASUB REPOS
BIT17: Activation due to: Deactivation of block suppression
Activation by: VDI
Continued by: Execution of system ASUB REPOS
BIT18: Activation due to: Activate machine data
Activation by: Pi
Continued by: Execution of system ASUB REPOS
BIT19: Activation due to: Activate tool offset
Activation by: Pi "_N_SETUDT"
Continued by: Execution of system ASUB REPOS
BIT20: Activation due to: System ASUB after search type SERUPRO has reached the search target.
Activation by: Pi "_N_FINDBL" Parameter == 5
Continued by: Execution of system ASUB REPOS
BIT21: Activation due to: Selection of external work offset
Activation by: VDI signal
Continued by: Execution of system ASUB REPOS
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-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$P_ISTEST
Program test active
BOOL
Description:
$P_ISTEST
Returns TRUE (1) if program test is active.
Unit
Init value
Min
Max
-
FALSE
FALSE
TRUE
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
System variables
68
List Manual, 10/2020, 6FC5397-6AP40-6BA4
List of system variables
3.2 Channel-specific system variables
$P_ISTEST
Program test active
BOOL
Read:
X
-
7
-
0
-
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$P_MMCA
Task acknowledgement for MMC command
STRING
Description:
$P_MMCA
Task acknowledgement for MMC command
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
-
0
-
Write:
X
-
7
-
0
-
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$A_PROTO
Activate logging function for 1st user
BOOL
Description:
$A_PROTO
Activate / deactivate logging function for the first user. Corresponds to $A_PROTOC[0].
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:
runin stp
X
7
X
7
X
Axis entry:
Overlap chan-
Cross-channel
nel:
Scan mode:
Not classified
Link:
Not classified
$A_PROTOC
Activate logging function for user
BOOL
[EX_MAX_NUM_PROT_USER]
Description:
$A_PROTOC
Activate / deactivate logging function for a user. Corresponds to OPI variable protocUserActive.
Index 1:
Index of the user of the logging function.
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:
runin stp
X
7
X
7
X
System variables
List Manual, 10/2020, 6FC5397-6AP40-6BA4
69
List of system variables
3.2 Channel-specific system variables
$A_PROTOC
Activate logging function for user
BOOL
[EX_MAX_NUM_PROT_USER]
Axis entry:
Overlap chan-
Cross-channel
nel:
Scan mode:
Not classified
Link:
Not classified
$A_PROT_LOCK
Disable/enable the logging function for a user
INT
[EX_MAX_NUM_PROT_USER]
Description:
$A_PROT_LOCK
Disable / enable logging function temporarily for a user
Index 1:
0 - EX_MAX_NUM_PROT_USER-1, USER
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
$AC_FIFO1 [n]
1st FIFO stack
DOUBLE
Description:
Variable $AC_FIFO1[n] is a stack with first in first out characteristics. This stack memory can be used for cyclic measuring operations.
$MC_NUM_AC_FIFO is used to define the number of FIFO variables $AC_FIFO1 - $AC_FIFO10.
The elements of the stack memory are saved in R variables. The length of all FIFO variables is configured with $MC_LEN_AC_FIFO.
$MC_START_AC_FIFO is used to specify the number of the start R variable, from which the FIFO elements are stored.
R variables assigned to FIFO areas should not be written elsewhere.
The number of R variables must be set in machine data $MC_MM_NUM_R_PARAM such that all FIFO variables can be accommodated:
$MC_MM_NUM_R_PARAM = $MC_MM_START_FIFO + $MC_NUM_AC_FIFO * ($MC_LEN_AC_FIFO + 6)
The FIFO variable is an array variable.
Indices 0 - 5 have special meanings:
n = 0: When written with index 0, a new value is stored in the FIFO.
When read with index 0, the oldest element is read and removed from the FIFO.
n=1: Access to the first element read
n=2: Access to the second element read
n=3: Total of all FIFO elements if Bit0 in $MC_MM_MODE_FIFO is set.
n=4: Number of elements available in the FIFO
n=5: Current write index relative to the start of the FIFO
n=6: Oldest element
n=7: Second oldest etc.
Index 1:
The dimension is configured via $MC_LEN_AC_FIFO.
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:
X
X
7
-
0
X
System variables
70
List Manual, 10/2020, 6FC5397-6AP40-6BA4
List of system variables
3.2 Channel-specific system variables
$AC_FIFO1 [n]
1st FIFO stack
DOUBLE
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AC_FIFO2 [n]
2nd FIFO stack
DOUBLE
Description:
Variable $AC_FIFO2[n] is a stack with first in first out characteristics. This stack memory can be used for cyclic measuring operations.
$MC_NUM_AC_FIFO is used to define the number of FIFO variables $AC_FIFO1 - $AC_FIFO10.
The elements of the stack memory are saved in R variables. The length of all FIFO variables is configured with $MC_LEN_AC_FIFO.
$MC_START_AC_FIFO is used to specify the number of the start R variable, from which the FIFO elements are stored.
R variables assigned to FIFO areas should not be written elsewhere.
The number of R variables must be set in machine data $MC_MM_NUM_R_PARAM such that all FIFO variables can be accommodated:
$MC_MM_NUM_R_PARAM = $MC_MM_START_FIFO + $MC_NUM_AC_FIFO * ($MC_LEN_AC_FIFO + 6)
The FIFO variable is an array variable.
Indices 0 - 5 have special meanings:
n = 0: When written with index 0, a new value is stored in the FIFO.
When read with index 0, the oldest element is read and removed from the FIFO.
n=1: Access to the first element read
n=2: Access to the second element read
n=3: Total of all FIFO elements if Bit0 in $MC_MM_MODE_FIFO is set.
n=4: Number of elements available in the FIFO
n=5: Current write index relative to the start of the FIFO
n=6: Oldest element
n=7: Second oldest etc.
Index 1:
The dimension is configured via $MC_LEN_AC_FIFO.
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:
X
X
7
-
0
X
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
System variables
List Manual, 10/2020, 6FC5397-6AP40-6BA4
71
List of system variables
3.2 Channel-specific system variables
$AC_FIFO3 [n]
3rd FIFO stack
DOUBLE
Description:
Variable $AC_FIFO3[n] is a stack with first in first out characteristics. This stack memory can be used for cyclic measuring operations.
$MC_NUM_AC_FIFO is used to define the number of FIFO variables $AC_FIFO1 - $AC_FIFO10.
The elements of the stack memory are saved in R variables. The length of all FIFO variables is configured with $MC_LEN_AC_FIFO.
$MC_START_AC_FIFO is used to specify the number of the start R variable, from which the FIFO elements are stored.
R variables assigned to FIFO areas should not be written elsewhere.
The number of R variables must be set in machine data $MC_MM_NUM_R_PARAM such that all FIFO variables can be accommodated:
$MC_MM_NUM_R_PARAM = $MC_MM_START_FIFO + $MC_NUM_AC_FIFO * ($MC_LEN_AC_FIFO + 6)
The FIFO variable is an array variable.
Indices 0 - 5 have special meanings:
n = 0: When written with index 0, a new value is stored in the FIFO.
When read with index 0, the oldest element is read and removed from the FIFO.
n=1: Access to the first element read
n=2: Access to the second element read
n=3: Total of all FIFO elements if Bit0 in $MC_MM_MODE_FIFO is set.
n=4: Number of elements available in the FIFO
n=5: Current write index relative to the start of the FIFO
n=6: Oldest element
n=7: Second oldest etc.
Index 1:
The dimension is configured via $MC_LEN_AC_FIFO.
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:
X
X
7
-
0
X
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
System variables
72
List Manual, 10/2020, 6FC5397-6AP40-6BA4
List of system variables
3.2 Channel-specific system variables
$AC_FIFO4 [n]
4th FIFO stack
DOUBLE
Description:
Variable $AC_FIFO4[n] is a stack with first in first out characteristics. This stack memory can be used for cyclic measuring operations.
$MC_NUM_AC_FIFO is used to define the number of FIFO variables $AC_FIFO1 - $AC_FIFO10.
The elements of the stack memory are saved in R variables. The length of all FIFO variables is configured with $MC_LEN_AC_FIFO.
$MC_START_AC_FIFO is used to specify the number of the start R variable, from which the FIFO elements are stored.
R variables assigned to FIFO areas should not be written elsewhere.
The number of R variables must be set in machine data $MC_MM_NUM_R_PARAM such that all FIFO variables can be accommodated:
$MC_MM_NUM_R_PARAM = $MC_MM_START_FIFO + $MC_NUM_AC_FIFO * ($MC_LEN_AC_FIFO + 6)
The FIFO variable is an array variable.
Indices 0 - 5 have special meanings:
n = 0: When written with index 0, a new value is stored in the FIFO.
When read with index 0, the oldest element is read and removed from the FIFO.
n=1: Access to the first element read
n=2: Access to the second element read
n=3: Total of all FIFO elements if Bit0 in $MC_MM_MODE_FIFO is set.
n=4: Number of elements available in the FIFO
n=5: Current write index relative to the start of the FIFO
n=6: Oldest element
n=7: Second oldest etc.
Index 1:
The dimension is configured via $MC_LEN_AC_FIFO.
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:
X
X
7
-
0
X
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
System variables
List Manual, 10/2020, 6FC5397-6AP40-6BA4
73
List of system variables
3.2 Channel-specific system variables
$AC_FIFO5 [n]
5th FIFO stack
DOUBLE
Description:
Variable $AC_FIFO5[n] is a stack with first in first out characteristics. This stack memory can be used for cyclic measuring operations.
$MC_NUM_AC_FIFO is used to define the number of FIFO variables $AC_FIFO1 - $AC_FIFO10.
The elements of the stack memory are saved in R variables. The length of all FIFO variables is configured with $MC_LEN_AC_FIFO.
$MC_START_AC_FIFO is used to specify the number of the start R variable, from which the FIFO elements are stored.
R variables assigned to FIFO areas should not be written elsewhere.
The number of R variables must be set in machine data $MC_MM_NUM_R_PARAM such that all FIFO variables can be accommodated:
$MC_MM_NUM_R_PARAM = $MC_MM_START_FIFO + $MC_NUM_AC_FIFO * ($MC_LEN_AC_FIFO + 6)
The FIFO variable is an array variable.
Indices 0 - 5 have special meanings:
n = 0: When written with index 0, a new value is stored in the FIFO.
When read with index 0, the oldest element is read and removed from the FIFO.
n=1: Access to the first element read
n=2: Access to the second element read
n=3: Total of all FIFO elements if Bit0 in $MC_MM_MODE_FIFO is set.
n=4: Number of elements available in the FIFO
n=5: Current write index relative to the start of the FIFO
n=6: Oldest element
n=7: Second oldest etc.
Index 1:
The dimension is configured via $MC_LEN_AC_FIFO.
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:
X
X
7
-
0
X
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
System variables
74
List Manual, 10/2020, 6FC5397-6AP40-6BA4
List of system variables
3.2 Channel-specific system variables
$AC_FIFO6 [n]
6th FIFO stack
DOUBLE
Description:
Variable $AC_FIFO6[n] is a stack with first in first out characteristics. This stack memory can be used for cyclic measuring operations.
$MC_NUM_AC_FIFO is used to define the number of FIFO variables $AC_FIFO1 - $AC_FIFO10.
The elements of the stack memory are saved in R variables. The length of all FIFO variables is configured with $MC_LEN_AC_FIFO.
$MC_START_AC_FIFO is used to specify the number of the start R variable, from which the FIFO elements are stored.
R variables assigned to FIFO areas should not be written elsewhere.
The number of R variables must be set in machine data $MC_MM_NUM_R_PARAM such that all FIFO variables can be accommodated:
$MC_MM_NUM_R_PARAM = $MC_MM_START_FIFO + $MC_NUM_AC_FIFO * ($MC_LEN_AC_FIFO + 6)
The FIFO variable is an array variable.
Indices 0 - 5 have special meanings:
n = 0: When written with index 0, a new value is stored in the FIFO.
When read with index 0, the oldest element is read and removed from the FIFO.
n=1: Access to the first element read
n=2: Access to the second element read
n=3: Total of all FIFO elements if Bit0 in $MC_MM_MODE_FIFO is set.
n=4: Number of elements available in the FIFO
n=5: Current write index relative to the start of the FIFO
n=6: Oldest element
n=7: Second oldest etc.
Index 1:
The dimension is configured via $MC_LEN_AC_FIFO.
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:
X
X
7
-
0
X
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
System variables
List Manual, 10/2020, 6FC5397-6AP40-6BA4
75
List of system variables
3.2 Channel-specific system variables
$AC_FIFO7 [n]
7th FIFO stack
DOUBLE
Description:
Variable $AC_FIFO7[n] is a stack with first in first out characteristics. This stack memory can be used for cyclic measuring operations.
$MC_NUM_AC_FIFO is used to define the number of FIFO variables $AC_FIFO1 - $AC_FIFO10.
The elements of the stack memory are saved in R variables. The length of all FIFO variables is configured with $MC_LEN_AC_FIFO.
$MC_START_AC_FIFO is used to specify the number of the start R variable, from which the FIFO elements are stored.
R variables assigned to FIFO areas should not be written elsewhere.
The number of R variables must be set in machine data $MC_MM_NUM_R_PARAM such that all FIFO variables can be accommodated:
$MC_MM_NUM_R_PARAM = $MC_MM_START_FIFO + $MC_NUM_AC_FIFO * ($MC_LEN_AC_FIFO + 6)
The FIFO variable is an array variable.
Indices 0 - 5 have special meanings:
n = 0: When written with index 0, a new value is stored in the FIFO.
When read with index 0, the oldest element is read and removed from the FIFO.
n=1: Access to the first element read
n=2: Access to the second element read
n=3: Total of all FIFO elements if Bit0 in $MC_MM_MODE_FIFO is set.
n=4: Number of elements available in the FIFO
n=5: Current write index relative to the start of the FIFO
n=6: Oldest element
n=7: Second oldest etc.
Index 1:
The dimension is configured via $MC_LEN_AC_FIFO.
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:
X
X
7
-
0
X
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
System variables
76
List Manual, 10/2020, 6FC5397-6AP40-6BA4
List of system variables
3.2 Channel-specific system variables
$AC_FIFO8 [n]
8th FIFO stack
DOUBLE
Description:
Variable $AC_FIFO8[n] is a stack with first in first out characteristics. This stack memory can be used for cyclic measuring operations.
$MC_NUM_AC_FIFO is used to define the number of FIFO variables $AC_FIFO1 - $AC_FIFO10.
The elements of the stack memory are saved in R variables. The length of all FIFO variables is configured with $MC_LEN_AC_FIFO.
$MC_START_AC_FIFO is used to specify the number of the start R variable, from which the FIFO elements are stored.
R variables assigned to FIFO areas should not be written elsewhere.
The number of R variables must be set in machine data $MC_MM_NUM_R_PARAM such that all FIFO variables can be accommodated:
$MC_MM_NUM_R_PARAM = $MC_MM_START_FIFO + $MC_NUM_AC_FIFO * ($MC_LEN_AC_FIFO + 6)
The FIFO variable is an array variable.
Indices 0 - 5 have special meanings:
n = 0: When written with index 0, a new value is stored in the FIFO.
When read with index 0, the oldest element is read and removed from the FIFO.
n=1: Access to the first element read
n=2: Access to the second element read
n=3: Total of all FIFO elements if Bit0 in $MC_MM_MODE_FIFO is set.
n=4: Number of elements available in the FIFO
n=5: Current write index relative to the start of the FIFO
n=6: Oldest element
n=7: Second oldest etc.
Index 1:
The dimension is configured via $MC_LEN_AC_FIFO.
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:
X
X
7
-
0
X
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
System variables
List Manual, 10/2020, 6FC5397-6AP40-6BA4
77
List of system variables
3.2 Channel-specific system variables
$AC_FIFO9 [n]
9th FIFO stack
DOUBLE
Description:
Variable $AC_FIFO9[n] is a stack with first in first out characteristics. This stack memory can be used for cyclic measuring operations.
$MC_NUM_AC_FIFO is used to define the number of FIFO variables $AC_FIFO1 - $AC_FIFO10.
The elements of the stack memory are saved in R variables. The length of all FIFO variables is configured with $MC_LEN_AC_FIFO.
$MC_START_AC_FIFO is used to specify the number of the start R variable, from which the FIFO elements are stored.
R variables assigned to FIFO areas should not be written elsewhere.
The number of R variables must be set in machine data $MC_MM_NUM_R_PARAM such that all FIFO variables can be accommodated:
$MC_MM_NUM_R_PARAM = $MC_MM_START_FIFO + $MC_NUM_AC_FIFO * ($MC_LEN_AC_FIFO + 6)
The FIFO variable is an array variable.
Indices 0 - 5 have special meanings:
n = 0: When written with index 0, a new value is stored in the FIFO.
When read with index 0, the oldest element is read and removed from the FIFO.
n=1: Access to the first element read
n=2: Access to the second element read
n=3: Total of all FIFO elements if Bit0 in $MC_MM_MODE_FIFO is set.
n=4: Number of elements available in the FIFO
n=5: Current write index relative to the start of the FIFO
n=6: Oldest element
n=7: Second oldest etc.
Index 1:
The dimension is configured via $MC_LEN_AC_FIFO.
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:
X
X
7
-
0
X
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
System variables
78
List Manual, 10/2020, 6FC5397-6AP40-6BA4
List of system variables
3.2 Channel-specific system variables
$AC_FIFO10 [n]
10th FIFO stack
DOUBLE
Description:
Variable $AC_FIFO10[n] is a stack with first in first out characteristics. This stack memory can be used for cyclic measuring operations.
$MC_NUM_AC_FIFO is used to define the number of FIFO variables $AC_FIFO1 - $AC_FIFO10.
The elements of the stack memory are saved in R variables. The length of all FIFO variables is configured with $MC_LEN_AC_FIFO.
$MC_START_AC_FIFO is used to specify the number of the start R variable, from which the FIFO elements are stored.
R variables assigned to FIFO areas should not be written elsewhere.
The number of R variables must be set in machine data $MC_MM_NUM_R_PARAM such that all FIFO variables can be accommodated:
$MC_MM_NUM_R_PARAM = $MC_MM_START_FIFO + $MC_NUM_AC_FIFO * ($MC_LEN_AC_FIFO + 6)
The FIFO variable is an array variable.
Indices 0 - 5 have special meanings:
n = 0: When written with index 0, a new value is stored in the FIFO.
When read with index 0, the oldest element is read and removed from the FIFO.
n=1: Access to the first element read
n=2: Access to the second element read
n=3: Total of all FIFO elements if Bit0 in $MC_MM_MODE_FIFO is set.
n=4: Number of elements available in the FIFO
n=5: Current write index relative to the start of the FIFO
n=6: Oldest element
n=7: Second oldest etc.
Index 1:
The dimension is configured via $MC_LEN_AC_FIFO.
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:
X
X
7
-
0
X
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$A_IN [n]
Digital input
BOOL
Description:
Variable $A_IN[n] is used to interrogate digital inputs.
Index 1:
The dimension is configured via $MN_FASTIO_DIG_NUM_INPUTS.
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:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
System variables
List Manual, 10/2020, 6FC5397-6AP40-6BA4
79
List of system variables
3.2 Channel-specific system variables
$A_OUT [n]
Digital output
BOOL
Description:
The variable $A_OUT[n] is used to access the digital outputs.
If the output is disabled by the interface signal "Disable digital NC outputs", the value returned on reading the variable is always zero.
Index 1:
The dimension is configured via $MN_FASTIO_DIG_NUM_OUTPUTS.
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:
X
X
7
X
7
X
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$A_INA [n]
Analog input
DOUBLE
Description:
Variable $A_INA[n] is used to access the analog inputs.
Index 1:
The dimension is configured via $MN_FASTIO_ANA_NUM_INPUTS.
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-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$A_OUTA [n]
Analog output
DOUBLE
Description:
The variable $A_OUTA[n] is used to access the analog outputs. When written, the value does not become effective until after the next IPO cycle,
and it can then be read back.
If the output is disabled by the interface signal "Disable analog NC outputs", the value returned on reading the variable is always zero.
Index 1:
The dimension is configured via $MN_FASTIO_ANA_NUM_OUTPUTS.
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:
X
X
7
X
7
X
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
System variables
80
List Manual, 10/2020, 6FC5397-6AP40-6BA4
List of system variables
3.2 Channel-specific system variables
$A_INCO [2]
Comparator input
BOOL
Description:
Variable $A_INCO[n] is used to access the comparator inputs.
Index 1:
nth comparator input.
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:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$A_DBB [MD_MAXNUM_VDI_VAR_DA-
PLC data byte (unsigned)
INT
TA ]
Description:
Array variable $A_DBB[n] is used to read and write a data byte (8 bits) from PLC. The byte is unsigned and can be read in the range from 0 to
255 and written in the range from -128 to 255.
A memory area is reserved in the communications buffer of these modules (DPR) for high-speed data exchange between PLC and NC. The PLC
uses function calls (FC) and the NCK uses $ variables to access this memory.
See also $A_DBSB[n].
Index 1:
n: Position offset within the I/O area 0 - ...
Unit
Init value
Min
Max
-
0
-128
255
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
Mrun syn
X
7
-
0
X
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$A_DBW [MD_MAX-
PLC data word (unsigned)
INT
NUM_VDI_VAR_DATA ]
Description:
Array variable $A_DBW[n] is used to read and write a data word (16 bits) from PLC. The byte is unsigned and can be read in the range from 0
to 65535 and written in the range from -32768 to 65535.
A memory area is reserved in the communications buffer of these modules (DPR) for high-speed data exchange between PLC and NC. The PLC
uses function calls (FC) and the NCK uses $ variables to access this memory.
See also $A_DBSW[n].
Index 1:
n: Position offset within the I/O area 0 - ...
Unit
Init value
Min
Max
-
0
-32768
65535
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
Mrun syn
X
7
-
0
X
System variables
List Manual, 10/2020, 6FC5397-6AP40-6BA4
81
List of system variables
3.2 Channel-specific system variables
$A_DBW [MD_MAX-
PLC data word (unsigned)
INT
NUM_VDI_VAR_DATA ]
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$A_DBD [MD_MAX-
PLC data doubleword
INT
NUM_VDI_VAR_DATA ]
Description:
Array variable $A_DBD[n] is used to read and write a data doubleword (32 bits) from PLC.
A memory area is reserved in the communications buffer of these modules (DPR) for high-speed data exchange between PLC and NC. The PLC
uses function calls (FC) and the NCK uses $ variables to access this memory.
Index 1:
n: Position offset within the I/O area 0 - ...
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:
Mrun syn
X
7
-
0
X
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$A_DBR [MD_MAXNUM_VDI_VAR_DA-
PLC Real data (32 bits)
DOUBLE
TA ]
Description:
Array variable $A_DBR[n] is used to read and write Real data (32 bits) from PLC.
A memory area is reserved in the communications buffer of these modules (DPR) for high-speed data exchange between PLC and NC. The PLC
uses function calls (FC) and the NCK uses $ variables to access this memory.
Index 1:
n: Position offset within the I/O area 0 - ...
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:
Mrun syn
X
7
-
0
X
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$A_DLB [n]
Link variable byte
INT
Description:
Variable $A_DLB[n] enables reading and writing of a data byte (8 bits) which can be transmitted to other channels or NCUs across the NCU link.
$MC_MM_NUM_LINKVAR_ELEMENTS is used to define the number of elements available to the user for programming link variables ($A_DLx).
The negative value range of this variable applies to write operations only. The variable can thus store negative values. Only the corresponding
positive value can be read back.
Index 1:
The dimension is configured via $MC_MM_SIZEOF_LINKVAR_DATA.
Unit
Init value
Min
Max
-
0
-128
255
Read/Write properties:
System variables
82
List Manual, 10/2020, 6FC5397-6AP40-6BA4
List of system variables
3.2 Channel-specific system variables
$A_DLB [n]
Link variable byte
INT
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
Mrun syn
X
7
X
7
X
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$A_DLW [n]
Link variable word
INT
Description:
Variable $A_DLW[n] enables reading and writing of a data word (16 bits) which can be transmitted to other channels or NCUs across the NCU
link.
$MC_MM_NUM_LINKVAR_ELEMENTS is used to define the number of elements available to the user for programming link variables ($A_DLx).
The negative value range of this variable applies to write operations only. The variable can thus store negative values. Only the corresponding
positive value can be read back.
Index 1:
The dimension is configured via $MC_MM_SIZEOF_LINKVAR_DATA.
Unit
Init value
Min
Max
-
0
-32768
65535
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
Mrun syn
X
7
X
7
X
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$A_DLD [n]
Integer link variable
INT
Description:
Variable $A_DLD[n] enables reading and writing of a data doubleword (32 bits) which can be transmitted to other channels or NCUs across the
NCU link.
$MC_MM_NUM_LINKVAR_ELEMENTS is used to define the number of elements available to the user for programming link variables ($A_DLx).
Index 1:
The dimension is configured via $MC_MM_SIZEOF_LINKVAR_DATA.
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:
Mrun syn
X
7
X
7
X
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$A_DLR [n]
Real link variable
DOUBLE
Description:
Variable $A_DLR[n] enables reading and writing of a Real value which can be transmitted to other channels or NCUs across the NCU link.
$MC_MM_NUM_LINKVAR_ELEMENTS is used to define the number of elements available to the user for programming link variables ($A_DLx).
Index 1:
The dimension is configured via $MC_MM_SIZEOF_LINKVAR_DATA.
Unit
Init value
Min
Max
-
0.0
-1.8E+308
1.8E+308
System variables
List Manual, 10/2020, 6FC5397-6AP40-6BA4
83
List of system variables
3.2 Channel-specific system variables
$A_DLR [n]
Real link variable
DOUBLE
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
runin stp
X
7
X
7
X
Write:
Mrun syn
X
7
X
7
X
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$A_LINK_TRANS_RATE
Link data transfer rate
INT
Description:
The variable $A_LINK_TRANS_RATE determines the number of link variables which can still be transferred by the NCU link communication 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:
Not classified
$A_PBB_IN [32]
PLC input byte
INT
Description:
Array variable $A_PBB_IN[n] is used to read and write a data byte (8 bits) from the PLC I/O.
Index 1:
The dimension is configured via $MN_PLCIO_NUM_BYTES_IN.
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-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$A_PBW_IN [32]
PLC input word
INT
Description:
Array variable $A_PBW_IN[n] is used to read and write a data word (16 bits) from the PLC I/O.
Index 1:
The dimension is configured via $MN_PLCIO_NUM_BYTES_IN.
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
-
System variables
84
List Manual, 10/2020, 6FC5397-6AP40-6BA4
List of system variables
3.2 Channel-specific system variables
$A_PBW_IN [32]
PLC input word
INT
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$A_PBD_IN [32]
PLC input doubleword
INT
Description:
Array variable $A_PBD_IN[n] is used to read a data doubleword (32 bits) from the PLC I/O.
Index 1:
The dimension is configured via $MN_PLCIO_NUM_BYTES_IN.
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-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$A_PBR_IN [32]
Real PLC input
DOUBLE
Description:
Array variable $A_PBR_IN[n] is used to read Real data (32 bits) from the PLC I/O.
Index 1:
The dimension is configured via $MN_PLCIO_NUM_BYTES_IN.
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-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$A_PBB_OUT [32]
PLC output byte
INT
Description:
Array variable $A_PBB_OUT[n] is used to write a data byte (8 bits) to the PLC I/O.
Index 1:
The dimension is configured via $MN_PLCIO_NUM_BYTES_OUT.
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:
Mrun syn
X
7
-
0
X
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
System variables
List Manual, 10/2020, 6FC5397-6AP40-6BA4
85
List of system variables
3.2 Channel-specific system variables
$A_PBW_OUT [32]
PLC output word
INT
Description:
Array variable $A_PBW_OUT[n] is used to write a data word (16 bits) to the PLC I/O.
Index 1:
The dimension is configured via $MN_PLCIO_NUM_BYTES_OUT.
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:
Mrun syn
X
7
-
0
X
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$A_PBD_OUT [32]
PLC output doubleword
INT
Description:
Array variable $A_PBD_OUT[n] is used to write a data doubleword (32 bits) to the PLC I/O.
Index 1:
The dimension is configured via $MN_PLCIO_NUM_BYTES_OUT.
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:
Mrun syn
X
7
-
0
X
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$A_PBR_OUT [32]
Real PLC output
DOUBLE
Description:
Array variable $A_PBR_OUT[n] is used to write Real data (32 bits) to the PLC I/O.
Index 1:
The dimension is configured via $MN_PLCIO_NUM_BYTES_OUT.
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:
Mrun syn
X
7
-
0
X
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
System variables
86
List Manual, 10/2020, 6FC5397-6AP40-6BA4
List of system variables
3.2 Channel-specific system variables
$C_IN [16]
Signal from PLC to cycle
BOOL
Description:
$C_IN[n]
Signal from the PLC to cycle
Reserved for SIEMENS applications!
16 input signals (i.e. 2 bytes) are available. Data transfer is cyclic.
Index 1:
n: Number of the input 1 - ...
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:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$C_OUT [16]
Signal from cycle to the PLC
BOOL
Description:
$C_OUT[n]
Signal from cycle to the PLC
Reserved for SIEMENS applications!
16 output signals (i.e. 2 bytes) are available. Data transfer is cyclic.
Index 1:
n: Number of the output 1 - ...
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:
X
X
7
X
7
X
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AC_TC_CMDT
Trigger, tool management outputs a command
INT
Description:
$AC_TC_CMDT
Trigger variable: $AC_TC_CMDT (CoMmadTrigger) assumes the value '1' for an interpolation
cycle whenever a new command from the magazine management is output to the PLC.
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
-
System variables
List Manual, 10/2020, 6FC5397-6AP40-6BA4
87
List of system variables
3.2 Channel-specific system variables
$AC_TC_CMDT
Trigger, tool management outputs a command
INT
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AC_TC_ACKT
Trigger, PLC acknowledges a tool management com-
INT
mand
Description:
$AC_TC_ACKT
Trigger variable: $AC_TC_ACKT (ACKnowledgeTrigger) assumes the value '1' for an interpolation cycle whenever
the PLC acknowledges a TM command.
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-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AC_TC_CMDC
Number of commands output by the tool management
INT
Description:
$AC_TC_CMDC
Counter variable: $AC_TC_CMDC (CoMmandCounter) is incremented
by 1 every time the TM sends a command to the PLC.
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
X
7
X
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AC_TC_ACKC
Number of PLC acknowledgements to tool manage-
INT
ment commands
Description:
$AC_TC_ACKC
Counter variable: $AC_TC_CMDC (ACKnowledgeCounter) is incremented
by 1 every time the PLC acknowledges a command from the TM.
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
X
7
X
System variables
88
List Manual, 10/2020, 6FC5397-6AP40-6BA4
List of system variables
3.2 Channel-specific system variables
$AC_TC_ACKC
Number of PLC acknowledgements to tool manage-
INT
ment commands
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AC_TC_FCT
-
INT
Description:
$AC_TC_FCT
Command number. This specifies the requested operation.
-1: No TM command is active at the instant the variable is read.
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-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AC_TC_STATUS
-
INT
Description:
$AC_TC_STATUS
Current status of the command - to be read via $AC_TC_FCT.
-1: No TM command is active at the instant the variable is read.
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-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AC_TC_THNO
-
INT
Description:
$AC_TC_THNO
Number of the toolholder (specifically the spindle no.) to which the new
tool is to be loaded.
-1: No TM command is active at the instant the variable is read.
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
-
System variables
List Manual, 10/2020, 6FC5397-6AP40-6BA4
89
List of system variables
3.2 Channel-specific system variables
$AC_TC_THNO
-
INT
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AC_TC_TNO
-
INT
Description:
$AC_TC_TNO
NCK internal T number of the new (to be loaded) tool.
0: There is no new tool.
-1: No TM command is active at the instant the variable is read.
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-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AC_TC_MMYN
-
INT
Description:
$AC_TC_MMYN
Home magazine number of the new (to be loaded) tool.
0: There is no new tool, or the new tool (if $AC_TC_TNO> 0) is not loaded (manual tool).
-1: No TM command is active at the instant the variable is read.
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-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AC_TC_LMYN
-
INT
Description:
$AC_TC_LMYN
Home location number of the new (to be loaded) tool.
0: There is no new tool, or the new tool (if $AC_TC_TNO> 0) is not loaded (manual tool).
-1: No TM command is active at the instant the variable is read.
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
System variables
90
List Manual, 10/2020, 6FC5397-6AP40-6BA4
List of system variables
3.2 Channel-specific system variables
$AC_TC_LMYN
-
INT
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AC_TC_MFN
-
INT
Description:
$AC_TC_MFN
Source magazine number of the new tool.
0: There is no new tool.
-1: No TM command is active at the instant the variable is read.
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-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AC_TC_LFN
-
INT
Description:
$AC_TC_LFN
Source location number of the new tool.
0: There is no new tool.
-1: No TM command is active at the instant the variable is read.
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
-
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AC_TC_MTN
-
INT
Description:
$AC_TC_MTN
Target magazine number of the new tool.
0: There is no new tool.
-1: No TM command is active at the instant the variable is read.
Unit
Init value
Min
Max
-
0
-2147483648
2147483647
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
System variables
List Manual, 10/2020, 6FC5397-6AP40-6BA4
91
List of system variables
3.2 Channel-specific system variables
$AC_TC_MTN
-
INT
Read:
runin stp
X
7
X
7
-
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AC_TC_LTN
-
INT
Description:
$AC_TC_LTN
Target location number of the new tool.
0: There is no new tool.
-1: No TM command is active at the instant the variable is read.
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-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AC_TC_MFO
-
INT
Description:
$AC_TC_MFO
Source magazine number of the old (to be replaced) tool.
0: There is no old tool.
-1: No TM command is active at the instant the variable is read.
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-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AC_TC_LFO
-
INT
Description:
$AC_TC_LFO
Source location number of the old (to be replaced) tool.
0: There is no old tool.
-1: No TM command is active at the instant the variable is read.
Unit
Init value
Min
Max
-
0
-2147483648
2147483647
Read/Write properties:
System variables
92
List Manual, 10/2020, 6FC5397-6AP40-6BA4
List of system variables
3.2 Channel-specific system variables
$AC_TC_LFO
-
INT
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
$AC_TC_MTO
-
INT
Description:
$AC_TC_MTO
Target magazine number of the old (to be replaced) tool.
0: There is no old tool.
-1: No TM command is active at the instant the variable is read.
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-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AC_TC_LTO
-
INT
Description:
$AC_TC_LTO
Target location number of the old (to be replaced) tool.
0: There is no old tool.
-1: No TM command is active at the instant the variable is read.
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-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$A_YEAR
System time: year
INT
Description:
$A_YEAR
System time year
Unit
Init value
Min
Max
-
0
0
2147483647
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
System variables
List Manual, 10/2020, 6FC5397-6AP40-6BA4
93
List of system variables
3.2 Channel-specific system variables
$A_YEAR
System time: year
INT
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
$A_MONTH
System time: month
INT
Description:
$A_MONTH
System time month
Unit
Init value
Min
Max
-
0
1
12
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
$A_DAY
System time: day
INT
Description:
$A_DAY
System time day
Unit
Init value
Min
Max
-
0
1
31
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
$A_HOUR
System time: hour
INT
Description:
$A_HOUR
System time hour
Unit
Init value
Min
Max
-
0
0
24
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
94
List Manual, 10/2020, 6FC5397-6AP40-6BA4
List of system variables
3.2 Channel-specific system variables
$A_MINUTE
System time: minute
INT
Description:
$A_MINUTE
System time minute
Unit
Init value
Min
Max
-
0
0
60
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
$A_SECOND
System time: second
INT
Description:
$A_SECOND
System time second
Unit
Init value
Min
Max
-
0
0
60
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
$A_MSECOND
System time: millisec.
INT
Description:
$A_MSECOND
System time millisecond
Unit
Init value
Min
Max
-
0
0
1000
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
$AC_TIME
Time from block start
DOUBLE
Description:
Variable $AC_TIME determines the time from the block start in seconds.
Unit
Init value
Min
Max
-
0.0
0
1.8E+308
System variables
List Manual, 10/2020, 6FC5397-6AP40-6BA4
95
List of system variables
3.2 Channel-specific system variables
$AC_TIME
Time from block start
DOUBLE
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-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AC_TIMES
-
DOUBLE
Description:
$AC_TIMES
Time from block start (REAL) in seconds (excluding times for internally generated intermediate blocks).
Each programmed block can be divided into a sequence of sub-blocks for sequential processing.
$AC_TIMES is set to zero o_n_l_y during the 1st cycle of the 1st block in the sequence. It is then incremented in seconds. The variable therefore
allows time measurements to be taken over the whole block sequence.
The variable can be accessed only from synchronized actions.
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
0
X
7
-
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AC_TIMEC
Interpolation cycles since block start
DOUBLE
Description:
Variable $AC_TIMEC determines the number of interpolation cycles which have elapsed since the block start.
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
0
X
7
X
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AC_TIMESC
-
DOUBLE
Description:
$AC_TIMESC
Time from block start (Real) in IPO cycles (excluding cycles for internally generated intermediate blocks).
Each programmed block can be divided into a sequence of sub-blocks for sequential processing.
$AC_TIMESC is set to zero o_n_l_y during the 1st cycle of the 1st block in the sequence. It is then incremented in IPO cycles. The variable
therefore allows time measurements to be taken over the whole block sequence.
The variable can be accessed only from synchronized actions
Unit
Init value
Min
Max
System variables
96
List Manual, 10/2020, 6FC5397-6AP40-6BA4
List of system variables
3.2 Channel-specific system variables
$AC_TIMESC
-
DOUBLE
-
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
-
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AC_TIMER [1]
User timer
DOUBLE
Description:
Array variable $AC_TIMER[n] is an application-related timer. The time in seconds is counted in multiples of an interpolation cycle.
The timer is started by assigning a value:
$AC_TIMER[n]=<start value>
The timers can be stopped by assigning a negative value:
$AC_TIMER[n]=-1
The current timer count can be read while the time variable is running or stopped. When the time variable is stopped by assigning -1, the last
count value remains stored in the variable and can continue to be read.
Index 1:
The dimension is defined via $MC_MM_NUM_AC_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-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AC_PRTIME_M
Program run time (machining time)
DOUBLE
Description:
The variable $AC_PRTIME_M "ProgramRunTIME-Main" determines the machining time of the program runtime.
During the simulation, the anticipated processing time of the blocks in the part program is calculated, and made available in this system variable
and the OPI variable 'acPRTimeM'. This value is cleared by writing a value to the variable.
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:
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
List Manual, 10/2020, 6FC5397-6AP40-6BA4
97
List of system variables
3.2 Channel-specific system variables
$AC_PRTIME_A
Program run time (idle time)
DOUBLE
Description:
The variable $AC_PRTIME_A "ProgramRunTIME-Auxilary" determines the idle times for the program runtime.
During the simulation, the anticipated processing time (idle times) of the blocks in the part program is calculated, and made available in this
system variable and the OPI variable 'acPRTimeA'. This value is cleared by writing a value to the variable.
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:
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
$AC_PRTIME_M_INC
Increment ProgramRunTIME-Main
DOUBLE
Description:
The machining time in the program runtime can be incremented by writing the variable $AC_PRTIME_M_INC "ProgramRunTIME-Main-INCre-
ment"
During the simulation, the anticipated processing time of the blocks in the part program is calculated, and made available in the OPI variable
'acPRTimeM'. As certain times (e.g. PLC times) are not considered, the precalculated program runtime can be corrected by writing this variable
explicitly.
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:
-
-
0
-
0
-
Write:
X
X
7
-
0
X
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AC_PRTIME_A_INC
Increment ProgramRunTIME-Aux.
DOUBLE
Description:
The idle time in the program runtime can be incremented by writing to the variable $AC_PRTIME_A_INC "ProgramRunTIME-Auxilary-INCre-
ment".
During the simulation, the anticipated processing time of the blocks in the part program is calculated, and made available in the OPI variable
'acPRTimeM'. As certain times (e.g. PLC times) are not considered, the precalculated program runtime can be corrected by writing this variable
explicitly.
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:
-
-
0
-
0
-
Write:
X
X
7
-
0
X
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
System variables
98
List Manual, 10/2020, 6FC5397-6AP40-6BA4
List of system variables
3.2 Channel-specific system variables
$AC_PATHN
Normalized path parameter
DOUBLE
Description:
Variable $AC_PATHN is a normalized path parameter whose value varies between 0 at the block start and 1 at the block end.
Unit
Init value
Min
Max
-
0.0
0
1
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-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AC_DTBW
Distance from block start in WCS
DOUBLE
Description:
Variable $AC_DTBW determines the geometric distance from the block start in the workpiece coordinate system.
The programmed position is used to calculate the distance. If the axis is a coupled axis, the position component derived from the axis coupling
is not considered.
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
0
X
7
X
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AC_REPOS_PATH_MODE
-
INT
Description:
$AC_REPOS_PATH_MODE
Type of Repos mode
0
not defined.
1 == RMB Repos approach to start of interrupted block
2 == RMI Repos approach to interruption point in interrupted block
3 == RME Repos approach to end of interrupted block
4 == RMN Repos approach to next geometric point in interrupted block
The variable is defined if a REPOS command is currently being executed, or if
a new REPOS mode has been specified via the VDI.
Unit
Init value
Min
Max
-
0
-2147483648
4
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:
Program sensitive
Link:
Not classified
System variables
List Manual, 10/2020, 6FC5397-6AP40-6BA4
99
List of system variables
3.2 Channel-specific system variables
$AC_DTBB
Distance from block start in BCS
DOUBLE
Description:
Variable $AC_DTBB determines the geometric distance from the block start in the basic coordinate system.
The programmed position is used to calculate the distance. If the axis is a coupled axis, the position component derived from the axis coupling
is not considered.
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
0
X
7
X
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AC_DTEW
Distance from block end in WCS
DOUBLE
Description:
Variable $AC_DTEW determines the geometric distance from the block end in the workpiece coordinate system.
The programmed position is used to calculate the distance. If the axis is a coupled axis, the position component derived from the axis coupling
is not considered.
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
0
X
7
X
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AC_DTEB
Distance from block end in BCS
DOUBLE
Description:
Variable $AC_DTEB determines the geometric distance from the block end in the basic coordinate system.
The programmed position is used to calculate the distance. If the axis is a coupled axis, the position component derived from the axis coupling
is not considered.
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
0
X
7
X
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
System variables
100
List Manual, 10/2020, 6FC5397-6AP40-6BA4
List of system variables
3.2 Channel-specific system variables
$AC_PLTBB
Path from block start in BCS
DOUBLE
Description:
Variable $AC_PLTBB determines the path from the block start in the basic coordinate system.
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
0
X
7
X
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AC_PLTEB
Path to block end in BCS
DOUBLE
Description:
Variable $AC_PLTEB determines the path to the block end in the basic coordinate system.
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
0
X
7
X
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AC_DELT
Path distance to go in WCS
DOUBLE
Description:
Variable $AC_DELT is used to read the stored path distance to go in the workpiece coordinate system after
delete distance to go in motion-synchronous actions.
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
X
7
X
7
X
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$P_APDV
Position values for SAR are valid
BOOL
Description:
$P_APDV
Returns True if the position values which can be read with $P_APR[X] or $P_AEP[X]
(respectively starting point or contour point in the case of smooth approach
and retraction) are valid.
Unit
Init value
Min
Max
System variables
List Manual, 10/2020, 6FC5397-6AP40-6BA4
101
List of system variables
3.2 Channel-specific system variables
$P_APDV
Position values for SAR are valid
BOOL
-
FALSE
FALSE
TRUE
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
-
7
-
0
-
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$P_F
Programmed path feed
DOUBLE
Description:
Variable $P_F is used to read the last programmed path feed F.
Unit
Init value
Min
Max
mm/min
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:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AC_F
Active programmed path feed
DOUBLE
Description:
Variable $AC_F is used to read the active programmed path feed F.
Unit
Init value
Min
Max
mm/min
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:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AC_F_G0
Max. rapid traverse in block
DOUBLE
Description:
Variable $AC_F_G0 returns the maximum rapid traverse velocity in the block.
Unit
Init value
Min
Max
mm/min
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:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
System variables
102
List Manual, 10/2020, 6FC5397-6AP40-6BA4
List of system variables
3.2 Channel-specific system variables
$AC_OVR
Path override can be specified via synchronized action
DOUBLE
Description:
The variable $AC_OVR determines the path override specifiable via synchronized action. The path override must be set by assigning a value
cyclically to $AC_OVR in each interpolation cycle. Otherwise $AC_OVR is reset to 100%.
The total path override can be read via $AC_TOTAL_OVR.
The total path override without the programmable override (e.g. OVR = 10) is limited to the maximum value defined by the machine data
$MN_OVR_FACTOR_LIMIT_BIN or $MN_OVR_FACTOR_FEEDRATE[30]. Values less than 0 are not allowed.
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:
-
X
0
-
0
X
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AC_PLC_OVR
PLC override
DOUBLE
Description:
The variable $AC_PLC_OVR determines the path override defined by the PLC. This is the feedrate override that is set via the Machine Control
Panel.
The rapid traverse override (settable on the Machine Control Panel) is effective with G0 blocks. If the rapid traverse reduction has been activated
via the operator interface, then, with G0 blocks, $SC_OVR_RAPID_FACTOR is also taken into account multiplicatively.
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
0
X
7
X
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AC_TOTAL_OVR
Overall path override
DOUBLE
Description:
The variable $AC_TOTAL_OVR supplies the total path override. The value is calculated from the override from the PLC, the synchronized action
override ($AC_OVR) and the programmable override (e.g. OVR = 10).
$AC_TOTAL_OVR = $AC_PLC_OVR * $AC_OVR * OVR /10000.
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
0
X
7
X
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
System variables
List Manual, 10/2020, 6FC5397-6AP40-6BA4
103
List of system variables
3.2 Channel-specific system variables
$AC_VC
Additive path feed override
DOUBLE
Description:
$AC_VC
Additive path feed override for synchronized actions
The override value must be rewritten in every Ipo cycle or else a value of 0 is applied.
The override value is ignored with an override of 0. Otherwise, the override value is applied independently of the override.
The total feedrate cannot be made negative by an override value.
An upper limit is applied to ensure that the maximum axis velocities and acceleration rates cannot be exceeded. The maximum feedrate is
limited by $MN_OVR_FACTOR_LIMIT_BIN, $MN_OVR_FACTOR_FEEDRATE[0-30] and $MN_PERMANENT_FEED[0-3] (see machine data).
The override value is not included in the calculation in the case of G0, G33, G331, G332 and G63.
The variable can be accessed only from synchronized actions.
Unit
Init value
Min
Max
Linear / angular speed
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
-
0
X
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AC_PATHACC
Path acceleration for real-time events
DOUBLE
Description:
$AC_PATHACC
Defines an increased path acceleration for override changes and stop/start events.
$AC_PATHACC is taken into account only if the value is higher than the prepared acceleration limit.
A value of 0 deselects the function.
Values which cause machine axis acceleration rates twice the rate configured in $MA_MAX_AX_ACCEL[..] are limited internally.
Unit
Init value
Min
Max
m/s²
0.0
0.
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-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AC_PATHJERK
Path jerk for real-time events
DOUBLE
Description:
$AC_PATHJERK
Defines an increased path jerk for override changes and stop/start events.
$AC_PATHJERK is taken into account only if the value is higher than the prepared jerk limit.
A value of 0 deselects the function.
Unit
Init value
Min
Max
m/s³
0.0
0.
1.8E+308
Read/Write properties:
System variables
104
List Manual, 10/2020, 6FC5397-6AP40-6BA4
List of system variables
3.2 Channel-specific system variables
$AC_PATHJERK
Path jerk for real-time events
DOUBLE
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-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AC_VACTB
Path velocity of geometry axes
DOUBLE
Description:
$AC_VACTB
Path velocity in the basic coordinate system.
The velocity is calculated from the velocities of the geometry axes - independent of FGROUP.
The variable can be accessed only from synchronized actions
Unit
Init value
Min
Max
Linear / angular speed
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:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AC_VACTW
WCS path velocity of geometry axes
DOUBLE
Description:
$AC_VACTW
Path velocity in the workpiece coordinate system
The velocity is calculated from the velocities of the geometry axes - independent of FGROUP.
The variable can be accessed only from synchronized actions
Unit
Init value
Min
Max
Linear / angular speed
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:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$P_S [n]
Programmed spindle speed
DOUBLE
Description:
$P_S[n]
n: Number of spindle
Last programmed spindle speed
Index 1:
n: Spindle number (0 ... max. spindle number)
Unit
Init value
Min
Max
rpm
0.0
0
1.8E+308
System variables
List Manual, 10/2020, 6FC5397-6AP40-6BA4
105
List of system variables
3.2 Channel-specific system variables
$P_S [n]
Programmed spindle speed
DOUBLE
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
-
7
-
0
-
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AA_S [1]
Current spindle speed
DOUBLE
Description:
$AA_S[n]
n: Number of spindle
Actual spindle speed. The sign corresponds to the direction of rotation.
Index 1:
n: Spindle number (0 ... max. spindle number)
Unit
Init value
Min
Max
rpm
0.0
0
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-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$P_CONSTCUT_S [n]
Programmed cutting rate
DOUBLE
Description:
$P_CONSTCUT_S[n]
n: Number of spindle
Last programmed constant cutting rate
Index 1:
n: Spindle number (0 ... max. spindle number)
Unit
Init value
Min
Max
m/min
0.0
0
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:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AC_CONSTCUT_S [n]
Current constant cutting rate
DOUBLE
Description:
$AC_CONSTCUT_S[n]
n: Number of spindle
Current constant cutting rate.
Index 1:
n: Spindle number (0 ... max. spindle number)
Unit
Init value
Min
Max
System variables
106
List Manual, 10/2020, 6FC5397-6AP40-6BA4
List of system variables
3.2 Channel-specific system variables
$AC_CONSTCUT_S [n]
Current constant cutting rate
DOUBLE
m/min
0.0
0
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-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$P_SEARCH_S [n]
Search run: speed, cutting rate
DOUBLE
Description:
$P_SEARCH_S[n]
n: Number of spindle
Last programmed spindle speed collected during block search or cutting rate
Index 1:
n: Spindle number (0 ... max. spindle number)
Unit
Init value
Min
Max
rpm
0.0
0
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:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$P_SDIR [n]
Programmed direction of spindle rotation
INT
Description:
$P_SDIR[n]
n: Number of spindle
Programmed direction of spindle rotation in part program
3: CW spindle rotation, 4: CCW spindle rotation, 5: Spindle stop
Index 1:
n: Spindle number (0 ... max. spindle number)
Unit
Init value
Min
Max
-
0
3
5
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
-
7
-
0
-
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
System variables
List Manual, 10/2020, 6FC5397-6AP40-6BA4
107
List of system variables
3.2 Channel-specific system variables
$AC_SDIR [n]
Current direction of spindle rotation within the mean-
INT
ing of M3/M4/M5
Description:
$AC_SDIR[n]
n: Number of spindle
Current direction of spindle rotation within the meaning of M3/M4/M5 in the part program, synchronized actions, PLC FC18, PLC DBB30.
3: CW spindle rotation, 4: CCW spindle rotation, 5: Spindle stop
Index 1:
n: Spindle number (0 ... max. spindle number)
Unit
Init value
Min
Max
-
0
3
5
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
$P_SEARCH_SDIR [n]
Block search: programmed direction of spindle rotation
INT
in part program
Description:
$P_SEARCH_SDIR[n]
n: Number of spindle
Last programmed direction of spindle rotation collected during block search
3: M3 CW spindle rotation
4: M4 CCW spindle rotation
5: M5 Spindle stop
-19: M19, SPOS, SPOSA spindle positioning, position and approach mode
is read from SEARCH variables
70: M70 Changeover to axis mode
-5: No direction of rotation programmed, not output.
Index 1:
n: Spindle number (0 ... max. spindle number)
Unit
Init value
Min
Max
-
0
3
70
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
-
7
-
0
-
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
System variables
108
List Manual, 10/2020, 6FC5397-6AP40-6BA4
List of system variables
3.2 Channel-specific system variables
$P_SMODE [n]
Spindle mode
INT
Description:
$P_SMODE[n]
n: Number of spindle
The spindle mode resulting from the last spindle programming action is returned.
0: No spindle programmed in channel, or spindle is active in another channel, or
is being used by the PLC (FC18) or synchronized actions.
1: Speed control mode
2: Positioning mode
3: Synchronous mode
4: Axis mode
Index 1:
n: Spindle number (0 ... max. spindle number)
Unit
Init value
Min
Max
-
0
0
4
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
-
7
-
0
-
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AC_SMODE [n]
Current spindle mode
INT
Description:
$AC_SMODE[n]
n: Number of spindle
Current spindle mode:
0: No spindle programmed in channel
1: Speed control mode
2: Positioning mode
3: Synchronous mode
4: Axis mode
Index 1:
n: Spindle number (0 ... max. spindle number)
Unit
Init value
Min
Max
-
0
0
4
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
List Manual, 10/2020, 6FC5397-6AP40-6BA4
109
List of system variables
3.2 Channel-specific system variables
$P_SGEAR [n]
Spindle: set gear stage
INT
Description:
$P_SGEAR[n]
n: Number of spindle
Spindle gear stage last programmed or requested by S programming in the case of M40
1: 1. Gear stage requested
5: 5. Gear stage requested
Index 1:
n: Spindle number (0 ... max. spindle number)
Unit
Init value
Min
Max
-
0
1
5
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
-
7
-
0
-
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AC_SGEAR [n]
Active spindle gear stage
INT
Description:
$AC_SGEAR[n]
n: Number of spindle
Active spindle gear stage
1: 1. Gear stage is active
5: 5. Gear stage is active
Index 1:
n: Spindle number (0 ... max. spindle number)
Unit
Init value
Min
Max
-
0
1
5
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
$P_SAUTOGEAR [n]
Automatic gear stage change
INT
Description:
$P_SAUTOGEAR[n]
n: Number of spindle
Automatic gear stage change (M40) is programmed.
0: Gear stages are requested by M41..M45
1: Gear stage is calculated and requested according to programmed speed (S)
(M40 automatic gear stage change is active)
Index 1:
n: Spindle number (0 ... max. spindle number)
System variables
110
List Manual, 10/2020, 6FC5397-6AP40-6BA4
List of system variables
3.2 Channel-specific system variables
$P_SAUTOGEAR [n]
Automatic gear stage change
INT
Unit
Init value
Min
Max
-
0
0
1
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
-
7
-
0
-
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$P_SEARCH_SGEAR [n]
Search run: Gear stage M code
INT
Description:
$P_SEARCH_SGEAR[n]
n: Number of spindle
Last programmed gear stage M function collected during block search
40: M40 automatic gear stage change
41: M41 1st gear stage requested
45: M45 5th gear stage requested
Index 1:
n: Spindle number (0 ... max. spindle number)
Unit
Init value
Min
Max
-
0
1
5
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
-
7
-
0
-
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$P_SEARCH_SPOS [n]
Search run: Spindle position, path
DOUBLE
Description:
$P_SEARCH_SPOS[n]
n: Number of spindle
Spindle position or traversing path last programmed via M19, SPOS or SPOSA and collected during block search.
Position: 0...359,999 if the value in MD 30330 MODULO_RANGE is 360.0 degrees
Path: -100000000 ... 100000000 degrees. The sign specifies the direction of travel.
Index 1:
n: Spindle number (0 ... max. spindle number)
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
-
0
-
Write:
X
-
7
-
0
-
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
System variables
List Manual, 10/2020, 6FC5397-6AP40-6BA4
111
List of system variables
3.2 Channel-specific system variables
$P_SEARCH_SPOSMODE [n]
Search run: Position approach mode
INT
Description:
$P_SEARCH_SPOSMODE[n]
n: Number of spindle
Position approach mode last programmed via M19, SPOS or SPOSA and collected during block search.
0: DC
1: AC
2: IC
3: DC
4: ACP
5: ACN
Index 1:
n: Spindle number (0 ... max. spindle number)
Unit
Init value
Min
Max
-
0
0
5
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:
Not classified
$P_NUM_SPINDLES
Number of spindles in channel
INT
Description:
$P_NUM_SPINDLES
Calculates the maximum number of spindles in the channel
0: No spindle programmed in channel.
1..n: Number of spindles in channel.
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:
-
-
0
-
0
-
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$P_MSNUM
Number of master spindle
INT
Description:
$P_MSNUM
Returns the number of the master spindle.
0: No spindle programmed in channel
1..n: Number of master spindle
Unit
Init value
Min
Max
-
0
-2147483648
2147483647
Read/Write properties:
System variables
112
List Manual, 10/2020, 6FC5397-6AP40-6BA4
List of system variables
3.2 Channel-specific system variables
$P_MSNUM
Number of master spindle
INT
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
X
-
7
-
0
-
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AC_MSNUM
Number of master spindle
INT
Description:
$AC_MSNUM
Returns the number of the current master spindle.
0: No spindle configured
1..n: Number of master spindle
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-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$P_MTHNUM
-
INT
Description:
$P_MTHNUM - meaningful only when magazine management is active
Returns the number of the master toolholder.
0: No master toolholder configured
1..n: Number of master toolholder
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:
-
-
0
-
0
-
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AC_MTHNUM
-
INT
Description:
$AC_MTHNUM - meaningful only when magazine management is active
Returns the number of the current master toolholder:
0: No master toolholder configured
1..n: Number of master toolholder
Unit
Init value
Min
Max
-
0
-2147483648
2147483647
System variables
List Manual, 10/2020, 6FC5397-6AP40-6BA4
113
List of system variables
3.2 Channel-specific system variables
$AC_MTHNUM
-
INT
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
$P_GWPS [31]
Constant grinding wheel peripheral speed active
BOOL
Description:
$P_GWPS[n]
Constant grinding wheel surface speed ON if TRUE
Index 1:
n: Spindle number
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:
-
-
0
-
0
-
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AC_FCT1LL
Lower limit for 1st polynomial function
DOUBLE
Description:
Variable $AC_FCT1LL is used to define the lower limit for the first polynomial function.
The polynomial function can also be defined by FCTDEF(polynomial no., lower limit, upper limit, a0, a1, a2, a3).
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
-
0
X
Write:
runin stp
X
7
-
0
X
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AC_FCT2LL
Lower limit for 2nd polynomial function
DOUBLE
Description:
Variable $AC_FCT2LL is used to define the lower limit for the second polynomial function.
The polynomial function can also be defined by FCTDEF(polynomial no., lower limit, upper limit, a0, a1, a2, a3).
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
-
0
X
Write:
runin stp
X
7
-
0
X
System variables
114
List Manual, 10/2020, 6FC5397-6AP40-6BA4
List of system variables
3.2 Channel-specific system variables
$AC_FCT2LL
Lower limit for 2nd polynomial function
DOUBLE
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AC_FCT3LL
Lower limit for 3rd polynomial function
DOUBLE
Description:
Variable $AC_FCT3LL is used to define the lower limit for the third polynomial function.
The polynomial function can also be defined by FCTDEF(polynomial no., lower limit, upper limit, a0, a1, a2, a3).
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
-
0
X
Write:
runin stp
X
7
-
0
X
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AC_FCT1UL
Upper limit for 1st polynomial function
DOUBLE
Description:
Variable $AC_FCT1UL is used to define the upper limit for the first polynomial function.
The polynomial function can also be defined by FCTDEF(polynomial no., lower limit, upper limit, a0, a1, a2, a3).
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-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AC_FCT2UL
Upper limit for 2nd polynomial function
DOUBLE
Description:
Variable $AC_FCT2UL is used to define the upper limit for the second polynomial function.
The polynomial function can also be defined by FCTDEF(polynomial no., lower limit, upper limit, a0, a1, a2, a3).
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-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
System variables
List Manual, 10/2020, 6FC5397-6AP40-6BA4
115
List of system variables
3.2 Channel-specific system variables
$AC_FCT3UL
Upper limit for 3rd polynomial function
DOUBLE
Description:
Variable $AC_FCT3UL is used to define the upper limit for the third polynomial function.
The polynomial function can also be defined by FCTDEF(polynomial no., lower limit, upper limit, a0, a1, a2, a3).
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-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AC_FCT1C [4]
Coefficients for 1st polynomial function
DOUBLE
Description:
Array variable $AC_FCT1C[n] is used to program polynomial coefficients a0 - a3 for the first polynomial function.
The polynomial function can also be defined by FCTDEF(polynomial no., lower limit, upper limit, a0, a1, a2, a3).
Index 1:
n: Degree of order of coefficient 0 - 3
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
-
0
X
Write:
runin stp
X
7
-
0
X
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AC_FCT2C [4]
Coefficients for 2nd polynomial function
DOUBLE
Description:
Array variable $AC_FCT2C[n] is used to program polynomial coefficients a0 - a3 for the second polynomial function.
The polynomial function can also be defined by FCTDEF(polynomial no., lower limit, upper limit, a0, a1, a2, a3).
Index 1:
n: Degree of order of coefficient 0 - 3
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
-
0
X
Write:
runin stp
X
7
-
0
X
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
System variables
116
List Manual, 10/2020, 6FC5397-6AP40-6BA4
List of system variables
3.2 Channel-specific system variables
$AC_FCT3C [4]
Coefficients for 3rd polynomial function
DOUBLE
Description:
Array variable $AC_FCT3C[n] is used to program polynomial coefficients a0 - a3 for the third polynomial function.
The polynomial function can also be defined by FCTDEF(polynomial no., lower limit, upper limit, a0, a1, a2, a3).
Index 1:
n: Degree of order of coefficient 0 - 3
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
-
0
X
Write:
runin stp
X
7
-
0
X
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AC_FCTLL [n]
Lower limit of polynomial functions
DOUBLE
Description:
Array variable $AC_FCTLL[n] is used to define the lower limit for the nth polynomial function.
The polynomial function can also be defined by FCTDEF(polynomial no., lower limit, upper limit, a0, a1, a2, a3).
n: Number of the polynomial
Index 1:
The dimension is configured via $MC_MM_NUM_FCTDEF_ELEMENTS.
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-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AC_FCTUL [n]
Upper limit of polynomial functions
DOUBLE
Description:
Array variable $AC_FCTUL[n] is used to define the upper limit for the nth polynomial function.
The polynomial function can also be defined by FCTDEF(polynomial no., lower limit, upper limit, a0, a1, a2, a3).
n: Number of the polynomial
Index 1:
The dimension is configured via $MC_MM_NUM_FCTDEF_ELEMENTS.
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-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
System variables
List Manual, 10/2020, 6FC5397-6AP40-6BA4
117
List of system variables
3.2 Channel-specific system variables
$AC_FCT0 [n]
1st coefficient of polynomial functions
DOUBLE
Description:
Array variable $AC_FCT0[n] is used to program the a0 coefficient for the nth polynomial function.
The polynomial function can also be defined by FCTDEF(polynomial no., lower limit, upper limit, a0, a1, a2, a3).
n: Number of the polynomial
Index 1:
The dimension is configured via $MC_MM_NUM_FCTDEF_ELEMENTS.
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-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AC_FCT1 [n]
2nd coefficient of polynomial functions
DOUBLE
Description:
Array variable $AC_FCT1[n] is used to program the a1 coefficient for the nth polynomial function.
The polynomial function can also be defined by FCTDEF(polynomial no., lower limit, upper limit, a0, a1, a2, a3).
n: Number of the polynomial
Index 1:
The dimension is configured via $MC_MM_NUM_FCTDEF_ELEMENTS.
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-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AC_FCT2 [n]
3rd coefficient of polynomial functions
DOUBLE
Description:
Array variable $AC_FCT2[n] is used to program the a2 coefficient for the nth polynomial function.
The polynomial function can also be defined by FCTDEF(polynomial no., lower limit, upper limit, a0, a1, a2, a3).
n: Number of the polynomial
Index 1:
The dimension is configured via $MC_MM_NUM_FCTDEF_ELEMENTS.
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-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
System variables
118
List Manual, 10/2020, 6FC5397-6AP40-6BA4
List of system variables
3.2 Channel-specific system variables
$AC_FCT3 [n]
4th coefficient of polynomial functions
DOUBLE
Description:
Array variable $AC_FCT3[n] is used to program the a3 coefficient for the nth polynomial function.
The polynomial function can also be defined by FCTDEF(polynomial no., lower limit, upper limit, a0, a1, a2, a3).
n: Number of the polynomial
Index 1:
The dimension is configured via $MC_MM_NUM_FCTDEF_ELEMENTS.
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-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AC_ALARM_STAT
Alarm responses
INT
Description:
Variable $AC_ALARM_STAT returns selected alarm responses.
The following bits are possible:
0x04 Channel status NOREADY
0x40 Stop due to alarm
0x200 Signal to PLC
0x11 Axes in follow-up
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-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AN_ESR_TRIGGER
ESR trigger
BOOL
Description:
$AN_ESR_TRIGGER = 1
Trigger "Extended stop and retract"
Unit
Init value
Min
Max
-
FALSE
FALSE
TRUE
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
-
X
0
X
7
X
Write:
-
X
0
-
0
X
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
System variables
List Manual, 10/2020, 6FC5397-6AP40-6BA4
119
List of system variables
3.2 Channel-specific system variables
$AC_ESR_TRIGGER
ESR trigger
BOOL
Description:
$AC_ESR_TRIGGER = 1
Trigger "numerically controlled ESR"
Unit
Init value
Min
Max
-
FALSE
FALSE
TRUE
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
-
X
0
X
7
X
Write:
-
X
0
-
0
X
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AC_OPERATING_TIME
Operating time of NC programs in AUTOMATIC mode
DOUBLE
Description:
$AC_OPERATING_TIME measures the total operating time of all NC programs in AUTOMATIC mode between NC Start and end of program / NC
Reset (in seconds).
The measurement can be activated with channel MD 27860 $MC_PROCESSTIMER_MODE:
Bit 0 = 1 $AC_OPERATING_TIME measurement is active.
The following measurement conditions can be selected:
Bit 4 = 0 No measurement when dry run feed is active
Bit 4 = 1 Measurement even when dry run feed is active
Bit 5 = 0 No measurement during program test
Bit 5 = 1 Measurement even during program test
Bit 9 = 0 No measurement when override is 0%
Bit 9 = 1 Measurement even when override is 0%0
Use in NC program:
IF $AC_OPERATING_TIME < 12000 GOTOB STARTMARK
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:
Not classified
Link:
No restrictions
System variables
120
List Manual, 10/2020, 6FC5397-6AP40-6BA4
List of system variables
3.2 Channel-specific system variables
$AC_CYCLE_TIME
Execution time of the selected NC program
DOUBLE
Description:
$AC_CYCLE_TIME measures the operating time of the selected NC program between NC Start
and end of program/NC Reset (in seconds).
The timer is cleared at each program start.
The measurement can be activated using channel MD 27860 $MC_PROCESSTIMER_MODE:
Bit 1 = 1 $AC_CYCLE_TIME measurement of current program runtime is active.
The following measurement conditions can be selected:
Bit 4 = 0 No measurement when dry run feed is active
Bit 4 = 1 Measurement even when dry run feed is active
Bit 5 = 0 No measurement during program test
Bit 5 = 1 Measurement even during program test
Bit 6 = 0 Cleared even with start by ASUB and PROG_EVENTs
Bit 6 = 1 Not cleared with start by ASUB and PROG_EVENTs
Bit 8 = 0 Not cleared by a jump to program start with GOTOS
Bit 8 = 1 Cleared by a jump to program start with GOTOS
Bit 9 = 0 No measurement when override is 0%
Bit 9 = 1 Measurement even when override is 0%
Use in NC program:
IF $AC_CYCLE_TIME> 2400 GOTOF ALARM01
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:
Not classified
Link:
No restrictions
System variables
List Manual, 10/2020, 6FC5397-6AP40-6BA4
121
List of system variables
3.2 Channel-specific system variables
$AC_CUTTING_TIME
Machining time
DOUBLE
Description:
$AC_CUTTING_TIME is used to measure the machining time (in seconds).
This time is defined as the operating time of the path axes (at least one is active)
excluding periods when rapid traverse is active in all NC programs between NC Start and end of program / NC Reset
optionally including/not including active tool.
The measurement is also interrupted whenever a dwell time is active.
The timer is automatically reset to zero each time the control boots with default values.
The measurement can be activated using channel MD 27860 $MC_PROCESSTIMER_MODE:
Bit 2 = 1 $AC_CUTTING_TIME measurement is active.
The following measurement conditions can be selected:
Bit 4 = 0 No measurement when dry run feed is active
Bit 4 = 1 Measurement even when dry run feed is active
Bit 5 = 0 No measurement during program test
Bit 5 = 1 Measurement even during program test
Bit 7 = 0 Measurement only with active tool
Bit 7 = 1 Measurement runs irrespective of the tool
Use in NC program:
IF $AC_CUTTING_TIME> 6000 GOTOF ACT_M06
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:
Not classified
Link:
No restrictions
$AC_REQUIRED_PARTS
Definition of the number of required workpieces
DOUBLE
Description:
$AC_REQUIRED_PARTS can be used to define the number of workpieces
which, when reached, causes the number of actual workpieces $AC_ACTUAL_PARTS
to be reset (workpiece target).
Channel MD 27880 $MC_PART_COUNTER can be used to activate the
display alarm "workpiece target reached" and channel VDI signal "workpiece target reached":
Bit 0 = 1: $AC_REQUIRED_PARTS counter is active
Further meaning of bit 1 only when bit 0 = 1:
Bit 1 = 0: Alarm/VDI output when $AC_ACTUAL_PARTS matches $AC_REQUIRED_PARTS
Bit 1 = 1: Alarm/VDI output when $AC_SPECIAL_PARTS matches $AC_REQUIRED_PARTS
Use in NC program:
$AC_REQUIRED_PARTS = ACTUAL_LOS
e.g. for defining a batch size, a daily production output ...
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
122
List Manual, 10/2020, 6FC5397-6AP40-6BA4
List of system variables
3.2 Channel-specific system variables
$AC_REQUIRED_PARTS
Definition of the number of required workpieces
DOUBLE
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:
No restrictions
$AC_TOTAL_PARTS
Total number of all machined workpieces
DOUBLE
Description:
The $AC_TOTAL_PARTS counter indicates the number of all workpieces machined since the start time.
The counter is incremented by 1 when the MC command defined in channel MD 27882$MC_PART_COUNTER_MCODE[0] is output to the PLC.
The counter is automatically reset only when the control boots with default values.
Channel MD 27880 $MC_PART_COUNTER can be used to activate the timer:
Bit 4 = 1: $AC_TOTAL_PARTS counter is active
Further meaning of bits 5-6 only when bit 4 = 1:
Bit 5 = 0: The $AC_TOTAL_PARTS counter is incremented by 1 on a VDI output of M02/M30
Bit 5 = 1: The $AC_TOTAL_PARTS counter is incremented by 1 when the M command from MD PART_COUNTER_MCODE[0] is output.
Bit 6 = 0: $AC_TOTAL_PARTS active even during program test/block search
Bit 6 = 1: No processing of $AC_TOTAL_PARTS during program test/block search
Use in NC program:
IF $AC_TOTAL_PARTS> SERVICE_COUNT GOTOF MARK_END
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
X
7
X
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
No restrictions
$AC_ACTUAL_PARTS
Number of workpieces currently machined
DOUBLE
Description:
The $AC_ACTUAL_PARTS counter records the number of all workpieces machined since the start time.
When the workpiece target is reached ($AC_REQUIRED_PARTS), the counter is automatically reset ($AC_REQUIRED_PARTS not equal to 0).
The counter is incremented by 1 when the MC command defined in channel MD 27882$MC_PART_COUNTER_MCODE[1] is output to the PLC.
The counter is automatically reset only when the control boots with default values.
Channel MD 27880 $MC_PART_COUNTER can be used to activate the timer:
Bit 4 = 1: $AC_TOTAL_PARTS counter is active
Further meaning of bits 5-6 only when bit 4 = 1:
Bit 5 = 0: The $AC_TOTAL_PARTS counter is incremented by 1 on a VDI output of M02/M30
Bit 5 = 1: The $AC_TOTAL_PARTS counter is incremented by 1 when the M command from MD PART_COUNTER_MCODE[0] is output.
Bit 6 = 0: $AC_TOTAL_PARTS active even during program test/block search
Bit 6 = 1: No processing of $AC_TOTAL_PARTS during program test/block search
Use in NC program:
IF $AC_ACTUAL_PARTS == 0 GOTOF NEW_RUN
Unit
Init value
Min
Max
-
0.0
-1.8E+308
1.8E+308
System variables
List Manual, 10/2020, 6FC5397-6AP40-6BA4
123
List of system variables
3.2 Channel-specific system variables
$AC_ACTUAL_PARTS
Number of workpieces currently machined
DOUBLE
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:
No restrictions
$AC_SPECIAL_PARTS
Number of workpieces counted by user
DOUBLE
Description:
The $AC_SPECIAL_PARTS counter allows the user to apply his own strategy for counting workpieces.
Channel MD 27880 $MC_PART_COUNTER can be used to activate the timer:
Bit 12 = 1: $AC_SPECIAL_PARTS counter is active
Further meaning of bits 13-15 only when bit 12 = 1:
Bit 13 = 0: The $AC_SPECIAL_PARTS counter is incremented by 1 on a VDI output of M02/M30
Bit 13 = 1: The $AC_SPECIAL_PARTS counter is incremented by 1 when the M command from MD PART_COUNTER_MCODE[2] is output.
Bit 14 = 0: $AC_SPECIAL_PARTS active even during program test/block search
Bit 14 = 1: No processing of $AC_SPECIAL_PARTS during program test/block search
Use in NC program:
$AC_SPECIAL_PARTS = R20
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
X
7
X
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
No restrictions
$AC_G0MODE
Path traversal with G0
INT
Description:
$AC_G0MODE
0: G0 not active
1: G0 and linear interpolation active
2: G0 and non-linear interpolation active.
The response of the path axes to G0 depends on machine data
$MC_G0_LINEAR_MODE (Siemens mode) or $MC_EXTERN_G0_LINEAR_MODE
(ISO mode):
With linear interpolation, the path axes traverse together,
With non-linear interpolation, the path axes are traversed
as positioning axes.
Unit
Init value
Min
Max
-
0
0
2
Read/Write properties:
TP
SA
TP/SA safety
NC-Variable
Safety
OEM-CC
Read:
-
X
0
X
7
X
System variables
124
List Manual, 10/2020, 6FC5397-6AP40-6BA4
List of system variables
3.2 Channel-specific system variables
$AC_G0MODE
Path traversal with G0
INT
Write:
-
-
0
-
0
-
Axis entry:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AC_MEAS_SEMA
Semaphore to measurement interface
INT
Description:
Variable for workpiece and tool measurement.
Variable $AA_MEAS_SEMA is used to synchronize measuring processes. The variable should be set to 1 before each assignment of the meas-
urement interface and set to 0 when releasing it. Only one measurement interface is available for each channel and should be assigned only
if the $AC_MEAS_SEMA contains the value 0.
Application:
if ($AC_MEAS_SEMA == 0)
$AC_MEAS_SEMA = 1 ; Assign measurement interface
endif
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:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AC_MEAS_LATCH [4]
Unlatch measuring points
INT
Description:
Variable for workpiece and tool measurement.
Axial variable $AA_MEAS_LATCH[n] is used to unlatch all current axis positions with reference to a selected coordinate system. Variable
$AC_MEAS_P1_COORD is used to select the coordinate system. $AC_MEAS_P4_COORD.
Application:
$AA_MEAS_LATCH[0] = 1
; Unlatch 1st measuring point of all axes
$AA_MEAS_LATCH[1] = 1
; Unlatch 2nd measuring point of all axes
$AA_MEAS_LATCH[2] = 1
; Unlatch 3rd measuring point of all axes
$AA_MEAS_LATCH[3] = 1
; Unlatch 4th measuring point of all axes
The unlatched measuring point is stored in $AA_MEAS_POINT1[ax].
Index 1:
0: 1st measuring point, .. , 3: 4th measuring point
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:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
System variables
List Manual, 10/2020, 6FC5397-6AP40-6BA4
125
List of system variables
3.2 Channel-specific system variables
$AC_MEAS_P1_COORD
Coordinate system 1st measuring point
INT
Description:
Variable for workpiece and tool measurement.
Variable $AC_MEAS_P1_COORD is used to set the coordinate system frame for the 1st measuring point.
Application:
$AC_MEAS_P1_COORD = 0 ; WCS
$AC_MEAS_P1_COORD = 1 ; BCS
$AC_MEAS_P1_COORD = 2 ; MCS
$AC_MEAS_P1_COORD = 3 ; SZS
Unit
Init value
Min
Max
-
0
0
3
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:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
$AC_MEAS_P2_COORD
Coordinate system 2nd measuring point
INT
Description:
Variable for workpiece and tool measurement.
Variable $AC_MEAS_P2_COORD is used to set the coordinate system frame for the 2nd measuring point.
Application:
$AC_MEAS_P2_COORD = 0 ; WCS
$AC_MEAS_P2_COORD = 1 ; BCS
$AC_MEAS_P2_COORD = 2 ; MCS
$AC_MEAS_P2_COORD = 3 ; SZS
Unit
Init value
Min
Max
-
0
0
3
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:
Overlap chan-
channel-specific
nel:
Scan mode:
Not classified
Link:
Not classified
System variables
126
List Manual, 10/2020, 6FC5397-6AP40-6BA4

 

 

 

 

 

 

 

Content      ..     91      92      93      94     ..