|
|
NC variables
3.2 NC variable descriptions
cmdSpeed (N, SSP)
$$maxnumGlobMachAxes
Validity:
From NCK version 3.6
Read access
driveLoad (N, SSP)
Load
Units and value ranges
Physical unit:
Data type:
%
TYPE_DOUBLE
Addressing
Line index:
Max. line index:
$$maxnumGlobMachAxes
Validity:
From NCK version 3.6
Read access
gwpsActive (N, SSP)
SUG programming active
SUG programming active (SUG is the function "constant perimeter speed of grinding wheel)
Return value
0 = inactive
1 = active
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
$$maxnumGlobMachAxes
Validity:
From NCK version 3.6
Read access
index (N, SSP)
Absolute axis index
Absolute axis index referred to MD
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
$$maxnumGlobMachAxes
Validity:
From NCK version 3.6
Read access
name (N, SSP)
Spindle name
Spindle name
Note: If several logical spindles are referred to one physical spindle with active spindle conversion and access is made via area
N of module SSP2, then the name of the first suitable logical spindle is output.
NC variables
1084
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
name (N, SSP)
Units and value ranges
Physical unit:
Data type:
-
TYPE_STRING
Addressing
Line index:
Max. line index:
$$maxnumGlobMachAxes
Validity:
From NCK version 3.6
Read access
namePhys (N, SSP)
Name of physical spindle.
Name of assigned physical spindle, identical to "name" variable.
Units and value ranges
Physical unit:
Data type:
-
TYPE_STRING
Addressing
Line index:
Max. line index:
$$maxnumGlobMachAxes
Read access
opMode (N, SSP)
Spindle mode
Return value
0 = spindle mode
1 = oscillation mode (gear step changeover)
2 = positioning mode
3 = synchronous mode
4 = axis mode
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
$$maxnumGlobMachAxes
Validity:
From NCK version 3.6
Read access
psModePos (N, SSP)
Corresponds to $$/C/SEGA/actToolEdgeCenterPosEns
If the spindle is in positioning mode ($$pSMode = 2) or axis mode
($$pSMode = 4), the value $$/C/SEGA/actToolEdgeCenterPosEns is returned, otherwise 0.
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_DOUBLE
0
Addressing
Line index:
Max. line index:
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
1085
NC variables
3.2 NC variable descriptions
psModePos (N, SSP)
$$maxnumGlobMachAxes
Read access
psModePosBKS (N, SSP)
Corresponds to $$/C/SEGA/actProgPosBKS
If the spindle is in positioning mode ($$pSMode = 2) or axis mode
($$pSMode = 4), the value $$/C/SEGA/actProgPosBKS is returned, otherwise 0.
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_DOUBLE
0
Addressing
Line index:
Max. line index:
$$maxnumGlobMachAxes
Read access
psModePosS (N, SSP)
Corresponds to $$cmdToolEdgeCenterPosEnsS
If the spindle is in positioning mode ($$pSMode = 2) or axis mode
($$pSMode = 4), the value $$cmdToolEdgeCenterPosEnsS is returned, otherwise 0.
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_DOUBLE
0
Addressing
Line index:
Max. line index:
$$maxnumGlobMachAxes
Read access
speedLimit (N, SSP)
Current speed limitation for spindle
Units and value ranges
Physical unit:
Data type:
rev/min , m/min
TYPE_DOUBLE
Addressing
Line index:
Max. line index:
$$maxnumGlobMachAxes
Validity:
From NCK version 3.6
Read access
speedOvr (N, SSP)
Spindle override
Units and value ranges
Physical unit:
Data type:
%
TYPE_DOUBLE
NC variables
1086
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
speedOvr (N, SSP)
Addressing
Line index:
Max. line index:
$$maxnumGlobMachAxes
Validity:
From NCK version 3.6
Read access
spindleType (N, SSP)
Spindle type
Return value
0 = master spindle
1 = no master spindle
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
$$maxnumGlobMachAxes
Validity:
From NCK version 3.6
Read access
status (N, SSP)
Spindle state
Spindle status
Bit0 = following spindle
Bit1 = leading spindle
Bit2 = master spindle
Bit3 = constant cutting rate (G96) active
Return value
Bit0 = following spindle
Bit1 = leading spindle
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
$$maxnumGlobMachAxes
Validity:
From NCK version 3.6
Read access
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
1087
NC variables
3.2 NC variable descriptions
turnState (N, SSP)
State of spindle rotation
Return value
value range to be read via BTSS variable
0 = clockwise
1 = counter-clockwise
2 = stop
value range to be read via $ variable
3 = clockwise
4 = counter-clockwise
5 = stop
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
$$maxnumGlobMachAxes
Validity:
From NCK version 3.6
Read access
pSMode (N, SSP)
Prog. spindle mode
Last programmed spindle mode
Return value
0: No spindle configured in channel or spindle is active in another channel
or in use by the PLC (FC18) or by synchronized actions.
1: Speed control mode
2: Positioning mode
3: Synchronous mode
4: Axis mode
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
$$maxnumGlobMachAxes
Read access
NC variables
1088
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
pSModeS (N, SSP)
Prog. spindle mode for block search
Last programmed spindle mode with block search
Return value
0: No spindle configured in channel or spindle is active in another channel
or in use by the PLC (FC18) or by synchronized actions.
1: Speed control mode
2: Positioning mode
3: Synchronous mode
4: Axis mode
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
$$maxnumGlobMachAxes
Read access
acSmaxVelo (N, SSP)
Maximum spindle speed
Maximum spindle speed
This variable returns the maximum spindle speed for spindle mode.
This is formed from the smallest active speed limitation, and cannot be exceeded by speed programming or
override > 100%.
A speed limitation is indicated by the VDI interface signal DB31..,DBX83.1 'Setpoint speed limited'
and by $AC_SPIND_STATE, bit 10 (setpoint speed limited).
The cause of the speed limitation (machine, setting data, G code, VDI interface signal etc.) can also
be determined with the system variable $AC_SMAXVELO_INFO.
If the spindle is in axis mode, then the speed is not limited by $AC_SMAXVELO but instead the machine data
(MAX_AX_VELO, ...) typical for axis mode are active.
Units and value ranges
Physical unit:
Data type:
rev/min, user defined
TYPE_DOUBLE
Addressing
Line index:
Max. line index:
$$maxnumGlobMachAxes
Read access
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
1089
NC variables
3.2 NC variable descriptions
acSmaxVeloInfo (N, SSP)
Max. identifier for speed-limiting data
Identifier (index) for the speed-limiting data (machine/setting data, etc.)
The system variable provides additional information about $AC_SMAXVELO and returns the definitive data
(machine, setting data, G code, VDI interface etc.) as identifier/index. The index can be used to determine the speed-limiting
data
on the basis of the following table of existing spindle speed limitations.
0 No limitation (SERUPRO)
1 Maximum speed (chuck speed) of spindle MD 35100 SPIND_VELO_LIMIT
2 Speed limited to maximum speed in the current gear stage MD 35130 GEAR_STEP_MAX_VELO_LIMIT
3 Speed limited due to position control to 90% of the minimum from MD 35100 and MD 35130 (SPCON, SPOS, poss. with
COUPON,..)
4 Speed limited due to position control to MD 35132 GEAR_STEP_PC_MAX_VELO_LIMIT
5 Speed limited to SD 43220 SPIND_MAX_VELO_G26 (G26 S.. or specification from HMI)
6 Speed limited to MD 35160 SPIND_EXTERN_VELO_LIMIT based on the set VDI interface signal DB31,...DBX3.6
7 Speed limited to SD 43230 SPIND_MAX_VELO_LIMS at constant cutting speed (G96, G961, G962, G97, LIMS)
8 Speed limited to safe speed (SG) by Safety Integrated
9 Speed limited by preparation calculations
10 Limitation by drive parameter SINAMICS p1082 to maximum speed of the drive
11 Speed limitation to MD 36300 ENC_FREQ_LIMIT with functions that require a functioning measuring system, e.g. position
control and G95, G96, G97, G973, G33, G34, G35 for the master spindle. The limitation takes into account the encoder speed,
the MS arrangement (direct/indirect), MS limiting frequency and the current parameter set
12 Speed limited by axis mode. In the case of a synchronous spindle, axis mode is enforced by the leading spindle.
13 Speed of the superimposed motion of the following spindle limited to the residual dynamics remaining following the
coupling. A larger proportion of the superimposed motion can be achieved by reducing the speed of the leading spindle, e.g.
by programming G26 S, VELOLIM for the leading spindle or VELOLIMA for the following spindle. The coupling factor must be
taken into account.
14 Speed of the leading spindle limited due to missing following spindle dynamics or a high transformation ratio
15 Speed of the master spindle limited to MD 35550 DRILL_VELO_LIMIT in the case of tapping with G331, G332
16 Speed limitation due to the programming of VELOLIM
17 Speed limitation by tool parameter $TC_TP_MAX_VELO
18 Not used
19 Not used
20 Speed limited due to NCU link
21 Speed limited by SD43235 SD_SPIND_USER_VELO_LIMIT, user-controlled speed limitation, e.g. tensioning device, chuck
speed
22 Speed limited by the programming of VELOLIMA
23 Speed limited by the clamping state of the tool. In the case of a Weiss spindle, the clamping state can be read from
$VA_MOT_CLAMPING_STATE[axn].
In oscillation mode (gear stage change), the variable returns the value for spindle mode (speed control mode).
Units and value ranges
Physical unit:
Data type:
-
TYPE_DWORD
NC variables
1090
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
acSmaxVeloInfo (N, SSP)
Addressing
Line index:
Max. line index:
$$maxnumGlobMachAxes
Read access
acSminVelo (N, SSP)
Minimum spindle speed
Minimum spindle speed
This variable returns the minimum spindle speed for speed control mode.
This is formed from the highest active speed increase, and cannot be undershot by speed programming
or override < 100%.
A speed increase is indicated by the VDI interface signal DB31..,DBX83.2 'Setpoint speed increased'
and by $AC_SPIND_STATE, bit 11 (setpoint speed increased).
The cause of the speed increase (machine, setting data, G code, VDI interface signal etc.)
can also be determined with the system variable $AC_SMINVELO_INFO.
If the spindle is in axis or positioning mode, then the speed is not increased by $AC_SMINVELO.
Units and value ranges
Physical unit:
Data type:
rev/min, user defined
TYPE_DOUBLE
Addressing
Line index:
Max. line index:
$$maxnumGlobMachAxes
Read access
acSminVeloInfo (N, SSP)
Min. identifier for speed-limiting data
Identifier (index) for the speed-limiting data (machine/setting data, etc.)
The system variable provides additional information about $AC_SMAXVELO, and returns the definitive data
(machine, setting data, G code, VDI interface, etc.) as identifier/index.
The speed-limiting data can be determined with the index from the following table of existing
spindle speed limitations.
The system variable provides additional information about $AC_SMINVELO, and returns the speed increasing data
(machine, setting data) as identifier/index. The speed-increasing data can be determined with the index from the following
table of existing spindle speed increases.
0 Not used
1 Not used
2 Lower speed limit (minimum speed) of the current gear stage MD 35140 GEAR_STEP_MIN_VELO_LIMIT
3 Not used
4 Not used
5 Lower speed limit (minimum speed) from SD 43210 SPIND_MIN_VELO_G25 (G25 S.. or specification from HMI)
In oscillation mode (gear stage change) and axis mode, the variable returns the values from spindle mode.
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
1091
NC variables
3.2 NC variable descriptions
acSminVeloInfo (N, SSP)
Units and value ranges
Physical unit:
Data type:
-
TYPE_DWORD
Addressing
Line index:
Max. line index:
$$maxnumGlobMachAxes
Read access
acSmaxAcc (N, SSP)
Active acceleration of the spindle
Active acceleration of the spindle
This variable returns the active acceleration of the spindle for spindle mode.
Bit 14 of $AC_SPIND_STATE (spindle accelerating) is set
for the duration of the acceleration to the defined setpoint speed.
Bit 15 of $AC_SPIND_STATE (spindle braking) is set
for the duration of the braking to the defined setpoint speed.
Apart from that, the acceleration-determining machine and setting data
can be determined with the system variable $AC_SMAXACC_INFO.
If the spindle is in axis mode, then $AC_SMAXACC does not return the current acceleration,
instead the machine data (MAX_AX_VELO, MAX_AX_ACCEL, ...) typical for axis mode are active.
Units and value ranges
Physical unit:
Data type:
Rev/s2, user defined
TYPE_DOUBLE
Addressing
Line index:
Max. line index:
$$maxnumGlobMachAxes
Read access
NC variables
1092
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
acSmaxAccInfo (N, SSP)
Identifier for active spindle acceleration data
Identifier for the active spindle acceleration data
The system variable provides additional information about $AC_SMAXACC and returns the
definitive machine data as identifier/index. The index can be used to determine
the active acceleration data on the basis of the following table of existing spindle accelerations.
The number range is oriented to the system variable $AC_SMAXVELO_INFO:
0 No acceleration limitation (SERUPRO)
1 Not used
2 Acceleration in speed control mode without position control in the current gear stage MD 35200 GE-
AR_STEP_SPEEDCTRL_ACCEL
3 Not used
4 Acceleration in the current gear stage based on position control MD 35210 GEAR_STEP_POSCTRL_ACCEL (SPCON, SPOS,
poss. with COUPON,..)
5 Not used
6 Not used
7 Not used
8 Not used
9 Acceleration limited by preparation calculations
10 Not used
11 Not used
12 Acceleration limited by axis mode. In the case of a synchronous spindle, the axis mode is enforced by the leading spindle.
13 Acceleration of the superimposed motion of the following spindle limited to the residual dynamics remaining following the
coupling
14 Acceleration of the leading spindle due to missing following spindle dynamics or a high transformation ratio
15 Acceleration of the master spindle MD 35212 GEAR_STEP_POSCTRL_ACCEL2 in the case of tapping with G331, G332 (only
when the second data set is configured accordingly)
16 Acceleration limited by the configuration of ACC or ACCFXS (synchronized action)
17 Acceleration limited by tool parameter $TC_TP_MAX_ACCEL
18 Not used
19 Acceleration limited in JOG mode by MD 32301 MA_JOG_MAX_ACCEL
20 Acceleration limited due to NCU link
21 Not used
22 Acceleration limited by programming ACCLIMA
23 Not used
In oscillation mode (gear stage change), the variable returns the value for spindle mode (speed control mode).
Units and value ranges
Physical unit:
Data type:
-
TYPE_DWORD
Addressing
Line index:
Max. line index:
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
1093
NC variables
3.2 NC variable descriptions
acSmaxAccInfo (N, SSP)
$$maxnumGlobMachAxes
Read access
acSpindState (N, SSP)
Spindle status in speed control mode
This variable returns the selected states of the spindle. For positioning and axis modes, the variable $AA_INPOS_STATE[Sn] can
also be read.
Bit 0: "Constant cutting speed active" (VDI interface signal DB31..,DBX84.0)
Bit 1: "SUG active" (VDI interface signal DB31..,DBX84.1)
Bit 2: "CLGON active" (VDI interface signal DB31..,DBX84.2)
Bit 3: "Tapping without compensating chuck" (VDI interface signal DB31..,DBX84.3)
Bit 4: "Synchronous mode" (following spindle with synchronous spindle coupling) (VDI interface signal DB31..,DBX84.4)
Bit 5: "Positioning mode" (VDI interface signal DB31..,DBX84.5)
Bit 6: "Oscillating mode" (gear stage change) (VDI interface signal DB31..,DBX84.6)
Bit 7: "Speed control mode" (VDI interface signal DB31..,DBX84.7)
Bit 8: "Spindle programmed" (e.g. M3, M4 S.., FC18, ..) (VDI interface signal DB31..,DBX64.4/5 or 6/7)
Bit 9: "Speed limit exceeded" (VDI interface signal DB31..,DBX83.0)
Bit 10: "Setpoint speed limited" (VDI interface signal DB31..,DBX83.1), active if the speed would be greater than the maximum
speed as a result of programming or override ($AC_SMAXVELO)
Bit 11: "Setpoint speed increased" (VDI interface signal DB31..,DBX83.2) active if the speed would be less than the minimum
speed as a result of programming or override (system variable $AC_SMINVELO)
Bit 12: "Spindle in setpoint range" (VDI interface signal DB31..,DBX83.5)
Bit 13: "Actual direction of rotation right" (VDI interface signal DB31..,DBX83.7)
Bit 14: "Spindle accelerating" remains active as long as the spindle is accelerating to the defined setpoint speed on the setpoint
side.
Bit 15: "Spindle braking" remains active as long as the spindle is braking to the defined setpoint speed or comes to a standstill
on the setpoint side.
Bit 16: "Spindle stopped" (VDI interface signal DB31..,DBX61.4)
Bit 17: "Tool with dynamic limitation active" (VDI interface signal DB31..,DBX85.0)
Bit 18: Reserved
Bit 19: "Spindle in position" (VDI interface signal DB31..,DBX85.5)
Bit 20: "Position control active" (VDI interface signal DB31..,DBX61.5)
Bit 21: "Referenced/synchronized 1" (VDI interface signal DB31..,DBX60.4)
Bit 22: "Referenced/synchronized 2" (VDI interface signal DB31..,DBX60.5)
Bit 23: Direction of spindle rotation inverted by interface signal "Invert M3/M4" (DB31..,DBX17.6)
Units and value ranges
Physical unit:
Data type:
-
TYPE_DWORD
Addressing
Line index:
Max. line index:
$$maxnumGlobMachAxes
Read access
NC variables
1094
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
acSVC (N, SSP)
Programmed, active cutting rate
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
mm/min, inch/min, user de-
TYPE_DOUBLE
0
0
fined
Read access
acSType (N, SSP)
Type of spindle programming
Type of spindle programming
Spindle programmed as:
0 Spindle not programmed
1 Spindle speed, S in rev/min
2 Cutting rate, SVC in m/min or ft/min
3 Constant cutting rate, S in m/min or ft/min
4 Constant grinding wheel peripheral speed, S in m/s or ft/s
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
mm/min, inch/min, user de-
TYPE_DOUBLE
0
0
fined
Read access
vcSGear (N, SSP)
$VC_SGEAR[spino]
Currently active spindle gear stage
Variable $VC_SGEAR[spino] determines the currently active spindle gear stage. $AC_SGEAR[spino] determines the defined gear
stage in the main run. During search the actual gear stage may differ from the defined gear stage, because during search the
gear stages are not changed. Using $VC_SGEAR[spino] and $AC_SGEAR[spino] it can be checked whether a gear stage change
is to be performed after a search.
The following values are possible:
1: 1st gear stage active
5: 5th gear stage active
Return value
1: 1st gear stage active
5: 5th gear stage active
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_WORD
0
0
5
Read access
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
1095
NC variables
3.2 NC variable descriptions
acSGear (N, SSP)
$AC_SGEAR[spino]
Active spindle gear stage
Variable $VC_SGEAR[spino] determines the currently active spindle gear stage. $AC_SGEAR[spino] determines the defined gear
stage in the main run. During search the actual gear stage may differ from the defined gear stage, because during search the
gear stages are not changed. Using $VC_SGEAR[spino] and $AC_SGEAR[spino] it can be checked whether a gear stage change
is to be performed after a search.
The following values are possible:
1: 1st gear stage active
5: 5th gear stage active
Return value
1: 1st gear stage active
5: 5th gear stage active
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_WORD
0
0
5
Read access
3.2.6.23
SSP2: Spindle status data for spindle conversion
OEM-MMC: LinkItem /Nck/LogicalSpindle/...
All state data that refer to a spindle, if a spindle converter (logical spindles) is active
acConstCutS (N, SSP2)
Current const. cutting rate
Current constant cutting rate
Units and value ranges
Physical unit:
Data type:
Initial value
m/min, ft/min, user defined
TYPE_DOUBLE
0
Addressing
Line index:
Max. line index:
$$maxnumGlobMachAxes
Read access
acSMode (N, SSP2)
Mode according to $AC_SMODE
Spindle mode
Return value
0: No spindle present in channel or spindle is active in another channel or
is being used by PLC (FC18) or by synchronized actions.
1: Open-loop speed control mode
2: Positioning mode
3: Synchronous mode
4: Axis mode
NC variables
1096
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
acSMode (N, SSP2)
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_UWORD
1
0
4
Addressing
Line index:
Max. line index:
$$maxnumGlobMachAxes
Read access
actGearStage (N, SSP2)
Actual gear stage of spindle
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
$$maxnumGlobMachAxes
Validity:
From NCK version 3.6
Read access
actSpeed (N, SSP2)
Actual value of the spindle speed
Current speed of the spindle [n].
The sign indicates the direction of rotation. The direction of rotation can vary from machine to machine, and is specified by the
machine manufacturer.
Units and value ranges
Physical unit:
Data type:
rev/min, user defined
TYPE_DOUBLE
Addressing
Line index:
Max. line index:
$$maxnumGlobMachAxes
Validity:
From NCK version 3.6
Read access
channelNo (N, SSP2)
Channel number of spindle
Number of channel in which spindle is configured
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
$$maxnumGlobMachAxes
Read access
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
1097
NC variables
3.2 NC variable descriptions
cmdAngPos (N, SSP2)
Spindle position
Spindle position (SPOS)
Units and value ranges
Physical unit:
Data type:
Degree, user defined
TYPE_DOUBLE
Addressing
Line index:
Max. line index:
$$maxnumGlobMachAxes
Validity:
From NCK version 3.6
Read access
cmdConstCutSpeed (N, SSP2)
Constant cutting speed of the master spindle
Constant cutting rate of the master spindle. The requested value for the master spindle differs from SSP:cmdSpeed only if G96
is active.
(For a certain OEM customer this variable is now available retroactively in software version 3.2)
Units and value ranges
Physical unit:
Data type:
Initial value
mm/min, inch/min, user de-
TYPE_DOUBLE
0.0
fined
Addressing
Line index:
Max. line index:
$$maxnumGlobMachAxes
Read access
cmdGearStage (N, SSP2)
Requested gear stage
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
$$maxnumGlobMachAxes
Validity:
From NCK version 3.6
Read access
cmdGwps (N, SSP2)
Programmed SUG desired value
Programmed SUG desired value (SUG is the function "constant perimeter speed of grinding wheel")
Units and value ranges
Physical unit:
Data type:
m/s, ft/s
TYPE_DOUBLE
Addressing
Line index:
Max. line index:
NC variables
1098
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
cmdGwps (N, SSP2)
$$maxnumGlobMachAxes
Validity:
From NCK version 3.6
Read access
cmdSpeed (N, SSP2)
Spindle speed, desired value
Spindle speed desired value
Units and value ranges
Physical unit:
Data type:
rev/min , m/min
TYPE_DOUBLE
Addressing
Line index:
Max. line index:
$$maxnumGlobMachAxes
Validity:
From NCK version 3.6
Read access
driveLoad (N, SSP2)
Load
Units and value ranges
Physical unit:
Data type:
%
TYPE_DOUBLE
Addressing
Line index:
Max. line index:
$$maxnumGlobMachAxes
Validity:
From NCK version 3.6
Read access
gwpsActive (N, SSP2)
SUG programming active
SUG programming active (SUG is the function "constant perimeter speed of grinding wheel)
Return value
0 = inactive
1 = active
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
$$maxnumGlobMachAxes
Validity:
From NCK version 3.6
Read access
index (N, SSP2)
Absolute axis index
Absolute axis index referred to MD
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
1099
NC variables
3.2 NC variable descriptions
index (N, SSP2)
Addressing
Line index:
Max. line index:
$$maxnumGlobMachAxes
Validity:
From NCK version 3.6
Read access
name (N, SSP2)
Spindle name
Spindle name
Note: If several logical spindles are referred to one physical spindle with active spindle conversion and access is made via area
N of module SSP2, then the name of the first suitable logical spindle is output.
Units and value ranges
Physical unit:
Data type:
-
TYPE_STRING
Addressing
Line index:
Max. line index:
$$maxnumGlobMachAxes
Validity:
From NCK version 3.6
Read access
namePhys (N, SSP2)
Physical spindle name
Name of assigned physical spindle.
Units and value ranges
Physical unit:
Data type:
-
TYPE_STRING
Addressing
Line index:
Max. line index:
$$maxnumGlobMachAxes
Read access
opMode (N, SSP2)
Spindle mode
Return value
0 = spindle mode
1 = oscillation mode (gear step changeover)
2 = positioning mode
3 = synchronous mode
4 = axis mode
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
$$maxnumGlobMachAxes
Validity:
From NCK version 3.6
Read access
NC variables
1100
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
psModePos (N, SSP2)
Corresponds to $$/C/SEGA/actToolEdgeCenterPosEns
If the spindle is in positioning mode ($$pSMode = 2) or axis mode
($$pSMode = 4), the value $$/C/SEGA/actToolEdgeCenterPosEns is returned, otherwise 0.
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_DOUBLE
0
Addressing
Line index:
Max. line index:
$$maxnumGlobMachAxes
Read access
psModePosBKS (N, SSP2)
Corresponds to $$/C/SEGA/actProgPosBKS
If the spindle is in positioning mode ($$pSMode = 2) or axis mode
($$pSMode = 4), the value $$/C/SEGA/actProgPosBKS is returned, otherwise 0.
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_DOUBLE
0
Addressing
Line index:
Max. line index:
$$maxnumGlobMachAxes
Read access
psModePosS (N, SSP2)
Corresponds to $$cmdToolEdgeCenterPosEnsS
If the spindle is in positioning mode ($$pSMode = 2) or axis mode
($$pSMode = 4), the value $$cmdToolEdgeCenterPosEnsS is returned, otherwise 0.
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_DOUBLE
0
Addressing
Line index:
Max. line index:
$$maxnumGlobMachAxes
Read access
speedLimit (N, SSP2)
Current speed limitation for spindle
Units and value ranges
Physical unit:
Data type:
rev/min , m/min
TYPE_DOUBLE
Addressing
Line index:
Max. line index:
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
1101
NC variables
3.2 NC variable descriptions
speedLimit (N, SSP2)
$$maxnumGlobMachAxes
Validity:
From NCK version 3.6
Read access
speedOvr (N, SSP2)
Spindle override
Units and value ranges
Physical unit:
Data type:
%
TYPE_DOUBLE
Addressing
Line index:
Max. line index:
$$maxnumGlobMachAxes
Validity:
From NCK version 3.6
Read access
spindleType (N, SSP2)
Spindle type
Return value
0 = master spindle
1 = no master spindle
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
$$maxnumGlobMachAxes
Validity:
From NCK version 3.6
Read access
status (N, SSP2)
Spindle state
Spindle status
Bit0 = following spindle
Bit1 = leading spindle
Bit2 = master spindle
Bit3 = constant cutting rate (G96) active
Return value
Bit0 = following spindle
Bit1 = leading spindle
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
$$maxnumGlobMachAxes
Validity:
From NCK version 3.6
Read access
NC variables
1102
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
turnState (N, SSP2)
State of spindle rotation
Return value
value range to be read via BTSS variable
0 = clockwise
1 = counter-clockwise
2 = stop
value range to be read via $ variable
3 = clockwise
4 = counter-clockwise
5 = stop
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
$$maxnumGlobMachAxes
Validity:
From NCK version 3.6
Read access
pSMode (N, SSP2)
Prog. spindle mode
Last programmed spindle mode
Return value
0: No spindle configured in channel or spindle is active in another channel
or in use by the PLC (FC18) or by synchronized actions.
1: Speed control mode
2: Positioning mode
3: Synchronous mode
4: Axis mode
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
$$maxnumGlobMachAxes
Read access
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
1103
NC variables
3.2 NC variable descriptions
pSModeS (N, SSP2)
Prog. spindle mode for block search
Last programmed spindle mode with block search
Return value
0: No spindle configured in channel or spindle is active in another channel
or in use by the PLC (FC18) or by synchronized actions.
1: Speed control mode
2: Positioning mode
3: Synchronous mode
4: Axis mode
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
$$maxnumGlobMachAxes
Read access
acSmaxVelo (N, SSP2)
Maximum spindle speed
Maximum spindle speed
This variable returns the maximum spindle speed for spindle mode.
This is formed from the smallest active speed limitation, and cannot be exceeded by speed programming or
override > 100%.
A speed limitation is indicated by the VDI interface signal DB31..,DBX83.1 'Setpoint speed limited'
and by $AC_SPIND_STATE, bit 10 (setpoint speed limited).
The cause of the speed limitation (machine, setting data, G code, VDI interface signal etc.) can also
be determined with the system variable $AC_SMAXVELO_INFO.
If the spindle is in axis mode, then the speed is not limited by $AC_SMAXVELO but instead the machine data
(MAX_AX_VELO, ...) typical for axis mode are active.
Units and value ranges
Physical unit:
Data type:
rev/min, user defined
TYPE_DOUBLE
Addressing
Line index:
Max. line index:
$$maxnumGlobMachAxes
Read access
NC variables
1104
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
acSmaxVeloInfo (N, SSP2)
Max. identifier for speed-limiting data
Identifier (index) for the speed-limiting data (machine/setting data, etc.)
The system variable provides additional information about $AC_SMAXVELO and returns the definitive data
(machine, setting data, G code, VDI interface etc.) as identifier/index. The index can be used to determine the speed-limiting
data
on the basis of the following table of existing spindle speed limitations.
0 No limitation (SERUPRO)
1 Maximum speed (chuck speed) of spindle MD 35100 SPIND_VELO_LIMIT
2 Speed limited to maximum speed in the current gear stage MD 35130 GEAR_STEP_MAX_VELO_LIMIT
3 Speed limited due to position control to 90% of the minimum from MD 35100 and MD 35130 (SPCON, SPOS, poss. with
COUPON,..)
4 Speed limited due to position control to MD 35132 GEAR_STEP_PC_MAX_VELO_LIMIT
5 Speed limited to SD 43220 SPIND_MAX_VELO_G26 (G26 S.. or specification from HMI)
6 Speed limited to MD 35160 SPIND_EXTERN_VELO_LIMIT based on the set VDI interface signal DB31,...DBX3.6
7 Speed limited to SD 43230 SPIND_MAX_VELO_LIMS at constant cutting speed (G96, G961, G962, G97, LIMS)
8 Speed limited to safe speed (SG) by Safety Integrated
9 Speed limited by preparation calculations
10 Limitation by drive parameter SINAMICS p1082 to maximum speed of the drive
11 Speed limitation to MD 36300 ENC_FREQ_LIMIT with functions that require a functioning measuring system, e.g. position
control and G95, G96, G97, G973, G33, G34, G35 for the master spindle. The limitation takes into account the encoder speed,
the MS arrangement (direct/indirect), MS limiting frequency and the current parameter set
12 Speed limited by axis mode. In the case of a synchronous spindle, axis mode is enforced by the leading spindle.
13 Speed of the superimposed motion of the following spindle limited to the residual dynamics remaining following the
coupling. A larger proportion of the superimposed motion can be achieved by reducing the speed of the leading spindle, e.g.
by programming G26 S, VELOLIM for the leading spindle or VELOLIMA for the following spindle. The coupling factor must be
taken into account.
14 Speed of the leading spindle limited due to missing following spindle dynamics or a high transformation ratio
15 Speed of the master spindle limited to MD 35550 DRILL_VELO_LIMIT in the case of tapping with G331, G332
16 Speed limitation due to the programming of VELOLIM
17 Speed limitation by tool parameter $TC_TP_MAX_VELO
18 Not used
19 Not used
20 Speed limited due to NCU link
21 Speed limited by SD43235 SD_SPIND_USER_VELO_LIMIT, user-controlled speed limitation, e.g. tensioning device, chuck
speed
22 Speed limited by the programming of VELOLIMA
23 Speed limited by the clamping state of the tool. In the case of a Weiss spindle, the clamping state can be read from
$VA_MOT_CLAMPING_STATE[axn].
In oscillation mode (gear stage change), the variable returns the value for spindle mode (speed control mode).
Units and value ranges
Physical unit:
Data type:
-
TYPE_DWORD
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
1105
NC variables
3.2 NC variable descriptions
acSmaxVeloInfo (N, SSP2)
Addressing
Line index:
Max. line index:
$$maxnumGlobMachAxes
Read access
acSminVelo (N, SSP2)
Minimum spindle speed
Minimum spindle speed
This variable returns the minimum spindle speed for speed control mode.
This is formed from the highest active speed increase, and cannot be undershot by speed programming
or override < 100%.
A speed increase is indicated by the VDI interface signal DB31..,DBX83.2 'Setpoint speed increased'
and by $AC_SPIND_STATE, bit 11 (setpoint speed increased).
The cause of the speed increase (machine, setting data, G code, VDI interface signal etc.)
can also be determined with the system variable $AC_SMINVELO_INFO.
If the spindle is in axis or positioning mode, then the speed is not increased by $AC_SMINVELO.
Units and value ranges
Physical unit:
Data type:
rev/min, user defined
TYPE_DOUBLE
Addressing
Line index:
Max. line index:
$$maxnumGlobMachAxes
Read access
acSminVeloInfo (N, SSP2)
Min. identifier for speed-limiting data
Identifier (index) for the speed-limiting data (machine/setting data, etc.)
The system variable provides additional information about $AC_SMAXVELO, and returns the definitive data
(machine, setting data, G code, VDI interface, etc.) as identifier/index.
The speed-limiting data can be determined with the index from the following table of existing
spindle speed limitations.
The system variable provides additional information about $AC_SMINVELO, and returns the speed increasing data
(machine, setting data) as identifier/index. The speed-increasing data can be determined with the index from the following
table of existing spindle speed increases.
0 Not used
1 Not used
2 Lower speed limit (minimum speed) of the current gear stage MD 35140 GEAR_STEP_MIN_VELO_LIMIT
3 Not used
4 Not used
5 Lower speed limit (minimum speed) from SD 43210 SPIND_MIN_VELO_G25 (G25 S.. or specification from HMI)
In oscillation mode (gear stage change) and axis mode, the variable returns the values from spindle mode.
NC variables
1106
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
acSminVeloInfo (N, SSP2)
Units and value ranges
Physical unit:
Data type:
-
TYPE_DWORD
Addressing
Line index:
Max. line index:
$$maxnumGlobMachAxes
Read access
acSmaxAcc (N, SSP2)
Active acceleration of the spindle
Active acceleration of the spindle
This variable returns the active acceleration of the spindle for spindle mode.
Bit 14 of $AC_SPIND_STATE (spindle accelerating) is set
for the duration of the acceleration to the defined setpoint speed.
Bit 15 of $AC_SPIND_STATE (spindle braking) is set
for the duration of the braking to the defined setpoint speed.
Apart from that, the acceleration-determining machine and setting data
can be determined with the system variable $AC_SMAXACC_INFO.
If the spindle is in axis mode, then $AC_SMAXACC does not return the current acceleration,
instead the machine data (MAX_AX_VELO, MAX_AX_ACCEL, ...) typical for axis mode are active.
Units and value ranges
Physical unit:
Data type:
Rev/s2, user defined
TYPE_DOUBLE
Addressing
Line index:
Max. line index:
$$maxnumGlobMachAxes
Read access
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
1107
NC variables
3.2 NC variable descriptions
acSmaxAccInfo (N, SSP2)
Identifier for active spindle acceleration data
Identifier for the active spindle acceleration data
The system variable provides additional information about $AC_SMAXACC and returns the
definitive machine data as identifier/index. The index can be used to determine
the active acceleration data on the basis of the following table of existing spindle accelerations.
The number range is oriented to the system variable $AC_SMAXVELO_INFO:
0 No acceleration limitation (SERUPRO)
1 Not used
2 Acceleration in speed control mode without position control in the current gear stage MD 35200 GE-
AR_STEP_SPEEDCTRL_ACCEL
3 Not used
4 Acceleration in the current gear stage based on position control MD 35210 GEAR_STEP_POSCTRL_ACCEL (SPCON, SPOS,
poss. with COUPON,..)
5 Not used
6 Not used
7 Not used
8 Not used
9 Acceleration limited by preparation calculations
10 Not used
11 Not used
12 Acceleration limited by axis mode. In the case of a synchronous spindle, the axis mode is enforced by the leading spindle.
13 Acceleration of the superimposed motion of the following spindle limited to the residual dynamics remaining following the
coupling
14 Acceleration of the leading spindle due to missing following spindle dynamics or a high transformation ratio
15 Acceleration of the master spindle MD 35212 GEAR_STEP_POSCTRL_ACCEL2 in the case of tapping with G331, G332 (only
when the second data set is configured accordingly)
16 Acceleration limited by the configuration of ACC or ACCFXS (synchronized action)
17 Acceleration limited by tool parameter $TC_TP_MAX_ACCEL
18 Not used
19 Acceleration limited in JOG mode by MD 32301 MA_JOG_MAX_ACCEL
20 Acceleration limited due to NCU link
21 Not used
22 Acceleration limited by programming ACCLIMA
23 Not used
In oscillation mode (gear stage change), the variable returns the value for spindle mode (speed control mode).
Units and value ranges
Physical unit:
Data type:
-
TYPE_DWORD
Addressing
Line index:
Max. line index:
NC variables
1108
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
acSmaxAccInfo (N, SSP2)
$$maxnumGlobMachAxes
Read access
acSpindState (N, SSP2)
Spindle status in speed control mode
This variable returns the selected states of the spindle. For positioning and axis modes, the variable $AA_INPOS_STATE[Sn] can
also be read.
Bit 0: "Constant cutting speed active" (VDI interface signal DB31..,DBX84.0)
Bit 1: "SUG active" (VDI interface signal DB31..,DBX84.1)
Bit 2: "CLGON active" (VDI interface signal DB31..,DBX84.2)
Bit 3: "Tapping without compensating chuck" (VDI interface signal DB31..,DBX84.3)
Bit 4: "Synchronous mode" (following spindle with synchronous spindle coupling) (VDI interface signal DB31..,DBX84.4)
Bit 5: "Positioning mode" (VDI interface signal DB31..,DBX84.5)
Bit 6: "Oscillating mode" (gear stage change) (VDI interface signal DB31..,DBX84.6)
Bit 7: "Speed control mode" (VDI interface signal DB31..,DBX84.7)
Bit 8: "Spindle programmed" (e.g. M3, M4 S.., FC18, ..) (VDI interface signal DB31..,DBX64.4/5 or 6/7)
Bit 9: "Speed limit exceeded" (VDI interface signal DB31..,DBX83.0)
Bit 10: "Setpoint speed limited" (VDI interface signal DB31..,DBX83.1), active if the speed would be greater than the maximum
speed as a result of programming or override ($AC_SMAXVELO)
Bit 11: "Setpoint speed increased" (VDI interface signal DB31..,DBX83.2) active if the speed would be less than the minimum
speed as a result of programming or override (system variable $AC_SMINVELO)
Bit 12: "Spindle in setpoint range" (VDI interface signal DB31..,DBX83.5)
Bit 13: "Actual direction of rotation right" (VDI interface signal DB31..,DBX83.7)
Bit 14: "Spindle accelerating" remains active as long as the spindle is accelerating to the defined setpoint speed on the setpoint
side.
Bit 15: "Spindle braking" remains active as long as the spindle is braking to the defined setpoint speed or comes to a standstill
on the setpoint side.
Bit 16: "Spindle stopped" (VDI interface signal DB31..,DBX61.4)
Bit 17: "Tool with dynamic limitation active" (VDI interface signal DB31..,DBX85.0)
Bit 18: Reserved
Bit 19: "Spindle in position" (VDI interface signal DB31..,DBX85.5)
Bit 20: "Position control active" (VDI interface signal DB31..,DBX61.5)
Bit 21: "Referenced/synchronized 1" (VDI interface signal DB31..,DBX60.4)
Bit 22: "Referenced/synchronized 2" (VDI interface signal DB31..,DBX60.5)
Bit 23: Direction of spindle rotation inverted by interface signal "Invert M3/M4" (DB31..,DBX17.6)
Units and value ranges
Physical unit:
Data type:
-
TYPE_DWORD
Addressing
Line index:
Max. line index:
$$maxnumGlobMachAxes
Read access
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
1109
NC variables
3.2 NC variable descriptions
acSVC (N, SSP2)
Programmed, active cutting rate
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
mm/min, inch/min, user de-
TYPE_DOUBLE
0
0
fined
Read access
acSType (N, SSP2)
Type of spindle programming
Type of spindle programming
Spindle programmed as:
0 Spindle not programmed
1 Spindle speed, S in rev/min
2 Cutting rate, SVC in m/min or ft/min
3 Constant cutting rate, S in m/min or ft/min
4 Constant grinding wheel peripheral speed, S in m/s or ft/s
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
mm/min, inch/min, user de-
TYPE_DOUBLE
0
0
fined
Read access
vcSGear (N, SSP2)
$VC_SGEAR[spino]
Currently active spindle gear stage
Variable $VC_SGEAR[spino] determines the currently active spindle gear stage. $AC_SGEAR[spino] determines the defined gear
stage in the main run. During search the actual gear stage may differ from the defined gear stage, because during search the
gear stages are not changed. Using $VC_SGEAR[spino] and $AC_SGEAR[spino] it can be checked whether a gear stage change
is to be performed after a search.
The following values are possible:
1: 1st gear stage active
5: 5th gear stage active
Return value
1: 1st gear stage active
5: 5th gear stage active
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_WORD
0
0
5
Read access
NC variables
1110
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
acSGear (N, SSP2)
$AC_SGEAR[spino]
Active spindle gear stage
Variable $VC_SGEAR[spino] determines the currently active spindle gear stage. $AC_SGEAR[spino] determines the defined gear
stage in the main run. During search the actual gear stage may differ from the defined gear stage, because during search the
gear stages are not changed. Using $VC_SGEAR[spino] and $AC_SGEAR[spino] it can be checked whether a gear stage change
is to be performed after a search.
The following values are possible:
1: 1st gear stage active
5: 5th gear stage active
Return value
1: 1st gear stage active
5: 5th gear stage active
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_WORD
0
0
5
Read access
3.2.6.24
VSYN: NCK-specific user variable for synchronous actions
OEM-MMC: LinkItem /Nck/SelectedFunctionData/...
This block contains NCK-specific user variables for synchronous actions.
anMarker (N, VSYN)
Dummy
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
1
Read access
3.2.6.25
Y: System data
OEM-MMC: LinkItem /Nck/Configuration/...
The machine tool builder or user configures the control with the help of the machine data. Configuration can only
be performed with certain access rights. The configuration of the NC can be read in the system data regardless of
current access rights.
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
1111
NC variables
3.2 NC variable descriptions
accessLevel (N, Y)
Level of access rights
Level of the access rights currently set. Can be changed by entering the password or turning the keyswitch.
Return value
Value range:
0 = Access level SIEMENS
1 = Access level machine manufacturer
2 = Access level system start-up engineer (machine manufacturer)
3 = Access level end user with password
4 = Access level key switch 3
5 = Access level key switch 2
6 = Access level key switch 1
7 = Access level key switch 0
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Validity:
From NCK version 3.6
Read access
axisType (N, Y)
Axis types for all machine axes
Axis types for all machine axes (necessary for start-up): If a machine axis is addressed via the M module, the units and values
are returned with reference to the axis type accessible via this variable. (The absolute machine axis index 1-N_Y_maxnumG-
lobMachAxes is specified via the line index)
Return value
0 = Linear axis
1 = Rotary axis
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
$$maxnumGlobMachAxes
Validity:
From NCK version 3.6
Read access
basicLengthUnit (N, Y)
Global basic unit
Return value
0 = mm
1 = inch
4 = userdef
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Validity:
From NCK version 3.6
Read access
NC variables
1112
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
chanAssignment (N, Y)
MD 10010: ASSIGN_CHAN_TO_MO-
K1
DE_GROUP[x] x=ChannelNo
Assignment of each channel to mode group
Return value
0 = channel does not exist
n = channel assigned to mode group n (n is maximum numBAGs (BAG = mode group))
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
$$maxnumChannels
Validity:
From NCK version 3.6
Read access
externCncSystem (N, Y)
CNC system language
CNC system whose part programs must be processed on the
SINUMERIK control.
Return value
0: No external language defined
1: System ISO Dialect0 Milling (obsolete)
2: System ISO Dialect0 Turning (obsolete)
3: External language via OEM application (from P6.2)
4: System ISO Dialect0 Milling (from P7.)
5: System ISO Dialect0 Turning (from P7.)
etc.
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
1113
NC variables
3.2 NC variable descriptions
extraCuttEdgeParams (N, Y)
Existing TO edge parameters
Bit string that specifies which TO edge parameters are available
in addition to the 25 standard parameters.
Return value
Bit 0: Cutting edge parameter no. 26 valid (ISO Dialect Milling H No.)
Bit 1: Cutting edge parameter no. 27 valid (Orientation of the cutting edge)
Bit 2: Cutting edge parameter no. 28 valid (L1 of the orientation of the cutting edge)
Bit 3: Cutting edge parameter no. 29 valid (L2 of the orientation of the cutting edge)
Bit 4: Cutting edge parameter no. 30 valid (L3 of the orientation of the cutting edge)
Bit 5: Cutting edge parameter no. 31 valid (L1 of the orientation of the cutting edge normal)
Bit 6: Cutting edge parameter no. 32 valid (L2 of the orientation of the cutting edge normal)
Bit 7: Cutting edge parameter no. 33 valid (L3 of the orientation of the cutting edge normal)
Bit 8: Cutting edge parameter no. 34 valid (number of cutting edge teeth, always set)
Bit 9: Cutting edge parameter no. 35 valid (basic angle of rotation of the cutting edge, always
set)
etc.
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
1
Read access
kindOfSumcorr (N, Y)
$MN_MM_KIND_OF_SUMCORR
Characteristics of total offsets in NC
Characteristics of total offsets in NC:
Bit No. Value Meaning
0
0 Total offsets are saved at the same time as the tool data.
1 Total offsets are not saved at the same time as the tool data.
1
0 Setup offsets are saved at the same time as the tool data.
1 Setup offsets are not saved at the same time as the tool data.
2
0 If the "Tool management" function is in use: The existing total/setup offsets are not affected when tool status "active" is
set.
1 When tool status "active" is set, the existing total offsets are set to zero. The setup offsets are not affected.
3
0 If the "Tool management" function plus "Adapter" is in use: Transformation of total offsets
1 No transformation of total offsets
4
0 No setup offset data sets
1 Setup offset data sets are created additionally, in which case the total offset equals the product of total offset + "fine total
offset".
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Read access
NC variables
1114
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
maskToolManagement (N, Y)
$MN_MM_TOOL_MANAGEMENT_MASK
Settings for NC tool management
Settings for NCK tool management function
Activation of tool management memory with "0" means: The set tool management data do not occupy any memory space.
Bit 0=1: Memory for TM-specific data is made available
Bit 1=1: Memory for monitoring data is made available
Bit 2=1: Memory for user data (CC data) is made available
Bit 3=1: Memory for "Consider adjacent location" is made available
Bit 5=0: Parameters and function for tool wear monitoring are not available.
Bit 5=1: Parameters and function for tool wear monitoring are available and, if bit 1 = 1, the wear monitoring function is also
available.
Bit 6=0: The wear group function is not available; i.e. parameters $TC_MAMP3, $TC_MAP9 cannot be programmed, $TC_MPP5
is not defined for magazine locations of type 1.
Bit 6=1: The wear group function is available; i.e. parameters $TC_MAMP3, $TC_MAP9 can be programmed and wear groups
defined. $TC_MPP5 contains the wear group number for location type 1.
Bit 7=1: Tool adapter data sets are available.
Bit 8=1: Total offsets are available.
Bit 9=1: Tools in a turret are handled in OPI variable modules such that they are not "displayed" in tool half-locations, but always
displayed in a turret location. Please note, therefore, that tools in a turret remain (in display terms) in their turret location in the
event of a tool change.
Bit 9=0: Default response; Tools in a turret are "displayed" in the OPI in their actual (according to data) location.
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_DWORD
0
Read access
maxCuttingEdgeNo (N, Y)
$MN_MAX_CUTTING_EDGE_NO
Maximum value D number
Maximum value of D number
Return value
1 to 32000
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_UWORD
9
1
32000
Read access
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
1115
NC variables
3.2 NC variable descriptions
maxNumAdapter (N, Y)
$MN_MM_NUM_TOOL_ADAPTER
Max. No. avail. tool adapt. data sets
Maximum number of tool adapter data sets available in the NCK
Line 1: Contains an image of MD 18104 $MN_MM_NUM_TOOL_ADAPTER. (Not for new developments)
Line 2: Maximum number of all types of adapter
Line 3: Maximum number of type 1 adapters
Line 4: Maximum number of type 2 adapters
Return value
>0: Maximum number of adapter data sets.
If -1 is set as the number of type 1 adapters (in $MN_MM_NUM_TOOL_ADAPTER),
an adapter is automatically assigned to each magazine location.
Line 2: =0: No adapter data definitions possible.
Line 3: =0: No type 1 adapter data definitions possible.
Line 4: =0: No type 2 adapter data definitions possible.
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_DWORD
0
-1
4500
Addressing
Line index:
Max. line index:
4
Read access
maxNumNcusInNcuCluster (N, Y)
Maximum number of NCUs in the NCU link
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
1
Read access
maxNumSumCorr (N, Y)
$MN_MM_NUM_SUMCORR
Total number total offsets
The variable returns the total number of total offsets from the edge-related, location-dependent coarse total offsets. Setup
offsets and edge-related, location-dependent fine total offsets.
Return value
The value -1 means that the number of total offsets equals the number of edges * number of
total offsets per edge (MD18108 $MN_MM_NUM_SUMCORR).
Units and value ranges
Physical unit:
Data type:
-
TYPE_DWORD
Read access
NC variables
1116
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
maxnumAlarms (N, Y)
Size of NC alarm buffer
Size of NCK alarm buffer (maximum number of pending alarms)
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Validity:
From NCK version 3.6
Read access
maxnumChannels (N, Y)
Maximum number of available channels
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Validity:
From NCK version 3.6
Read access
maxnumContainer (N, Y)
Maximum number of axis containers
Maximum number of available axis containers
Units and value ranges
Physical unit:
Data type:
Minimum value:
-
TYPE_UWORD
0
Addressing
Line index:
Max. line index:
1
Read access
maxnumContainerSlots (N, Y)
Alternative name:
maxnumContainerPlaces
Maximum number of slots per axis container
Maximum number of available slots per axis container
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
1
Read access
maxnumCuttEdges_Tool (N, Y)
$MN_MM_MAX_CUTTING_EDGE_PER-
TOOL
Maximum number of cutting edges per tool
The variable returns the maximum number of cutting edges (D offsets) per tool.
Return value
1 to 12
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
1117
NC variables
3.2 NC variable descriptions
maxnumCuttEdges_Tool (N, Y)
$MN_MM_MAX_CUTTING_EDGE_PER-
TOOL
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_UWORD
9
Read access
maxnumDrives (N, Y)
Maximum number of available drives
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Validity:
From NCK version 3.6
Read access
maxnumEdgeSC (N, Y)
$MN_MM_MAX_SUMCORR_PER_CUT-
TEDGE
Maximum number of total offsets per cutting edge
The variable returns the maximum number of total and setup offsets per cutting edge.
Return value
0 to 6
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_UWORD
0
Read access
maxnumEventTypes (N, Y)
Max. no. of event types for trace protocolling
Maximum number of event types for the trace protocolling
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Read access
maxnumGlobMachAxes (N, Y)
Maximum number of available machine axes
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Validity:
From NCK version 3.6
Read access
maxnumTraceProtData (N, Y)
Max. no of data per data list for trace protocol.
Maximum number of data per data list for trace protocolling
Units and value ranges
Physical unit:
Data type:
NC variables
1118
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
maxnumTraceProtData (N, Y)
-
TYPE_UWORD
Read access
maxnumTraceProtDataList (N, Y)
Max. no. of data per data list for trace protocol
Maximum number of data per data list for trace protocolling
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Read access
modeSpindleToolRevolver (N, Y)
MD $MN_MM_TOOL_MANAGE-
MENT_MASK Bit 9
Representation of active tool
Representation of tool currently in use in modules
magazine location data (T / TP, magazine data, location data) and
tool data (T / TD, tool data, general data and T / TV, tool data, directory)
Return value
0:
Previous method: During operation, the tool is removed (in data terms) from its circular
magazine location and loaded to the spindle location in the buffer magazine.
1:
During operation, the tool remains in its circular magazine locations in the OPI modules.
This applies to OPI modules magazine location data (T / TP, magazine data and location data) and
tool data (T / TD, tool data, general data and T / TV, tool data, directory and T / AEV, working
offsets, directory).
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Read access
nckLogbookSeekPos (N, Y)
NC logbook
Units and value ranges
Physical unit:
Data type:
-
TYPE_DWORD
Addressing
Line index:
Max. line index:
1
Validity:
From NCK version 3.6
Read access and write access
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
1119
NC variables
3.2 NC variable descriptions
nckType (N, Y)
NC type
Return value
0: 840D pl
1000: FM-NC
2000: 810D pl
3000: 802S
4000: 802D pl
5000: 840Di pl
(up to and including SW 6)
6000: SOLUTIONLINE
10700: 840D sl
14000: 802D sl T/M
14000: 802D sl N/G or C/U
14500: 808D
15000: 840Di sl
16000: 828D
21000: 840evo
30000: 840evo-cnci
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Validity:
From NCK version 3.6
Read access
nckVersion (N, Y)
$AN_NCK_VERSION
NC version
NC version
Only the digits before the comma of the floating point number are evaluated, the digits after the comma may contain iden-
tifiers for development-internal intermediate releases.
The digits before the comma includes the official NC identifier for the software release: For software release 3.4 the value of
the variable is 34,
Units and value ranges
Physical unit:
Data type:
-
TYPE_DOUBLE
Validity:
From NCK version 3.6
Read access
exportRestricted (N, Y)
Export restriction
Export restriction
Identification of the software subject to export restriction according to the Federal Office of Economics and Export Control, and
Export Control and Customs
Compare OPI N/Y exportRestricted
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_UWORD
1
Read access
NC variables
1120
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
ncuPerformanceClass (N, Y)
NCU power class
Return value
0: No special power class
1: Powerline
2-n: Reserved
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
numGlobalGFrames (N, Y)
$MN_MM_NUM_GLOBAL_G_FRAMES
Number of channel-independent G frames
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_UWORD
0
Addressing
Line index:
Max. line index:
1
Read access
numSearchRunToolParams (N, Y)
Number of parameters in $$actToolDataBeforeSearch
Number of parameters in the data $$actToolDataBeforeSearch in the area C, module S
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
-
TYPE_UWORD
3
0
Addressing
Line index:
Max. line index:
1
Read access
numAnalogInp (N, Y)
MD 10300: FASTIO_ANA_NUM_INPUTS
A2
Number of HW analog inputs
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Validity:
From NCK version 3.6
Read access
numAnalogOutp (N, Y)
MD 10310: FASTIO_ANA_NUM_OUTPUTS
A2
Number of HW analog outputs
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
1121
NC variables
3.2 NC variable descriptions
numAnalogOutp (N, Y)
MD 10310: FASTIO_ANA_NUM_OUTPUTS
A2
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Validity:
From NCK version 3.6
Read access
numBAGs (N, Y)
Number of available mode groups
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Validity:
From NCK version 3.6
Read access
numBasisFrames (N, Y)
$MN_MM_NUM_GLOBAL_BASE_FRAMES
Number of channel-independent basic frames
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_UWORD
0
Addressing
Line index:
Max. line index:
1
Read access
numChannels (N, Y)
Number of active channels
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Validity:
From NCK version 3.6
Read access
numContainer (N, Y)
Number of axis containers
Number of currently available axis containers
Units and value ranges
Physical unit:
Data type:
Minimum value:
Maximum value:
-
TYPE_UWORD
0
$$maxnumContainer
Addressing
Line index:
Max. line index:
1
Read access
NC variables
1122
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
numContainerSlots (N, Y)
Alternative name:
numContainerPlaces
Number of slots per axis container
Number of currently available slots per axis container
Units and value ranges
Physical unit:
Data type:
Maximum value:
-
TYPE_UWORD
$$maxnumContainerS-
lots
Addressing
Line index:
Max. line index:
$$numContainer
Read access
numCuttEdgeParams (N, Y)
Number of parameters of a cutting edge
The variable returns the number of parameters of a cutting edge. Up to 25 cutting edge parameters can be programmed per
cutting edge.
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Validity:
From NCK version 3.6
Read access
numCuttEdgeParams_tao (N, Y)
$MN_MM_NUM_CCS_TOA_PARAM
Number of Siemens application cutting edge data
The variable returns the number of Siemens application data per cutting edge in the T/TAO module.
MD18080 $MN_MM_TOOL_MANAGEMENT_MASK, bit2=1 for the "Magazine management (TMMG)" function is set.
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
numCuttEdgeParams_tas (N, Y)
$MN_MM_NUM_CCS_MON_PARAM
Monitoring data per cutting edge for Siemens appl.
The variable returns the number of Siemens application monitoring data per cutting edge in the T/TAS module.
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:
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
1123
NC variables
3.2 NC variable descriptions
numCuttEdgeParams_tas (N, Y)
$MN_MM_NUM_CCS_MON_PARAM
1
Read access
numCuttEdgeParams_ts (N, Y)
Number of monitoring parameters of a cutting edge
The variable returns the number of monitoring parameters of a cutting edge in the T/TS module
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Validity:
From NCK version 3.6
Read access
numCuttEdgeParams_tu (N, Y)
MD 18096: MM_CC_TOA_PARAM
Number of OEM data of a cutting edge
Number of OEM data of a cutting edge in the T/TUE module.
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Validity:
From NCK version 3.6
Read access
numCuttEdgeParams_tus (N, Y)
$MN_MM_NUM_CC_MON_PARAM
Number of OEM monitoring data per cutting edge
The variable returns the number of monitoring data for the OEM per cutting edge in the T/TUS module.
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
numDigitInp (N, Y)
MD 10350: FASTIO_DIG_NUM_INPUTS
A2
Number of HW digital inputs
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Validity:
From NCK version 3.6
Read access
numDigitOutp (N, Y)
MD 10360: FASTIO_DIG_NUM_OUTPUTS
A2
Number of HW digital outputs
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Validity:
From NCK version 3.6
Read access
NC variables
1124
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
numDrives (N, Y)
Reserved
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Validity:
From NCK version 3.6
Read access
numGCodeGroups (N, Y)
Number of NC instruction groups
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Validity:
From NCK version 3.6
Read access
numGCodeGroupsFanuc (N, Y)
Number NC instruction groups (ISO Dialect)
Number of NC instruction groups in ISO Dialect mode
(the number for the turning and milling versions is not the same)
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
1
Read access
numGlobMachAxes (N, Y)
Number of active machine axes
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Validity:
From NCK version 3.6
Read access
numHandWheels (N, Y)
Maximum number of handwheels
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Validity:
From NCK version 3.6
Read access
numMagLocParams_tap (N, Y)
$MN_MM_NUM_CCS_MAGLOC_PARAM
Siemens application data per magazine location
The variable returns the number of Siemens application data per magazine location in the T/TAPD module.
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
1125
NC variables
3.2 NC variable descriptions
numMagLocParams_tap (N, Y)
$MN_MM_NUM_CCS_MAGLOC_PARAM
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
numMagLocParams_u (N, Y)
$MN_MM_NUM_CC_MAGLOC_PARAM
OEM data per magazine location
The variable returns the number of OEM data per magazine location in the T/TUPD module.
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
numMagParams_tam (N, Y)
$MN_MM_NUM_CCS_MAGAZINE_PARAM
Siemens application data per magazine
The variable returns the number of Siemens application data per magazine in the T/TAMD module.
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
numMagParams_u (N, Y)
$MN_MM_NUM_CC_MAGAZINE_PARAM
Number of OEM data per magazine
The variable returns the number of OEM data per magazine in the T/TUMD module.
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
NC variables
1126
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
numMagPlaceParams (N, Y)
Number of parameters of a magazine location
The variable returns the number of parameters of a magazine location in the T/TP module
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Validity:
From NCK version 3.6
Read access
numMagPlacesMax (N, Y)
MD 18086: $MN_MM_NUM_MAGAZI-
FBW
NE_LOCATION
Number of magazine locations the NC can manage.
The variable returns the number of magazine locations that the NCK can manage.
Important: The locations in the buffer and loading magazine are included in the count.
Return value
Value range:
o =0: The tool management cannot be active because no data can be created.
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Validity:
From NCK version 3.6
Read access
numMagsMax (N, Y)
MD 18084: $MN_MM_NUM_MAGAZINE
FBW
Number of magazines the NC can manage.
The variable returns the number of magazines that can be created in the NC in all TO areas. Buffer and loading magazines are
included in the count. T/TMV modules
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Validity:
From NCK version 3.6
Read access
numParams_Adapt (N, Y)
No. of parameters of an adapter in the T/AD module
Number of parameters of a type 1 adapter in the T/AD module.
Not suitable for new developments.
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_UWORD
4
Read access
numParams_SC (N, Y)
Total offset parameters per total offset block
The variable returns the number of parameters of a total offset or setup offset data set in the T/TOS and T/TOE modules
respectively.
Units and value ranges
Physical unit:
Data type:
Initial value
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
1127
NC variables
3.2 NC variable descriptions
numParams_SC (N, Y)
-
TYPE_UWORD
9
Read access
numPlaceMulti (N, Y)
FBW
Number of parameters for a multiple assignment
The variable returns the number of distance relationships that a loading location or tool holder can have. See T/TPM module.
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Validity:
From NCK version 3.6
Read access
numPlaceMultiParams (N, Y)
FBW
Number of parameters of a multiple assignment
Number of parameters for multiple assignments of a location to magazines. Two parameters ($TC_MDP1 and $TC_MDP2) are
currently possible.
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Validity:
From NCK version 3.6
Read access
numToBaust (N, Y)
MD 18110: MM_NUM_TOA_MODULES
Number of T areas
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Validity:
From NCK version 3.6
Read access
numToolHolderParams (N, Y)
Number of parameters of a tool carrier
Number of parameters in the data $$toolHolderData in the area C, module S
Return value
Number of parameters in $$toolHolderData.
If the "flat D number" is active, the value = 0 will be returned.
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
-
TYPE_UWORD
5
0
Addressing
Line index:
Max. line index:
1
Read access
NC variables
1128
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
numToolParams_tad (N, Y)
$MN_MM_NUM_CCS_TDA_PARAM
Siemens application tool data per tool
Number of Siemens application data per tool in the T/TAD module,
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
numToolParams_tu (N, Y)
MD 18094: MM_CC_TDA_PARAM
Number of OEM data of a tool
Number of OEM data of a tool in the T/TU module.
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Validity:
From NCK version 3.6
Read access
numMultiToolParams (N, Y)
Amount of multitool data
Amount of multitool data in T/MTD module
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
1
Read access
numMultiToolPlaceParams (N, Y)
Amount of multitool place data
Amount of multitool place data in the T/MTP module
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
1129
NC variables
3.2 NC variable descriptions
maxNumPlacesPerMultitool (N, Y)
Maximum number of multitool places
Maximum number of places per multitool; specified by $MN_MAX_TOOLS_PER_MULTITOOL
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
1
Read access
numMultiToolParams_mtud (N, Y)
$MN_MM_NUM_CC_MULTITOOL_PARAM
OEM data per multitool in the T/MTUD module
Number of OEM data per multitool in the T/MTUD module.
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
1
Read access
numMultiToolParams_mtad (N, Y)
$MN_MM_NUM_CCS_MULTITOOL_PA-
RAM
No. Siemens app. data per multitool loc. in T/MTAD
Number of Siemens application data per multitool location in the T/MTAD module.
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
1
Read access
numMultiToolPlaceParams_mtup (N, Y)
$MN_MM_NUM_CC_MTLOC_PARAM
Multitool location-specific OEM parameters
Number of OEM data per multitool location in the T/MTUP module.
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
NC variables
1130
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
numMultiToolPlaceParams_mtup (N, Y)
$MN_MM_NUM_CC_MTLOC_PARAM
1
Read access
numMultiToolPlaceParams_mtap (N, Y)
$MN_MM_NUM_CCS_MTLOC_PARAM
Siemens-specific multitool location data
Number of Siemens application data per multitool location in the T/MTAP module.
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
1
Read access
numUserFrames (N, Y)
$MN_MM_NUM_GLOBAL_USER_FRAMES
Number of channel-independent user frames
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_UWORD
0
Addressing
Line index:
Max. line index:
1
Read access
toolChangeMFunc (N, Y)
MD 22560: TOOL_CHANGE_M_CODE
W1
Number of M function for tool change
Return value
0 = change on T selection (standard for turning)
1 = change on selection M1..
99999 = change on selection M99999
(standard for milling M06)
Units and value ranges
Physical unit:
Data type:
-
TYPE_DWORD
Validity:
From NCK version 3.6
Read access
typeOfCuttingEdge (N, Y)
Type of D-number programming
Type of D-number programming see MD: MM_TYPE_OF_CUTTING_EDGE
Return value
Value Meaning
0 no 'flat D number management' active
1 flat D numbers active
Units and value ranges
Physical unit:
Data type:
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
1131
NC variables
3.2 NC variable descriptions
typeOfCuttingEdge (N, Y)
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
1
Read access
userScale (N, Y)
User unit table
User unit table with 13 elements (see Start-up Guide 2.4 and machine data)
Return value
0 = table not active
1 = table active
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
1
Validity:
From NCK version 3.6
Read access
handWheelNr (N, Y)
Handwheel number PLC interface
Handwheel number, as required for selection via the PLC user interface.
Units and value ranges
Physical unit:
Data type:
Minimum value:
-
TYPE_UWORD
0
Addressing
Line index:
Max. line index:
$$numHandWheels
Read access
maxNoOfChannels (N, Y)
Maximum number of channels
Maximum number of channels that can be activated.
This defines the upper limit of the option data $ON_NUM_CHANNELS.
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
-
TYPE_UWORD
1
1
Addressing
Line index:
Max. line index:
1
Read access
NC variables
1132
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
maxNoOfProgLevel (N, Y)
Maximum number of program levels
Maximum number of program levels present in the system.
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
1
Read access
numOfISOCorr (N, Y)
Number of tool offset values in ISO mode
Number of offset values in the ISO offset memory in ISO2 and ISO3 modes.
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_UWORD
98
Addressing
Line index:
Max. line index:
1
Read access
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
1133
NC variables
3.2 NC variable descriptions
anLanguageOnHmi (N, Y)
$AN_LANGUAGE_ON_HMI
Current language set on HMI
Current language set on HMI -- [*] available languages
NC variables
1134
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
anLanguageOnHmi (N, Y)
$AN_LANGUAGE_ON_HMI
Return value
1 German [*]
2 French [*]
3 English (United Kingdom) [*]
4 Spanish [*]
5 Portuguese (Portugal)
6 Italian [*]
7 Dutch [*]
8 Chinese (Simplified) [*]
9 Swedish [*]
10 German (Austria)
11 German (Liechtenstein)
12 German (Luxembourg)
13 German (Switzerland)
15 Norwegian (Bokmål)
16 Norwegian (Nynorsk)
18 Hungarian [*]
19 Finnish [*]
20 French (Belgium)
21 French (Canada)
22 French (Luxembourg)
23 French (Principality of Monaco)
24 French (Switzerland)
26 Greek [*]
28 Czech [*]
30 English (United States)
31 English (Australia)
32 English (Belize)
33 English (Canada)
34 English (Caribbean)
35 English (India)
36 English (Ireland)
37 English (Jamaica)
38 English (Malaysia)
39 English (New Zealand)
40 Spanish (Argentina)
41 Spanish (Bolivia)
42 Spanish (Chile)
43 Spanish (Colombia)
44 Spanish (Costa Rica)
45 Spanish (Dominican Republic)
46 Spanish (Ecuador)
47 Spanish (El Salvador)
48 Spanish (Guatemala)
49 Spanish (Honduras)
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
1135
NC variables
3.2 NC variable descriptions
anLanguageOnHmi (N, Y)
$AN_LANGUAGE_ON_HMI
50 Portuguese (Brazil) [*]
53 Polish [*]
55 Danish [*]
57 Russian [*]
59 Albanian
60 Italian (Switzerland)
62 Bosnian (Latin, Bosnia and Herzegovina)
63 Bosnian (Cyrillic, Bosnia and Herzegovina)
65 Croatian (Croatia) [*]
66 Croatian (Latin, Bosnia and Herzegovina)
68 Slovak [*]
69 Slovenian [*]
70 Dutch (Belgium)
72 Romanian [*]
73 Romansh (Switzerland)
75 Bulgarian [*]
76 Estonian
77 Georgian
78 Latvian
79 Lithuanian
80 Chinese (Traditional) [*]
81 Chinese (Hong Kong S.A.R.)
82 Chinese (Macao S.A.R.)
83 Chinese (Singapore)
85 Korean [*]
87 Japanese [*]
88 Macedonian
89 Turkish [*]
90 Swedish (Finland)
92 Ukrainian
93 Afrikaans
94 Alsatian (France)
95 Amharic (Ethiopia)
96 Armenian
97 Azeri
98 Bashkir (Russia)
99 Belarusian
100 Arabic (Saudi Arabia)
101 Arabic (Algeria)
102 Arabic (Bahrain)
103 Arabic (Egypt)
104 Arabic (Iraq)
105 Arabic (Jordan)
106 Arabic (Kuwait)
NC variables
1136
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
anLanguageOnHmi (N, Y)
$AN_LANGUAGE_ON_HMI
107 Arabic (Lebanon)
108 Arabic (Libya)
109 Arabic (Morocco)
110 Arabic (Oman)
111 Arabic (Qatar)
112 Arabic (Syria)
113 Arabic (Tunisia)
114 Arabic (U.A.E.)
115 Arabic (Yemen)
118 Assamese
119 Bengali
120 Gujarati
121 Hindi
122 Indonesian [*]
123 Kannada
124 Konkani
125 Malayalam
126 Marathi
127 Oriya
128 Punjabi
129 Sanskrit
130 English (Republic of the Philippines)
131 English (Singapore)
132 English (South Africa)
133 English (Trinidad and Tobago)
134 English (Zimbabwe)
137 Pashto (Afghanistan)
138 Dari (Afghanistan)
139 Urdu
140 Spanish (Mexico)
141 Spanish (Nicaragua)
142 Spanish (Panama)
143 Spanish (Paraguay)
144 Spanish (Peru)
145 Spanish (Puerto Rico)
146 Spanish (Spain)
147 Spanish (United States)
148 Spanish (Uruguay)
149 Spanish (Venezuela)
151 Serbian (Latin, Bosnia and Herzegovina)
152 Serbian (Cyrillic, Bosnia and Herzegovina)
155 Malay (Brunei Darussalam)
156 Quechua (Bolivia)
158 Inuktitut (Latin, Canada)
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
1137
NC variables
3.2 NC variable descriptions
anLanguageOnHmi (N, Y)
$AN_LANGUAGE_ON_HMI
159 Inuktitut (Syllabics, Canada)
160 Mohawk (Mohawk)
162 Mapudungun (Chile)
164 Tibetan (PRC)
165 Yi (PRC)
166 Mongolian (Traditional Mongolian, PRC)
167 Uighur (PRC)
169 Tamazight (Latin, Algeria)
171 Catalan
172 Basque
173 Galician
175 Sami, Northern (Finland)
176 Sami, Inari (Finland)
177 Sami, Skolt (Finland)
180 Breton (France)
181 Corsican (France)
182 Occitan (France)
184 Faroese
186 Tamil
187 Telugu
190 Welsh (United Kingdom)
192 Lower Sorbian (Germany)
193 Upper Sorbian (Germany)
195 Greenlandic (Greenland)
196 Icelandic
198 Irish
200 Persian
201 Syriac
203 Hebrew
204 Kazakh
205 Kyrgyz
206 Yakut (Russia)
207 Tatar
208 Uzbek
210 Khmer (Cambodia)
211 Lao
212 Thai [*]
213 Vietnamese [*]
214 Sinhala (Sri Lanka)
215 Filipino (Philippines)
216 Tajik (Cyrillic, Tajikistan)
217 Turkmen
220 Serbian (Cyrillic)
221 Serbian (Latin)
NC variables
1138
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
anLanguageOnHmi (N, Y)
$AN_LANGUAGE_ON_HMI
224 K'iche (Guatemala)
225 Kiswahili
226 Luxembourgish
227 Divehi
228 Maltese
229 Mongolian
230 Malay [*]
231 Nepali (Nepal)
232 Hausa (Latin, Nigeria)
233 Igbo (Nigeria)
234 Yoruba (Nigeria)
235 Frisian (Netherlands)
236 Sami, Southern (Norway)
237 Sami, Northern (Norway)
238 Sami, Lule (Norway)
239 Maori (New Zealand)
240 Quechua (Peru)
241 Kinyarwanda (Rwanda)
242 Wolof (Senegal)
243 Sami, Southern (Sweden)
244 Sami, Northern (Sweden)
245 Sami, Lule (Sweden)
246 Sesotho sa Leboa (South Africa)
247 Setswana (South Africa)
248 isiXhosa (South Africa)
249 isiZulu (South Africa)
250 Quechua (Ecuador)
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_UWORD
2
0
255
Addressing
Line index:
Max. line index:
1
Read access and write access
driveTypeSupport (N, Y)
Type of supported drive
Return value
0 = stepper
1 = digital
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Read access
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
1139
NC variables
3.2 NC variable descriptions
maxNumToolCarrOffsets (N, Y)
Maximum number of ToolCarrOffsets
Maximum number of tool carrier offset vectors
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Read access
3.2.6.26
YFAFL: NCK instruction group list (Fanuc)
OEM-MMC: LinkItem /Nck/FunctionGroupingFanuc/...
All G functions currently configured for the channels are made available for reading by the NCK. They are configu-
red via machine data. Since the G functions are organized in groups, only one of which can be active at a time, this
module is organized as a table.
There are two columns for each G group. The 1st column lists the number of G functions in a group ($$/N/YFAFL/
Gruppe_NUM), this corresponds to the number of rows in each subsequent column. This second column contains
all the G functions belonging to a group ($$/N/YFAFL/Gruppe).
As a result, the data for a certain G group are calculated via a column offset.
The column offset of each variable is:
2 * (G group number - 1)
The number of G groups is given in the variable "$$numGCodeGroupsFanuc" in area N / module Y. The resultant
maximum column offset of the variables is thus 2 * $$numGCodeGroupsFanuc.
The G functions currently active are listed in area C / module SNCF.
Gruppe (N, YFAFL)
Alternative name:
function
Instruction group
Units and value ranges
Physical unit:
Data type:
-
TYPE_STRING
Addressing
Line index:
Max. line index:
$$/N/YFAFL/Gruppe_NUM
Read access
Gruppe_NUM (N, YFAFL)
Alternative name:
groupId
Number of Fanuc-G functions
Number of Fanuc-G functions in the relevant group
Units and value ranges
Physical unit:
Data type:
Minimum value:
NC variables
1140
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
Gruppe_NUM (N, YFAFL)
-
TYPE_UWORD
0
Addressing
Line index:
Max. line index:
1
Read access
3.2.6.27
YNCFL: NCK instruction group list
OEM-MMC: LinkItem /Nck/FunctionGrouping/...
All G functions currently configured for the channels are made available for reading by the NCK. They are configu-
red via machine data. Since the G functions are organized in groups, only one of which can be active at a time, this
module is organized as a table.
There are two columns for each G group. The 1st column lists the number of G functions in a group ($$/N/YNCFL/
Gruppe_NUM), this corresponds to the number of rows in each subsequent column. This second column contains
all the G functions belonging to a group ($$/N/YNCFL/Gruppe).
As a result, the data for a certain G group are calculated via a column offset.
The column offset of each variable is:
2 * (G group number - 1)
The number of G groups is given in the variable "$$numGCodeGroups" in area N / module Y. The resultant the
maximum column offset of the variables is thus
2 * $$numGCodeGroups.
The G functions currently active are listed in area C / module SNCF.
Gruppe (N, YNCFL)
Alternative name:
function
Instruction group (Function)
Instruction group
Units and value ranges
Physical unit:
Data type:
-
TYPE_STRING
Addressing
Line index:
Max. line index:
$$/N/YNCFL/Gruppe_NUM
Validity:
From NCK version 3.6
Read access
Gruppe_NUM (N, YNCFL)
Alternative name:
groupId
Number of G functions (GroupID)
Number of G functions in the relevant group
Units and value ranges
Physical unit:
Data type:
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
1141
NC variables
3.2 NC variable descriptions
Gruppe_NUM (N, YNCFL)
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
1
Validity:
From NCK version 3.6
Read access
3.2.7
Tool: Tool Data
3.2.7.1
AD: Adapter data (not for new developments)
OEM-MMC: LinkItem /Tool/Adapter/...
Adapter data are used to define the dimensions of an adapter (L1, L2, L3) for each magazine location and the
direction (transformation) of any loaded tools.
The transformation is applied when cutting edge data are processed in the OPI modules TOT, TOST and TOET if the
tool is loaded in a magazine location to which adapter data are assigned.
Adapter data exist independently of magazine location data. The magazine location data contain a reference (see
TP module, placeData) to the adapter data.
(Not for new developments.)
adaptData (T, AD)
Adapter data
The variable contains the adapter data specified by system variable $TC_ADPT:
o Line 1: Adapter geometry length 1 ($TC_ADPT1)
o Line 2: Adapter geometry length 2 ($TC_ADPT2)
o Line 3: Adapter geometry length 3 ($TC_ADPT3)
o Lines 4...n: Adaptation transformation number ($TC_ADPTT[n]
Units and value ranges
Physical unit:
Data type:
Initial value
mm, inch, user defined
TYPE_DOUBLE
0.0
Addressing
Line index:
Max. line index:
$$numParams_Adapt
Read access and write access
NC variables
1142
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
3.2.7.2
ADN: Adapter data
OEM-MMC: LinkItem /Tool/AdapterNew/...
Adapter data are used to define the dimensions of an adapter and the direction of any loaded tools of each magazine
location.
The transformation is applied when cutting edge data are processed in the OPI modules TOT, TOST and TOET if the
tool is loaded in a magazine location to which adapter data are assigned.
Adapter data exist independently of magazine location data. The magazine location data contain a reference (see
TP module, placeData) to the adapter data.
Adapters can be inserted between a magazine location or a multitool location and a tool.
The adapters change the length and direction of the tool offsets concerned.
The transformation is applied when cutting edge data are processed in the OPI modules TOT, TOST and TOET if the
tool is loaded in a magazine location or a multitool location with an adapter to which the adapter data are assigned.
The adapter data describe such an adapter, and exist independently of the use of the adapter in a magazine or
multitool location.
The adapter used is determined by the magazine location or multitool location (see TP module, placeData or MTP
module, placeData.
adaptType (T, ADN)
$TC_ADPT_TYPE[n]
Adapter type
Adapter type
0: No adapter defined by the number (=line).
1: Defines adapter type 1 (conventional adapter)
2: Defines adapter type 2.(angle head adapter)
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_UWORD
0
Read access
adapt1 (T, ADN)
$TC_ADPT1[n]
Adapter geometry: Length 1
Adapter geometry: Length 1
Variable belongs to adapter type 1
Units and value ranges
Physical unit:
Data type:
Initial value
mm, inch, user defined
TYPE_DOUBLE
0.0
Read access and write access
adapt2 (T, ADN)
$TC_ADPT2[n]
Adapter geometry: Length 2
Adapter geometry: Length 2
Variable belongs to adapter type 1
Units and value ranges
Physical unit:
Data type:
Initial value
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
1143
NC variables
3.2 NC variable descriptions
adapt2 (T, ADN)
$TC_ADPT2[n]
mm, inch, user defined
TYPE_DOUBLE
0.0
Read access and write access
adapt3 (T, ADN)
$TC_ADPT3[n]
Adapter geometry: Length 3
Adapter geometry: Length 3
Variable belongs to adapter type 1
Units and value ranges
Physical unit:
Data type:
Initial value
mm, inch, user defined
TYPE_DOUBLE
0.0
Read access and write access
adaptt (T, ADN)
$TC_ADPTT[n]
Adapter transformation number
Adapter transformation number (Numbers from 1 ... 8). Each number corresponds to a transformation around the three
adapter geometries.
Example: Transformation number 1 is active
Variable belongs to adapter type 1
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_UWORD
0
Read access and write access
adaptOff00 (T, ADN)
$TC_ADPT_OFF[n,0,0]
Adapter type 2: Offset: 1st element, 1st component
Adapter type 2: Offset
1st element of the crosshead adapter
Vector component in the direction L1. Linear offsets can be parameterized in three directions for angle head adapters.
Variable belongs to type 2 /crosshead adapter))
Units and value ranges
Physical unit:
Data type:
Initial value
mm, inch, user defined
TYPE_DOUBLE
0
Read access and write access
adaptOff01 (T, ADN)
$TC_ADPT_OFF[n,0,1]
Adapter type 2: Offset: 1st element, 2st component
Adapter type 2: Offset
1st element of the crosshead adapter
Vector component in the direction L2. Linear offsets can be parameterized in three directions for angle head adapters.
Variable belongs to type 2 adapter (crosshead adapter)
Units and value ranges
Physical unit:
Data type:
Initial value
NC variables
1144
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
adaptOff01 (T, ADN)
$TC_ADPT_OFF[n,0,1]
mm, inch, user defined
TYPE_DOUBLE
0
Read access and write access
adaptOff02 (T, ADN)
$TC_ADPT_OFF[n,0,2]
Adapter type 2: Offset: 1st element, 3st component
Adapter type 2: Offset
1st element of the crosshead adapter
Vector component in the direction L3. Linear offsets can be parameterized in three directions for angle head adapters.
Variable belongs to type 2 adapter (crosshead adapter)
Units and value ranges
Physical unit:
Data type:
Initial value
mm, inch, user defined
TYPE_DOUBLE
0
Read access and write access
adaptDir00 (T, ADN)
$TC_ADPT_DIR[n,0,0]
Adapter type 2: 1st dir. comp. of 1st rotary axis
Adapter type 2: Direction of rotary axis
1: Direction component of the rotary axis for the angle between the 1st and 2nd elements of the angle head adapter.
Variable belongs to type 2 adapter (angle head adapter)
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_DOUBLE
0
Read access and write access
adaptDir01 (T, ADN)
$TC_ADPT_DIR[n,0,1]
Adapter type 2: 2st dir. comp. of 1st rotary axis
Adapter type 2: Direction of rotary axis
2: Direction component of the rotary axis for the angle between the 1st and 2nd elements of the angle head adapter.
Variable belongs to type 2 adapter (angle head adapter)
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_DOUBLE
0
Read access and write access
adaptDir02 (T, ADN)
$TC_ADPT_DIR[n,0,2]
Adapter type 2: 3st dir. comp. of 1st rotary axis
Adapter type 2: Direction of rotary axis
3: Direction component of the rotary axis for the angle between the 1st and 2nd elements of the angle head adapter.
Variable belongs to type 2 adapter (angle head adapter)
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_DOUBLE
0
Read access and write access
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
1145
NC variables
3.2 NC variable descriptions
adaptAng0 (T, ADN)
$TC_ADPT_ANG[n,0]
Adapter type 2: Angle 1
Adapter type 2: Angle 1
Angle between the 1st and 2nd elements of the angle head adapter
Variable belongs to type 2 adapter (angle head adapter)
Units and value ranges
Physical unit:
Data type:
Initial value
Degree
TYPE_DOUBLE
0
Read access and write access
adaptAngConst0 (T, ADN)
$TC_ADPT_ANG_CONST[n,0]
Adapter type 2: Angle offset 1
Adapter type 2: Angle offset 1
Angle offset between the 1st and 2nd elements of the angle head adapter
Variable belongs to type 2 adapter (angle head adapter)
Units and value ranges
Physical unit:
Data type:
Initial value
Degree
TYPE_DOUBLE
0
Read access and write access
adaptOff10 (T, ADN)
$TC_ADPT_OFF[n,1,0]
Adapter type 2: Offset: 2st element, 1st component
Adapter type 2: Offset
2st element of the crosshead adapter
Vector component in the direction L1. Linear offsets can be parameterized in three directions for angle head adapters.
Variable belongs to type 2 adapter (crosshead adapter)
Units and value ranges
Physical unit:
Data type:
Initial value
mm, inch, user defined
TYPE_DOUBLE
0
Read access and write access
adaptOff11 (T, ADN)
$TC_ADPT_OFF[n,1,1]
Adapter type 2: Offset: 2st element, 2st component
Adapter type 2: Offset
2st element of the crosshead adapter
Vector component in the direction L2. Linear offsets can be parameterized in three directions for angle head adapters.
Variable belongs to type 2 adapter (crosshead adapter)
Units and value ranges
Physical unit:
Data type:
Initial value
mm, inch, user defined
TYPE_DOUBLE
0
Read access and write access
NC variables
1146
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
adaptOff12 (T, ADN)
$TC_ADPT_OFF[n,1,2]
Adapter type 2: Offset: 2st element, 3st component
Adapter type 2: Offset
2st element of the crosshead adapter
Vector component in the direction L3. Linear offsets can be parameterized in three directions for angle head adapters.
Variable belongs to type 2 adapter (crosshead adapter)
Units and value ranges
Physical unit:
Data type:
Initial value
mm, inch, user defined
TYPE_DOUBLE
0
Read access and write access
adaptDir10 (T, ADN)
$TC_ADPT_DIR[n,1,0]
Adapter type 2: 1st dir. comp. of 2st rotary axis
Adapter type 2: Direction of rotary axis
1: Direction component of the rotary axis for the angle between the 2st and 3nd elements of the angle head adapter.
Variable belongs to type 2 adapter (angle head adapter)
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_DOUBLE
0
Read access and write access
adaptDir11 (T, ADN)
$TC_ADPT_DIR[n,1,1]
Adapter type 2: 2st dir. comp. of 2st rotary axis
Adapter type 2: Direction of rotary axis
2: Direction component of the rotary axis for the angle between the 2st and 3nd elements of the angle head adapter.
Variable belongs to type 2 adapter (angle head adapter)
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_DOUBLE
0
Read access and write access
adaptDir12 (T, ADN)
$TC_ADPT_DIR[n,1,2]
Adapter type 2: 3st dir. comp. of 2st rotary axis
Adapter type 2: Direction of rotary axis
3: Direction component of the rotary axis for the angle between the 2st and 3nd elements of the angle head adapter.
Variable belongs to type 2 adapter (angle head adapter)
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_DOUBLE
0
Read access and write access
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
1147
NC variables
3.2 NC variable descriptions
adaptAng1 (T, ADN)
$TC_ADPT_ANG[n,1]
Adapter type 2: Angle 2
Adapter type 2: Angle 2
Angle between the 2st and 3nd elements of the angle head adapter
Variable belongs to type 2 adapter (angle head adapter)
Units and value ranges
Physical unit:
Data type:
Initial value
Degree
TYPE_DOUBLE
0
Read access and write access
adaptAngConst1 (T, ADN)
$TC_ADPT_ANG_CONST[n,1]
Adapter type 2: Angle offset 2
Adapter type 2: Angle offset 2
Angle offset between the 2st and 3nd elements of the angle head adapter
Variable belongs to type 2 adapter (angle head adapter)
Units and value ranges
Physical unit:
Data type:
Initial value
Degree
TYPE_DOUBLE
0
Read access and write access
adaptOff20 (T, ADN)
$TC_ADPT_OFF[n,2,0]
Adapter type 2: Offset: 3st element, 1st component
Adapter type 2: Offset
3st element of the crosshead adapter
Vector component in the 1st direction
Variable belongs to type 2 adapter (crosshead adapter)
Units and value ranges
Physical unit:
Data type:
Initial value
mm, inch, user defined
TYPE_DOUBLE
0
Read access and write access
adaptOff21 (T, ADN)
$TC_ADPT_OFF[n,2,1]
Adapter type 2: Offset: 3st element, 2st component
Adapter type 2: Offset
3st element of the crosshead adapter
Vector component in the 2st direction
Variable belongs to type 2 adapter (crosshead adapter)
Units and value ranges
Physical unit:
Data type:
Initial value
mm, inch, user defined
TYPE_DOUBLE
0
Read access and write access
NC variables
1148
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
adaptOff22 (T, ADN)
$TC_ADPT_OFF[n,2,2]
Adapter type 2: Offset: 3st element, 3st component
Adapter type 2: Offset
3st element of the crosshead adapter
Vector component in the 3st direction
Variable belongs to type 2 adapter (crosshead adapter)
Units and value ranges
Physical unit:
Data type:
Initial value
mm, inch, user defined
TYPE_DOUBLE
0
Read access and write access
adaptDir20 (T, ADN)
$TC_ADPT_DIR[n,2,0]
Adapter type 2: 1st dir. comp. of 3st rotary axis
Adapter type 2: Direction of rotary axis
1: Direction component of the rotary axis for the angle between the 3rd element of the angle head adapter and the tool.
Variable belongs to type 2 adapter (angle head adapter)
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_DOUBLE
0
Read access and write access
adaptDir21 (T, ADN)
$TC_ADPT_DIR[n,2,1]
Adapter type 2: 2st dir. comp. of 3st rotary axis
Adapter type 2: Direction of rotary axis
2: Direction component of the rotary axis for the angle between the 3rd element of the angle head adapter and the tool.
Variable belongs to type 2 adapter (angle head adapter)
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_DOUBLE
0
Read access and write access
adaptDir22 (T, ADN)
$TC_ADPT_DIR[n,2,2]
Adapter type 2: 3st dir. comp. of 3st rotary axis
Adapter type 2: Direction of rotary axis
3: Direction component of the rotary axis for the angle between the 3rd element of the angle head adapter and the tool.
Variable belongs to type 2 adapter (angle head adapter)
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_DOUBLE
0
Read access and write access
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
1149
NC variables
3.2 NC variable descriptions
adaptAng2 (T, ADN)
$TC_ADPT_ANG[n,2]
Adapter type 2: Angle 3
Adapter type 2: Angle 3
Angle after the 2nd element of the angle head adapter
Variable belongs to type 2 adapter (angle head adapter)
Units and value ranges
Physical unit:
Data type:
Initial value
Degree
TYPE_DOUBLE
0
Read access and write access
adaptAngConst2 (T, ADN)
$TC_ADPT_ANG_CONST[n,2]
Adapter type 2: Angle offset 3
Adapter type 2: Angle offset 3
Angle offset after the 2nd element of the angle head adapter
Variable belongs to type 2 adapter (angle head adapter)
Units and value ranges
Physical unit:
Data type:
Initial value
Degree
TYPE_DOUBLE
0
Read access and write access
NC variables
1150
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
3.2.7.3
AEV: Working offsets: Directory
OEM-MMC: LinkItem /Tool/ActiveCatalogue/...
The active tool edges are sorted in consecutive ascending D number sequence in the AEV module. This module also
contains the essential tool data for each D number entered. "Active" in this case refers to the replacement tools.
(If the "unique D numbers" option is not activated in the NC, the edges are sorted according to ascending ToolIdent
and DuploNumber. The D number variable is then set to 0 on all lines in this module.)
The D number assignment is not necessarily unique for active tools. For this reason, the same D number may be
entered in several lines (successively).
The line number is a serial number which is not related to the D number.
The number of active tool edges is stored in $$numActDEdges (module AEV), e.g. example 10,
i.e. module AEV contains entries for 10 tool edges. These are sorted in ascending D number sequence. The tool edge
with the lowest D number has index (serial number) 1, the next-higher D number index 2, etc. and the edge with
the highest D number index 10.
When tools are activated/deactivated and D numbers re-assigned, the entries for a D number change line dynami-
cally.
Module T / AEV is organized as a 1-dimensional variable array and can be used for the following purposes:
- Display all tool edges, including D numbers, of active tools.
- Display associated tool data
The module contains the following information which can be addressed via a column index:
- Single column, in 1st line only. Number of D numbers (lines, tool edges) in the current list
- The other columns apply to all lines, each line contains tool edge data with the following information:
- D number
- Internal T number of associated tool
- Tool edge number relative to tool
- Tool identifier
- Duplo number
- Magazine number and
- Location number of tool
Individual values cannot be altered via this module.
Re-assignment of D numbers and changes in allocation to tools (deactivate, activate replacement tools) and other
modifications to data cause changes to $$toolCounter in "C / S Channel-specific status data".
Variable $$modeSpindleToolRevolver (module N/Y, global system data) defines for circular magazines (T / TM,
magazine data, general data, MagKind=3) whether the tool in OPI modules "T / TP, magazine data, location data",
"T / TD, tool data, general data", "T/TV, tool data, directory" and "T / AEV, working offsets, directory" remains (new
functionality) in its circular magazine location during operation or changes to the buffer magazine (earlier beha-
viour)).
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
1151
NC variables
3.2 NC variable descriptions
DNo (T, AEV)
D-number
D number of the cutting edge located at the consecutive number (= line index) in the AEV module list.
Note: Not to be confused with the cutting edge number (see variable "cuttEdgeNo").
Defined only in connection with the "unique D numbers" function.
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
$$numActDEdges
Read access
cuttEdgeNo (T, AEV)
Tool edge number
Cutting edge number of the cutting edge located at the consecutive number (= line index) in the AEV module list.
Note: This is not the D number of the cutting edge as used in the NC language (see variable "dNo").
Units and value ranges
Physical unit:
Data type:
Minimum value:
Maximum value:
-
TYPE_UWORD
1
$$maxnumCuttEd-
ges_Tool
Addressing
Line index:
Max. line index:
$$numActDEdges
Read access
duploNo (T, AEV)
Duplo number
Internal tool number of the tool located at the consecutive number (= line index) in the AEV module list.
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
edgedata
Read access
NC variables
1152
List Manual, 10/2020, 6FC5397-3CP40-6BA4
|