|
|
NC variables
3.2 NC variable descriptions
acThreadPitch (C, S)
$AC_THREAD_PITCH
-
TYPE_DOUBLE
0
Addressing
Line index:
Max. line index:
1
Read access
acThreadPitchAct (C, S)
$AC_THREAD_PITCH_ACT
Current lead
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_DOUBLE
0
Addressing
Line index:
Max. line index:
1
Read access
acThreadPitchInc (C, S)
$AC_THREAD_PITCH_INC
Current lead change
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_DOUBLE
0
Addressing
Line index:
Max. line index:
1
Read access
acTime (C, S)
$AC_TIME
Time from the beginning of the block in seconds
Time from the beginning of the block in seconds (Note: for SYNACT only)
Units and value ranges
Physical unit:
Data type:
s
TYPE_DOUBLE
Addressing
Line index:
Max. line index:
1
Read access
acTimec (C, S)
$AC_TIMEC
Time from begin. of block in interpolation cycles
Time from the beginning of the block in interpolation cycles (Note: for SYNACT only)
Units and value ranges
Physical unit:
Data type:
IPO cycle
TYPE_DOUBLE
NC variables
256
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
acTimec (C, S)
$AC_TIMEC
Addressing
Line index:
Max. line index:
1
Read access
acTimer (C, S)
$AC_TIMER[x] x = TimerNo
Time variable in seconds
Time variable in seconds (Note: for SYNACT only)
Units and value ranges
Physical unit:
Data type:
s
TYPE_DOUBLE
Addressing
Line index:
Max. line index:
$MN_MM_NUM_AC_TIMER
Read access
acTotalOvr (C, S)
$AC_TOTAL_OVR
Total path override for synchronized actions
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
-
TYPE_DOUBLE
100
0
Addressing
Line index:
Max. line index:
1
Read access
acTrafo (C, S)
$AC_TRAFO
Code number of the active transformation
Code number of the active transformation (encoded as for $AC_TRAFO)
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
1
Read access
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
257
NC variables
3.2 NC variable descriptions
acTrafoChain (C, S)
$AC_TRAFO_CHAIN
Active chained transformation
Active chained transformation
Code numbers of the chained transformations of the active TRACON corresponding
to machine data $MC_TRAFO_TYPE_m.
Return value
0: No master tool holder available
1..n: Number of the master tool holder
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
-
TYPE_UWORD
0
0
Addressing
Line index:
Max. line index:
4
Read access
acTrafoParSet (C, S)
$AC_TRAFO_PARSET
Number of current transformer data record
The variable is '0' if no transformation is active.
If a conventionally defined (i.e. not by kinematic chains) transformation is active, the variable contains the number of the
current transformation data record.
If a transformation defined by kinematic chains is active, the variable contains the number of the $NT data record with an
offset of 1000, i.e. 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
acVactB (C, S)
$AC_VACTB
Path veloc. in basic coordinate system
Path velocity in basic coordinate system
Units and value ranges
Physical unit:
Data type:
Initial value
mm/min, inch/min, user de-
TYPE_DOUBLE
0
fined
Addressing
Line index:
Max. line index:
1
Read access
NC variables
258
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
acVactBf (C, S)
$AC_VACTBF
Path velocity in the BCS
Path velocity in the BCS.
FGroup and FGREF are taken into account.
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
mm/min, inch/min, user de-
TYPE_DOUBLE
0
0
fined
Addressing
Line index:
Max. line index:
1
Read access
acVactWf (C, S)
$AC_VACTWF
Path velocity in the workpiece coordinate system
Path velocity in the workpiece coordinate system.
FGroup and FGREF are taken into account.
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
mm/min, inch/min, user de-
TYPE_DOUBLE
0
0
fined
Addressing
Line index:
Max. line index:
1
Read access
acVactw (C, S)
$AC_VACTW
Path velocity in the WCS (SYNACT)
Path velocity in the work piece coordinate system (Note: for SYNACT only)
Units and value ranges
Physical unit:
Data type:
-
TYPE_DOUBLE
Addressing
Line index:
Max. line index:
1
Read access
acVc (C, S)
$AC_VC
Add. path feed correction for synchronous actions
Additive path feedrate correction value for synchronous actions (Note: for SYNACT only)
Units and value ranges
Physical unit:
Data type:
-
TYPE_DOUBLE
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
259
NC variables
3.2 NC variable descriptions
acVc (C, S)
$AC_VC
Addressing
Line index:
Max. line index:
1
Read access
actDLNumber (C, S)
$P_DLNO
Active total offset
Number of active total offset DL
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Read access
actDNumber (C, S)
$P_TOOL
Number of active tool edge
Number of active tool edge (Dx).
Value range: D0 ... DMax.
Max corresponds to the value of MD18105 $MN_MM_MAX_CUTTING_EDGE_NO
Units and value ranges
Physical unit:
Data type:
Minimum value:
Maximum value:
-
TYPE_UWORD
0
9
Validity:
From NCK version 3.6
Read access
actDNumberFanuc (C, S)
Replaced by actDNumberFanuc32
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
1
Read access
actDNumberFanuc32 (C, S)
Offset memory number radius (ISO Dialect))
With programming in ISO Dialect mode:
Offset memory number radius.
Assigned only in conjunction with ISO Dialect M external language.
Units and value ranges
Physical unit:
Data type:
-
TYPE_DWORD
Addressing
Line index:
Max. line index:
NC variables
260
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
actDNumberFanuc32 (C, S)
1
Read access
actDNumberS (C, S)
Corresp. to actNumber for block search with calc.
Corresponds to actNumber for block search with calculation
Attention: This variable is available for protocolling block search events only, not for the Variable Service!
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
1
Read access and write access
actDuploNumber (C, S)
Duplo number of active tool
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_UWORD
0
Addressing
Line index:
Max. line index:
1
Validity:
From NCK version 3.6
Read access
actFeedRateIpo (C, S)
Actual value of the interpolation feedrate
Actual value of the interpolation feedrate. The actual value is the feed actually moved with. (depends on the acceleration
profiles, LookAhead, velocity limits etc. ) The variable 'feedRateIpoUnit' defines the physical unit.
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
actFeedRateTechIpo (C, S)
Interpolation feed extended, actual value
Interpolation feed extended, actual value. The actual value is the actually traversed feed rate (depends on the acceleration
profiles, LookAhead, velocity limits etc.). The variable 'feedRateIpoUnit' defines the physical unit (mm/min, mm/rev or mm/
tooth).
Units and value ranges
Physical unit:
Data type:
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
261
NC variables
3.2 NC variable descriptions
actFeedRateTechIpo (C, S)
mm/min, inch/min, user de-
TYPE_DOUBLE
fined
Read access
actFrameIndex (C, S)
$P_UIFRNUM
Index of the active set frame
Index of the active set frame (index in G group 8 "Settable work offset"). Frames 0 - 4 (corresponds to G500 ... G57) can be set
in the standard version. The number of frames can be changed via machine data MM_NUM_USER_FRAMES.
Return value
0 = no frame selected
1 = G54
2 = G55
3 = G56
4 = G57
5 = G505
to
99 = G599
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Validity:
From NCK version 3.6
Read access
actHNumberFanuc (C, S)
Replaced by actHNumberFanuc32
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
1
Read access
actHNumberFanuc32 (C, S)
Offset memory number length (Fanuc)
With programming in ISO Dialect mode:
Offset memory number length.
Assigned only in conjunction with ISO Dialect M external language.
Units and value ranges
Physical unit:
Data type:
-
TYPE_DWORD
Addressing
Line index:
Max. line index:
1
Read access
NC variables
262
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
actIpoType (C, S)
Active interpolation mode search run
Active interpolation mode used for the path motion. This date corresponds to a large degree to the SNCF:ncFktBin for the first
G-group.
The value differs for automatically generated intermediate blocks only. This is e.g. the case if two lines are connected with an
arc by the command RND. The value is the index of the active G-code (analog with SNCF:ncFktBin)
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
1
Read access
actIpoTypeS (C, S)
Active interpolation mode
Active mode of interpolation applied during block searches.
This data is very similar to SNCF:ncFktBinS for the 1st G group.
Its value is different only in the case of automatically generated intermediate blocks,
such as when, for example, two straight lines are connected to an arc
by means of command RND.
The value is the index of the active G function (analogous to SNCF:ncFktBinS).
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
1
Read access
actMasterToolHolderNo (C, S)
Active no. of the master tool holder
Active number of the master tool holder.
Especially for $MC_RESET_MODE_MASK, Bit0=0, this is the value of
SETMS or SETMTH last programmed in the RESET status of the NCK.
Especially for $MC_RESET_MODE_MASK, Bit0=1, this is the value in the RESET status of the NCK for
$MC_SPIND_DEF_MASTER_SPIND (if $MC_TOOL_MANAGEMENT_TOOLHOLDER=0);
or $MC_TOOL_MANAGEMENT_TOOLHOLDER (if $MC_TOOL_MANAGEMENT_TOOLHOLDER > 0)
Units and value ranges
Physical unit:
Data type:
Minimum value:
Maximum value:
-
TYPE_UWORD
1
max. Anzahl der Kanal-
achsen
Addressing
Line index:
Max. line index:
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
263
NC variables
3.2 NC variable descriptions
actMasterToolHolderNo (C, S)
1
Read access
actOriToolLength1 (C, S)
X component of tool in WCS
X component in workpiece coordinate system (WCS) of active tool length,
taking into account the tool orientation, incl. adapter data, mirroring and TCARR
(orientable toolholder).
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_DOUBLE
0
Addressing
Line index:
Max. line index:
1
Read access
actOriToolLength2 (C, S)
Y component of tool in WCS
Y component in workpiece coordinate system (WCS) of active tool length,
taking into account the tool orientation, incl. adapter data, mirroring and TCARR
(orientation-capable toolholder).
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_DOUBLE
0
Addressing
Line index:
Max. line index:
1
Read access
actOriToolLength3 (C, S)
Z component of tool in WCS
Z component in workpiece coordinate system (WCS) of active tool length,
taking into account the tool orientation, incl. adapter data, mirroring and TCARR
(orientation-capable toolholder).
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_DOUBLE
0
Addressing
Line index:
Max. line index:
1
Read access
NC variables
264
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
actParts (C, S)
$AC_ACTUAL_PARTS
Actual number of workpieces
Total number of workpieces machined since the start time. When the set number of workpieces ($AC_REQUIRED_PARTS) is
reached, the counter is automatically reset to zero ($AC_REQUIRED_PARTS unequal to 0):
The counter is incremented by 1 with the output of the M command defined in the channel MD 27882$MC_PART_COUN-
TER_MCODE[1]
to the PLC.
The counter is automatically reset with default values at control run-up.
The timer is activated via MD27880 $MC_PART_COUNTER:
o Bit 4 = 1: Counter $AC_TOTAL_PARTS is active
Further meaning of bits 5-6 only if bit 4 =1:
o Bit 5 = 0: Counter $AC_TOTAL_PARTS is incremented by 1 with VDI output of M02/M30
o Bit 5 = 1: Counter $AC_TOTAL_PARTS is incremented by 1 with output of M command from MD PART_COUNTER_MCODE[0]
o Bit 6 = 0: $AC_TOTAL_PARTS also active with program test/block search
o Bit 6 = 1: No machining $AC_TOTAL_PARTS with program test/block search.
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_DOUBLE
0
Read access and write access
actProgNetTime (C, S)
$AC_ACT_PROG_NET_TIME
Runtime of selected NC program
The current net runtime of the selected program in [s], Net runtime means excluding the time during which the program was
stopped.
If a part program is restarted in AUTOMATIC mode from the RESET channel status, $AC_ACT_PROG_NET_TIME is automatically
reset to "0".
Further properties:
o The Reset key does not reset $AC_ACT_PROG_NET_TIME to "0", but only stops the timer.
o When an ASUB is started, $AC_ACT_PROG_NET_TIME is set to "0", and counts the runtime of the ASUB. At the end of an ASUB,
it behaves the same as with the RESET key, that is the timer is only stopped, but not reset to "0".
o When an event-controlled program is started (PROG_EVENT), $AC_ACT_PROG_NET_TIME is not reset. The program runtime
only continues to be counted if it is a start, M30 or search run PROG_EVENT.
o The behavior of $AC_ACT_PROG_NET_TIME with GOTOS and override = 0% can be parameterized by
MD27850 $MC_PROG_NET_TIMER_MODE.
Return value
Seconds
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
s, user defined
TYPE_DOUBLE
0
0
Addressing
Line index:
Max. line index:
1
Read access
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
265
NC variables
3.2 NC variable descriptions
actMTNumber (C, S)
Number of the multitool with active tool
Number of the multitool in which the active tool is contained. The value is zero if the active tool is not contained in a multitool.
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
1
Read access
actMTPlaceNumber (C, S)
$AC_TC_
Number of the MT place with active tool
Number of the multitool place in which the active tool is contained. The value is zero if the active tool is not contained in a
multitool.
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
1
Read access
actTNumber (C, S)
$P_TOOLNO
W1
Active tool number
The command should not be used if magazine management (TMMG=1) is active.
If magazine management is active, GETTEXET should be used instead.
For $MC_CUTTING_EDGE_DEFAULT=0 or -2, an incorrect T number may be determined.
If the programming is made after programming D > 0, it is also safe.
Units and value ranges
Physical unit:
Data type:
Minimum value:
Maximum value:
-
TYPE_UWORD
0
32000
Validity:
From NCK version 3.6
Read access
actTNumberLong (C, S)
No. of active tool for flat D-no. max 8 digits
Number of the active tool using flat D-numbers with up to 8 digits
Units and value ranges
Physical unit:
Data type:
-
TYPE_DWORD
Addressing
Line index:
Max. line index:
NC variables
266
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
actTNumberLong (C, S)
1
Read access
actTNumberS (C, S)
corr. to actTNumber for block search without calc.
Corresponds to actTNumber for block search with calculation.
Attention: This variable is available for protocolling the block search events only, not for the Variable Service!
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
1
Read access and write access
actToolEdgeCenterPosEns (C, S)
composite variable
Corresponds to $$/C/SEGA/actToolEdgeCenterPosEns in the SEGA block
for the 3 geometry axes
The variable consists of three values of the DOUBLE type, i.e. is 24 bytes long.
Note: The variable is released for use only with the Simultaneous recording function.
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
actToolIdent (C, S)
W1
Identifier of active tool
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_STRING
"\0"
Addressing
Line index:
Max. line index:
1
Validity:
From NCK version 3.6
Read access
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
267
NC variables
3.2 NC variable descriptions
actToolLength1 (C, S)
$P_TOOLL[1]
W1
Active tool length 1
The variable returns the active tool length 1.
The value corresponds to the value in $TC_DP3 including the active tool offsets, but irrespective of the selected machining plane
(G17, G18 or G19) and setting data, such as SD42940 $SC_TOOL_LENGTH_CONST.
Units and value ranges
Physical unit:
Data type:
mm, inch, user defined
TYPE_DOUBLE
Validity:
From NCK version 3.6
Read access
actToolLength2 (C, S)
$P_TOOLL[2]
W!
Active tool length 2
The variable returns the active tool length 2.
The value corresponds to the value in $TC_DP4 including the active tool offsets, but irrespective of the selected machining plane
(G17, G18 or G19) and setting data, such as SD42940 $SC_TOOL_LENGTH_CONST.
Units and value ranges
Physical unit:
Data type:
mm, inch, user defined
TYPE_DOUBLE
Validity:
From NCK version 3.6
Read access
actToolLength3 (C, S)
$P_TOOLL[3]
W1
Active tool length 3
The variable returns the active tool length 3.
The value corresponds to the value in $TC_DP5 including the active tool offsets, but irrespective of the selected machining plane
(G17, G18 or G19) and setting data, such as SD42940 $SC_TOOL_LENGTH_CONST.
Units and value ranges
Physical unit:
Data type:
mm, inch, user defined
TYPE_DOUBLE
Validity:
From NCK version 3.6
Read access
actToolRadius (C, S)
$P_TOOLR
W1
Active tool radius
The variable returns the current total radius of the tool.
The total radius includes all components, such as geometry radius ($TC_DP6), wear radius ($TC_DP15) and online offset values.
Units and value ranges
Physical unit:
Data type:
mm, inch, user defined
TYPE_DOUBLE
Validity:
From NCK version 3.6
Read access
actTransform (C, S)
Active transformation
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_STRING
\0
NC variables
268
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
actTransform (C, S)
Addressing
Line index:
Max. line index:
1
Read access
actWaCSCoordSys (C, S)
$AC_WORKAREA_CS_COORD_SYSTEM
Coordinate system for working area limitation
Coordinate system of the active coordinate system-specific working area limitation
Return value
Identifier for the coordinate system in which the working area limitation is to apply.
The following are valid:
0: Working area limitation in the WCS
3: Working area limitation in the SZS
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_UWORD
0
Addressing
Line index:
Max. line index:
1
Read access
actWaCSLimitMinus (C, S)
$AC_WORKAREA_CS_LIMIT_MINUS
Coord.-specific working area limitation, negative
Position of the coordinate system-specific working area limitation in the negative direction for the addressed axis and working
area group.
Return value
Position of the working area limitation in the negative direction
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
actWaCSLimitPlus (C, S)
$AC_WORKAREA_CS_LIMIT_PLUS
Coord.-specific working area limitation positive
Position of the coordinate system-specific working area limitation in the positive direction for the addressed axis and working
area group
Return value
Position of the working area limitation in the positive direction
Units and value ranges
Physical unit:
Data type:
Initial value
mm, inch, degree, user defi-
TYPE_DOUBLE
0
ned
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
269
NC variables
3.2 NC variable descriptions
actWaCSLimitPlus (C, S)
$AC_WORKAREA_CS_LIMIT_PLUS
Addressing
Line index:
Max. line index:
$$numMachAxes
Read access
actWaCSMinusEnable (C, S)
$AC_WORKAREA_CS_MINUS_ENABLE
Coord.-spec. work. area limitation, negative valid
The coordinate-specific working area limitation in the negative direction of $$actWaCSLimitMinus is valid.
Return value
TRUE: The value in the variable $$actWaCSLimitMinus is valid for the axis.
FALSE: There is no limitation in the coordinate-specific working area in the negative direction for
this axis.
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_UWORD
0
Addressing
Line index:
Max. line index:
$$numMachAxes
Read access
actWaCSPlusEnable (C, S)
$AC_WORKAREA_CS_PLUS_ENABLE
Coord.-spec. work. area limitation, positive valid
The coordinate system-specific working area limitation in the positive direction of $$actWaCSLimitPlus is valid.
Return value
TRUE: The value in the variable $$actWaCSLimitPlus is valid for the axis.
FALSE: There is no limitation for this axis in the positive direction in the coordinate-specific
working area.
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_UWORD
0
Addressing
Line index:
Max. line index:
$$numMachAxes
Read access
allAxesRefActive (C, S)
DB21-30, DBX36.2
All axes referenced
Code specifying whether all axes are referenced
Return value
1 = all axes referenced
0 = at least 1 axis not referenced
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Validity:
From NCK version 3.6
Read access
NC variables
270
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
allAxesStopped (C, S)
Axes in exact stop
Code specifying whether axes are in exact stop
Return value
0 = at least one axis is not in exact stop
1 = All axes in exact stop
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Validity:
From NCK version 3.6
Read access
basisFrameMask (C, S)
$P_CHBFRMASK
Active channel-specific basic frames
Display indicating which channel-specific basic frames are active
Return value
Every bit in the mask indicates whether the appropriate basic frame
is active. Bit0 = 1st basic frame, Bit1 = 2nd basic frame, etc.
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
1
Read access
blockType (C, S)
$AC_BLOCKTYPE
Type of the active block in the interpolator
Identifies the type of a block (programmed or generated internally)
Return value
0: No internally generated block
1: Internally generated block, but cannot be specified in detail
2: Block was generated on chamfering/rounding
3: Smooth approach and retraction (SAR)
4: Block was generated during tool offset
5: Block was generated on smoothing
6: Block was generated by TLIFT (tangential correction)
7: Block was generated during path segmentation
8: Block was generated by compile cycles
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_DWORD
0
0
8
Addressing
Line index:
Max. line index:
1
Read access
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
271
NC variables
3.2 NC variable descriptions
blockTypeInfo (C, S)
$AC_BLOCKTYPEINFO
Information on block type
Detailed information on block type
NC variables
272
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
blockTypeInfo (C, S)
$AC_BLOCKTYPEINFO
Return value
The value range and the meaning of this variable depend on the current
value of system variable $$blockType
System variable $$blockTypeInfo can be used to request additional
information on variable $$blockType.
Depending on the value of system variable $$blockType, various values are then possible:
1. General internally generated block: $$blockType = 1
$$blockTypeInfo = 1000 and does not include any additional information.
2. Chamfer/round: $$blockType = 2
2001: straight
2002: circle
3. SAR: $$blockType = 3
3001: Approach with straight
3002: Approach with quadrant
3003: Approach with semicircle
4. Tool offset: $$blockType = 4
4001: Approach block after STOPRE
4002: Link blocks if intersection not found
4003: Point circle on inside corners (only with TRACYL)
4004: Bypass circle (or conic) on outside corners
4005: Approach blocks for offset suppression
4006: Approach blocks for reactivation of TRC
4007: Blocks are split because curvature is too high
4008: Compensation blocks for 3D front milling (tool vector || plane vector)
5. Corner rounding: $$blockType = 5
5001: Rounding contour through G641
5002: Rounding contour through G642
5003: Rounding contour through G643
5004: Rounding contour through G644
6. TLIFT: $$blockType = 6
6001: TLIFT block with linear movement of the tangential axis but without retraction movement.
6002: TLIFT block with non-linear movement of the tangential axis (polynomial)
but without retraction movement.
6003: TLIFT block with retraction movement.
Tangential axis movement and retraction movement start simultaneously.
6004: TLIFT block with retraction movement.
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
273
NC variables
3.2 NC variable descriptions
blockTypeInfo (C, S)
$AC_BLOCKTYPEINFO
Tangential axis does not start until a specific retraction position is reached.
7. Path segmentation: $$blockType = 7
7001: Programmed path segmentation without punching or nibbling active.
7002: Programmed path segmentation with punching or nibbling active.
7003: Automatically generated path segmentation.
8. Compile cycles: $$blockType = 8
In this case, system variable $AC_BLOCKTYPEINFO includes the
ID of the compile cycles application that generated the block.
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
-
TYPE_DWORD
0
0
Addressing
Line index:
Max. line index:
1
Read access
cIn (C, S)
$C_IN[n]
Signal from PLC to cycle
Signal from PLC to cycle (reserved for
SIEMENS application, e.g. ShopMill/ManualTurn)
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
16
Read access
cOut (C, S)
$C_OUT[n]
Signal from cycle to PLC
Signal from cycle to PLC (reserved for
SIEMENS application, e.g. ShopMill/ManualTurn)
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
16
Read access
NC variables
274
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
chanAlarm (C, S)
DB21-30, DBX36.6 und DBX36.7
A2
NCK alarm pending
Code whether NCK alarm pending.
Return value
0 = no alarm in this channel
1 = alarm without stop
2 = alarm with stop
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Validity:
From NCK version 3.6
Read access
chanAxisNoGap (C, S)
Alternative name:
axisActivInChan
Display of existing axes.
Display of existing axes, i.e. no axis gap in channel.
Return value
Bits 0-31 represent the axes of the channel.
Bitn = 0: Axis does not exist.
Bitn = 1: Axis does exist.
Units and value ranges
Physical unit:
Data type:
Minimum value:
-
TYPE_DWORD
0
Addressing
Line index:
Max. line index:
1
Read access
chanStatus (C, S)
DB21-30, DBX35.5 - DBX35.7
K1
Channel status (1=active)
Channel status
Return value
0 = RESET
1 = active
2 = interrupted
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Validity:
From NCK version 3.6
Read access
changeAxConfCounter (C, S)
Counter indicating changes of axes configuration
A counter which is incremented if the axes configuration has changed. This is the case, if e.g. geometry axes are switched or
axes have been changed between channels. The counter is set to 0 at PowerOn and it might overflow. You cannot be sure, that
the axes configuration actually has changed when the counter is incremented.
Units and value ranges
Physical unit:
Data type:
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
275
NC variables
3.2 NC variable descriptions
changeAxConfCounter (C, S)
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
1
Read access
cmdDwellTime (C, S)
Programmed dwell time
Return value
See $$timeOrRevolDwell
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
s, user defined
TYPE_DOUBLE
0
0
Addressing
Line index:
Max. line index:
1
Read access
cmdFeedRateIpo (C, S)
$AC_F
Desired value of the interpolation feedrate
Desired feedrate of the interpolation feedrate. The physical unit is defined in the variable 'feedRateIpoUnit'
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
cmdFeedRateIpoS (C, S)
Interpolation feed during search
Interpolation feed during search.
The physical unit is in the variable $$feedRateIpoUnitS
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
mm/min, inch/min, user de-
TYPE_DOUBLE
0
0
fined
Addressing
Line index:
Max. line index:
1
Read access
NC variables
276
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
cmdTrafoParSetS (C, S)
$P_TRAFO_PARSET
No. prog. transformation data record block search
The variable is '0' if no transformation is active.
If a conventionally defined (i.e. not by kinematic chains) transformation is active, the variable contains the number of the
current transformation data record during block search.
If a transformation defined by kinematic chains is active, the variable contains the number of the $NT data record with an
offset of 1000, i.e. the first transformation returns the value 1001 (during block search).
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_UWORD
0
Addressing
Line index:
Max. line index:
1
Read access
cmdTrafoS (C, S)
$P_TRAFO
Prog. transformation block search
Code number of programmed transformation for block search
Return value
Coding as for variable $AC_TRAFO
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_UWORD
0
Addressing
Line index:
Max. line index:
1
Read access
contourDev (C, S)
Do not use this variable any more!
Units and value ranges
Physical unit:
Data type:
mm, inch, user defined
TYPE_DOUBLE
Validity:
From NCK version 3.6
Read access
corrBlActive (C, S)
Incorrect block occurred
Incorrect block has occurred (correction block)
Return value
0 = no incorrect block
1 = incorrect block
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Validity:
From NCK version 3.6
Read access
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
277
NC variables
3.2 NC variable descriptions
cycServRestricted (C, S)
Restricted cyclic variable service
Identifier, whether there is restricted, cyclic variable service.
This is a privileged variable: cyclic result acknowledgments of this variable are also returned when the cyclic services are no
longer served by the NCK because of block change time problems.
Notice: The privileged variables lose his property if they are mixed with non-privileged variables in one order. -> Do not integrate
the variable cycServRestricted in a cluster with other variables!
Return value
0 = normal cycl. service
1 = no cyclic service (but acknowledgment)
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Validity:
From NCK version 3.6
Read access
delObjState (C, S)
Error status of PI _N_DELOBJ
Using PI _N_DELOBJ protection areas are deleted analogous to the language command DELOBJ(...).
This OPI variable shows the status of the PI .
0 = PI successfully executed.
-2 = Name of the object to be deleted not known.
-3 = Index -1 not permitted
-4 = Start index too large
-5 = Illegal index when deleting a group (only -1 permitted)
-6 = Start index smaller than end index
-7 = End index too large
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_DWORD
0
Addressing
Line index:
Max. line index:
1
Read access
delayFSt (C, S)
Stop in curr.progr.area is effect.after a delay
Delay Feed Stop, Stop is delayed in the current program area
Return value
0: Stop in the current program area is effective immediately
1: Stop in the current program area is effective after a delay
2: Stop in the current program area is effective immediately (same as 0), although
a stop delay area was programmed in the parts program.
(This means that the NCK could not switch on the stop delay area.)
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
NC variables
278
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
delayFSt (C, S)
-
TYPE_UWORD
0
0
2
Addressing
Line index:
Max. line index:
1
Read access
direction (C, S)
Traversing direction
Return value
0 = normal travel
1 = forward travel
2 = reverse travel
3 = reference point cycle
4 = stop state
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Validity:
From NCK version 3.6
Read access
ensRotTrans (C, S)
ensRotTrans
SZS offset of the rotary axis with TRANSMIT and TRACYL
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
extProgActive (C, S)
DB21-30, DBX32.0
Program execution from external active
Flag indicating whether program execution from external is active.
Return value
0 = inactive
1 = active
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Validity:
From NCK version 3.6
Read access
feedRateIpoOvr (C, S)
Interpolation feedrate, override
Units and value ranges
Physical unit:
Data type:
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
279
NC variables
3.2 NC variable descriptions
feedRateIpoOvr (C, S)
%
TYPE_DOUBLE
Validity:
From NCK version 3.6
Read access
feedRateIpoUnit (C, S)
Interpolation feedrate, units
Return value
0 = mm/min
1 = mm/rev
2 = inch/min
3 = inch/rev
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Validity:
From NCK version 3.6
Read access
feedRateIpoUnitS (C, S)
Interpolation feedrate, units (search)
Interpolation feed, units during search
Return value
0 = mm/min
1 = mm/rev
2 = inch/min
3 = inch/rev
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
findBlActive (C, S)
DB21-30, DBX33.4
K1
Block search active
Code whether block search is active.
Return value
0 = not active
1 = active
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Validity:
From NCK version 3.6
Read access
NC variables
280
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
geoAxesInChan (C, S)
Assignment of geometry axes to channel axes
Determines the geometry axis assignment of the channel axes.
Row index 1: Channel axis index of the 1st geometry axis
Row index 2: Channel axis index of the 2nd geometry axis
Row index 3: Channel axis index of the 3rd geometry axis
In the event of a non-existent geometry axis the channel axis index is -1.
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_DWORD
0
Addressing
Line index:
Max. line index:
3
Read access
ludAccCounter (C, S)
Counter indicating that a new LUD ACC is available
Counter indicating that a new LUD ACC is available. If subprograms are called during an automatic program execution, a new
set of LUDs becomes valid. In order to indicate to the HMI that it has to modify the display of the LUDs, respectively that the
validity of the LUDs has changed, the variable 'ludAccCounter' is incremented. It is only necessary for the HMI to inquire a
change of the variable's value, the value itself is of no importance.
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Validity:
From NCK version 3.6
Read access
machFunc (C, S)
DB11, DBXn.0 - DBXn.2 (n=7,27,47,67, ...)
Active channel machine function
Return value
0 = none
1 = REPOS
2 = TEACH IN
3 = REF
4 = TEACH-REPOS
5 = TEACH-REF
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Validity:
From NCK version 3.6
Read access
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
281
NC variables
3.2 NC variable descriptions
markActiveList (C, S)
Status array for the wait marker
Status array for the active marker in channel m.
The first element (markActiveList[1] ) of the array specifies the currently active marker number of this channel (channel m).
The second element ( markActiveList[2] ) specifies bit-coded whether channel m is still waiting for the mark to
be reached in the other channels (channel n), in short "waiting status".
markActiveList[2] Bit-n == 1 Channel m is waiting for mark markActiveList[1] in channel n
markActiveList[2] Bit-n == 0 Channel n has already reached mark markActiveList[1], or channel m is not
waiting for mark markActiveList[1] at all
Return value
markActiveList[1] == 0
Current channel m does not edit any wait marker
markActiveList[1] == 1..99 Current channel m is positioned on the wait marker with mark-
ActiveList[1]
markActiveList[2] Bit-n == 1 Channel m is waiting for mark markActiveList[1] in channel n
markActiveList[2] Bit-n == 0 Channel n has already reached mark markActiveList[1], or
channel m is not
waiting for mark markActiveList[1] at all
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_UWORD
0
0
99
Addressing
Line index:
Max. line index:
2
Read access
nameIndex (C, S)
Index of the found string
Using PI _N_NAMINT (NAMETOINT) string is searched in a 1-dimensional string field.
In this OPI variable, the index of the found strings is returned to the string field.
If the string is not found, the OPI variable is -1.
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_DWORD
0
Addressing
Line index:
Max. line index:
1
Read access
ncProgEndCounter (C, S)
Counter for end of program
Counter which is incremented
as soon as the NCK has processed an end of program.
NC variables
282
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
ncProgEndCounter (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
ncResetCounter (C, S)
Counter for Reset key
Counter which is incremented with each 0->edge of
the Reset key
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
ncStartCounter (C, S)
Counter for NC-start key
Counter for the NC-start key. Pressing this key increments the variable 'ncStartCounter'. The value of the variable can be
ignored, the HMI must just inquire the change of the variable to see whether the start-key has been pressed.
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Validity:
From NCK version 3.6
Read access
ncStartSignalCounter (C, S)
Counter for NC start signal
Counter that is incremented
as soon as the channel-specific NC start signal has been activated in the VDI interface.
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
numChanAlarms (C, S)
Do not use this variable any more!
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
283
NC variables
3.2 NC variable descriptions
numChanAlarms (C, S)
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Validity:
From NCK version 3.6
Read access
numToolHolders (C, S)
$P_MAGNS
Number of tool holders in the TOA of the channel
Number of tool holders/ spindles (buffer locations of the location type = spindle) from the magazine configuration of the TOA
which are allocated to the channel. The number of tool holders / spindles is solely a function of the magazine configuration and
does not change during an NC program execution.
Value = 0, if there is no magazine configuration or the TMMG (tool management magazines) is not present in the NC.
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_UWORD
0
0
$$numMachAxes
Addressing
Line index:
Max. line index:
1
Read access
numTraceProtocEventType (C, S)
Logging: Standard event types
Logging: Number of standard event types
Units and value ranges
Physical unit:
Data type:
Minimum value:
-
TYPE_UWORD
0
Addressing
Line index:
Max. line index:
10
Read access
numTraceProtocOemEventType (C, S)
$MM_PROTOC_NUM_ETP_OEM_TYP
Logging: OEM event types
Logging: Number of OEM event types
Units and value ranges
Physical unit:
Data type:
Minimum value:
-
TYPE_UWORD
0
Addressing
Line index:
Max. line index:
10
Read access
NC variables
284
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
oldProgNetTime (C, S)
$AC_OLD_PROG_NET_TIME
Net runtime of last NC program
The variable returns the net runtime of the program that has just finished correctly in seconds.
"Finished correctly" means that the program was not canceled with RESET, but ended normally with M30.
If a new program is started, $AC_OLD_PROG_NET_TIME remains unaffected until M30 is reached again.
Further properties:
o $AC_OLD_PROG_NET_TIME is set to "0" if the currently selected program is edited.
o At the end of an ASUB or an event-controlled program (PROG_EVENT), $AC_OLD_PROG_NET_TIME is not changed.
Return value
Seconds
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
s, user defined
TYPE_DOUBLE
0
0
Addressing
Line index:
Max. line index:
1
Read access and write access
oldProgNetTimeCounter (C, S)
$AC_OLD_PROG_NET_TIME_COUNT
Modification counter for oldProgNetTime
oldProgNetTimeCounter is zero in the Power ON status. oldProgNetTimeCounter is always increased when $$oldProgNetTime
has been newly written. This enables the user to ensure that $$oldProgNetTime has been written. This means that, if the user
cancels the current program with reset, $$oldProgNetTime and ldProgNetTimeCounter remain unchanged.
Note: Two programs running consecutively can have identical runtimes and be correctly terminated. The user can then only
detect this by the changed oldProgNetTimeCounter.
Return value
Modification counter
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
pCutInv (C, S)
$AC_CUT_INV
Invert direction of spindle rotation tool
States that a turning tool is rotated against the machining plane
(typically through 180 degrees around the C axis with G18) such that the
direction of spindle rotation has to be inverted.
Return value
FALSE, TRUE
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:
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
285
NC variables
3.2 NC variable descriptions
pCutInv (C, S)
$AC_CUT_INV
1
Read access
pCutInvS (C, S)
Invert dir. of spindle rot. tool (block search)
States that a turning tool is rotated against the machining plane
(typically through 180 degrees around the C axis with G18) such that the
direction of spindle rotation has to be inverted.
For block search.
Return value
FALSE, TRUE
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
pCutMod (C, S)
$AC_CUTMOD
Last programmed value of CUTMOD
Reads the current valid value that was last programmed with the language command CUTMOD
(number of the tool carrier for which the cutting edge data modification is to be activated).
If the last programmed value was CUTMOD = -2 (activation with the currently active tool carrier with orientation capability),
the value -2 is not returned but the number of the active tool carrier with orientation capability at the time of programming.
Return value
-2, 999999
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_DWORD
0
0
1
Addressing
Line index:
Max. line index:
1
Read access
pCutModS (C, S)
Last programmed value of CUTMOD (block search)
Reads the current valid value that was last programmed with the language command CUTMOD
(number of the tool carrier for which the cutting edge data modification is to be activated).
If the last programmed value was CUTMOD = -2 (activation with the currently active tool carrier with orientation capability),
the value -2 is not returned but the number of the active tool carrier with orientation capability at the time of programming.
For block search
Return value
-2, 999999
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
NC variables
286
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
pCutModS (C, S)
-
TYPE_DWORD
0
0
1
Addressing
Line index:
Max. line index:
1
Read access
pEgBc (C, S)
$P_EG_BC[a]
EG block change criterion
Electronic gear:
Block change criterion. Important for EGON, EGONSYN
Return value
0: NOC Block change is performed immediately
1: IPOSTOP Block change is performed with setpoint side
synchronism
2: COARSE Block change is performed with "Synchronism coarse"
3: FINE Block change is performed with "Synchronism fine"
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_UWORD
3
0
3
Addressing
Line index:
Max. line index:
$$numMachAxes
Read access
pMthSDC (C, S)
$P_MTHSDC
Master tool holder for cutting edge selection
Master tool holder no. or master spindle no. is determined with reference to the active tool for the next D offset selection. This
is important if the master spindle changes after the last tool change.
Return value
>0 Successful read access
0 No master tool holder or no master spindle available.
The next D offset works with T0.
-1 TMMG not available
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_DWORD
0
0
$$numMachAxes
Addressing
Line index:
Max. line index:
1
Read access
pOffn (C, S)
$P_OFFN
Offset normal
Last programmed offset normal
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
287
NC variables
3.2 NC variable descriptions
pOffn (C, S)
$P_OFFN
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_DOUBLE
0
Read access
pTCutMod (C, S)
$P_AD[2]
Angle of rotation for edge position
Angle of rotation for modification of edge position and cutting direction
Return value
Angle between 0 and 360 degrees
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
Degree
TYPE_DOUBLE
0
0
360
Addressing
Line index:
Max. line index:
1
Read access
pTCutModS (C, S)
Angle of rotation for block search edge position
Angle of rotation for edge position and
cutting direction for block search
Return value
Angle between 0 and 360 degrees
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
Degree
TYPE_DOUBLE
0
0
360
Addressing
Line index:
Max. line index:
1
Read access
pTc (C, S)
$P_TC
Active tool carrier with orientation capability
The active orientatable toolholder
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
NC variables
288
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
pTcAng (C, S)
$P_TCANG[n]
Angles of axes for toolholders
The current angles of the two axes of an orientation-capable toolholder
Units and value ranges
Physical unit:
Data type:
Initial value
Degree
TYPE_DOUBLE
0
Addressing
Line index:
Max. line index:
2
Read access
pTcDiff (C, S)
$P_TCDIFF[n]
Angular difference between toolholder axes
The difference between the exact and the actually used
angles of the two axes of
an orientation-capable toolholder
Units and value ranges
Physical unit:
Data type:
Initial value
Degree
TYPE_DOUBLE
0
Addressing
Line index:
Max. line index:
2
Read access
pTcNum (C, S)
$P_TCNUM
Number of available tool carriers
Number of available orientable tool carriers in the channel
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
pTcSol (C, S)
$P_TCSOL
Toolholder number of solutions
Number of solutions (configuration options for rotary
axes) on selection of an orientatable toolholder. The variable
value can be between 0 and 2, where 0 to 2 means either none,
1 solution or 2 solutions.
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
289
NC variables
3.2 NC variable descriptions
pTcSol (C, S)
$P_TCSOL
-
TYPE_UWORD
0
0
Addressing
Line index:
Max. line index:
1
Read access
pTcStat (C, S)
$P_TCSTAT
Tool carrier status
Specifies the status of an orientable tool carrier.
Return value
The variable is bit-coded with the following meanings:
0x0001
The first rotary axis is available
0x0002
The second rotary axis is available
0x0004 The angles used for the calculation come from an orientation in the frame direction
0x0008
The angles used for the calculation have been absolutely defined
0x0010
The polar axis angle is not defined in the case of orientation in the frame direction
0x1000
Only the tool can be rotated (kinematic type T)
0x2000
Only the workpiece can be rotated (kinematic type P)
0x4000
Tool and workpiece can be rotated (kinematic type M)
The bits stated here are not currently assigned.
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
-
TYPE_DWORD
0
0
Addressing
Line index:
Max. line index:
1
Read access
pToolO (C, S)
$P_TOOL_O
Tool orientation
Supplies the current 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
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
NC variables
290
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
pToolO (C, S)
$P_TOOL_O
Addressing
Line index:
Max. line index:
9
Read access
paAccLimA (C, S)
$PA_ACCLIMA[a]
Axial acceleration override: run in
Axial acceleration override in run in
Return value
1-200
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_UWORD
100
1
200
Addressing
Line index:
Max. line index:
$$numMachAxes
Read access
paJerkLimA (C, S)
$PA_JERKLIMA[a]
Axial jerk override: run in
Axial jerk override in run in
Return value
1-200
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_UWORD
100
1
200
Addressing
Line index:
Max. line index:
$$numMachAxes
Read access
paVeloLimA (C, S)
$PA_VELOLIMA[a]
Axial velocity override: run in
Axial velocity override in run in
Return value
1-200
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_UWORD
100
1
200
Addressing
Line index:
Max. line index:
$$numMachAxes
Read access
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
291
NC variables
3.2 NC variable descriptions
actDLNumberS (C, S)
Alternative name:
progDLNumberS
Active total offset for block search
Corresponds to actDLNumber for block search with calculation
Caution: This variable is not available for the Variable Service,
but only for logging in the case of block search events!.
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Read access
gccState (C, S)
$PC_GCC_STATE
to be defined
Reserved
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_DWORD
0
0
3
Addressing
Line index:
Max. line index:
1
Read access
progDuploNumber (C, S)
Duplo number of programmed tool)
Duplo number of programmed tool (does not yet have to be active)
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_UWORD
0
Addressing
Line index:
Max. line index:
1
Validity:
From NCK version 3.6
Read access
NC variables
292
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
progNetTimeTrigger (C, S)
$AC_PROG_NET_TIME_TRIGGER
Trigger for time measurement
progNetTimeTrigger is used to selectively measure program sections. This means that writing progNetTimeTrigger enables the
program to switch time measurement on and off.
In order to exploit all trigger possibilities, certain values for progNetTimeTrigger are assigned a special function:
0 = Neutral: The trigger is not active, the value is taken from Reset with the Start key.
1 = Exit: Exits the measurement and copies $$actProgNetTime to $$oldProgNetTime. $$actProgNetTime is set to zero, and then
starts running again.
2 = Start: Starts the measurement and sets $$actProgNetTime to zero. $$oldProgNetTime is not changed.
3 = Stop: Stops the measurement, does not change $$oldProgNetTime, and holds $$actProgNetTime constant until continue.
4 = Continue: Continuation of the measurement. This means that a measurement that has been stopped is resumed. $$act-
ProgNetTime continues to run. $$oldProgNetTime is not changed.
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_UWORD
0
0
4
Addressing
Line index:
Max. line index:
1
Read access
progStatus (C, S)
DB21-30, DBX35.0 - DBX35.4
K1
Program status
Return value
1 = interrupted
2 = stopped
3 = in progress
4 = waiting
5 = aborted
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Validity:
From NCK version 3.6
Read access
progTNumber (C, S)
Number of programmed tool
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Validity:
From NCK version 3.6
Read access
progTNumberLong (C, S)
No. progr. tool for flat D-no. with max. 8 digits
Number of the programmed tool using flat D-numbers with up to 8 digits
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
293
NC variables
3.2 NC variable descriptions
progTNumberLong (C, S)
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_DWORD
0
Addressing
Line index:
Max. line index:
1
Read access
progToolIdent (C, S)
Identifier programmed tool
Identifier of programmed tool (does not yet have to be active)
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_STRING
"\0"
Addressing
Line index:
Max. line index:
1
Validity:
From NCK version 3.6
Read access
progWaitForEditUnlock (C, S)
NCK is waiting for the release of an NC program
The variable is used for two possible applications:
1. Notification to HMI that an NC program is to be processed for which a program execution delay was activated by means of
the
PI service _N_F_MODE. This is only possible for files of the passive file system of the NCK.
2. Notification to HMI that an NC program is to be processed for which a WRITE lock was set.
This is only possible for files that are available on the CF, network drive or USB device and are processed in EES mode.
The variable contains the complete path name in both cases.
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_STRING
0
Addressing
Line index:
Max. line index:
1
Read access
protAreaCounter (C, S)
Protection zone modification counter
Counter is incremented by 1 every time a
protection zone (block PA) is modified
NC variables
294
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
protAreaCounter (C, S)
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
1
Read access
protocHmiEvent (C, S)
Activate event in preprocessing
Logging: When writing, the defined event is activated during preprocessing.
Return value
49: HMI_TRIG_1
50: HMI_TRIG_2
51: HMI_TRIG_3
Units and value ranges
Physical unit:
Data type:
Minimum value:
-
TYPE_UWORD
0
Addressing
Line index:
Max. line index:
1
Read access and write access
protocUserActive (C, S)
$MM_PROTOC_USER_ACTIVE
Logging: Active users
Logging: Displays active users
Return value
0: User inactive
1: User 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:
10
Read access
rapFeedRateOvr (C, S)
Rapid traverse override
Units and value ranges
Physical unit:
Data type:
%
TYPE_DOUBLE
Validity:
From NCK version 3.6
Read access
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
295
NC variables
3.2 NC variable descriptions
remainDwellTime (C, S)
Remaining dwell time
Return value
See $$timeOrRevolDwell
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
s, user defined
TYPE_DOUBLE
0
0
Addressing
Line index:
Max. line index:
1
Read access
reqParts (C, S)
$AC_REQUIRED_PARTS
Setpoint number of workpieces
The variable returns the number of workpieces to be machined (setpoint workpiece count).
The number of workpieces can be defined in this counter, when this number is reached the actual workpiece count ($AC_AC-
TUAL_PARTS) is reset to "0".
Return value
o Bit 0 = 1: Counter $AC_REQUIRED_PARTS is active
Further meaning of bit 1 only if bit 0 = 1:
o Bit 1 = 0: Alarm/VDI output if $AC_ACTUAL_PARTS equals $AC_REQUIRED_PARTS
o Bit 1 = 1: Alarm/VDI output if $AC_SPECIAL_PARTS equals $AC_REQUIRED_PARTS
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_DOUBLE
0
Read access and write access
rotSys (C, S)
$AC_ROT_SYS
Orientation reference system
Reference system for orientation movements with cartesian manual traversal
Return value
0: Axis-specific manual traversal active
1: Cartesian manual traversal in basic coordinate system active
2: Cartesian manual traversal in workpiece coordinate system active
3: Cartesian manual traversal in tool coordinate system active
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_UWORD
0
0
3
Addressing
Line index:
Max. line index:
1
Read access
NC variables
296
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
seruproMasterChanNo (C, S)
Block search waits for partner channel
The search type SERUPRO (search via program testing) may be
started simultaneously in several channels in order to start a channel grouping
correctly. A search target must be specified in one channel (master channel) in the grouping.
The other channels do not need a search target, they wait until they have reached a
stop condition and the master channel has reached the search target. These channels generally
stop at WAIT marks. The variable seruproMasterChanNo defines the master channel.
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_UWORD
0
0
$$numChannels
Addressing
Line index:
Max. line index:
1
Read access and write access
seruproMasterNcuNo (C, S)
Partner channel NCU, block search waits
The search type SERUPRO (search via program testing) may be
started simultaneously in several channels in order to start a channel grouping
correctly. A search target must be specified in one channel (master channel) in the grouping.
The other channels do not need a search target, they wait until they have reached a
stop condition and the master channel has reached the search target. These channels generally
stop at WAIT marks. The variable seruproMasterChanNo defines the master channel.
seruproMasterNcuNo specifies the master channel in more detail if it is not on the active NCU.
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_UWORD
0
0
$MN_MM_LINK_NUM_OF
_MODULES
Addressing
Line index:
Max. line index:
1
Read access and write access
simSpiDat (C, S)
Spindle data
The variable simSpiDat is a double array of data with the following structure:
Double spino
; Number of the spindle for which the event was triggered
Double masterSpiNo
; Number of the leading spindle
Double pSMode
; Programmed spindle mode
Double turnState
; Rotation state of the spindle: 0 = right, 1 = left, 2 = stop
Double coupPosOffset
; Position offset of an axis to the leading axis / leading spindle (actual value)
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
297
NC variables
3.2 NC variable descriptions
simSpiDat (C, S)
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_DOUBLE
0
Addressing
Line index:
Max. line index:
5
Read access
simulationSupport (C, S)
simulationSupport
Block information for the support of the JobShop simulation
Return value
Bit0: Change of the transformation in the curr. block
Bit1: Change of the frame in the curr. block
Bit2: Curr. block in an action block
Bit3: Curr. block in the last action block
Bit4: Curr. block has PTP active (as of 510600)
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
simulationSupportS (C, S)
Support of the JobShop simulation during search
Block information for the support of the JobShop simulation during search
Return value
Bit0: -
Bit1: -
Bit2: -
Bit3: -
Bit4: Curr. block has PTP active
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
NC variables
298
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
specParts (C, S)
$AC_SPECIAL_PARTS
Number of special workpieces (user-defined)
Number of current workpieces as defined by user:
This counter enables the user to define his own
workpiece count. The counter is reset to zero automatically
only when the control system boots on defaults.
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_DOUBLE
0
Read access and write access
splitBlock (C, S)
$AC_SPLITBLOCK
Identifies splitted blocks
Identifier of internally splitted blocks
Return value
0: A BLOCK programmed unchanged
(a BLOCK generated by the compressor is regarded as programmed BLOCK):
<>0: BLOCK was shortened or is an internally generated BLOCK; the following values are pos-
sible:
1: It is an internally generated BLOCK or a shortened original BLOCK
3: It is the last block in a chain of internally generated
blocks or shortened original blocks.
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_DWORD
0
0
2
Addressing
Line index:
Max. line index:
1
Read access
startLockState (C, S)
Status of the global start disable
Status of the global start disable.
Also see PI _N_STRTLK and _N_STRTUL.
Return value
0: No start disable
1: Start disable is switched on and program is not running
2: Start disable is switched on and program is running nevertheless
The NCK changes from 2->1 as soon as the program is stopped.
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
299
NC variables
3.2 NC variable descriptions
startLockState (C, S)
1
Read access
startRejectCounter (C, S)
Counter for rejected NC starts
Counter that is incremented
as soon as an NC start is rejected due to a global start disable (see _N_STRTLK),
program-specific start disable (see _N_F_STLO), or channel-specific
start disable (see _N_STRTLK).
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
stopCond (C, S)
Replaced by stopCondNew
Replaced by $$stopCondNew
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
-
TYPE_UWORD
0
0
Addressing
Line index:
Max. line index:
1
Validity:
From NCK version 3.6
Read access
stopCondNew (C, S)
Number of the stop state of the NC
Number of the NC stop state
More than one stop state can be active simultaneously.
The highest priority stop state appears below the first line, this is followed by those with lower priorities.
The documentation explains the meanings of the individual stop states.
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
-
TYPE_UWORD
0
0
Addressing
Line index:
Max. line index:
$$stopCondNum
Read access
NC variables
300
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
stopCondPar (C, S)
Replaced by stopCondParNew
Replaced by $$stopCondParNew
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Read access
stopCondParNew (C, S)
Stop state parameter(s)
Stop state parameter(s).
More than one stop state can be active simultaneously. The highest priority
stop state appears below the first line, this is followed by those with lower priorities.
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Read access
stopCondNum (C, S)
Number of active stop states
Number of active stop states.
Specifies the number of occupied lines in $$stopCond
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
1
Read access
stopCondChangeCounter (C, S)
Modification counter for stop states.
Modification counter for stop states.
Is incremented as soon as one of the stop states has changed.
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
1
Read access
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
301
NC variables
3.2 NC variable descriptions
stopCondTime (C, S)
Time stamp BCD for stop state
BCD time stamp for stop state.
More than one stop state can be active simultaneously. The highest priority
stop state appears below the first line, this is followed by those with lower priorities.
Units and value ranges
Physical unit:
Data type:
-
TYPE_DATETIME
Addressing
Line index:
Max. line index:
$$stopCondNum
Read access
stopCondParA (C, S)
ASCII stop state parameter(s)
Stop state parameter(s).
More than one stop state can be active simultaneously. The highest priority
stop state appears below the first line, this is followed by those with lower priorities.
Units and value ranges
Physical unit:
Data type:
-
TYPE_STRING
Read access
stopRunActive (C, S)
Stop run active
Return value
0 = inactive
1 = 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
stopRunCounter (C, S)
Modification counter for stop run
Modification counter for stop run.
This is always incremented when the NCK has stopped at a stop block.
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
-
TYPE_UWORD
0
0
NC variables
302
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
stopRunCounter (C, S)
Addressing
Line index:
Max. line index:
1
Read access
suppProgFunc (C, S)
Suppression of language commands
Disabling of language commands
Return value
Bit0 = 0: SBLOF command is active
Bit0 = 1: SBLOF command is disabled
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_UWORD
Bit0 = 0
Addressing
Line index:
Max. line index:
1
Read access and write access
syntaxCheckAlarmNo (C, S)
Alarm number during the syntax check
Alarm number in the case of a syntax error during the syntax check
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
-
TYPE_DWORD
0
0
Addressing
Line index:
Max. line index:
1
Read access
syntaxCheckAlarmPara1 (C, S)
Parameter 1 for an alarm during the syntax check
Parameter 1 for an alarm in the case of a syntax error during the syntax check
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
-
TYPE_STRING
0
0
Addressing
Line index:
Max. line index:
1
Read access
syntaxCheckAlarmPara2 (C, S)
Parameter 2 for an alarm during the syntax check
Parameter 2 for an alarm in the case of a syntax error during the syntax check
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
303
NC variables
3.2 NC variable descriptions
syntaxCheckAlarmPara2 (C, S)
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
-
TYPE_STRING
0
0
Addressing
Line index:
Max. line index:
1
Read access
syntaxCheckAlarmPara3 (C, S)
Parameter 3 for an alarm during the syntax check
Parameter 3 for an alarm in the case of a syntax error during the syntax check
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
-
TYPE_STRING
0
0
Addressing
Line index:
Max. line index:
1
Read access
syntaxCheckAlarmPara4 (C, S)
Parameter 4 for an alarm during the syntax check
Parameter 4 for an alarm in the case of a syntax error during the syntax check
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
-
TYPE_STRING
0
0
Addressing
Line index:
Max. line index:
1
Read access
syntaxCheckSeek (C, S)
Faulty line in the syntax check
Line number of the faulty line in the syntax check
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
-
TYPE_DWORD
0
0
Addressing
Line index:
Max. line index:
1
Read access
NC variables
304
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
syntaxCheckStatus (C, S)
Status of the "Syntax check" function
Return value
0: Syntax check not active (initialization status)
1: Syntax check selected
2: Syntax check active
3: Syntax check stopped with alarm on account of system error
4: Syntax check terminated
5: Syntax check canceled
6: Syntax check canceled on account of errors
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_UWORD
0
0
6
Addressing
Line index:
Max. line index:
1
Read access
threadPitch (C, S)
Current lead
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
threadPitchS (C, S)
Current lead during search run
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
timeOrRevolDwell (C, S)
Dwell time unit
Dwell time unit in seconds or spindle revolutions
Return value
0: $$cmdDwellTime and $$remainDwellTime in seconds
1: $$cmdDwellTime and $$remainDwellTime in spindle revolutions
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
305
NC variables
3.2 NC variable descriptions
timeOrRevolDwell (C, S)
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
timeS (C, S)
$AC_TIMES
Time after a block change in seconds
Time after a block change between programmed blocks in seconds
Return value
Each programmed block can be divided up into a chain of part blocks that are
processed one after the other.
O n l y with the 1st cycle of the 1st block of the chain, timeS is set to zero and
then counted up in seconds. Therefore, the variable enables time measurements
throughout the entire block chain.
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
s, user defined
TYPE_DOUBLE
0
0
Addressing
Line index:
Max. line index:
1
Read access
timeSC (C, S)
$AC_TIMESC
Time after a block change in IPO cycles
Time after a block change between programmed blocks in IPO cycles
Return value
Each programmed block can be divided up into a chain of part blocks that are
processed one after the other.
Only (!) with the 1st cycle of the 1st block of the chain, timeSC is set to zero and
then counted up in seconds. Therefore, the variable enables time measurements
throughout the entire block chain.
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
306
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
toolCounter (C, S)
Change counter of the tool data in a channel
Counter of the changes of the tool data assigned to a channel.
The counter is incremented each time a tool data is changed.
All changes of tool data made by BTSS, part programs, INI files and by the Tool Management software are considered.
Tool data are tool compensations, grinding-specific tool parameters, OEM tool parameters and Tool Managment data including
magazine data.
There is one exception: the present tool-in-use-time, since it is changed in each IPO cycle.
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
1
Read access
toolCounterC (C, S)
Modification counter for tool offsets
Counter for modifications to tool offset data assigned to the channel
(analog toolCounter).
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
1
Read access
toolCounterM (C, S)
Modification counter for magazine data
Counter for modifications to magazine data assigned to the channel
(analog toolCounter).
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
1
Read access
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
307
NC variables
3.2 NC variable descriptions
toolHolderData (C, S)
GETSELT
Current tool holder data
Data for each tool holder/spindle from the magazine configuration of the TOA which is assigned to the channel.
There is a set of numToolHolderParams parameters for each tool holder.
Currently there are the 3 parameters P1, P2 and P3.
There are numToolHolders tool holders. The number of tool holders in this list is solely a function of the
magazine configuration, and it does not change while an NC program runs.
- P1: THNo ToolHolderNumber / SpindleNumber
(In the language commands of the NC program, corresponds
to the address extension <n> from T<n>=... or M<n>=6 with explicit
notation; in the magazine configuration, corresponds to the
location type index of the associated buffer location of the
location type = spindle.)
- P2: SelTno T number of the selected tool with
reference to the tool holder / spindle with the number of THNo
(The same TNo would also return the language command GETSELT.)
The value 0 indicates that no tool is selected with
reference to the tool holder. For further behavior see the description of GETSELT.
- P3: ExeTno TNumber of the tool to be loaded / loaded with
reference to the tool holder / the spindle with the number THNo from
the point of view of the NC program.
When working without M6, the same TNumber is in SelTno and ExeTno.
(The same TNumber would also return the language command GETEXET.)
The value 0 indicates that no tool is to be loaded / is loaded
with reference to the tool holder. For further behavior see the description of GETEXET.
- P4: SelTNoBeforeSearchRun
During the search: TNummer of the selected tool with reference to the tool holder / spindle before the search,
after reaching the search target and a T programming for this tool holder: the same value from P2.
- P5: ExeTNoBeforeSearchRun
During the search: TNummer of the tool loaded with reference to the tool holder / spindle before the search,
after reaching the search target and a tool change for this tool holder: the same value from P3.
An array access is possible to toolHolderData, with which the data of all numToolHolders tool holders can be read at one time.
If the flat D number is active, the value =0 is returned for all parameters.
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
-
TYPE_DOUBLE
0
0
Addressing
Line index:
Max. line index:
$$numToolHolderParams * $$numToolHolders
Read access
NC variables
308
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
toolholderOfDNo (C, S)
$P_TH_OF_D
Spindle or tool number of the active D
Number of the tool holder or spindle on which the active tool is mounted, which contains the active D no.
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
totalParts (C, S)
$AC_TOTAL_PARTS
Total of all machined workpieces
Total number of all machined workpieces:
This counter specifies the number of workpieces machined
since it was started. The counter is automatically
set to zero only if the control system boots on defaults.
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_DOUBLE
0
Read access and write access
transSys (C, S)
$AC_TRANS_SYS
Translation reference system
Reference system for translation with cartesian manual traversal
Return value
0: Axis-specific manual traversal active
1: Cartesian manual traversal in basic coordinate system active
2: Cartesian manual traversal in workpiece coordinate system active
3: Cartesian manual traversal in tool coordinate system active
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_UWORD
0
0
3
Addressing
Line index:
Max. line index:
1
Read access
transfActive (C, S)
DB21-30, DBX33.6
K1, M1
Transformation active
Return value
0 = inactive
1 = active
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
309
NC variables
3.2 NC variable descriptions
transfActive (C, S)
DB21-30, DBX33.6
K1, M1
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Validity:
From NCK version 3.6
Read access
vaCcCompVal (C, S)
$VA_CC_COMP_VAL[a,b]
OA compensation value
OA compensation value of the corresponding compile cycle
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
vaEgSyncDiff (C, S)
$VA_EG_SYNCDIFF[a]
EG synchronism deviation
Electronic gear:
Synchronism deviation (actual values). The comparison between this value
and $MA_COUPLE_POS_TOL_... determines whether the appropriate
"Synchronism" VDI signal is 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
vaEgSyncDiffS (C, S)
$VA_EG_SYNCDIFF_S[a]
Synchronous run difference with sign
Electronic gear:
Synchronous run difference (actual values) with sign.
Whether the corresponding VDI signal "synchronous run" is set depends upon the comparison of this value with $MA_COU-
PLE_POS_TOL_
Units and value ranges
Physical unit:
Data type:
Initial value
mm, inch, degree, user defi-
TYPE_DOUBLE
0
ned
NC variables
310
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
vaEgSyncDiffS (C, S)
$VA_EG_SYNCDIFF_S[a]
Addressing
Line index:
Max. line index:
$$numMachAxes
Read access
workPnameSubstitution (C, S)
External path for selected program
Path name defined by HMI on selection of a program or workpiece in /_N_EXT_DIR.
It is only used for execute from external, and then denotes the data source of the download.
HMI uses this path name in order to restore the program selection for execute from external after PowerOff.
The string must be terminated with "\0".
NCK does not use this path name. workPnameSubstitution is deleted on program selection in the passive file system
or on an EES drive.
Handling: workPnameSubstitution is written by the HMI on program selection for
execute from external. NCK stores this information persistently.
After PowerOff, the NCK deletes the reload buffer for execute from external, and selects _N_MPF0.
HMI restores on the basis of the information:
- _N_MPF0 is selected
- workPnameSubstitution is set
the selection for execute from external. With this program selection, the NCK
does not remove the SPARPI interrupt pointer.
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
-
TYPE_STRING
0
0
Addressing
Line index:
Max. line index:
Read access
progDNumber (C, S)
Dummy - do not use!
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Read access
progDLNumber (C, S)
Dummy - do not use!
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Read access
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
311
NC variables
3.2 NC variable descriptions
seruproActive (C, S)
Block search via program test is active
Block search via program test is active. That means that the NCK executes the
part of the program before the search target in program test mode.
Return value
Bit0 = 1: Block search via program test is active
Bit1-n: Reserved for later expansions
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_UWORD
0
0
1
Read access
progUsekt (C, S)
Programmed value of the command $P_USEKT
Programmed value of the command $P_USEKT.
Bit-coded data for the programmed tool subgroup
available for the tool change.
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_DWORD
0
0
0xF
Read access
acToolOAct (C, S)
$AC_TOOL_O_ACT
Setpoint of the tool orientation
Supplies the setpoint of the current 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
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
312
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
acToolOEnd (C, S)
$AC_TOOL_O_END
End orientation
Supplies the end orientation of the current block
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
acToolODiff (C, S)
$AC_TOOL_O_DIFF
Remaining tool orientation angle
Supplies the remaining angle between the current vector and end vectors of the tool orientation block
in various coordinate systems:
Possible values of the line index:
1: Angle in BCS
2: Angle in PCS/WCS
3: Angle in ENS
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_DOUBLE
0
0
180
Addressing
Line index:
Max. line index:
3
Read access
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
313
NC variables
3.2 NC variable descriptions
vcToolO (C, S)
$VC_TOOL_O
Actual value of the tool orientation
Supplies the actual value of the current 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
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
vcToolODiff (C, S)
$VC_TOOL_O_DIFF
Angle between setpoint and actual orientation
Supplies the angle between the setpoint vector and actual vector of the tool orientation in various coordinate systems:
Possible values of the line index:
1: Angle in BCS
2: Angle in PCS/WCS
3: Angle in ENS
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_DOUBLE
0
0
180
Addressing
Line index:
Max. line index:
3
Read access
vcToolOStat (C, S)
$VC_TOOLO_STAT
Status of the actual orientation
Supplies the status of the computation of the actual orientation
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_DWORD
0
-1
0
Read access
NC variables
314
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
vaSyncDiff (C, S)
$VA_SYNCDIFF[]
Actual value synchronism difference
Actual value synchronism difference for all types of coupling
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
aaSyncDiff (C, S)
$AA_SYNCDIFF[]
Setpoint synchronism difference
Setpoint synchronism difference for all types of coupling
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
vaSyncDiffStat (C, S)
$VA_SYNCDIFF_STAT[]
Status of the actual value synchronism difference
Return value
-4: Reserved
-3: No valid value in $VA_SYNCDIFF, tangential control
-2: No valid value in $VA_SYNCDIFF, master value coupling and simulated master value
-1: No valid value in $VA_SYNCDIFF
0: No valid value in $VA_SYNCDIFF, coupling not active
1: Valid value in $VA_SYNCDIFF
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_DWORD
0
-4
1
Addressing
Line index:
Max. line index:
$$numMachAxes
Read access
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
315
NC variables
3.2 NC variable descriptions
aaSyncDiffStat (C, S)
$AA_SYNCDIFF_STAT[]
Status of setpoint synchronism difference
Return value
-4: No valid value in $AA_SYNCDIFF, coupled motion from part program
-3: Reserved
-2: Reserved
-1: No valid value in $AA_SYNCDIFF
0: No valid value in $AA_SYNCDIFF, coupling not active
1: Valid value in $AA_SYNCDIFF
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_DWORD
0
-4
1
Addressing
Line index:
Max. line index:
$$numMachAxes
Read access
acToolRAct (C, S)
$AC_TOOL_R_ACT
Setpoint of the tool rotation.
Setpoint of the tool rotation
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
316
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
acToolREnd (C, S)
$AC_TOOL_R_END
End rotation vector of the current block
End rotation vector of the current block
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 absolute 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
acToolRDiff (C, S)
$AC_TOOL_R_DIFF
Remaining tool rotation angle
Angle remaining between the current and end rotation vectors of the tool orientation block in various coordinate systems:
Possible values of the line index:
1: Angle in BCS
2: Angle in PCS/WCS
3: Angle in ENS
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_DOUBLE
0
0
180
Addressing
Line index:
Max. line index:
3
Read access
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
317
NC variables
3.2 NC variable descriptions
vcToolR (C, S)
$VC_TOOL_R
Actual value of tool rotation
Actual value of the tool rotation
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 rotation 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
vcToolRDiff (C, S)
$VC_TOOL_R_DIFF
Angle bet. setpoint & actual tool rotation vectors
Angle between setpoint and actual tool rotation vectors in different coordinate systems:
Possible values of the line index:
1: Angle in BCS
2: Angle in PCS/WCS
3: Angle in ENS
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:
3
Read access
vcToolRStat (C, S)
$VC_TOOLR_STAT
Status of the computation of the actual rotation
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_DWORD
0
-1
0
Addressing
Line index:
Max. line index:
NC variables
318
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
vcToolRStat (C, S)
$VC_TOOLR_STAT
1
Read access
pToolRot (C, S)
$P_TOOL_O_R
Current tool rotation
Current tool rotation
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 rotation vector is normalized, i.e. it has the absolute 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
searchRunMode (C, S)
Function with search run
Type of function in which search run has been integrated
Return value
1: Search run is used directly
2: Simulation search run
3: Execute program area
The user can preselect a program area via HMI with "Execute program area",
which he/she would like to execute "real" on the machine.
To do this, the NCK uses an internal block search to approach the start of the
program area (abbreviation: APb) correctly. Internal cancellation at the end of the program
area
(abbreviation: EPb) via reset.
0: Otherwise
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_UWORD
0
1
3
Addressing
Line index:
Max. line index:
$$numMachAxes
Read access
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
319
NC variables
3.2 NC variable descriptions
searchRunStatus (C, S)
Status of the block search run
The variable returns the various states for a block search. Depending on the state, defined responses must be executed,
including those by an operator, to complete the block search:
o 1: activeSearchRun
Simulation active, that is, from part program start to the agreed search target (or APb), the NCK simulates the part program in
order to find the correct start position of the search target block.
o 2: targetFound
The search target has been found, and the NCK waits for the Start key.
The simulation has ended.
o 3: activeAdaptation
After the start, the NCK outputs action blocks, which set the machine to the search target (M± function output, speeds for
spindles) and possibly starts an ASUB.
The user adapts the machine to the part program situation in the target block via the ASUB program.
(Example: programmed tool is read and replaced by the current one with a tool change cycle.
The NCK stops automatically after the action blocks or after the ASUB with alarm 10208.
The NCK waits for the start.
o 4: finishedAdaptation
o 5: activeStopRun
After the adaptation, the REPOS function leads to the target block and then the program execution resumes.
The NCK executes the program area after the target block, but is still in the function Execute program area.
The blocks are scanned to see whether the end of the program area has already been reached.
At the end of the program area, the program is canceled with reset, and the variable searchRunStatus is deleted.
0: Otherwise
NC variables
320
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
searchRunStatus (C, S)
Return value
1: activeSearchRun
Simulation is active, that is the NCK simulates the part program from the start to the agreed
search target (or start of the program area) in order to find, among other things, the correct
starting position of the search target block.
2: targetFound
The search target has been found and the NCK is waiting for the Start key.
Simulation has finished.
3: activeAdaption
After the start, the NCK outputs action blocks which set the machine to the search target (M±
function output, spindle speeds) and, if applicable, starts an ASUB.
The user adapts the machine to the part program situation in the target block via the ASUB
program.
(For example, a programmed tool is read and a tool-changing cycle exchanges it with the
current tool.)
The NCK stops automatically after the action blocks or after the ASUB with alarm 10208.
4: finishedAdaption
The NCK waits for the start.
5: activeStopRun
After the adaptation, the REPOS function goes to the target block, and then the execution of
the program resumes.
The NCK executes the program area after the target block, but is still within the function Execute
program area.
The blocks are scanned to see whether the end of the program area could already have been
reached.
At the end of the program area, the program is canceled with reset, and the variable sear-
chRunStatus is deleted.
0: Otherwise
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_UWORD
0
1
5
Addressing
Line index:
Max. line index:
1
Read access
enableOvrRapidFactor (C, S)
Activate additional rapid traverse override
Activate additional rapid traverse override $SC_OVR_RAPID_FACTOR
Return value
0: not activated
1: 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:
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
321
NC variables
3.2 NC variable descriptions
enableOvrRapidFactor (C, S)
1
Read access and write access
actWalimGroupNo (C, S)
$AC_WORKAREA_CS_GROUP
Active working area group in the IPO
Active working area group in the IPO
Writing is only possible if the channel has been aborted or stopped
Return value
0: Not activated
n: $MC_MM_NUM_WORKAREA_CS_GROUPS
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_UWORD
0
0
10
Addressing
Line index:
Max. line index:
1
Read access and write access
acSafeSynaMem (C, S)
$AC_SAFE_SYNA_MEM
Free Safety synchronized action elements
Free Safety synchronized action elements
The maximum number of elements is configured in $MC_MM_NUM_SAFE_SYNC_ELEMENTS
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
tOffL1L2L3 (C, S)
$AC_TOFFL
Tool length offset TOFFL
Tool length offset programmed in coordinates of the tool length components L1/L2/L3.
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:
3
Read access
NC variables
322
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
tOffLXYZ (C, S)
$AC_TOFF
Tool length offset TOFFL in the WCS
Tool length offset TOFFL programmed in coordinates of the WCS.
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:
3
Read access
acJogCircleSelected (C, S)
$AC_JOG_CIRCLE_SELECTED
JOG in circles has been selected
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
tOffR (C, S)
$AC_TOFFR
Tool radius offset TOFFR
Programmed tool radius offset.
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:
1
Read access
simTolerance (C, S)
keine
Simulation tolerance
The NCK simulation can run part programs at a higher speed (see PI _N_NCKMOD).
Only then is simTolerance evaluated and it ONLY affects geometry blocks that have not been programmed as circles or straight
lines.
These blocks are slowed down so that two successive interpolation points can be connected by a straight line.
This straight line deviates from the programmed contour by not more than 'simTolerance'.
Units and value ranges
Physical unit:
Data type:
Initial value
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
323
NC variables
3.2 NC variable descriptions
simTolerance (C, S)
keine
mm, inch, user defined
TYPE_DOUBLE
0
Read access and write access
incoapSize (C, S)
$P_INCOAP_SIZE[]
Array size of the cutting generator parameters
Array size of the supply and return parameters of the COA application cutting generator
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
-
TYPE_UWORD
0
0
Addressing
Line index:
Max. line index:
7
Read access and write access
incoapB (C, S)
$P_INCOAP_B
Boolean parameter(s) of the cutting generator
Boolean supply and return parameter(s) of the COA application cutting generator
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:
$$incoapSize[1]
Read access and write access
incoapC (C, S)
$P_INCOAP_C
CHAR parameter(s) of the cutting generator
CHAR supply and return parameter(s) of the COA application cutting generator
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_UWORD
0
0
255
Addressing
Line index:
Max. line index:
$$incoapSize[2]
Read access and write access
incoapI (C, S)
$P_INCOAP_I
INT parameter(s) of the cutting generator
INT supply and return parameter(s) of the COA application cutting generator
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_UDWORD
0
NC variables
324
List Manual, 10/2020, 6FC5397-3CP40-6BA4
|