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

 

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

 

Search            copyright infringement  

 

   

 

   

 

Content      ..     61      62      63      64     ..

 

 

 

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

 

 

NC variables
3.2 NC variable descriptions
incoapI (C, S)
$P_INCOAP_I
Addressing
Line index:
Max. line index:
$$incoapSize[3]
Read access and write access
incoapR (C, S)
$P_INCOAP_R
DOUBLE parameter(s) of the cutting generator
DOUBLE supply and return parameter(s) of the COA application cutting generator
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_DOUBLE
0
Addressing
Line index:
Max. line index:
$$incoapSize[4]
Read access and write access
incoapS16 (C, S)
$P_INCOAP_S16[]
CHAR16 parameter(s) of the cutting generator
CHAR16 supply and return parameter(s) of the COA application cutting generator
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_STRING
0
Addressing
Line index:
Max. line index:
$$incoapSize[5]
Read access and write access
incoapS32 (C, S)
$P_INCOAP_S32[]
CHAR32 parameter(s) of the cutting generator
CHAR32 supply and return parameter(s) of the COA application cutting generator
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_STRING
0
Addressing
Line index:
Max. line index:
$$incoapSize[6]
Read access and write access
incoapS160 (C, S)
$P_INCOAP_S160[]
CHAR160 parameter(s) of the cutting generator
CHAR160 supply and return parameter(s) of the COA application cutting generator
Units and value ranges
Physical unit:
Data type:
Initial value
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
325
NC variables
3.2 NC variable descriptions
incoapS160 (C, S)
$P_INCOAP_S160[]
-
TYPE_STRING
0
Addressing
Line index:
Max. line index:
$$incoapSize[6]
Read access and write access
isoActHDNo (C, S)
$P_ISO2_HNO[n]
Active tool offset number in ISO mode
The following applies to rows 1- 4:
This value is only practical if ISO2 mode is permissible.
This value contains the H number of the tool length offsets in the 3 geometry dimensions in rows 1 - 3 and the D number of
the tool radius offset.
If H99 is programmed, then
all 3 geometry dimensions (=rows 1-3) have the value "-1"
the radius (= row 4) has the value "-1"
If H=D ($MN_EXTERN_TOOLPROG_MODE,Bit6=0), then these variables contain the last programmed D or H.
If an offset D > 1 is selected in Siemens mode, all rows have the value "-2".
If ISO2 mode cannot be activated ($MN_MM_EXTERN_CNC_SYSTEM != 4), the variable has the value=-3.
The following applies to row 5:
This value is only practicable if ISO3 mode is permissible.
This value contains the current number of tool offsets in ISO3 mode.
If an offset D > 1 is selected in Siemens mode, the value "-2" is returned.
If ISO3 mode cannot be activated ($MN_MM_EXTERN_CNC_SYSTEM != 5), the variable value =-3.
Return value
-3: ISO2 or ISO3 mode inactive
-2: Siemens offset selected with D > 1.
-1: H99 programmed in ISO mode, Siemens offset D1 active
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_WORD
0
Addressing
Line index:
Max. line index:
5
Read access
toolCounterIso (C, S)
keine
Modification counter for ISO tool offset data
Each change of a tool offset value for ISO2.2 and ISO3.2 modes is counted.
This is to enable the HMI to record data changes.
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_DWORD
0
Addressing
Line index:
Max. line index:
NC variables
326
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
toolCounterIso (C, S)
keine
1
Read access
actLanguage (C, S)
Active language mode
Return value
0: Siemens
1: ISO mode
2: Reserviert for later language expansions
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Read access
acPrepActLoad (C, S)
$AC_PREP_ACT_LOAD
Current preprocessing run time
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
-
TYPE_DOUBLE
0
0
Addressing
Line index:
Max. line index:
1
Read access
acPrepMaxLoad (C, S)
$AC_PREP_MAX_LOAD
Longest preprocessing run time
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
-
TYPE_DOUBLE
0
0
Addressing
Line index:
Max. line index:
1
Read access
acPrepMinLoad (C, S)
$AC_PREP_MIN_LOAD
Shortest preprocessing run time
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
-
TYPE_DOUBLE
0
0
Addressing
Line index:
Max. line index:
1
Read access
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
327
NC variables
3.2 NC variable descriptions
acPrepActLoadGross (C, S)
$AC_PREP_ACT_LOAD_GROSS
Current preprocessing gross run time
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
-
TYPE_DOUBLE
0
0
Addressing
Line index:
Max. line index:
1
Read access
acPrepMaxLoadGross (C, S)
$AC_PREP_MAX_LOAD_GROSS
Longest preprocessing gross run time
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
-
TYPE_DOUBLE
0
0
Addressing
Line index:
Max. line index:
1
Read access
acPrepMinLoadGross (C, S)
$AC_PREP_MIN_LOAD_GROSS
Shortest preprocessing gross run time
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
-
TYPE_DOUBLE
0
0
Addressing
Line index:
Max. line index:
1
Read access
acCTol (C, S)
$AC_CTOL
Active contour tolerance
acCTol provides the contour tolerance for compressor and smoothing which was used to preprocess the current main run block.
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
mm, inch, user defined
TYPE_DOUBLE
0
0
Addressing
Line index:
Max. line index:
1
Read access
NC variables
328
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
acOTol (C, S)
$AC_OTOL
Active orientation tolerance
acOTol provides the orientation tolerance for compressor and smoothing which was used to preprocess the current main run
block.
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Degree, user defined
TYPE_DOUBLE
0
0
Addressing
Line index:
Max. line index:
1
Read access
acSTolF (C, S)
$AC_STOLF
Active G00 tolerance factor
acSToIF indicates the G00 tolerance factor for compressor and smoothing with which the current main run block was prepared.
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
-
TYPE_DOUBLE
0
0
Addressing
Line index:
Max. line index:
1
Read access
acCTolG0 (C, S)
$AC_CTOL_G0_ABS
Active G00 tolerance value of the contour
acCtolG0Abs indicates the G00 tolerance value for compressor and smoothing with which the contour was smoothed in the
current main run block.
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
mm, inch, user defined
TYPE_DOUBLE
0
0
Addressing
Line index:
Max. line index:
1
Read access
acOTolG0 (C, S)
$AC_OTOL_G0_ABS
Active G00 tolerance value of the orientation
acOtolG0Abs indicates the G00 tolerance value for compressor and smoothing with which the orientation was smoothed in the
current main run block.
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
-
TYPE_DOUBLE
0
0
Addressing
Line index:
Max. line index:
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
329
NC variables
3.2 NC variable descriptions
acOTolG0 (C, S)
$AC_OTOL_G0_ABS
1
Read access
aaATol (C, S)
$AA_ATOL
Active axis tolerance
aaATol provides the axis tolerance for compressor and smoothing, which was effective during preprocessing of the current main
run block.
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
mm, inch, degree, user defi-
TYPE_DOUBLE
0
0
ned
Addressing
Line index:
Max. line index:
$$numMachAxes
Read access
aaFgref (C, S)
$AA_FGREF
Active factor for rotary axis path
The variable provides the radius used by a rotary axis to contribute to the path travel. The default value is 180 mm/PI = 57,296
mm, which corresponds to a contribution of 1mm per degree.
For linear axes the variable always provides 1.
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
mm, inch, user defined
TYPE_DOUBLE
0
0
Addressing
Line index:
Max. line index:
$$numMachAxes
Read access
aaFgroup (C, S)
$AA_FGROUP
Influence of an axis on the path velocity
If the travel of an axis influences the path velocity in the current main run block (FGROUP), the variable provides value 1,
otherwise 0.
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_UWORD
0
0
1
Addressing
Line index:
Max. line index:
$$numMachAxes
Read access
acFgroupMask (C, S)
$AC_FGROUP_MASK
Key of the path velocity axes
acFgroupMask bit-coded provides the channel axes which are to contribute to the path velocity
NC variables
330
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
acFgroupMask (C, S)
$AC_FGROUP_MASK
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_DWORD
0
0
0xFFFF
Addressing
Line index:
Max. line index:
1
Read access
acIpoState (C, S)
$AC_IPO_STATE
Active functions identification status
The variable provides selected information about whether certain
functions are active:
Bit 0: Free-form surface mode is active
Bit 1: Compressor active
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_UWORD
0
0
0x0003
Addressing
Line index:
Max. line index:
1
Read access
acFZ (C, S)
$AC_FZ
Tooth feedrate, setpoint
Tooth feedrate, setpoint. The physical unit is defined in variable 'feedRateIpoUnit'.
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
mm/min, inch/min, user de-
TYPE_DOUBLE
0
0
fined
Read access
pOriSol (C, S)
$P_ORI_SOL
Angle calc. status during orientation programming
Contains the number of solutions and additional status information for orientation programming. See also the documentation
for the corresponding system variables.
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_DWORD
0
Read access
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
331
NC variables
3.2 NC variable descriptions
pOriStat (C, S)
$P_ORI_STAT
Status of orientation axes during orientation prog
Contains the status of the orientation axes during orientation programming. See also the documentation for the corresponding
system variables.
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_DWORD
0
Addressing
Line index:
Max. line index:
2
Read access
pOriPos0 (C, S)
$P_ORI_POS[0,n]
Angle of orientation axes (1st solution)
The angle of the orientation axes of the first (or single) solution during orientation programming.
Units and value ranges
Physical unit:
Data type:
Initial value
Degree
TYPE_DOUBLE
0
Addressing
Line index:
Max. line index:
2
Read access
pOriPos1 (C, S)
$P_ORI_POS[1,n]
Angle of orientation axes (2nd solution)
The angle of the orientation axes of the second solution during orientation programming.
Units and value ranges
Physical unit:
Data type:
Initial value
Degree
TYPE_DOUBLE
0
Addressing
Line index:
Max. line index:
2
Read access
pOriDiff0 (C, S)
$P_ORI_DIFF[0,n]
Angle diff. of orientation axes (1st solution)
The angle difference between the exact angles and those available in $P_ORI_ANG for the orientation axes of the first (or single)
solution during orientation programming.
The content of these variables can only be unequal to zero if the positions of the orientation axes are incremental (Hirth
coupling).
Units and value ranges
Physical unit:
Data type:
Initial value
Degree
TYPE_DOUBLE
0
NC variables
332
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
pOriDiff0 (C, S)
$P_ORI_DIFF[0,n]
Addressing
Line index:
Max. line index:
2
Read access
pOriDiff1 (C, S)
$P_ORI_DIFF[1,n]
Angle diff. of orientation axes (2nd solution)
The angle difference between the exact angles and those available in $P_ORI_ANG for the orientation axes of the second
solution during orientation programming.
The content of these variables can only be unequal to zero if the positions of the orientation axes are incremental (Hirth
coupling).
Units and value ranges
Physical unit:
Data type:
Initial value
Degree
TYPE_DOUBLE
0
Addressing
Line index:
Max. line index:
2
Read access
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
333
NC variables
3.2 NC variable descriptions
toolFrameState (C, S)
Info about tool orientation in the work
toolFrameState provides bit-coded information about whether the PI service _N_SETUDT with the function designations 12 and
13 can be activated in its current state and also specifies any parameters that may be required:
Bit 0 provides information about whether the NCK can generate a tool frame with PI service _N_SETUDT and function desig-
nation 12 in its current state. Once the bit is set, the NCK receives information about the current tool orientation, i.e. either a
tool holder that can be oriented or an orientation transformation is active and the tool frame can be generated.
Bit 1 provides information about whether, in its current state, the NCK has stored data for the restoration of the program
environment (bit 1 = 1), which can be restored using PI service _N_SETUDT and function designation 13.
When bit 0 is set, bit 2 provides information about whether the tool axis corresponds to a geometry axis of the current WCS:
Bit 2 = 0: The tool axis does not correspond to any geometry axes of the current WCS. In this case, bit 3 / bit 4 provide the number
of the geometry axis next to the tool axis. Bit 5 provides the retraction direction of this axis (plus/minus). This information can
be displayed by the HMI as a suggestion or default setting for the retraction axis.
Bit 2 = 1: The tool axis corresponds to a geometry axis of the current work. In this case bit 3 / bit 4 provide the number of this
geometry axis, and bit 5 provides its retraction direction (plus/minus).
Return value
Bit 0:
0: PI service _N_SETUDT with function designation 12 disabled
1: PI service _N_SETUDT with function designation 12 enabled
Bit 1:
0: PI service _N_SETUDT with function designation 13 disabled
1: PI service _N_SETUDT with function designation 13 enabled
Bit 2
0: Tool axis does not correspond to any geometry axes
1: Tool axis corresponds to a geometry axis
Bit 3 / Bit 4:0: Function not active
1: Tool axis in the 1st geometry axis
2: Tool axis in the 2nd geometry axis
3: Tool axis in the 3rd geometry axis
Bit 5:
0: Retraction direction plus
1: Retraction direction minus
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_UWORD
0
0
63
Addressing
Line index:
Max. line index:
1
Read access
pcTrafoRotChainIndex (C, S)
$PC_TRAFO_ROT_CHAIN_INDEX
Index of the orientation axis in the kin. chain.
Images the indices of the orientation axes in the array $NT_ROT_AX_NAME onto the internal orientation axis sequence.
See also documentation of the associated system variables.
NC variables
334
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
pcTrafoRotChainIndex (C, S)
$PC_TRAFO_ROT_CHAIN_INDEX
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_DWORD
0
Addressing
Line index:
Max. line index:
2
Read access
pcTrafoRotChanAxIn (C, S)
$PC_TRAFO_ROT_CHAN_AX_IN
Channel axis index of an orientation axis (int.).
Determines the channel axis index of the i-th orientation axis, where i is the index of this axis in the internal representation of
the kinematic chain.
See also documentation of the associated system variables.
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_UWORD
0
Addressing
Line index:
Max. line index:
2
Read access
pcTrafoRotChanAxEx (C, S)
$PC_TRAFO_ROT_CHAN_AX_EX
Channel axis index of an orientation axis (ext.).
Determines the channel axis index of the i-th orientation axis, where i is the index of this axis in the external representation of
the kinematic chain (index of the entry in the array$NT_ROT_AX_NAME[n, i]).
See also documentation of the associated system variables.
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_UWORD
0
Addressing
Line index:
Max. line index:
2
Read access
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
335
NC variables
3.2 NC variable descriptions
retractState (C, S)
Status information on JOG retract
Status information on the submode JOG retract
Return value
Bit 0:
0: No retract data available; JOG retract cannot be activated
1: Retract data available; JOG retract can be activated with PI _N_RETRAC
Bit 1:
0: JOG retract submode is not active
1: JOG retract submode is active
Bit 3/2: 0: Function is not active
1: Retraction axis is 1st geometry axis according to $MC_AXCONF_GEOAX_ASSIGN_TAB
2: Retraction axis is 2nd geometry axis according to $MC_AXCONF_GEOAX_ASSIGN_TAB
3: Retraction axis is 3rd geometry axis according to $MC_AXCONF_GEOAX_ASSIGN_TAB
Bit 4/5: 0: Default tool (milling cutter)
1: Tap (tapping with G33/G331/G332 is active)
2: Drilling tool from the 200 group
Bit 6/7: Reserved
Bit 8/11: 0: No problem known
1: No tool selected
2: No retract tool selected (turning or grinding tool)
3: Tool offset is not active
4: Retraction axis does not exist
5: G63 block
6: Path motion not in direction of tool axis
7: Retract data not persistent due to $MN_MM_ACTFILESYS_LOG_FILE_MEM[1]=0
8: Retract data are not consistent
Bit 12/15: Reserved
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_UWORD
0
Addressing
Line index:
Max. line index:
1
Read access
pCutModK (C, S)
$AC_CUTMODK
Last programmed value CUTMODK
Reads the currently valid value last programmed with the language command CUTMODK.
(Name of the orientation transformation defined by kinematic chains for which the edge data modification is to be activated).
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_STRING
"\0"
Addressing
Line index:
Max. line index:
NC variables
336
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
pCutModK (C, S)
$AC_CUTMODK
1
Read access
pCutModKS (C, S)
Last programmed value CUTMODK (block search)
Reads the currently valid value last programmed with the language command CUTMODK.
(Name of the orientation transformation defined by kinematic chains for which the edge data modification is to be activated).
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_STRING
"\0"
Addressing
Line index:
Max. line index:
1
Read access
acTrafoName (C, S)
$AC_TRAFO_NAME
Name of an active kinematic transformation
Reads the name of a currently active kinematic transformation.
If no transformation is active or if one transformation is active that has not been defined with kinematic chains, then this
variable receives a zero string.
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_STRING
"\0"
Addressing
Line index:
Max. line index:
1
Read access
actToolGeoLength (C, S)
Geometry component of the active tool
Returns the length components of the geometry component of the active tool, that is the contribution of the components
$TC_DP3[..] - $TC_DP5[..] in different coordinate systems.
Both the component and the coordinate system are selected from the line index.
Three indices are required for each coordinate system (lengths L1, L2, L3).
The following assignment applies:
Line indices 1 - 3: Components in the workpiece coordinate system (PCS).
Line indices 4 - 6: Components in the basic coordinate system (BCS).
Line indices 7 - 9: Components in the machine coordinate system (MCS).
Line indices 10 - 12: Components in the tool coordinate system (TCS).
Line indices 13 - 15: Components in the settable zero system (SZS).
Units and value ranges
Physical unit:
Data type:
mm, inch, user defined
TYPE_DOUBLE
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
337
NC variables
3.2 NC variable descriptions
actToolGeoLength (C, S)
Addressing
Line index:
Max. line index:
15
Read access
actToolGeoLengthWear (C, S)
Wear component of the active tool
Returns the components of the wear component of the tool length of the active tool, that is the contribution of the components
$TC_DP12[..] - $TC_DP14[..] in different coordinate systems.
Both the component and the coordinate system are selected from the line index.
Three indices are required for each coordinate system (lengths L1, L2, L3).
The following assignment applies:
Line indices 1 - 3: Components in the workpiece coordinate system (PCS).
Line indices 4 - 6: Components in the basic coordinate system (BCS).
Line indices 7 - 9: Components in the machine coordinate system (MCS).
Line indices 10 - 12: Components in the tool coordinate system (TCS).
Line indices 13 - 15: Components in the settable zero system (SZS).
Units and value ranges
Physical unit:
Data type:
mm, inch, user defined
TYPE_DOUBLE
Addressing
Line index:
Max. line index:
15
Read access
actToolSumCorrLength (C, S)
Total offset of the active tool
Returns the components of the total offset of the active tool, that is the contribution of the components $TC_SCPx3[..] -
$TC_SCPx5[..] in different coordinate systems. The letter "x" in the components $TC_SCPx3[..] etc. stands for the DL number.
Both the component and the coordinate system are selected from the line index.
Three indices are required for each coordinate system (lengths L1, L2, L3).
The following assignment applies:
Line indices 1 - 3: Components in the workpiece coordinate system (PCS).
Line indices 4 - 6: Components in the basic coordinate system (BCS).
Line indices 7 - 9: Components in the machine coordinate system (MCS).
Line indices 10 - 12: Components in the tool coordinate system (TCS).
Line indices 13 - 15: Components in the settable zero system (SZS).
Units and value ranges
Physical unit:
Data type:
mm, inch, user defined
TYPE_DOUBLE
Addressing
Line index:
Max. line index:
15
Read access
NC variables
338
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
actToolAdapterBaseLength (C, S)
Adapter or base dimension of the active tool.
Returns the components of the adapter or base dimension of the active tool, that is the contribution of the components
$TC_ADPT1[..] - $TC_ADPT3[..] or $TC_DP21[..] - $TC_DP233[..] in different coordinate systems.
The adapter and base dimension are mutually exclusive. This means that only one of these two components can contribute a
value unequal to zero to the tool length.
Both the component and the coordinate system are selected from the line index.
Three indices are required for each coordinate system (lengths L1, L2, L3).
The following assignment applies:
Line indices 1 - 3: Components in the workpiece coordinate system (PCS).
Line indices 4 - 6: Components in the basic coordinate system (BCS).
Line indices 7 - 9: Components in the machine coordinate system (MCS).
Line indices 10 - 12: Components in the tool coordinate system (TCS).
Line indices 13 - 15: Components in the settable zero system (SZS).
Units and value ranges
Physical unit:
Data type:
mm, inch, user defined
TYPE_DOUBLE
Addressing
Line index:
Max. line index:
15
Read access
actToolEntryCorrLength (C, S)
Setup offset of the active tool
Returns the components of the total offset of the active tool, that is the contribution of the components $TC_ECPx3[..] -
$TC_ECPx5[..] in different coordinate systems. The letter "x" in the components $TC_SCPx3[..] etc. stands for the DL number.
Both the component and the coordinate system are selected from the line index.
Three indices are required for each coordinate system (lengths L1, L2, L3).
The following assignment applies:
Line indices 1 - 3: Components in the workpiece coordinate system (PCS).
Line indices 4 - 6: Components in the basic coordinate system (BCS).
Line indices 7 - 9: Components in the machine coordinate system (MCS).
Line indices 10 - 12: Components in the tool coordinate system (TCS).
Line indices 13 - 15: Components in the settable zero system (SZS).
Units and value ranges
Physical unit:
Data type:
mm, inch, user defined
TYPE_DOUBLE
Addressing
Line index:
Max. line index:
15
Read access
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
339
NC variables
3.2 NC variable descriptions
actToolToolCarrierLength (C, S)
Contribution of tool carrier to the tool length
Returns the components of the contribution of the orientable tool carrier (ToolCarrier) to the length of the active tool in
different coordinate systems.
Both the component and the coordinate system are selected from the line index.
Three indices are required for each coordinate system (lengths L1, L2, L3).
The following assignment applies:
Line indices 1 - 3: Components in the workpiece coordinate system (PCS).
Line indices 4 - 6: Components in the basic coordinate system (BCS).
Line indices 7 - 9: Components in the machine coordinate system (MCS).
Line indices 10 - 12: Components in the tool coordinate system (TCS).
Line indices 13 - 15: Components in the settable zero system (SZS).
Units and value ranges
Physical unit:
Data type:
mm, inch, user defined
TYPE_DOUBLE
Addressing
Line index:
Max. line index:
15
Read access
actToolTotalLength (C, S)
Total length of the active tool
Returns the components of the total effective length of the active tool in different coordinate systems.
Both the component and the coordinate system are selected from the line index.
Three indices are required for each coordinate system (lengths L1, L2, L3).
The following assignment applies:
Line indices 1 - 3: Components in the workpiece coordinate system (PCS).
Line indices 4 - 6: Components in the basic coordinate system (BCS).
Line indices 7 - 9: Components in the machine coordinate system (MCS).
Line indices 10 - 12: Components in the tool coordinate system (TCS).
Line indices 13 - 15: Components in the settable zero system (SZS).
Units and value ranges
Physical unit:
Data type:
mm, inch, user defined
TYPE_DOUBLE
Addressing
Line index:
Max. line index:
15
Read access
NC variables
340
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
acToolOCorr (C, S)
$AC_TOOL_O_CORR
Setpoint of the orientation with overlays
Supplies the setpoint of the current tool orientation incl. overlays
in various coordinate systems.
Possible values of the line index:
1, 2, 3: Components of the vector in BCS
4, 5, 6: Components of the vector in PCS/WCS
7, 8, 9: Components of the vector in ENS
The orientation vector is normalized, i.e. it has the value 1.
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_DOUBLE
0
-1
1
Addressing
Line index:
Max. line index:
9
Read access
acToolRCorr (C, S)
$AC_TOOL_R_CORR
Setpoint of rotation with overlays
Supplies the setpoint of the current rotation vector of the tool orientation incl. overlays
in various coordinate systems.
Possible values of the line index:
1, 2, 3: Components of the vector in BCS
4, 5, 6: Components of the vector in PCS/WCS
7, 8, 9: Components of the vector in ENS
The orientation vector is normalized, i.e. it has the value 1.
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_DOUBLE
0
-1
1
Addressing
Line index:
Max. line index:
9
Read access
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
341
NC variables
3.2 NC variable descriptions
acToolOCorrD (C, S)
$AC_TOOL_O_CORRD
Overlaid orientation
Supplies the setpoint of the current overlay of the tool orientation
in various coordinate systems.
Possible values of the line index:
1, 2, 3: Components of the vector in BCS
4, 5, 6: Components of the vector in PCS/WCS
7, 8, 9: Components of the vector in ENS
This vector represents the difference between the two vectors acToolOCorr and acToolOAct
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_DOUBLE
0
-1
1
Addressing
Line index:
Max. line index:
9
Read access
acToolRCorrD (C, S)
$AC_TOOL_R_CORRD
Overlaid rotation of the orientation
Supplies the setpoint of the current overlay of the rotation of the tool
in various coordinate systems.
Possible values of the line index:
1, 2, 3: Components of the vector in BCS
4, 5, 6: Components of the vector in PCS/WCS
7, 8, 9: Components of the vector in ENS
This vector represents the difference between the two vectors acToolRCorr and acToolRAct
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_DOUBLE
0
-1
1
Addressing
Line index:
Max. line index:
9
Read access
startLockCounter (C, S)
Start counter for channel-specific start disable
Counter that is incremented
as soon as an NC start is activated with a set channel-specific start disable
(see _N_STRTLK).
NC variables
342
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
startLockCounter (C, S)
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
-
TYPE_UWORD
0
0
Addressing
Line index:
Max. line index:
1
Read access
pCutModKA (C, S)
$AC_CUTMODKA
CUTMODK active
Cutter position modification for a transformation defined with kinematic chains is active.
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_UWORD
0
0
1
Addressing
Line index:
Max. line index:
1
Read access
pCutModKAS (C, S)
$P_CUTMODKA
CUTMODK active (block search)
Cutter position modification for a transformation defined with kinematic chains is active.
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_UWORD
0
0
1
Addressing
Line index:
Max. line index:
1
Read access
acMToolLengthIndex (C, S)
$AC_M_TOOL_LENGTH_INDEX
Assign. tool length components for milling tools
The variable returns the number of the tool length components (1, 2 or 3 corresponding to the length components L1, L2, L3)
for milling tools, which is assigned to the geometry axis that was transferred as an index.
In this context, milling tools are all tools with a tool type that does not lie between 400 and 599.
The assignment does not take into account any rotations (e.g. by kinematic transformations) or frames. It depends on the active
plane and the setting data SD42950 $SC_TOOL_LENGTH_TYPE and SD42940 $SC_TOOL_LENGTH_CONST.
If the tool length component is active with a negative sign, the index is output with a negative sign. This can be the case if the
hundreds digit of setting data SD42940 $SC_TOOL_LENGTH_CONST equals 1.
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_UWORD
0
-3
3
Addressing
Line index:
Max. line index:
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
343
NC variables
3.2 NC variable descriptions
acMToolLengthIndex (C, S)
$AC_M_TOOL_LENGTH_INDEX
3
Read access
acMToolLengthIndexS (C, S)
$P_M_TOOL_LENGTH_INDEX
Assign. lngth comps f. milling tool (block search)
The variable returns the number of the tool length components (1, 2 or 3 corresponding to the length components L1, L2, L3)
for milling tools, which is assigned to the geometry axis that was transferred as an index.
In this context, milling tools are all tools with a tool type that does not lie between 400 and 599.
The assignment does not take into account any rotations (e.g. by kinematic transformations) or frames. It depends on the active
plane and the setting data SD42950 $SC_TOOL_LENGTH_TYPE and SD42940 $SC_TOOL_LENGTH_CONST.
If the tool length component is active with a negative sign, the index is output with a negative sign. This can be the case if the
hundreds digit of setting data SD42940 $SC_TOOL_LENGTH_CONST equals 1.
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_UWORD
0
-3
3
Addressing
Line index:
Max. line index:
3
Read access
acTToolLengthIndex (C, S)
$AC_T_TOOL_LENGTH_INDEX
Assign. tool length components for turning tools
The variable returns the number of the tool length components (1, 2 or 3 corresponding to the length components L1, L2, L3)
for turning and grinding tools, which is assigned to the geometry axis that was transferred as an index.
In this context, turning and grinding tools are all tools with a tool type that lies between 400 and 599.
The assignment does not take into account any rotations (e.g. by kinematic transformations) or frames. It depends on the active
plane and the setting data SD42950 $SC_TOOL_LENGTH_TYPE, SD42940 $SC_TOOL_LENGTH_CONST and
SD42942 $SC_TOOL_LENGTH_CONST_T.
If the tool length component is active with a negative sign, the index is output with a negative sign. This can be the case if the
hundreds digit of setting data SD42940 $SC_TOOL_LENGTH_CONST or the hundreds digit of setting data
SD42942 $SC_TOOL_LENGTH_CONST_T equals 1.
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_UWORD
0
-3
3
Addressing
Line index:
Max. line index:
3
Read access
NC variables
344
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
acTToolLengthIndexS (C, S)
$P_T_TOOL_LENGTH_INDEX
Assign. lngth comps f. turning tool (block search)
The variable returns the number of the tool length components (1, 2 or 3 corresponding to the length components L1, L2, L3)
for turning and grinding tools, which is assigned to the geometry axis that was transferred as an index.
In this context, turning and grinding tools are all tools with a tool type that lies between 400 and 599.
The assignment does not take into account any rotations (e.g. by kinematic transformations) or frames. It depends on the active
plane and the setting data SD42950 $SC_TOOL_LENGTH_TYPE, SD42940 $SC_TOOL_LENGTH_CONST and
SD42942 $SC_TOOL_LENGTH_CONST_T.
If the tool length component is active with a negative sign, the index is output with a negative sign. This can be the case if the
hundreds digit of setting data SD42940 $SC_TOOL_LENGTH_CONST or the hundreds digit of setting data
SD42942 $SC_TOOL_LENGTH_CONST_T equals 1.
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_UWORD
0
-3
3
Addressing
Line index:
Max. line index:
3
Read access
acActToolLengthIndex (C, S)
$AC_ACT_TOOL_LENGTH_INDEX
Length component assignment for active tool
The variable returns the number of the tool length components (1, 2 or 3 corresponding to length components L1, L2, L3) of
the active tool, which is assigned to the geometry axis that was transferred as an index.
The assignment does not take into account any rotations (e.g. by kinematic transformations) or frames. It depends on the type
of active tool, the active plane, any active adapter transformation and the setting data SD42950 $SC_TOOL_LENGTH_TYPE,
SD42940 $SC_TOOL_LENGTH_CONST and SD42942 $SC_TOOL_LENGTH_CONST_T. Active mirrors of a frame can influence the
output value if setting data SD42900 $SC_MIRROR_TOOL_LENGTH, is set, see below.
If the tool length component is active with a negative sign, the index is output with a negative sign. This can be the case if the
hundreds digit of setting data SD42940 $SC_TOOL_LENGTH_CONST or the hundreds digit of setting data
SD42942 $SC_TOOL_LENGTH_CONST_T equals 1, or if a mirror of the relevant axis is active on account of setting data
$SC_MIRROR_TOOL_LENGTH. If both causes are active simultaneously, the resulting sign is positive once more.
If no tool is active, the value 0 is returned.
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_UWORD
0
-3
3
Addressing
Line index:
Max. line index:
3
Read access
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
345
NC variables
3.2 NC variable descriptions
acActToolLengthIndexS (C, S)
$P_ACT_TOOL_LENGTH_INDEX
Length component assignment for active tool (SSL)
The variable returns the number of the tool length components (1, 2 or 3 corresponding to length components L1, L2, L3) of
the active tool, which is assigned to the geometry axis that was transferred as an index.
The assignment does not take into account any rotations (e.g. by kinematic transformations) or frames. It depends on the type
of active tool, the active plane, any active adapter transformation and the setting data SD42950 $SC_TOOL_LENGTH_TYPE,
SD42940 $SC_TOOL_LENGTH_CONST and SD42942 $SC_TOOL_LENGTH_CONST_T. Active mirrors of a frame can influence the
output value if setting data SD42900 $SC_MIRROR_TOOL_LENGTH, is set, see below.
If the tool length component is active with a negative sign, the index is output with a negative sign. This can be the case if the
hundreds digit of setting data SD42940 $SC_TOOL_LENGTH_CONST or the hundreds digit of setting data
SD42942 $SC_TOOL_LENGTH_CONST_T equals 1, or if a mirror of the relevant axis is active on account of setting data
$SC_MIRROR_TOOL_LENGTH. If both causes are active simultaneously, the resulting sign is positive once more.
If no tool is active, the value 0 is returned.
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_UWORD
0
-3
3
Addressing
Line index:
Max. line index:
3
Read access
acInKeyG (C, S)
Read grinding input (PLC->NCK)
Grinding: returns the current value of the relevant grinding input.
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_UWORD
0
0
1
Addressing
Line index:
Max. line index:
8
Read access
acInKeyGEnable (C, S)
Activate grinding input
Grinding: indicates whether the relevant grinding input has been activated.
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_UWORD
0
0
1
Addressing
Line index:
Max. line index:
8
Read access
NC variables
346
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
acInKeyGIsEnable (C, S)
Is the grinding input active?
Grinding: indicates whether the relevant grinding input is active.
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_UWORD
0
0
1
Addressing
Line index:
Max. line index:
8
Read access
acInKeyGRunIn (C, S)
Read grinding input (PLC->NCK)
Grinding: returns the current value of the relevant grinding input (PLC)
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_UWORD
0
0
1
Addressing
Line index:
Max. line index:
8
Read access
acInKeyGRunOut (C, S)
Read grinding input (NCK->PLC)
Grinding: returns the current value of the relevant grinding input (NCK)
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_UWORD
0
0
1
Addressing
Line index:
Max. line index:
8
Read access
chanStartLockState (C, S)
Status of the channel-specific start disable
Status of the channel-specific start disable.
Also see PI _N_STRTLK and _N_STRTUL.
Return value
0: No start disable
1: Start disable is activated
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_UWORD
0
0
1
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
347
NC variables
3.2 NC variable descriptions
chanStartLockState (C, S)
Addressing
Line index:
Max. line index:
1
Read access
acTrafoCorrElemP0 (C, S)
$AC_TRAFO_CORR_ELEM_P[0,n]
Correction element with index 0 in the part chain.
Correction element in the section including the index 0 in the part chain of an active orientation transformation.
Units and value ranges
Physical unit:
Data type:
Initial value
mm, inch, user defined
TYPE_DOUBLE
0
Addressing
Line index:
Max. line index:
3
Read access
acTrafoCorrElemP1 (C, S)
$AC_TRAFO_CORR_ELEM_P[1,n]
Correction element with index 1 in the part chain.
Correction element in the section including the index 1 in the part chain of an active orientation transformation.
Units and value ranges
Physical unit:
Data type:
Initial value
mm, inch, user defined
TYPE_DOUBLE
0
Addressing
Line index:
Max. line index:
3
Read access
acTrafoCorrElemP2 (C, S)
$AC_TRAFO_CORR_ELEM_P[2,n]
Correction element with index 2 in the part chain.
Correction element in the section including the index 2 in the part chain of an active orientation transformation.
Units and value ranges
Physical unit:
Data type:
Initial value
mm, inch, user defined
TYPE_DOUBLE
0
Addressing
Line index:
Max. line index:
3
Read access
acTrafoCorrElemP3 (C, S)
$AC_TRAFO_CORR_ELEM_P[3,n]
Correction element with index 3 in the part chain.
Correction element in the section including the index 3 in the part chain of an active orientation transformation.
Units and value ranges
Physical unit:
Data type:
Initial value
NC variables
348
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
acTrafoCorrElemP3 (C, S)
$AC_TRAFO_CORR_ELEM_P[3,n]
mm, inch, user defined
TYPE_DOUBLE
0
Addressing
Line index:
Max. line index:
3
Read access
acTrafoCorrElemT0 (C, S)
$AC_TRAFO_CORR_ELEM_T[0,n]
Correction element with index 0 in the tool chain.
Correction element in the section with the index 0 in the tool chain of an active orientation transformation.
Units and value ranges
Physical unit:
Data type:
Initial value
mm, inch, user defined
TYPE_DOUBLE
0
Addressing
Line index:
Max. line index:
3
Read access
acTrafoCorrElemT1 (C, S)
$AC_TRAFO_CORR_ELEM_T[1,n]
Correction element with index 1 in the tool chain.
Correction element in the section with the index 1 in the tool chain of an active orientation transformation.
Units and value ranges
Physical unit:
Data type:
Initial value
mm, inch, user defined
TYPE_DOUBLE
0
Addressing
Line index:
Max. line index:
3
Read access
acTrafoCorrElemT2 (C, S)
$AC_TRAFO_CORR_ELEM_T[2,n]
Correction element with index 2 in the tool chain.
Correction element in the section with the index 2 in the tool chain of an active orientation transformation.
Units and value ranges
Physical unit:
Data type:
Initial value
mm, inch, user defined
TYPE_DOUBLE
0
Addressing
Line index:
Max. line index:
3
Read access
acTrafoCorrElemT3 (C, S)
$AC_TRAFO_CORR_ELEM_T[3,n]
Correction element with index 3 in the tool chain.
Correction element in the section with the index 3 in the tool chain of an active orientation transformation.
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
349
NC variables
3.2 NC variable descriptions
acTrafoCorrElemT3 (C, S)
$AC_TRAFO_CORR_ELEM_T[3,n]
Units and value ranges
Physical unit:
Data type:
Initial value
mm, inch, user defined
TYPE_DOUBLE
0
Addressing
Line index:
Max. line index:
3
Read access
acTrafoOriaxDirP0 (C, S)
$AC_TRAFO_ORIAX_DIR_P[0,n]
Orient. axis direction with index 0 in part chain.
Direction vector of the orientation axis with the index 0 in the part chain of an active orientation transformation.
Units and value ranges
Physical unit:
Data type:
Initial value
mm, inch, user defined
TYPE_DOUBLE
0
Addressing
Line index:
Max. line index:
3
Read access
acTrafoOriaxDirP1 (C, S)
$AC_TRAFO_ORIAX_DIR_P[1,n]
Orient. axis direction with index 1 in part chain.
Direction vector of the orientation axis with the index 1 in the part chain of an active orientation transformation.
Units and value ranges
Physical unit:
Data type:
Initial value
mm, inch, user defined
TYPE_DOUBLE
0
Addressing
Line index:
Max. line index:
3
Read access
acTrafoOriaxDirP2 (C, S)
$AC_TRAFO_ORIAX_DIR_P[2,n]
Orient. axis direction with index 2 in part chain.
Direction vector of the orientation axis with the index 2 in the part chain of an active orientation transformation.
Units and value ranges
Physical unit:
Data type:
Initial value
mm, inch, user defined
TYPE_DOUBLE
0
Addressing
Line index:
Max. line index:
3
Read access
NC variables
350
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
acTrafoOriaxDirT0 (C, S)
$AC_TRAFO_ORIAX_DIR_T[0,n]
Orientation direction index 0 in tool chain.
Direction vector of the orientation axis with the index 0 in the tool chain of an active orientation transformation.
Units and value ranges
Physical unit:
Data type:
Initial value
mm, inch, user defined
TYPE_DOUBLE
0
Addressing
Line index:
Max. line index:
3
Read access
acTrafoOriaxDirT1 (C, S)
$AC_TRAFO_ORIAX_DIR_T[1,n]
Orientation direction index 1 in tool chain.
Direction vector of the orientation axis with the index 1 in the tool chain of an active orientation transformation.
Units and value ranges
Physical unit:
Data type:
Initial value
mm, inch, user defined
TYPE_DOUBLE
0
Addressing
Line index:
Max. line index:
3
Read access
acTrafoOriaxDirT2 (C, S)
$AC_TRAFO_ORIAX_DIR_T[2,n]
Orientation direction index 2 in tool chain.
Direction vector of the orientation axis with the index 2 in the tool chain of an active orientation transformation.
Units and value ranges
Physical unit:
Data type:
Initial value
mm, inch, user defined
TYPE_DOUBLE
0
Addressing
Line index:
Max. line index:
3
Read access
acTrafoOriaxLoc (C, S)
$AC_TRAFO_ORIAX_LOC
Position of an orientation axis in the kin. chain.
The variable supplies the decimal-coded index of an orientation axis in the kinematic chain of an orientation transformation.
The ten's place designates the part chain in which the orientation axis is included (0: Part chain; 1: Tool chain) and the unit's
place the axis index when counting from the start to the end of the chain.
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_DWORD
-1
-3
12
Addressing
Line index:
Max. line index:
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
351
NC variables
3.2 NC variable descriptions
acTrafoOriaxLoc (C, S)
$AC_TRAFO_ORIAX_LOC
$$numMachAxes
Read access
acTrafoSectionP0 (C, S)
$AC_TRAFO_SECTION_P[0,n]
Section with the index 0 in the part chain.
Section with the index 0 in the part chain of an active orientation transformation.
Units and value ranges
Physical unit:
Data type:
Initial value
mm, inch, user defined
TYPE_DOUBLE
0
Addressing
Line index:
Max. line index:
3
Read access
acTrafoSectionP1 (C, S)
$AC_TRAFO_SECTION_P[1,n]
Section with the index 1 in the part chain.
Section with the index 1 in the part chain of an active orientation transformation.
Units and value ranges
Physical unit:
Data type:
Initial value
mm, inch, user defined
TYPE_DOUBLE
0
Addressing
Line index:
Max. line index:
3
Read access
acTrafoSectionP2 (C, S)
$AC_TRAFO_SECTION_P[2,n]
Section with the index 2 in the part chain.
Section with the index 2 in the part chain of an active orientation transformation.
Units and value ranges
Physical unit:
Data type:
Initial value
mm, inch, user defined
TYPE_DOUBLE
0
Addressing
Line index:
Max. line index:
3
Read access
acTrafoSectionP3 (C, S)
$AC_TRAFO_SECTION_P[3,n]
Section with the index 3 in the part chain.
Section with the index 3 in the part chain of an active orientation transformation.
Units and value ranges
Physical unit:
Data type:
Initial value
mm, inch, user defined
TYPE_DOUBLE
0
NC variables
352
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
acTrafoSectionP3 (C, S)
$AC_TRAFO_SECTION_P[3,n]
Addressing
Line index:
Max. line index:
3
Read access
acTrafoSectionT0 (C, S)
$AC_TRAFO_SECTION_T[0,n]
Section with the index 0 in the tool chain.
Section with the index 0 in the tool chain of an active orientation transformation.
Units and value ranges
Physical unit:
Data type:
Initial value
mm, inch, user defined
TYPE_DOUBLE
0
Addressing
Line index:
Max. line index:
3
Read access
acTrafoSectionT1 (C, S)
$AC_TRAFO_SECTION_T[1,n]
Section with the index 1 in the tool chain.
Section with the index 1 in the tool chain of an active orientation transformation.
Units and value ranges
Physical unit:
Data type:
Initial value
mm, inch, user defined
TYPE_DOUBLE
0
Addressing
Line index:
Max. line index:
3
Read access
acTrafoSectionT2 (C, S)
$AC_TRAFO_SECTION_T[2,n]
Section with the index 2 in the tool chain.
Section with the index 2 in the tool chain of an active orientation transformation.
Units and value ranges
Physical unit:
Data type:
Initial value
mm, inch, user defined
TYPE_DOUBLE
0
Addressing
Line index:
Max. line index:
3
Read access
acTrafoSectionT3 (C, S)
$AC_TRAFO_SECTION_T[3,n]
Section with the index 3 in the tool chain.
Section with the index 3 in the tool chain of an active orientation transformation.
Units and value ranges
Physical unit:
Data type:
Initial value
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
353
NC variables
3.2 NC variable descriptions
acTrafoSectionT3 (C, S)
$AC_TRAFO_SECTION_T[3,n]
mm, inch, user defined
TYPE_DOUBLE
0
Addressing
Line index:
Max. line index:
3
Read access
actGrindingFrameIndex (C, S)
$P_GFRNUM
Index of the actively set grinding frame
Index of the actively set grinding frame. A grinding data management frame becomes an active grinding frame when executing
GFRAME0 to GFRAME100.
Return value
0 = GFRAME0 = No frame selected
1 = GFRAME1
to
100 = GFRAME100
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Read access
progEvent (C, S)
Active prog. events
Return value
The data is bit-coded, so that when required, also individual states
can be masked or evaluated separately (bits that are not listed supply a value of 0)
Bit0 = 1: start
Bit1 = 1: M30
Bit2 = 1: Reset
Bit3 = 1: Power-On
Bit4 = 1: Search
Bit5 = 1: Safety
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Read access
NC variables
354
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
acSynaState (C, S)
$AC_SYNA_STATE
Status of a synchronized action
The status of a synchronized action can be read using the variable. The line index is the ID of the modal or static synchronized
action, for which the status should be read.
Return value
The data is bit-coded, so that when required, also individual states can be
masked or separately evaluated (bits that are not listed supply a value of 0)
Bit 0 = 0: No lock
Bit 0 = 1: PLC or synchronize actions are locked
Bit 1 = 0: PLC is not locked
Bit 1 = 1: PLC is locked
Bit 2 = 0: Synchronized action is not locked
Bit 2 = 1: Synchronized action is locked
Units and value ranges
Physical unit:
Data type:
-
TYPE_UDWORD
Read access
acMeasOriwks (C, S)
$AC_MEAS_ORIWKS
Transformation behavior of the measuring interface
The variable serves to define the frame transformation behavior of the measuring interface in respect of orientation axis
coordinates.
Return value
0: Orientation axis coordinates are transformed like ORIMKS
1: Orientation axis coordinates are transformed like ORIWKS
2: The frame transformation of the orientation axis coordinates depends on the active G code
ORIMKS or ORIWKS.
Units and value ranges
Physical unit:
Data type:
Minimum value:
Maximum value:
-
TYPE_DWORD
0
2
Addressing
Line index:
Max. line index:
1
Read access and write access
pcTcarrOffset (C, S)
$PC_TCARR_OFFSET
An offset vector of the active tool carrier
A maximum of 4 offset vectors (l1 to l4) are defined for an active tool carrier. With this OPI variable, the vector components of
the vector can be read out.
If no tool carrier is active, each read access returns the value 0.
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
mm, inch, degree, user defi-
TYPE_DOUBLE
0
-DBL_MAX
DBL_MAX
ned
Addressing
Line index:
Max. line index:
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
355
NC variables
3.2 NC variable descriptions
pcTcarrOffset (C, S)
$PC_TCARR_OFFSET
12
Read access
pcTcarrAxVect (C, S)
$PC_TCARR_AX_VECT
An axis vector of the active tool carrier
A maximum of 2 axis vectors (v1 to v2) are defined for an active tool carrier. With this OPI variable, the vector components of
the vector can be read out.
If no tool carrier is active, each read access returns the value 0.
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
mm, inch, degree, user defi-
TYPE_DOUBLE
0
-DBL_MAX
DBL_MAX
ned
Addressing
Line index:
Max. line index:
6
Read access
pcTcarrAxOffset (C, S)
$PC_TCARR_AX_OFFSET
One axis offset of the active tool carrier
A maximum of 2 axis offsets are defined for an active tool carrier. With this OPI variable, the rotary axis positions can be read
out with initial setting.
If no tool carrier is active, each read access returns the value 0.
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
mm, inch, degree, user defi-
TYPE_DOUBLE
0
-DBL_MAX
DBL_MAX
ned
Addressing
Line index:
Max. line index:
2
Read access
drawPosTriggerTime (C, S)
keine
Time window for logging event DRAW_POS
For very long movements or with stopped axes, the logging event DRAW_POS should nevertheless trigger now and again
A specification of 0[s] deactivates the function.
After control power on, a trigger time of 0.3[s] is preset.
drawPosTriggerTime replaces the machine data 10690 DRAW_POS_TRIGGER_TIME
(Reserved for the SIEMENS application Simultaneous recording)
Units and value ranges
Physical unit:
Data type:
Initial value
s, user defined
TYPE_DOUBLE
0.3
Read access and write access
NC variables
356
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
drawPosTriggerPath (C, S)
keine
Path length for logging event DRAW_POS
For very long movements, the logging event DRAW_POS should trigger at the latest after this specified path length
A specification of 0.0[mm] deactivates the function.
After control power on, a path length of 0.0[mm] is preset.
(Reserved for the SIEMENS application Simultaneous recording)
Units and value ranges
Physical unit:
Data type:
Initial value
mm, inch, user defined
TYPE_DOUBLE
0
Read access and write access
newMotSeqLength (C, S)
keine
Path length for logging event NEW_MOT_SEQ
For path lengths less than or equal to newMotSeqLength, the logging event NEW_MOT_SEQ
triggers instead of the possible events NEW_MOT_LIN, NEW_MOT_CIRCLE or NEW_MOT_COMPLEX.
A specification of 0.0[mm] deactivates the function.
After control power on, a path length of 0.0[mm] is preset.
(Reserved for the SIEMENS application Simultaneous recording)
Units and value ranges
Physical unit:
Data type:
Initial value
mm, inch, user defined
TYPE_DOUBLE
0
Read access and write access
pcTrafoNum (C, S)
$PC_TRAFO_NUM
Transformation number
The variable is '0' if no transformation is active.
If a conventionally defined transformation is active (in other words, not defined with kinematic chains), the variable contains
the number of the actual transformation data record (the number n in the machine data $MC_TRAFO_TYPE_n).
If a transformation defined with kinematic chains is active, the variable contains the number of the $NT data record with an
offset of 1000, this means that the first transformation returns the value 1001.
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_UWORD
0
Addressing
Line index:
Max. line index:
1
Read access
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
357
NC variables
3.2 NC variable descriptions
acToolOCorrDir (C, S)
$AC_TOOL_O_CORR_DIR
Overlay of the tool orientation
Returns the direction vector of the plane between the programmed setpoint orientation and the current orientation with
overlays.
in various coordinate systems:
Possible values of the line index:
1, 2, 3: Components of the vector in the BCS
4, 5, 6: Components of the vector in the PCS/WCS
7, 8, 9: Components of the vector in the ENS
This direction vector is scaled, this means it has the value 1.
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_DOUBLE
0
-1
1
Addressing
Line index:
Max. line index:
9
Read access
acToolOCorrAngle (C, S)
$AC_TOOL_O_CORR_ANGLE
Overlay of the tool orientation (angle).
Returns the angle in degrees between the programmed setpoint orientation and the current orientation with overlays.
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
Degree
TYPE_DOUBLE
0
0
180
Addressing
Line index:
Max. line index:
1
Read access
acToolRCorrDir (C, S)
$AC_TOOL_R_CORR_DIR
Overlay of the tool rotation
Returns the direction vector of the plane between the programmed rotation of the orientation and the current rotation of the
orientation with overlays.
in various coordinate systems (only relevant with 6-axis kinematics).
Possible values of the line index:
1, 2, 3: Components of the vector in the BCS
4, 5, 6: Components of the vector in the PCS/WCS
7, 8, 9: Components of the vector in the ENS
This direction vector is scaled, this means it has the value 1.
NC variables
358
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
acToolRCorrDir (C, S)
$AC_TOOL_R_CORR_DIR
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_DOUBLE
0
-1
1
Addressing
Line index:
Max. line index:
9
Read access
acToolRCorrAngle (C, S)
$AC_TOOL_R_CORR_ANGLE
Overlay of the tool rotation (angle).
Returns the angle in degrees between the programmed rotation of the orientation and the current rotation of the orientation
with overlays.
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
Degree
TYPE_DOUBLE
0
0
180
Addressing
Line index:
Max. line index:
1
Read access
selectedAsup (C, S)
Assignment of NC program to interrupt channel
Returns the assigned NC program (interrupt routine or ASUB) as complete path name for an interrupt channel via PI _N_ASUP__
or via part program command SETINT
Units and value ranges
Physical unit:
Data type:
-
TYPE_STRING
Addressing
Line index:
Max. line index:
32
Read access
tOffCR (C, S)
$AC_TOFFCR
Tool corner radius offset TOFFCR
Programmed tool corner radius offset.
For non-cylindrical tools, such as toroidal millers, there is also the tool corner radius in addition to the cylinder radius.
Accordingly, two corners are rounded in the case of the toroidal miller. The rounding is defined by the tool corner radius.
Units and value ranges
Physical unit:
Data type:
Initial value
mm, inch, degree, user defi-
TYPE_DOUBLE
0
ned
Addressing
Line index:
Max. line index:
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
359
NC variables
3.2 NC variable descriptions
tOffCR (C, S)
$AC_TOFFCR
1
Read access
acIsAddChan (C, S)
$AC_IS_ADD_CHAN
Indicates whether curr. chann. is handling channel
Indicates whether the current channel is a handling channel
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_UWORD
FALSE
Addressing
Line index:
Max. line index:
1
Read access
acCaExtOvr (C, S)
$AC_CAEXT_OVR
Overriding of external collision avoidance
Units and value ranges
Physical unit:
Data type:
-
TYPE_DOUBLE
Addressing
Line index:
Max. line index:
1
Read access
acActPoleTol (C, S)
$AC_ACT_POLE_TOL
Current end angle tolerance for pole interpolation
acActPoleTol specifies the end angle tolerance for pole interpolation for the current main run block.
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Degree, user defined
TYPE_DOUBLE
0
0
Addressing
Line index:
Max. line index:
1
Read access
actFLim (C, S)
Path feedrate limitation
Current value of the path feedrate limitation programmed with FLIM. The physical unit is in the variable 'feedRateIpoUnit'. The
value -1 means: there is no active limitation.
Units and value ranges
Physical unit:
Data type:
mm/min, inch/min, user de-
TYPE_DOUBLE
fined
NC variables
360
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
actFLim (C, S)
Addressing
Line index:
Max. line index:
1
Read access
actPAccLim (C, S)
Path acceleration limitation
Current value of the path acceleration limitation programmed with PACCLIM. The value -1 means: no value is programmed.
Units and value ranges
Physical unit:
Data type:
m/s2, 1000 inch/ s2, user de-
TYPE_DOUBLE
fined
Addressing
Line index:
Max. line index:
1
Read access
3.2.3.19
SE: Setting data
OEM-MMC: LinkItem /Channel/Settings/...
Channel-specific setting data
CONTPREC (C, SE)
SD 42450: $SC_CONTPREC
SD 42450: $SC_CONTPREC
Units and value ranges
Physical unit:
Data type:
-
TYPE_DOUBLE
Read access
COUPLE_RATIO_1 (C, SE)
SD 42300: $SC_COUPLE_RATIO_1
SD 42300: $SC_COUPLE_RATIO_1
Units and value ranges
Physical unit:
Data type:
-
TYPE_DOUBLE
Addressing
Line index:
Max. line index:
2
Read access
CRIT_SPLINE_ANGLE (C, SE)
SD 42470: $SC_CRIT_SPLINE_ANGLE
SD 42470: $SC_CRIT_SPLINE_ANGLE
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
361
NC variables
3.2 NC variable descriptions
CRIT_SPLINE_ANGLE (C, SE)
SD 42470: $SC_CRIT_SPLINE_ANGLE
Units and value ranges
Physical unit:
Data type:
-
TYPE_DOUBLE
Read access
CUTCOM_G40_STOPRE (C, SE)
SD 42490: $SC_CUTCOM_G40_STOPRE
SD 42490: $SC_CUTCOM_G40_STOPRE
Units and value ranges
Physical unit:
Data type:
-
TYPE_BOOLEAN
Read access
EXT_PROG_PATH (C, SE)
SD 42700: $SC_EXT_PROG_PATH
SD 42700: $SC_EXT_PROG_PATH
Units and value ranges
Physical unit:
Data type:
-
TYPE_STRING
Read access
FRAME_OFFSET_INCR_PROG (C, SE)
SD 42440: $SC_FRAME_OFF-
SET_INCR_PROG
SD 42440: $SC_FRAME_OFFSET_INCR_PROG
Units and value ranges
Physical unit:
Data type:
-
TYPE_BOOLEAN
Read access
IS_SD_MAX_PATH_ACCEL (C, SE)
SD 42502: $SC_IS_SD_MAX_PATH_ACCEL
SD 42502: $SC_IS_SD_MAX_PATH_ACCEL
Units and value ranges
Physical unit:
Data type:
-
TYPE_BOOLEAN
Read access
IS_SD_MAX_PATH_JERK (C, SE)
SD 42512: $SC_IS_SD_MAX_PATH_JERK
SD 42512: $SC_IS_SD_MAX_PATH_JERK
Units and value ranges
Physical unit:
Data type:
-
TYPE_BOOLEAN
Read access
JOG_FEED_PER_REV_SOURCE (C, SE)
SD 42600:
$SC_JOG_FEED_PER_REV_SOURCE
SD 42600: $SC_JOG_FEED_PER_REV_SOURCE
NC variables
362
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
JOG_FEED_PER_REV_SOURCE (C, SE)
SD 42600:
$SC_JOG_FEED_PER_REV_SOURCE
Units and value ranges
Physical unit:
Data type:
-
TYPE_DWORD
Read access
MDD_DRY_RUN_FEED (C, SE)
SD 42100: $SC_MDD_DRY_RUN_FEED
Alternative name:
DRY_RUN_FEED
Dry run feedrate
Units and value ranges
Physical unit:
Data type:
mm/min, inch/min, user de-
TYPE_DOUBLE
fined
Validity:
From NCK version 3.6
Read access and write access
MDD_THREAD_START_ANGLE (C, SE)
SD 42000: $SC_MDD_THREAD_START_AN-
GLE
Alternative name:
THREAD_START_ANGLE
Starting angle for thread
Units and value ranges
Physical unit:
Data type:
Degree
TYPE_DOUBLE
Validity:
From NCK version 3.6
Read access and write access
MINFEED (C, SE)
SD 42460: $SC_MINFEED
SD 42460: $SC_MINFEED
Units and value ranges
Physical unit:
Data type:
-
TYPE_DOUBLE
Read access
NIBPUNCH_PRE_START_TIME (C, SE)
SD 42402: $SC_NIB-
PUNCH_PRE_START_TIME
SD 42402: $SC_NIBPUNCH_PRE_START_TIME
Units and value ranges
Physical unit:
Data type:
s, user defined
TYPE_DOUBLE
Read access
PUNCH_DWELLTIME (C, SE)
SD 42400: $SC_PUNCH_DWELLTIME
SD 42400: $SC_PUNCH_DWELLTIME
Units and value ranges
Physical unit:
Data type:
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
363
NC variables
3.2 NC variable descriptions
PUNCH_DWELLTIME (C, SE)
SD 42400: $SC_PUNCH_DWELLTIME
s, user defined
TYPE_DOUBLE
Read access
SD_MAX_PATH_ACCEL (C, SE)
SD 42500: $SC_SD_MAX_PATH_ACCEL
SD 42500: $SC_SD_MAX_PATH_ACCEL
Units and value ranges
Physical unit:
Data type:
-
TYPE_DOUBLE
Read access
SD_MAX_PATH_JERK (C, SE)
SD 42510: $SC_SD_MAX_PATH_JERK
SD 42510: $SC_SD_MAX_PATH_JERK
Units and value ranges
Physical unit:
Data type:
-
TYPE_DOUBLE
Read access
SPIND_ASSIGN_TAB (C, SE)
SD 42800: $SC_SPIND_ASSIGN_TAB
SD 42800: $SC_SPIND_ASSIGN_TAB
Units and value ranges
Physical unit:
Data type:
-
TYPE_CHAR
Addressing
Line index:
Max. line index:
2
Read access
STOP_CUTCOM_STOPRE (C, SE)
SD 42480: $SC_STOP_CUTCOM_STOPRE
SD 42480: $SC_STOP_CUTCOM_STOPRE
Units and value ranges
Physical unit:
Data type:
-
TYPE_BOOLEAN
Read access
TOOL_OFFSET_INCR_PROG (C, SE)
SD 42442: $SC_TOOL_OFF-
SET_INCR_PROG
SD 42442: $SC_TOOL_OFFSET_INCR_PROG
Units and value ranges
Physical unit:
Data type:
-
TYPE_BOOLEAN
Read access
NC variables
364
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
3.2.3.20
SEGA: Extended state in the WCS
OEM-MMC: LinkItem /Channel/GeometricAxis/...
All status data that are dependent on machine movement and specified in the workpiece coordinate system are
combined in module SGA. Supplementary information can be found in module SEGA. The individual variables are
defined as arrays where the line index is the number of the axis (assigned to the current channel).The variable
"name" in module SGA with the line index in question identifies the axis.
The assignment of the line indices in modules SGA and SEGA is identical.
With SW 5.2 and later, OPI modules SGA and SEGA can be addressed via the geo-axis no. instead of via the channel
axis no.:
Line index 1001: 1st geo-axis
Line index 1002: 2nd geo-axis
Line index 1003: 3rd geo-axis
The number of channel axes (geometry, special axes and spindles) can be found in "$$numMachAxes" in module
Y in area C.
aaDelt (C, SEGA)
$AA_DELT[x] x = Axis
Stored axial dist.-to-go in WCS after DELDTG
Stored axial distance-to-go in the WCS after axial delete-distance-to-go DELDTG(axis) for synchronous actions
(Note: for SYNACT only)
Units and value ranges
Physical unit:
Data type:
mm, inch, degree, user defi-
TYPE_DOUBLE
ned
Addressing
Line index:
Max. line index:
$$numMachAxes
Read access
aaDtbw (C, SEGA)
$AA_DTBW[x] x = Aaxis
Axial distance from beginning of block in the WCS
Axial distance from the beginning of the block in the WCS for positioning and synchronous axes for synchronous motion
(Note: for SYNACT only)
Units and value ranges
Physical unit:
Data type:
mm, inch, degree, user defi-
TYPE_DOUBLE
ned
Addressing
Line index:
Max. line index:
$$numMachAxes
Read access
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
365
NC variables
3.2 NC variable descriptions
aaDtepw (C, SEGA)
$AA_DTEPW[x] x = Axis
Axial dist.-to-go for infeed during oscill. in WCS
Axial distance-to-go for infeed during oscillation in the WCS (Note: for SYNACT only)
Units and value ranges
Physical unit:
Data type:
mm, inch, degree, user defi-
TYPE_DOUBLE
ned
Addressing
Line index:
Max. line index:
$$numMachAxes
Read access
aaDtew (C, SEGA)
$AA_DTEW[x] x = Axis
Axial distance to the end of block in the WCS
Axial distance to the end of the block in the WCS for positioning and synchronous axes for synchronous actions
(Note: for SYNACT only)
Units and value ranges
Physical unit:
Data type:
mm, inch, degree, user defi-
TYPE_DOUBLE
ned
Addressing
Line index:
Max. line index:
$$numMachAxes
Read access
aaDtsb (C, SEGA)
$AA_DTSB
Path from the motion starting point in the BCS
Units and value ranges
Physical unit:
Data type:
mm, inch, degree, user defi-
TYPE_DOUBLE
ned
Addressing
Line index:
Max. line index:
numMachAxes
Read access
aaDtsw (C, SEGA)
$AA_DTSW
Path from the motion starting point in the WCS
Units and value ranges
Physical unit:
Data type:
mm, inch, degree, user defi-
TYPE_DOUBLE
ned
Addressing
Line index:
Max. line index:
NC variables
366
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
aaDtsw (C, SEGA)
$AA_DTSW
numMachAxes
Read access
aaIb (C, SEGA)
$AA_IB
BCS setpoint
Current BCS setpoint of an axis
Units and value ranges
Physical unit:
Data type:
mm, inch, degree, user defi-
TYPE_DOUBLE
ned
Addressing
Line index:
Max. line index:
numMachAxes
Read access
aaIbCorr (C, SEGA)
$AA_IB_CORR
BCS setpoint value including override components
Current BCS setpoint value of an axis including override components
Units and value ranges
Physical unit:
Data type:
mm, inch, degree, user defi-
TYPE_DOUBLE
ned
Addressing
Line index:
Max. line index:
numMachAxes
Read access
aaIwCorr (C, SEGA)
$AA_IW_CORR
WCS setpoint value including override components
Current WCS setpoint value of an axis including override components
Units and value ranges
Physical unit:
Data type:
mm, inch, degree, user defi-
TYPE_DOUBLE
ned
Addressing
Line index:
Max. line index:
numMachAxes
Read access
aaMw1 (C, SEGA)
$AA_MW1[Achse]
Access meas. result trigger event 1 in WCS
Access to measurement result of trigger event 1 in the WCS
Units and value ranges
Physical unit:
Data type:
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
367
NC variables
3.2 NC variable descriptions
aaMw1 (C, SEGA)
$AA_MW1[Achse]
mm, inch, degree, user defi-
TYPE_DOUBLE
ned
Addressing
Line index:
Max. line index:
$$numMachAxes
Read access and write access
aaMw2 (C, SEGA)
$AA_MW2[Achse]
Access meas. result trigger event 2 in WCS
Access to measurement result of trigger event 2 in the WCS
Units and value ranges
Physical unit:
Data type:
mm, inch, degree, user defi-
TYPE_DOUBLE
ned
Addressing
Line index:
Max. line index:
$$numMachAxes
Read access and write access
aaMw3 (C, SEGA)
$AA_MW3[Achse]
Access meas. result trigger event 3 in WCS
Access to measurement result of trigger event 3 in the WCS
Units and value ranges
Physical unit:
Data type:
mm, inch, degree, user defi-
TYPE_DOUBLE
ned
Addressing
Line index:
Max. line index:
$$numMachAxes
Read access and write access
aaMw4 (C, SEGA)
$AA_MW4[Achse]
Access meas. result trigger event 4 in WCS
Access to measurement result of trigger event 4 in the WCS
Units and value ranges
Physical unit:
Data type:
mm, inch, degree, user defi-
TYPE_DOUBLE
ned
Addressing
Line index:
Max. line index:
$$numMachAxes
Read access and write access
NC variables
368
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
aaMw (C, SEGA)
$AA_MW[x] x = Axis
Latched probe position retransformed in the WCS
Units and value ranges
Physical unit:
Data type:
mm, inch, degree, user defi-
TYPE_DOUBLE
ned
Addressing
Line index:
Max. line index:
$$numMachAxes
Read access and write access
aaTOff (C, SEGA)
$AA_TOFF[ ]
Value of tthe superimposition in the tool directio
Value of the superimposed motions which have been retracted in the individual tool directions via $AA_TOFF[ ]
Units and value ranges
Physical unit:
Data type:
Initial value
mm, inch, user defined
TYPE_DOUBLE
0
Addressing
Line index:
Max. line index:
1000 + $$numGeoAxes
Read access and write access
aaTOffLimit (C, SEGA)
$AA_TOFF_LIMIT[ ]
Limiting value achieved via $AA_TOFF[ ]
Limit value of the superimposed motion has been achieved in the tool direction via $AA_TOFF[ ]
Return value
0 : Limiting value not achieved
1 : Limiting value achieved in positive direction
11 : Limiting value achieved in negative direction
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_UWORD
0
0
11
Addressing
Line index:
Max. line index:
1000 + $$numGeoAxes
Read access
aaTOffPrepDiff (C, SEGA)
$AA_TOFF_PREP_DIFF[ ]
Difference value main run to run in of $AA_TOFF[ ]
Difference between the current value of $AA_TOFF[] and the value as the current block was prepared.
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
369
NC variables
3.2 NC variable descriptions
aaTOffPrepDiff (C, SEGA)
$AA_TOFF_PREP_DIFF[ ]
Units and value ranges
Physical unit:
Data type:
Initial value
mm, inch, user defined
TYPE_DOUBLE
0
Addressing
Line index:
Max. line index:
1000 + $$numGeoAxes
Read access
aaTOffVal (C, SEGA)
$AA_TOFF_VAL[ ]
Cumulative value of superimposition in the tool di
Integrated value of the superimposed motions which have been retracted in the individual tool directions via $AA_TOFF[ ]
Units and value ranges
Physical unit:
Data type:
Initial value
mm, inch, user defined
TYPE_DOUBLE
0
Addressing
Line index:
Max. line index:
1000 + $$numGeoAxes
Read access
aaVactW (C, SEGA)
$AA_VACTW[X]
Axis veloc. in workpiece coordinates
Axis velocity in workpiece coordinate system
Units and value ranges
Physical unit:
Data type:
Initial value
mm/min, inch/min, user de-
TYPE_DOUBLE
0.0
fined
Addressing
Line index:
Max. line index:
$$numMachAxes
Read access
acRetpoint (C, SEGA)
$AC_RETPOINT[x] x = Axis
Return point on the contour for repositioning
Units and value ranges
Physical unit:
Data type:
mm, inch, degree, user defi-
TYPE_DOUBLE
ned
Addressing
Line index:
Max. line index:
$$numMachAxes
Read access
NC variables
370
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
actDistToGoEns (C, SEGA)
Distance-to-go in the SZS
Distance-to-go in the SZS based on the programmed position
Units and value ranges
Physical unit:
Data type:
-
TYPE_DOUBLE
Addressing
Line index:
Max. line index:
$$numMachAxes
Read access
actFeedRate (C, SEGA)
S5
Actual value of axis-specific feedrate
Actual value of axis-specific feedrate, if the axis is a positioning axis.
Units and value ranges
Physical unit:
Data type:
mm/min, inch/min, user de-
TYPE_DOUBLE
fined
Addressing
Line index:
Max. line index:
$$numMachAxes
Validity:
From NCK version 3.6
Read access
actFeedRateIpo (C, SEGA)
$$/C/SEGA/actFeedRate with revolutional feedrate
Corresponds to $$/C/SEGA/actFeedRate taking into account the
revolutional feedrate.
For geometry axes the value is reported in the MCS, i.e. related to the geometry axis and not to the machine axis.
Associated unit see: $$axisFeedRateIpoUnit
Units and value ranges
Physical unit:
Data type:
mm/min, inch/min, user de-
TYPE_DOUBLE
fined
Addressing
Line index:
Max. line index:
$$numMachAxes
Read access
actProgPosBKS (C, SEGA)
Actual value in basic coordinate system
Actual value of geometry and orientation axes in basic coordinate system
Units and value ranges
Physical unit:
Data type:
Initial value
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
371
NC variables
3.2 NC variable descriptions
actProgPosBKS (C, SEGA)
mm, inch, degree, user defi-
TYPE_DOUBLE
0.0
ned
Addressing
Line index:
Max. line index:
$$numMachAxes
Read access
actToolBasPosBN (C, SEGA)
$AA_IBN[x] x=Axis
Current setpoint relative to the BZS
Determines the current setpoint of the tool base position of axis "x" in relation to basic zero coordinate system (BZS)
The BZS value does not contain any override components (DRF, $AA_OFF, ext. work offset, etc.).
Units and value ranges
Physical unit:
Data type:
mm, inch, degree, user defi-
TYPE_DOUBLE
ned
Addressing
Line index:
Max. line index:
$$numMachAxes
Read access
actToolBasPosBNDiam (C, SEGA)
$$actToolBasPosBN with diameter conv.
Corresponds to $$actToolBasPosBN with diameter conversion
Units and value ranges
Physical unit:
Data type:
mm, inch, degree, user defi-
TYPE_DOUBLE
ned
Addressing
Line index:
Max. line index:
$$numMachAxes
Read access
actToolBasPosEN (C, SEGA)
$AA_IEN[x] x = Axis
Current setpoint in the SZS coordinate system
Determines the current setpoint of the "x" axis in the settable zero point coordinate system (SZS) for the corresponding axis.
The SZS value does not contain any axial override components (DRF, AA_OFF, ext. work offset etc.).
Units and value ranges
Physical unit:
Data type:
mm, inch, degree, user defi-
TYPE_DOUBLE
ned
Addressing
Line index:
Max. line index:
$$numMachAxes
Read access
NC variables
372
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
actToolBasPosENitc (C, SEGA)
corresponds to $$actToolBasPosEN Mode=1
corresponds to $$actToolBasPosEN with $DISPLAY_MODE_POSITION=1
Units and value ranges
Physical unit:
Data type:
mm, inch, degree, user defi-
TYPE_DOUBLE
ned
Addressing
Line index:
Max. line index:
$$numMachAxes
Read access
actToolBasPosENjmp (C, SEGA)
corresponds to $$actToolBasPosEN Mode=0
corresponds to $$actToolBasPosEN with $DISPLAY_MODE_POSITION=0
Units and value ranges
Physical unit:
Data type:
mm, inch, degree, user defi-
TYPE_DOUBLE
ned
Addressing
Line index:
Max. line index:
$$numMachAxes
Read access
actToolBasePosBasic (C, SEGA)
Base position of the active tool
Base position of the active tool in the base system (inch/metrical)
Units and value ranges
Physical unit:
Data type:
Initial value
mm, inch, degree, user defi-
TYPE_DOUBLE
0.0
ned
Addressing
Line index:
Max. line index:
$$numMachAxes
Read access
actToolBasePosBasicDiam (C, SEGA)
$$actToolBasePosBasic with diameter conv.
Corresponds to $$actToolBasePosBasic with diameter conversion
Units and value ranges
Physical unit:
Data type:
mm, inch, degree, user defi-
TYPE_DOUBLE
ned
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
373
NC variables
3.2 NC variable descriptions
actToolBasePosBasicDiam (C, SEGA)
Addressing
Line index:
Max. line index:
$$numMachAxes
Read access
actToolBasePosDiam (C, SEGA)
$$/C/SGA/actToolBasePos with diameter conv.
Corresponds to $$/C/SGA/actToolBasePos with diameter conversion
Units and value ranges
Physical unit:
Data type:
mm, inch, degree, user defi-
TYPE_DOUBLE
ned
Addressing
Line index:
Max. line index:
$$numMachAxes
Read access
actToolEdgeCenterPosEns (C, SEGA)
Actual position value in relation to WOS frame
Actual position value in relation to the WOS frame as center-point path, i.e. with tool length but without tool radius
Units and value ranges
Physical unit:
Data type:
mm, inch, degree, user defi-
TYPE_DOUBLE
ned
Addressing
Line index:
Max. line index:
$$numMachAxes
Read access
axisActiveInChan (C, SEGA)
Axis active
Flag indicating whether axis is active in this channel
Return value
0 = inactive
1 = active
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
$$numMachAxes
Validity:
From NCK version 3.6
Read access
NC variables
374
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
axisFeedRateIpoUnit (C, SEGA)
$$/C/SEGA/axisFeedRateUnit with revolut. feedrate
Corresponds to $$/C/SEGA/axisFeedRateUnit with revolutional feedrate
Return value
0 = mm/min
1 = mm/rev.
2 = inch/min
3 = inch/rev.
4 = deg./min
5 = deg./rev.
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
$$numMachAxes
Read access
axisFeedRateUnit (C, SEGA)
Unit of axial feedrate
Return value
0 = mm/min
1 = inch/min
2 = degree/min
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
$$numMachAxes
Validity:
From NCK version 3.6
Read access
cmdFeedRate (C, SEGA)
Desired value of axis-specific feedrate
Desired value of axis-specific feedrate for a positioning axis.
Units and value ranges
Physical unit:
Data type:
mm/min, inch/min, user de-
TYPE_DOUBLE
fined
Addressing
Line index:
Max. line index:
$$numMachAxes
Validity:
From NCK version 3.6
Read access
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
375
NC variables
3.2 NC variable descriptions
cmdFeedRateIpo (C, SEGA)
$$/C/SEGA/cmdFeedRate with revolutional feedrate
Corresponds to $$/C/SEGA/cmdFeedRate taking into account the revolutional feedrate.
Associated unit see: $$axisFeedRateIpoUnit
Units and value ranges
Physical unit:
Data type:
-
TYPE_DOUBLE
Addressing
Line index:
Max. line index:
$$numMachAxes
Read access
cmdToolBasPosENS (C, SEGA)
Workpiece coordinate system without progr. frame
Workpiece coordinate system without programmable frame and cycles frame (see also MD24030 MC_FRAME_ACS_SET)
Caution: If block search is active, only valid in a block search event of the logging function.
Units and value ranges
Physical unit:
Data type:
mm, inch, degree, user defi-
TYPE_DOUBLE
ned
Addressing
Line index:
Max. line index:
$$numMachAxes
Read access
cmdToolEdgeCenterPosEnsS (C, SEGA)
Programmed SZS position for block search
Programmed SZS position for block search with calculation
in relation to the WOS frame as center-point path, i.e. with tool length
but without tool radius
Notice! This variable is not available for the variable service,
but only for logging in connection with block search events!
Units and value ranges
Physical unit:
Data type:
mm, inch, degree, user defi-
TYPE_DOUBLE
ned
Addressing
Line index:
Max. line index:
$$numMachAxes
Read access
NC variables
376
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
cmdToolEdgeCenterPosEns (C, SEGA)
Programmed SZS position
Programmed SZS position
in relation to the WOS frame as center-point path, i.e. with tool length
but without tool radius
Units and value ranges
Physical unit:
Data type:
mm, inch, degree, user defi-
TYPE_DOUBLE
ned
Addressing
Line index:
Max. line index:
$$numMachAxes
Read access
diamonInfo (C, SEGA)
Position as diameter or radius
Information whether position values are shown as diameter or radius values.
This information is relevant for the following variables of the blocks SGA/SEGA:
- $$/C/SGA/cmdToolBasePos
- $$/C/SGA/toolBaseDistToGo
- $$/C/SGA/toolBaseREPOS
- $$cmdToolEdgeCenterPos
- $$actToolEdgeCenterPos
- $$toolEdgeCenterDistToGo
- $$toolEdgeCenterREPOS
- $$cmdProgPos
- $$actProgPos
- $$progDistToGo
- $$progREPOS
- $$actToolBasPosEN
- $$cmdToolEdgeCenterPosEnsS
- $$/C/SEGA/actToolEdgeCenterPosEns
- $$actToolBasPosBN
- $$cmdToolBasPosENS
- $$actProgPosBKS
- $$actToolBasePosDiam
- $$actToolBasePosBasicDiam
- $$actToolBasPosBNDiam
Return value
0: Diameter programming inactive
1: Diameter programming active
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_UWORD
0
0
1
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
377
NC variables
3.2 NC variable descriptions
diamonInfo (C, SEGA)
Addressing
Line index:
Max. line index:
$$numMachAxes
Read access
displayAxis (C, SEGA)
$MC_DISPLAY_AXIS Bit0-15
Identifier for geometry/auxiliary axis
Identifier indicating whether the axis is displayed by the HMI as a geometry or auxiliary axis.
Return value
0 =
Do not display at all
0xFFFF = Always display everything
bit 0 = Display in actual-value window
bit 1 = Display in reference point window
bit 2 = Display in Preset / Basic offset / Scratching
bit 3 = Display in handwheel selection
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_UWORD
0xFFFF
0
0xFFFF
Addressing
Line index:
Max. line index:
$$numMachAxes
Read access
drfVal (C, SEGA)
$AC_DRF[x] x = Axis
DRF value
DRF value. The physical unit is defined in $$/C/SGA/extUnit (in module SGA).
Units and value ranges
Physical unit:
Data type:
mm, inch, degree, user defi-
TYPE_DOUBLE
ned
Addressing
Line index:
Max. line index:
$$numMachAxes
Validity:
From NCK version 3.6
Read access
effComp (C, SEGA)
effComp
Sum of all length radius compensations. The physical unit is defined in $$/C/SGA/extUnit (in the SGA block).
Units and value ranges
Physical unit:
Data type:
mm, inch, degree, user defi-
TYPE_DOUBLE
ned
Addressing
Line index:
Max. line index:
NC variables
378
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
effComp (C, SEGA)
$$numMachAxes
Validity:
From NCK version 3.6
Read access
feedRateOvr (C, SEGA)
Feedrate override
Feedrate override if axis is a positioning axis. Multiplying override component which is active in addition to the override factors
programmed, set via handwheel or via PLC.
Units and value ranges
Physical unit:
Data type:
%
TYPE_DOUBLE
Addressing
Line index:
Max. line index:
$$numMachAxes
Validity:
From NCK version 3.6
Read access
geoAxisNr (C, SEGA)
Number of the geometry axis
Return value
If the axis is a geometry axis: 1-3
If the axis is not a geometry axis: 0
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
$$numMachAxes
Read access
handwheelAss (C, SEGA)
Number of assigned handwheel
Number of handwheel assigned to axis
Return value
0 = no handwheel assigned
1 to 3 = handwheel number
Units and value ranges
Physical unit:
Data type:
Minimum value:
Maximum value:
-
TYPE_UWORD
0
3
Addressing
Line index:
Max. line index:
$$numMachAxes
Validity:
From NCK version 3.6
Read access
index (C, SEGA)
Absolute axis index
Absolute axis index referred to MD
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
379
NC variables
3.2 NC variable descriptions
index (C, SEGA)
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
$$numMachAxes
Validity:
From NCK version 3.6
Read access
motEnd (C, SEGA)
$AA_MOTEND
Motion end criterion for single-axis interpolation
Current motion end criterion for single-axis interpolation
Return value
1 = Motion end with exact stop FINE
2 = Motion end with exact stop COARSE
3 = Motion end with exact stop IPO Stop
4 = Block change in braking ramp of axis motion
5 = Block change in braking ramp of axis motion with tolerance window with reference to
setpoint
6 = Block change in braking ramp of axis motion with tolerance window with reference to actual
value
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_UWORD
1
1
6
Addressing
Line index:
Max. line index:
$$numMachAxes
Read access
spec (C, SEGA)
Axis specification
Return value
0 = path axis
1 = positioning axis
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
$$numMachAxes
Validity:
From NCK version 3.6
Read access
subSpec (C, SEGA)
MD 30500: INDEX_AX_ASSIGN_POS_TAB
T1
Subspecification
Subspecification, identifies whether an axis is an indexing axis
Return value
0 = normal axis
1 = indexing axis
NC variables
380
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
subSpec (C, SEGA)
MD 30500: INDEX_AX_ASSIGN_POS_TAB
T1
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
$$numMachAxes
Validity:
From NCK version 3.6
Read access
type (C, SEGA)
Axis type
Return value
1 = linear axis
2 = rotary axis
3 = spindle
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
$$numMachAxes
Validity:
From NCK version 3.6
Read access
aaDiamStat (C, SEGA)
$AA_DIAM_STAT[]
Status of the diameter programming
Status of the diameter programming as a function of configuration and programming
Return value
Bit 0=0: Diameter programming inactive
Bit 0=1: Diameter programming active
Bit 1=0: Channel-specific diameter programming
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_UWORD
0
0
15
Addressing
Line index:
Max. line index:
$$numMachAxes
Read access
aaSccStat (C, SEGA)
$AA_SCC_STAT[]
Status of the G96/G961/G962 assignment
Status of the G96/G961/G962 assignment as a function of configuration and programming
Return value
Bit 0=0: Axis is not assigned to G96/G961/G962
Bit 0=1: Axis is assigned to G96/G961/G962
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_UWORD
0
0
1
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
381
NC variables
3.2 NC variable descriptions
aaSccStat (C, SEGA)
$AA_SCC_STAT[]
Addressing
Line index:
Max. line index:
$$numMachAxes
Read access
aaPcsRel (C, SEGA)
$AA_PCS_REL[Achse]
Current relative WCS setpoint of an axis
The axial variable $AA_PCS_REL[ax] determines the current relative setpoint of the corresponding axis in the workpiece coor-
dinate system (WCS). The setpoint corresponds to $AA_IW[ax], which is transformed by the current relative system frame
$P_RELFRAME. The axial positions lie in the relative workpiece coordinate system.
Units and value ranges
Physical unit:
Data type:
Initial value
mm, inch, degree, user defi-
TYPE_DOUBLE
0
ned
Addressing
Line index:
Max. line index:
$$numMachAxes
Read access
aaAcsRel (C, SEGA)
$AA_ACS_REL[Achse]
Current relative SZS setpoint of an axis
The axial variable $AA_ACS_REL[ax] determines the current relative setpoint in the settable zero coordinate system (SZS) for
the corresponding axis. The setpoint corresponds to $AA_IEN[ax], which is transformed by the current relative system frame
$P_RELFRAME. The axial positions lie in the relative settable zero system.
Units and value ranges
Physical unit:
Data type:
Initial value
mm, inch, degree, user defi-
TYPE_DOUBLE
0
ned
Addressing
Line index:
Max. line index:
$$numMachAxes
Read access
aaIbc (C, SEGA)
$AA_IBC[Achse]
Current setpoint of a Cartesian axis
The axial variable $AA_IBC[ax] determines the setpoint of a Cartesian axis lying between BCS and MCS. Cartesian means that
the axis is a linear axis, and it lies plane parallel to a coordinate axis in a clockwise coordinate system.
If a geometry axis is still Cartesian at the output of the nth transformation, then this value is returned.
The axis identifier used must represent a geometry axis in the BCS, otherwise the variable returns the value 0.
Units and value ranges
Physical unit:
Data type:
Initial value
mm, inch, degree, user defi-
TYPE_DOUBLE
0
ned
Addressing
Line index:
Max. line index:
NC variables
382
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
aaIbc (C, SEGA)
$AA_IBC[Achse]
$$numMachAxes
Read access
vaIw (C, SEGA)
$VA_IW[Achse]
Current WCS actual value of an axis
The variable $VA_IW[ ax ] determines the encoder position of an axis retransformed into BCS. The BCS value contains all the
axial override components (DRF, AA_OFF, external work offset, etc.) and compensation values (CEC, etc.). The positions are only
computed once per IPO cycle for performance reasons. When a variable is read within one IPO cycle, the value of the variable
does not change, although the actual value could have changed.
If transformations are active, it must be taken into account that transforming the actual values into the BCS in the IPO cycle can
be very time-consuming. In this case, an adequate IPO cycle must be set.
Units and value ranges
Physical unit:
Data type:
Initial value
mm, inch, degree, user defi-
TYPE_DOUBLE
0
ned
Addressing
Line index:
Max. line index:
$$numMachAxes
Read access
vaIb (C, SEGA)
$VA_IB[Achse]
Current BCS encoder position of an axis
The variable $VA_IB[ ax ] determines the encoder position of an axis retransformed into BCS. The BCS value contains all the axial
override components (DRF, AA_OFF, external work offset, etc.) and compensation values (CEC, etc.). The positions are only
computed once per IPO cycle for performance reasons. When a variable is read within one IPO cycle, the value of the variable
does not change, although the actual value could have changed.
If transformations are active, it must be taken into account that transforming the actual values into the BCS in the IPO cycle can
be very time-consuming. In this case, an adequate IPO cycle must be set.
Units and value ranges
Physical unit:
Data type:
Initial value
mm, inch, degree, user defi-
TYPE_DOUBLE
0
ned
Addressing
Line index:
Max. line index:
$$numMachAxes
Read access
vaIbc (C, SEGA)
$VA_IBC[Achse]
Cartesian BCS encoder position of an axis
The variable $VA_IBC[ geo axis ] determines the encoder position of a Cartesian axis lying between BCS and MCS. Cartesian
means that the axis is a linear axis and lies plane parallel to a coordinate axis in a clockwise coordinate system. The axis
identifier used can be a geometry, channel or machine axis identifier. This identifier must represent a geometry axis in the BCS,
otherwise the variable returns the value 0.0. The positions are only computed once per IPO cycle for performance reasons.
When a variable is read within one IPO cycle, the value of the variable does not change, although the actual value could have
changed.
If transformations are active, it must be taken into account that transforming the actual values into the BCS in the IPO cycle can
be very time-consuming. In this case, an adequate IPO cycle must be set.
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
383
NC variables
3.2 NC variable descriptions
vaIbc (C, SEGA)
$VA_IBC[Achse]
Units and value ranges
Physical unit:
Data type:
Initial value
mm, inch, degree, user defi-
TYPE_DOUBLE
0
ned
Addressing
Line index:
Max. line index:
$$numMachAxes
Read access
aaItr1 (C, SEGA)
$AA_ITR[Achse, 1]
Current setpoint after the first transformation
The axial variable determines the current setpoint of an axis at the output of the 1st chained transformation.
Units and value ranges
Physical unit:
Data type:
Initial value
mm, inch, degree, user defi-
TYPE_DOUBLE
0
ned
Addressing
Line index:
Max. line index:
$$numMachAxes
Read access
aaItr2 (C, SEGA)
$AA_ITR[Achse, 2]
Current setpoint after the second transformation
The axial variable determines the current setpoint of an axis at the output of the 2nd chained transformation.
Units and value ranges
Physical unit:
Data type:
Initial value
mm, inch, degree, user defi-
TYPE_DOUBLE
0
ned
Addressing
Line index:
Max. line index:
$$numMachAxes
Read access
aaItr3 (C, SEGA)
$AA_ITR[Achse, 3]
Current setpoint after the third transformation
The axial variable determines the current setpoint of an axis at the output of the 3rd chained transformation.
Units and value ranges
Physical unit:
Data type:
Initial value
mm, inch, degree, user defi-
TYPE_DOUBLE
0
ned
Addressing
Line index:
Max. line index:
$$numMachAxes
Read access
NC variables
384
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
vaItr1 (C, SEGA)
$VA_ITR[Achse, 1]
Actual value at the output of first transformation
The axial variable determines the current encoder position of an axis at the output of the 1st chained transformation.
Units and value ranges
Physical unit:
Data type:
Initial value
mm, inch, degree, user defi-
TYPE_DOUBLE
0
ned
Addressing
Line index:
Max. line index:
$$numMachAxes
Read access
vaItr2 (C, SEGA)
$VA_ITR[Achse, 2]
Actual value at output of second transformation
The axial variable determines the current encoder position of an axis at the output of the 2nd chained transformation.
Units and value ranges
Physical unit:
Data type:
Initial value
mm, inch, degree, user defi-
TYPE_DOUBLE
0
ned
Addressing
Line index:
Max. line index:
$$numMachAxes
Read access
vaItr3 (C, SEGA)
$VA_ITR[Achse, 3]
Actual value at the output of third transformation
The axial variable determines the current encoder position of an axis at the output of the 3rd chained transformation.
Units and value ranges
Physical unit:
Data type:
Initial value
mm, inch, degree, user defi-
TYPE_DOUBLE
0
ned
Addressing
Line index:
Max. line index:
$$numMachAxes
Read access
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
385
NC variables
3.2 NC variable descriptions
3.2.3.21
SEMA: Extended state data in MCS
OEM-MMC: LinkItem /Channel/MachineAxis/...
All state data that are dependent on machine movement and are defined specifically for machine axes (geometry
and special axes) are combined in module SMA. Supplementary information is to be found in module SEMA. The
individual variables are defined as fields where the line index is the number of the machine axis (assigned to the
current channel). The variable "name" in module SMA with the line index in question identifies the axis.
The assignment of the line indices in modules SMA and SEMA is identical.
PRESETActive (C, SEMA)
Preset state
Return value
0 = no preset active
1 = preset active
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
$$numMachAxes
Validity:
From NCK version 3.6
Read access
PRESETVal (C, SEMA)
$AC_PRESET[x] x = Axis
PRESET
The function PRESETON (...) programs a work offset for an axis. The value of the offset is stored in the variable 'PRESETVal'. The
variable can be overwritten by the part program and by the HMI.
Units and value ranges
Physical unit:
Data type:
mm, inch, user defined
TYPE_DOUBLE
Addressing
Line index:
Max. line index:
$$numMachAxes
Validity:
From NCK version 3.6
Read access and write access
aaAccPercent (C, SEMA)
$AA_ACC_PERCENT[Achse]
Current acceleration value in percent
Current acceleration value for single-axis interpolation in percent
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
-
TYPE_UWORD
0
0
Addressing
Line index:
Max. line index:
$$numMachAxes
Read access
NC variables
386
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
aaActIndexAxPosNo (C, SEMA)
$AA_ACT_INDEX_AX_POS_NO[<Achse>]
Current indexing position
Current indexing position; the display depends on
$MN_INDEX_AX_NO_MODE and the division (via table or equidistant)
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_DWORD
0
Addressing
Line index:
Max. line index:
$$numMachAxes
Read access
aaAlarmStat (C, SEMA)
$AA_ALARM_STAT
Display of active alarms
Display indicating whether alarms are active for a PLC-controlled axis.
The relevant coded alarm reactions can be used as a source for
the "Extended Stop and Retract" function.
Return value
The data is bit-coded, allowing, where necessary, individual states to be
masked or evaluated separately (bits not listed supply a value of 0)
Bit2 = 1: NOREADY (active rapid deceleration + cancelation of servo enable)
Bit6 = 1: STOPBYALARM (rampm stop in all channel axes)
Bit9 = 1: SETVDI (VDI interface signal "Setting alarm")
Bit13 = 1: FOLLOWUPBYALARM (Follow-up)
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_UWORD
0
Addressing
Line index:
Max. line index:
$$numMachAxes
Read access
aaAxChangeStat (C, SEMA)
$AA_AXCHANGE_STAT[Achse]
Axis status with respect to axis replacement
Axis status with respect to axis replacement
Return value
0: Axis can be replaced
1: Axis is linked to the channel, but can become the PLC, command or reciprocating axis
2: Axis cannot be replaced
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_UWORD
0
0
2
Addressing
Line index:
Max. line index:
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
387
NC variables
3.2 NC variable descriptions
aaAxChangeStat (C, SEMA)
$AA_AXCHANGE_STAT[Achse]
$$numMachAxes
Read access
aaAxChangeTyp (C, SEMA)
$AA_AXCHANGE_TYP[Achse]
Axis type with respect to axis replacement
Return value
0: Axis assigned to the NC program
1: Axis assigned to the PLC or active as command axis or reciprocating axis
2: Other channel has interpolation right
3: Neutral axis
4: Neutral axis controlled from the PLC
5: Other channel has interpolation right; axis is requested for the NC program
6: Other channel has interpolation right; axis is requested as neutral axis
7: Axis is PLC axis or is active as command axis or reciprocating axis; axis is requested for the
NC program
8: Axis is PLC axis or is active as command axis or reciprocating axis; axis is requested as
neutral axis
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_UWORD
0
0
8
Addressing
Line index:
Max. line index:
$$numMachAxes
Read access
aaAxDisable (C, SEMA)
$AA_AX_DISABLE[<Achse>]
Status of axis/spindle disable
Resulting status of axis/spindle disable.
Return value
0: Axis/spindle disable not active.
1: Axis/spindle disable active.
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_UDWORD
0
Addressing
Line index:
Max. line index:
$$numMachAxes
Read access
NC variables
388
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
aaAxDisableSrc (C, SEMA)
$AA_AX_DISABLE_SRC[<Achse>]
Source of axis/spindle disable
Bitmask which provides the status and source of the currently active axis/spindle disable.
If bit 0 has been set, the axis/spindle disable is active.
Return value
The data is bit-coded. Individual states can therefore be masked or evaluated separately if ne-
cessary:
Bit0 = 1: Resulting state from all sources: axis/spindle disable active.
Bit1 = 1: Axial signal 'Axis/spindle disable triggered by PLC' is active.
Bit2 = 1: Channel-specific program test is active.
Bit3 = 1: Axial suppression of 'Program test triggered by the PLC' is active.
Bit4 = 1: Axial signal 'Program test (energy saving mode)' is active.
Bit5 = 1: SERUPRO is active.
Bit6 = 1: Coupling object 'Total state is axis/spindle disable' is active.
Bit7 = 1: Coupling object 'Total state is real traveling' is active.
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_UDWORD
0
Addressing
Line index:
Max. line index:
$$numMachAxes
Read access
aaBcsOffset (C, SEMA)
$AA_BCS_OFFSET[Achse]
Axial offsets of an axis
Sum of all axial offsets of an axis,
such as DRF, online tool offset, $AA_OFF and ext. WO.
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_DOUBLE
0
Addressing
Line index:
Max. line index:
$$numMachAxes
Read access
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
389
NC variables
3.2 NC variable descriptions
aaBrakeCondB (C, SEMA)
$AA_BRAKE_CONDB[axis]
Conditions for interpolator stop in the BCS
Shows the pending braking requests (conditions) for the interpolator stop of the axis / spindle.
A braking request consists of a collision direction relating to a coordinate axis in the BCS and a braking priority relating to the
machining step.
If the axis / spindle receives a current braking request on account of these requirement(s), bit 0 is set in $AA_BRAKE_STATE[X]
(in the next IPO cycle).\
Return value
The highest deceleration priority in positive direction is shown in bits 0 to 3:
0x0: No pending deceleration request
0x1: Priority 1 covers all positioning actions (G0, POS, SPOS)
0x2: Priority 2 covers DYNNORM and all priority 1 motions
0x3: Priority 3 covers DYNPOS and all priority 1 to 2 motions
0x4: Priority 4 covers DYNROUGH and all priority 1 to 3 motions
0x5: Priority 5 covers DYNSEMIFIN and all priority 1 to 4 motions
0x6: Priority 6 covers all motions (including DYNFINISH). The request could also have been
triggered by a CP SW limit stop.
0x7: Priority 7 covers all motions. The request was triggered by the VDI interface signal
DB31,..DBX4.3 "Feed stop / Spindle stop".
Deceleration always takes place, irrespective of the direction of motion.
0xD: Priority 13 covers all motions. Axial deceleration takes place with an emergency stop
deceleration ramp.
The highest deceleration priority in negative direction is shown in bits 16 to 19:
0x0 to 0xD: Same meaning as bits 0 to 3
All other bits are reserved and not set.
If the value of the variable is shown in hexadecimal format, the fifth character from the right
shows the deceleration priority
in negative direction while the first number from the right shows the deceleration priority in
positive direction.
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_UDWORD
0
0
0xD000D
Addressing
Line index:
Max. line index:
$$numMachAxes
Read access
NC variables
390
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
aaBrakeCondM (C, SEMA)
$AA_BRAKE_CONDM[axis]
Conditions for interpolator stop in the MCS
Shows the pending braking requests (conditions) for the interpolator stop of the axis / spindle.
A braking request consists of a collision direction relating to a coordinate axis in the MCS and a braking priority relating to the
machining step.
Return value
The highest deceleration priority in positive direction is shown in bits 0 to 3:
0x0: No pending deceleration request
0x1: Priority 1 covers all positioning actions (G0, POS, SPOS)
0x2: Priority 2 covers DYNNORM and all priority 1 motions
0x3: Priority 3 covers DYNPOS and all priority 1 to 2 motions
0x4: Priority 4 covers DYNROUGH and all priority 1 to 3 motions
0x5: Priority 5 covers DYNSEMIFIN and all priority 1 to 4 motions
0x6: Priority 6 covers all motions (including DYNFINISH). The request could also have been
triggered by a CP SW limit stop.
0x7: Priority 7 covers all motions. The request was triggered by the VDI interface signal
DB31,..DBX4.3 "Feed stop / Spindle stop".
Deceleration always takes place, irrespective of the direction of motion.
0xD: Priority 13 covers all motions. Axial deceleration takes place with an emergency stop
deceleration ramp.
The highest deceleration priority in negative direction is shown in bits 16 to 19:
0x0 to 0xD: Same meaning as bits 0 to 3
All other bits are reserved and not set.
If the value of the variable is shown in hexadecimal format, the fifth character from the right
shows the deceleration priority
in negative direction while the first number from the right shows the deceleration priority in
positive direction.
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_UDWORD
0
0
0xD000D
Addressing
Line index:
Max. line index:
$$numMachAxes
Read access
aaBrakeState (C, SEMA)
$AA_BRAKE_STATE[axis]
Current braking status
Returns for the axis / spindle whether an active deceleration request has been set on account of the request of aaBrakeCondB
or a CP SW limit stop or a VDI interface signal DB31,..DBX4.3 "Feed stop / Spindle stop".
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_UDWORD
0
0
1
Addressing
Line index:
Max. line index:
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
391
NC variables
3.2 NC variable descriptions
aaBrakeState (C, SEMA)
$AA_BRAKE_STATE[axis]
$$numMachAxes
Read access
aaChanNo (C, SEMA)
$AA_CHANNO[Achse]
Axis in the channel
The variable supplies the number of the channel in which the axis
is currently being interpolated.
With value 0, the axis could not be assigned to any channel.
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
-
TYPE_UWORD
0
0
Addressing
Line index:
Max. line index:
$$numMachAxes
Read access
aaCoupAct (C, SEMA)
$AA_COUP_ACT[x] x = Spindle following
Current coupling state of the slave spindle
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
$$numMachAxes
Read access
aaCoupOffs (C, SEMA)
$AA_COUP_OFFS[x] x = Spindle
Pos. offset of the synchr. spindle desired value
Position offset of the synchronous spindle desired value
Units and value ranges
Physical unit:
Data type:
-
TYPE_DOUBLE
Addressing
Line index:
Max. line index:
$$numMachAxes
Read access
aaCurr (C, SEMA)
$AA_CURR[x] x = Axis
Actual value of the axis/spindle current in A
Actual value of the axis/spindle current in A (only available for PROFIdrive drives)
Units and value ranges
Physical unit:
Data type:
A
TYPE_DOUBLE
NC variables
392
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
aaCurr (C, SEMA)
$AA_CURR[x] x = Axis
Addressing
Line index:
Max. line index:
$$numMachAxes
Read access
aaDepAxO (C, SEMA)
$AA_DEPAXO[Achse]
Dependence on other axes
Dependency on other axes.
Returns an axis code for the defined axis AX containing all the machine axes that have a mechanical dependency on the
defined axis.
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
-
TYPE_DWORD
0
0
Addressing
Line index:
Max. line index:
$$numMachAxes
Read access
aaDtbb (C, SEMA)
$AA_DTBB[x] x = Axis
Axis distance from beginning of the block in BCS
Axis-specific distance from the beginning of the block in the BCS for positioning and synchronous axes used in synchronous
actions
(note: SYNACT only)
Units and value ranges
Physical unit:
Data type:
-
TYPE_DOUBLE
Addressing
Line index:
Max. line index:
$$numMachAxes
Read access
aaDtbreb (C, SEMA)
$AA_DTBREB[axis]
Total decelaration distance, BCS
The estimated total distance until the end of deceleration is reached, BCS
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
-
TYPE_DOUBLE
0
0
Addressing
Line index:
Max. line index:
$$numMachAxes
Read access
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
393

 

 

 

 

 

 

 

Content      ..     61      62      63      64     ..