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

 

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

 

Search            copyright infringement  

 

   

 

   

 

Content      ..     64      65      66      67     ..

 

 

 

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

 

 

NC variables
3.2 NC variable descriptions
gwpsActive (C, SSP)
$$numSpindles
Validity:
From NCK version 3.6
Read access
index (C, 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:
$$numSpindles
Validity:
From NCK version 3.6
Read access
name (C, 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.
Units and value ranges
Physical unit:
Data type:
-
TYPE_STRING
Addressing
Line index:
Max. line index:
$$numSpindles
Validity:
From NCK version 3.6
Read access
namePhys (C, 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:
$$numSpindles
Read access
NC variables
532
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
opMode (C, 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:
$$numSpindles
Validity:
From NCK version 3.6
Read access
pSMode (C, 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:
Minimum value:
Maximum value:
-
TYPE_UWORD
0
4
Addressing
Line index:
Max. line index:
$$numSpindles
Read access
pSModeS (C, SSP)
Prog. spindle mode 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:
Minimum value:
Maximum value:
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
533
NC variables
3.2 NC variable descriptions
pSModeS (C, SSP)
-
TYPE_UWORD
0
4
Addressing
Line index:
Max. line index:
$$numSpindles
Read access
psModePos (C, 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:
$$numSpindles
Read access
psModePosBKS (C, 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:
$$numSpindles
Read access
psModePosS (C, 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:
$$numSpindles
Read access
NC variables
534
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
speedLimit (C, 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:
$$numSpindles
Validity:
From NCK version 3.6
Read access
speedOvr (C, SSP)
Spindle override
Units and value ranges
Physical unit:
Data type:
%
TYPE_DOUBLE
Addressing
Line index:
Max. line index:
$$numSpindles
Validity:
From NCK version 3.6
Read access
spindleType (C, 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:
$$numSpindles
Validity:
From NCK version 3.6
Read access
status (C, 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:
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
535
NC variables
3.2 NC variable descriptions
status (C, SSP)
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
$$numSpindles
Validity:
From NCK version 3.6
Read access
turnState (C, 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:
$$numSpindles
Validity:
From NCK version 3.6
Read access
acSDir (C, SSP)
Current dir. of spindle rot. in sense of M3/M4/M5
Current direction of spindle rotation in the sense of M3/M4/M5 in the part program, synchronized actions, PLC FC18, PLC DBB30.
3: Clockwise spindle rotation, 4: Counterclockwise spindle rotation, 5: Spindle stop
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
$$numSpindles
Read access
NC variables
536
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
acSmaxVelo (C, 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:
$$numSpindles
Read access
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
537
NC variables
3.2 NC variable descriptions
acSmaxVeloInfo (C, 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
538
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
acSmaxVeloInfo (C, SSP)
Addressing
Line index:
Max. line index:
$$numSpindles
Read access
acSminVelo (C, 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:
$$numSpindles
Read access
acSminVeloInfo (C, 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
539
NC variables
3.2 NC variable descriptions
acSminVeloInfo (C, SSP)
Units and value ranges
Physical unit:
Data type:
-
TYPE_DWORD
Addressing
Line index:
Max. line index:
$$numSpindles
Read access
acSmaxAcc (C, 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:
$$numSpindles
Read access
NC variables
540
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
acSmaxAccInfo (C, 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
541
NC variables
3.2 NC variable descriptions
acSmaxAccInfo (C, SSP)
$$numSpindles
Read access
acSpindState (C, 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:
$$numSpindles
Read access
NC variables
542
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
acSVC (C, 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 (C, 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 (C, SSP)
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
543
NC variables
3.2 NC variable descriptions
acSGear (C, SSP)
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.3.31
SSP2: Spindle status data for spindle conversion
OEM-MMC: LinkItem /Channel/LogicalSpindle/...
All state data that refer to a spindle, if a spindle converter (logical spindles) is active
acConstCutS (C, SSP2)
$AC_CONSTCUT_S[n]
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:
$$numSpindlesLog
Read access
acSMode (C, SSP2)
$AC_SMODE[x]
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
544
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
acSMode (C, SSP2)
$AC_SMODE[x]
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:
$$numSpindlesLog
Read access
actGearStage (C, SSP2)
Actual gear stage of spindle
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
$$numSpindlesLog
Validity:
From NCK version 3.6
Read access
actSpeed (C, SSP2)
$AA_S[x] x = SpindleNo
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:
$$numSpindlesLog
Validity:
From NCK version 3.6
Read access
channelNo (C, 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:
$$numSpindlesLog
Read access
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
545
NC variables
3.2 NC variable descriptions
cmdAngPos (C, 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:
$$numSpindlesLog
Validity:
From NCK version 3.6
Read access
cmdConstCutSpeed (C, 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:
$$numSpindlesLog
Read access
cmdGearStage (C, SSP2)
Requested gear stage
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
$$numSpindlesLog
Validity:
From NCK version 3.6
Read access
cmdGwps (C, 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
546
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
cmdGwps (C, SSP2)
$$numSpindlesLog
Validity:
From NCK version 3.6
Read access
cmdSpeed (C, SSP2)
$P_S[x] x = SpindleNo
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:
$$numSpindlesLog
Validity:
From NCK version 3.6
Read access
driveLoad (C, SSP2)
Load
Units and value ranges
Physical unit:
Data type:
%
TYPE_DOUBLE
Addressing
Line index:
Max. line index:
$$numSpindlesLog
Validity:
From NCK version 3.6
Read access
gwpsActive (C, SSP2)
{$GWPS}
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:
$$numSpindlesLog
Validity:
From NCK version 3.6
Read access
index (C, 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
547
NC variables
3.2 NC variable descriptions
index (C, SSP2)
Addressing
Line index:
Max. line index:
$$numSpindlesLog
Validity:
From NCK version 3.6
Read access
name (C, 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:
$$numSpindlesLog
Validity:
From NCK version 3.6
Read access
namePhys (C, SSP2)
Physical spindle name
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:
$$numSpindlesLog
Read access
opMode (C, 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:
$$numSpindlesLog
Validity:
From NCK version 3.6
Read access
NC variables
548
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
pSMode (C, SSP2)
$P_SMODE
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:
Minimum value:
Maximum value:
-
TYPE_UWORD
0
4
Addressing
Line index:
Max. line index:
$$numSpindlesLog
Read access
pSModeS (C, SSP2)
Prog. spindle mode 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:
Minimum value:
Maximum value:
-
TYPE_UWORD
0
4
Addressing
Line index:
Max. line index:
$$numSpindlesLog
Read access
psModePos (C, 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:
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
549
NC variables
3.2 NC variable descriptions
psModePos (C, SSP2)
$$numSpindlesLog
Read access
psModePosBKS (C, 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:
$$numSpindlesLog
Read access
psModePosS (C, 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:
$$numSpindlesLog
Read access
speedLimit (C, 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:
$$numSpindlesLog
Validity:
From NCK version 3.6
Read access
speedOvr (C, SSP2)
Spindle override
Units and value ranges
Physical unit:
Data type:
%
TYPE_DOUBLE
NC variables
550
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
speedOvr (C, SSP2)
Addressing
Line index:
Max. line index:
$$numSpindlesLog
Validity:
From NCK version 3.6
Read access
spindleType (C, 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:
$$numSpindlesLog
Validity:
From NCK version 3.6
Read access
status (C, 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:
$$numSpindlesLog
Validity:
From NCK version 3.6
Read access
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
551
NC variables
3.2 NC variable descriptions
turnState (C, 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:
$$numSpindlesLog
Validity:
From NCK version 3.6
Read access
acSDir (C, SSP2)
$AC_SDIR[x] x = SpindleNo
Programmed direction of spindle rotation
Programmed direction of spindle rotation in part program, synchronized actions, PLC FC18, PLC DBB30.
3: Clockwise spindle rotation, 4: Counterclockwise spindle rotation, 5: Spindle stop
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
$$numSpindlesLog
Read access
acSmaxVelo (C, SSP2)
$AC_SMAXVELO[]
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.
NC variables
552
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
acSmaxVelo (C, SSP2)
$AC_SMAXVELO[]
Units and value ranges
Physical unit:
Data type:
rev/min, user defined
TYPE_DOUBLE
Addressing
Line index:
Max. line index:
$$numSpindlesLog
Read access
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
553
NC variables
3.2 NC variable descriptions
acSmaxVeloInfo (C, SSP2)
$AC_SMAXVELO_INFO[]
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
554
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
acSmaxVeloInfo (C, SSP2)
$AC_SMAXVELO_INFO[]
Addressing
Line index:
Max. line index:
$$numSpindlesLog
Read access
acSminVelo (C, SSP2)
$AC_SMINVELO[]
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:
$$numSpindlesLog
Read access
acSminVeloInfo (C, SSP2)
$AC_SMINVELO_INFO[]
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
555
NC variables
3.2 NC variable descriptions
acSminVeloInfo (C, SSP2)
$AC_SMINVELO_INFO[]
Units and value ranges
Physical unit:
Data type:
-
TYPE_DWORD
Addressing
Line index:
Max. line index:
$$numSpindlesLog
Read access
acSmaxAcc (C, SSP2)
$AC_SMAXACC[]
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:
$$numSpindlesLog
Read access
NC variables
556
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
acSmaxAccInfo (C, SSP2)
$AC_SMAXACC_INFO[]
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_IDX:
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
557
NC variables
3.2 NC variable descriptions
acSmaxAccInfo (C, SSP2)
$AC_SMAXACC_INFO[]
$$numSpindlesLog
Read access
acSpindState (C, SSP2)
$AC_SPIND_STATE[]
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:
$$numSpindlesLog
Read access
NC variables
558
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
acSVC (C, SSP2)
$AC_SVC[x]
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 (C, SSP2)
$AC_S_TYPE[x]
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 (C, 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
List Manual, 10/2020, 6FC5397-3CP40-6BA4
559
NC variables
3.2 NC variable descriptions
acSGear (C, 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.3.32
SSYNAC: Synchronous actions
OEM-MMC: LinkItem /Channel/SelectedFunctions/...
Several synchronous actions (M, H, S, E, F, T, D) can be active simultaneously in one channel. The module SSYNAC
contains a list of all the synchronous actions programmed in the current block. This module consists of arrays of
varying length because some types of synchronous actions might be programmed several times in a block. A
synchronous action that is not assigned produces a negative number for the respecitive index.
For each synchronous action there is an address variable and a variable in which the value of the address is entered.
5 M functions
3 S functions
3 H functions
1 T function
1 D function
6 F functions
1 E function
can be programmed in each part program block, but no more than 10 synchronous actions must be programmed
in a single block.
Dadr (C, SSYNAC)
D-number
D-number. There is only one active D-number per channel.
Units and value ranges
Physical unit:
Data type:
NC variables
560
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
Dadr (C, SSYNAC)
-
TYPE_DWORD
Addressing
Line index:
Max. line index:
1
Validity:
From NCK version 3.6
Read access
Dval (C, SSYNAC)
Value of the current D-number
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
Eadr (C, SSYNAC)
S5
Number of active E-function
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
Eval (C, SSYNAC)
S5
Value of the E-function
Units and value ranges
Physical unit:
Data type:
mm/min, inch/min, user de-
TYPE_DOUBLE
fined
Addressing
Line index:
Max. line index:
1
Validity:
From NCK version 3.6
Read access
Hadr (C, SSYNAC)
S5
Number of active auxiliary functions( H-functions)
Number of active auxiliary functions (H-functions). Up to three H-functions can be active simultaneously.
Units and value ranges
Physical unit:
Data type:
Minimum value:
Maximum value:
-
TYPE_UWORD
0
99
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
561
NC variables
3.2 NC variable descriptions
Hadr (C, SSYNAC)
S5
Addressing
Line index:
Max. line index:
3
Validity:
From NCK version 3.6
Read access
Hval (C, SSYNAC)
S5
Value of the H-function
Units and value ranges
Physical unit:
Data type:
Minimum value:
Maximum value:
-
TYPE_DOUBLE
-99999,9999
99999,9999
Addressing
Line index:
Max. line index:
3
Validity:
From NCK version 3.6
Read access
Madr (C, SSYNAC)
S5
Number of the active M-function
Number of the active M-function. Up to 5 M-functions can be active simultaneously.
Units and value ranges
Physical unit:
Data type:
Minimum value:
Maximum value:
-
TYPE_UWORD
0
99
Addressing
Line index:
Max. line index:
5
Validity:
From NCK version 3.6
Read access
Mval (C, SSYNAC)
S5
Value of the M-function
Units and value ranges
Physical unit:
Data type:
Minimum value:
Maximum value:
-
TYPE_DWORD
0
99999999
Addressing
Line index:
Max. line index:
5
Validity:
From NCK version 3.6
Read access
Sadr (C, SSYNAC)
S5
Number of active S-functions
Number of active S-functions. Up to three S-functions can be active simultaneously.
Units and value ranges
Physical unit:
Data type:
Minimum value:
Maximum value:
-
TYPE_UWORD
0
6
NC variables
562
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
Sadr (C, SSYNAC)
S5
Addressing
Line index:
Max. line index:
3
Validity:
From NCK version 3.6
Read access
Sval (C, SSYNAC)
S5
Value of the S-function.
Value of the S-function. Specifies the spindle speed.
Units and value ranges
Physical unit:
Data type:
Minimum value:
Maximum value:
rev/min , m/min
TYPE_DOUBLE
0
999999,999
Addressing
Line index:
Max. line index:
3
Validity:
From NCK version 3.6
Read access
TPreSelAdr (C, SSYNAC)
Number of the preselected T-function
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
TPreSelVal (C, SSYNAC)
Value of the preselected T-function
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
Tadr (C, SSYNAC)
Active T-number
Active T-number. Only one T-number can be active at any a time.
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
563
NC variables
3.2 NC variable descriptions
Tadr (C, SSYNAC)
Addressing
Line index:
Max. line index:
1
Validity:
From NCK version 3.6
Read access
Tval (C, SSYNAC)
T-function value
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
3.2.3.33
SYNACT: Channel-specific synchronous actions
OEM-MMC: LinkItem /Channel/SelectedFunctions/...
This module contains information on the synchronous actions. The 1000 digit of the cell contains the user pro-
tection level (0-7) needed for displaying the corresponding synchronous action.
blockNoStrAct (C, SYNACT)
For active tech.cycle: block no. of current action
If a technology cycle is active: block number of the current action
Units and value ranges
Physical unit:
Data type:
-
TYPE_STRING
Addressing
Line index:
Max. line index:
7 * 1000 + $$/C/SYNACT/numSynAct
Read access
blockNoStrProg (C, SYNACT)
Block no. where the syn. act. is programmed
Number of the block where the synchronous action has been programmed
Units and value ranges
Physical unit:
Data type:
-
TYPE_STRING
Addressing
Line index:
Max. line index:
7 * 1000 + $$/C/SYNACT/numSynAct
Read access
NC variables
564
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
id (C, SYNACT)
ID of the synchronous action
ID of the synchronous action; value 0 means that there is no ID defined (block-by-block)
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
7 * 1000 + $$/C/SYNACT/numSynAct
Read access
numSynAct (C, SYNACT)
Number of synchronous actions
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
7 * 1000 + 1
Read access
typStatus (C, SYNACT)
Type and state of the synchronous action
Type and status of the synchronized action
Bit 0-7 describe the status:
Bit 0: Active, i.e. condition fulfilled, action is being executed
Bit 1: Lock, i.e. action is locked by PLC or Synact
Bit 2: Lock nc, i.e. locked by another Synact
Bit 3: Lock plc, i.e. locked by PLC
Bit 4: Fire, i.e. condition is fulfilled
Bit 5: Check condition, i.e. condition is checked
Bit 6: Waiting, i.e. action is waiting to be executed
Bit 7: Done, i.e. synchronized action has been completed
Bit 8-15 describe the type:
Bit 8: Static
Bit 9: Modal
Bit 10: Group-by-group (recognized by id=0)
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
565
NC variables
3.2 NC variable descriptions
typStatus (C, SYNACT)
7 * 1000 + $$/C/SYNACT/numSynAct
Read access
synactBlock (C, SYNACT)
Current synchronized action block (short)
Units and value ranges
Physical unit:
Data type:
-
TYPE_STRING
Addressing
Line index:
Max. line index:
7 * 1000 + $$/C/SYNACT/numSynAct
Read access
synactBlockL (C, SYNACT)
Current synchronized action block (long)
Units and value ranges
Physical unit:
Data type:
-
TYPE_STRING
Addressing
Line index:
Max. line index:
7 * 1000 + $$/C/SYNACT/numSynAct
Read access
progPathName (C, SYNACT)
Synchronized action file
Units and value ranges
Physical unit:
Data type:
-
TYPE_STRING
Addressing
Line index:
Max. line index:
7 * 1000 + $$/C/SYNACT/numSynAct
Read access
progLineOffset (C, SYNACT)
SYNACT offset
SYNACT offset within the $$progPathName file
Units and value ranges
Physical unit:
Data type:
-
TYPE_DWORD
Addressing
Line index:
Max. line index:
7 * 1000 + $$/C/SYNACT/numSynAct
Read access
NC variables
566
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
numElem (C, SYNACT)
Number of occupied SYNACT elements
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
7 * 1000 + $$/C/SYNACT/numSynAct
Read access
synActInfo (C, SYNACT)
Classification of the SYNACT
Information on classification of the SYNACT
Return value
Bit0: Area: User
Bit1: Area: Manufacturer
Bit2: Area: System
Bit3: Area: Safety
Bit8: Type: Static
Bit9: Type: Modal
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
7 * 1000 + $$/C/SYNACT/numSynAct
Read access
selectIndex (C, SYNACT)
Consistent backup of a line
The HMI writes the corresponding ID of the synchronized action into lines 8000 or 10000. The variables are then read from this
synchronized action and can be viewed via line 8000 in the case of a modal/static synchronized action or line 10000.
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
7 * 1000 + $$/C/SYNACT/numSynAct
Read access and write access
synActCounter (C, SYNACT)
Modification counter of the SYNACTs
Modification counter for the SYNACT entries in the relevant list.
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
567
NC variables
3.2 NC variable descriptions
synActCounter (C, SYNACT)
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
7 * 1000 + $$/C/SYNACT/numSynAct
Read access
selectMask (C, SYNACT)
Masking of the SYNACTs
Masks some of the entries in the relevant SYNACT list.
Only those SYNACTS are entered in the lists for which
(selectMask-lowByte AND synActInfo-lowByte) AND (selectMask-higByte AND synActInfo-highByte) apply.
The default value 0xFFFF generates completely unfiltered lists.
Return value
Bit0: Area: User
Bit1: Area: Manufacturer
Bit2: Area: System
Bit3: Area: Safety
Bit8: Type: Static
Bit9: Type: Modal
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
7 * 1000 + $$/C/SYNACT/numSynAct
Read access and write access
numVars (C, SYNACT)
Number of SYNACT variables
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
7 * 1000 + $$/C/SYNACT/numSynAct
Read access
varName (C, SYNACT)
Name of SYNACT variable
Units and value ranges
Physical unit:
Data type:
-
TYPE_STRING
NC variables
568
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
varName (C, SYNACT)
Addressing
Line index:
Max. line index:
7 * 1000 + $$/C/SYNACT/numSynAct
Read access
varTyp (C, SYNACT)
Data type
Data type of SYNACT variable. Coding according to ACX.
Return value
0: BOOL (2 bytes)
3: LONG
10: DOUBLE
12: CHAR[32]
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
7 * 1000 + $$/C/SYNACT/numSynAct
Read access
varValue (C, SYNACT)
Variable value
Value of SYNACT variable
Units and value ranges
Physical unit:
Data type:
-
TYPE_STRING
Addressing
Line index:
Max. line index:
7 * 1000 + $$/C/SYNACT/numSynAct
Read access
3.2.3.34
TO: Tool offsets
OEM-MMC: LinkItem /Channel/Compensation/...
Tool data of the active tool
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
569
NC variables
3.2 NC variable descriptions
cuttEdgeParam (C, TO)
Cutting edge number of the offset data block
Cutting edge number CE of the offset data block of the tool with T no. = "t" and the offset number D = "d".
No longer exists as it was replaced by edgeData
Return value
The maximum number of cutting edge numbers (MD18105 $MN_MM_MAX_CUTTING_ED-
GE_NO) must be greater than the maximum number of cutting edges per tool (MD
18106 $MN_MM_MAX_CUTTING_EDGE_PERTOOL).
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_DOUBLE
0
Addressing
Line index:
Max. line index:
24
Read access
cuttEdgeParamMod (C, TO)
Modified parameter of the active tool
Modified parameter of the active tool cutting edge.
The rotation has been included in the calculation, so the value may not correspond with the original tool data.
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_DOUBLE
0
Addressing
Line index:
Max. line index:
24
Read access
3.2.3.35
VSYN: NCK-specific user variable for synchronous actions
OEM-MMC: LinkItem /Channel/SelectedFunctionData/...
This module contains channel-specific user variables for synchronous actions
acFifoN (C, VSYN)
$AC_FIFOx[y] , x = FIFONo (1-10) y = Pa-
rameterNo
FIFO variable for synchronous actions
FIFO variable for synchronous actions (Note: SYNACT only)
The number of columns depends on the number of FIFOs
Units and value ranges
Physical unit:
Data type:
-
TYPE_DOUBLE
NC variables
570
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
acFifoN (C, VSYN)
$AC_FIFOx[y] , x = FIFONo (1-10) y = Pa-
rameterNo
Addressing
Line index:
Max. line index:
MD $MC_MM_LEN_AC_FIFO+6
Read access
acMarker (C, VSYN)
replaced by acMarkerL
replaced by $$acMarkerL)
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
MD $MC_MM_NUM_AC_MARKER
Read access
acMarkerL (C, VSYN)
$AC_MARKER[n]
Counter for motion synchronous actions 32 bit
Flag variable, counter for synchronous actions
(Note: SYNACT only)
Units and value ranges
Physical unit:
Data type:
-
TYPE_DWORD
Addressing
Line index:
Max. line index:
MD $MC_MM_NUM_AC_MARKER
Read access and write access
acParam (C, VSYN)
$AC_PARAM[x] x = ParameterNo
Dynamic parameters for motion-synchronous actions
Dynamic parameters for motion-synchronous actions
(Note: only with SYNACT)
Units and value ranges
Physical unit:
Data type:
-
TYPE_DOUBLE
Addressing
Line index:
Max. line index:
MD $MC_MM_NUM_AC_PARAM
Read access and write access
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
571
NC variables
3.2 NC variable descriptions
acSystemMarkerL (C, VSYN)
Counter for motion-synch. actions. 32-bit (system)
Flag variable, counter for motion-synchronous actions
(Note: only with SYNACT)
Reserved for system.
Units and value ranges
Physical unit:
Data type:
-
TYPE_DWORD
Addressing
Line index:
Max. line index:
MD $MC_MM_NUM_AC_MARKER
Read access and write access
acSystemParam (C, VSYN)
Dyn. parameters for motion-synch. actions (system)
Dynamic parameters for motion-synchronous actions
(Note: only with SYNACT)
Reserved for system.
Units and value ranges
Physical unit:
Data type:
-
TYPE_DOUBLE
Addressing
Line index:
Max. line index:
MD $MC_MM_NUM_AC_PARAM
Read access and write access
3.2.3.36
WAL: Working area limitation
OEM-MMC: LinkItem /Channel/CoordSysWorkAreaLimits/...
This block contains the working area limitation data.
waCSCoordSys (C, WAL)
$P_WORKAREA_CS_COORD_SYSTEM
Coordinate system for working area limitation
Return value
Identifier for the coordinate system in which the working area limitation is to apply.
The following are valid:
0: Working area limitation in the WCS
3: Working area limitation in the SZS
Special feature of line addressing: Any channel axis index can be selected as the channel axis
index.
Within a working area limitation group, the values are identical.
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
NC variables
572
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
waCSCoordSys (C, WAL)
$P_WORKAREA_CS_COORD_SYSTEM
-
TYPE_UWORD
0
0
3
Addressing
Line index:
Max. line index:
$$numMachAxes * $MC_MM_NUM_WORKA-
REA_CS_GROUPS
Read access and write access
waCSPlusEnable (C, WAL)
$P_WORKAREA_CS_PLUS_ENABLE
TRUE: The limitation $$waCSLimitPlus is valid.
Coord.-specific working area limitation, positive valid
Return value
TRUE: The limitation of $$waCSLimitPlus is valid.
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_UWORD
0
0
1
Addressing
Line index:
Max. line index:
$$numMachAxes * $MC_MM_NUM_WORKA-
REA_CS_GROUPS
Read access and write access
waCSMinusEnable (C, WAL)
$P_WORKAREA_CS_MINUS_ENABLE
TRUE: The limitation $$waCSLimitMinus is valid.
Coord.-specific working area limitation, negative valid
Return value
TRUE: The limitation of $$waCSLimitMinus is valid.
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_UWORD
0
0
1
Addressing
Line index:
Max. line index:
$$numMachAxes * $MC_MM_NUM_WORKA-
REA_CS_GROUPS
Read access and write access
waCSLimitPlus (C, WAL)
$P_WORKAREA_CS_LIMIT_PLUS
Coord.-specific working area limitation, positive
Position of the coordinate system-specific working area limitation
in the positive direction for the addressed axis and working area group.
Units and value ranges
Physical unit:
Data type:
-
TYPE_DOUBLE
Addressing
Line index:
Max. line index:
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
573
NC variables
3.2 NC variable descriptions
waCSLimitPlus (C, WAL)
$P_WORKAREA_CS_LIMIT_PLUS
$$numMachAxes * $MC_MM_NUM_WORKA-
REA_CS_GROUPS
Read access and write access
waCSLimitMinus (C, WAL)
$P_WORKAREA_CS_LIMIT_MINUS
Coord.-specific working area limitation, negative
Position of the coordinate system-specific working area limitation
in the negative direction for the addressed axis and working area group.
Units and value ranges
Physical unit:
Data type:
-
TYPE_DOUBLE
Addressing
Line index:
Max. line index:
$$numMachAxes * $MC_MM_NUM_WORKA-
REA_CS_GROUPS
Read access and write access
3.2.3.37
Y: System data
OEM-MMC: LinkItem /Channel/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.
channelName (C, Y)
MD 20000: CHAN_NAME
K1
Channel name
Units and value ranges
Physical unit:
Data type:
-
TYPE_STRING
Validity:
From NCK version 3.6
Read access
NC variables
574
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
maskToolManagement (C, Y)
$MC_TOOL_MANAGEMENT_MASK
Channel-specific setting for tool management
Channel-specific settings for NCK tool management function
Activation of TM memory by "0" means: The set tool management data do not use any memory space.
Value=0: TM deactivated
Bit 0=1: TM active: The tool management functions are enabled for the current channel.
Bit 1=1: TM monitoring function active: Functions required to monitor tools (tool life and number of workpieces) are enabled.
Bit 2=1: OEM functions active: The memory for user data can be utilized.
Bit 3=1: Consideration of adjacent location active
Bits 0 to 3 must be set identically to machine data MM_TOOL_MANAGEMENT_MASK (18080).
Bit 4=1: The PLC has the possibility of issuing another request for tool change preparation with modified parameters.
Part program is halted in response to T selection or M06 until it has been acknowledged by the PLC program.
Bit 5=1: The main run/PLC synchronization in response to a tool change for the main spindle is executed simultaneously with
the transport acknowledgment.
Bit 6=1: The main run/PLC synchronization in response to a tool change for the auxiliary spindle is executed simultaneously
with the transport acknowledgment.
Bit 7=1: The main run/PLC synchronization in response to a tool change for the main spindle is not executed until the PLC
acknowledgment confirms that the tool change is complete.
Bit 8=1: The main run/PLC synchronization in response to a tool change for the auxiliary spindle is not executed until the PLC
acknowledgment confirms that the tool change is complete..
Bit 9: Reserved
Bit 10=1: M06 is delayed until the preparation acknowledgment has been output by the PLC. The change signal (e.g. M06 )
is not output until the tool selection ( DBX [ n+0 ].2 ) has been acknowledged. The part program is halted in response to M06
until the T selection has been acknowledged.
Bit 11=1: The preparation command is output even if a preparation command has already been output for the same tool. This
setting is useful, for example, if the chain is to be positioned when "Tx" is first called and if the second call is to initiate a check
as to whether the tool is in the correct location for a tool change (e.g. in front of tool-change station).
Bit 12=1: The preparation command is executed even if the tool is already loaded in the spindle, i.e. the T selection signal
(DB72.DBXn.2) is set even if it has already been set for the same tool. (Tx...Tx)
Bit 13=1: Only on systems with sufficient memory space (NCU572, NCU573): Recording of tool sequences in a diagnostics
buffer. The commands are fetched from the diagnostics buffer in response to Reset and stored in a file in the passive file system,
NCATR xx.MPF under part program. The trace file is useful for the Hotline in the event of errors and is not described in detail here.
Bit 14=1: Automatic tool change in response to Reset and Start according to machine data MD20120 TOOL_RESET_NAME
MD20110 RESET_MODE_MASK MD20124 TOOL_MANAGEMENT_TOOLHOLDER. If machine data RESET_MODE_MASK is in use,
then this bit must be set as well. If RESET_MODE_MASK is set such that the tool stored in TOOL_RESET_NAME must be loaded
in response to RESET, then the select and change command is output to the user interface (DB 72) in response to RESET or Start.
If machine data RESET_MODE_MASK is set such that the active tool must remain active after M30 or RESET and if the active tool
is disabled in the spindle (by user), then a change command for a replacement tool is output to the user interface in response
to RESET. If no replacement tool is available, then an error message is output.
Bit 15=1: No return transport of tool when several preparation commands are output. (Tx->Tx)
Bit 16=1: T location number is active
Bit 17=1: Tool life decrementation can be started/stopped via the PLC.
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_DWORD
0
Read access
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
575
NC variables
3.2 NC variable descriptions
mmcCmd (C, Y)
Command from NCK to HMI
Command from NCK to HMI
The string is made up of the following characters:
1st Character acknowledgment mode:
"N" no acknowledgment
"S" synchronous acknowledgment
"A" asynchronous acknowledgment
2. - 6th character: five-digit sequence number in ASCII that is generated by the NCK
7. - 207th character: Command string which ends with "\0"
Units and value ranges
Physical unit:
Data type:
-
TYPE_STRING
Validity:
From NCK version 3.6
Read access
mmcCmdPrep (C, Y)
Command from NCK-preparation to the HMI
Command from the NCK-preparation task to the HMI (e.g. for calling external subprograms)
Units and value ranges
Physical unit:
Data type:
-
TYPE_STRING
Addressing
Line index:
Max. line index:
1
Read access
mmcCmdQuit (C, Y)
Acknowl. from HMI for command from NCK to HMI
acknowledgment from HMI for command from NCK to HMI
The string is made up of the following characters:
1st Character acknowledgment code:
"P" programmed
"B" busy
"F" failed
"E" executed
2. - 6th character: five-digit sequence number in ASCII for acknowledgment code "B", "F" or "E", generated by NCK
7. - 201th character: additional communication-specific information for acknowledgment code "B", "F" or "E", ends with "\0"
Units and value ranges
Physical unit:
Data type:
-
TYPE_STRING
Validity:
From NCK version 3.6
Write access
NC variables
576
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
mmcCmdQuitPrep (C, Y)
Ackn. by HMI for NCK-preparation command
Acknowledgemnt by HMI for an NCK-preparation command to the HMI (e.g. for calling external subprograms)
Units and value ranges
Physical unit:
Data type:
-
TYPE_STRING
Addressing
Line index:
Max. line index:
1
Read access and write access
numActAxes (C, Y)
Number of axes in channel.
Number of active tools in channel.
Channel axis gaps are not included in count which means that value might be lower than numMachAxes.
The following applies:
$$numMachAxes >= $$numGeoAxes + $$numAuxAxes
$$numActAxes = $$numGeoAxes + $$numAuxAxes
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_UWORD
0
0
$$numMachAxes
Addressing
Line index:
Max. line index:
1
Read access
numAuxAxes (C, Y)
Number of auxiliary axes
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Validity:
From NCK version 3.6
Read access
numBasisFrames (C, Y)
$MC_MM_NUM_BASE_FRAMES
Number of basic frames in channel
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_UWORD
0
Addressing
Line index:
Max. line index:
1
Read access
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
577
NC variables
3.2 NC variable descriptions
numContourInProtArea (C, Y)
Number of polygon elements / protection zone
Maximum number of polygon elements per protection zone
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Validity:
From NCK version 3.6
Read access
numGFrames (C, Y)
MD 28079: MM_NUM_G_FRAMES
Number of G frames
Number of G frames in this channel
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Read access
numGeoAxes (C, Y)
Number of geometry axes
Number of geometry axes and orientation axes
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Validity:
From NCK version 3.6
Read access
numMachAxes (C, Y)
Number of highest channel axis.
No. of highest channel axis.
This also corresponds to the number of axes in the
channel provided there are no gaps in the axis sequence.
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
-
TYPE_UWORD
0
1
Addressing
Line index:
Max. line index:
1
Validity:
From NCK version 3.6
Read access
numOriAxes (C, Y)
Number of orientation axes in channel
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_UWORD
0
NC variables
578
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
numOriAxes (C, Y)
Addressing
Line index:
Max. line index:
1
Read access
numProtArea (C, Y)
MD 28200: MM_NUM_PRO-
S7
TECT_AREA_CHAN
Maximum number of protection zones
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Validity:
From NCK version 3.6
Read access
numRParams (C, Y)
MD 28050: MM_NUM_R_PARAM
S7
Number of channel-specific R variables
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Validity:
From NCK version 3.6
Read access
numSpindles (C, Y)
Number of spindles
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Validity:
From NCK version 3.6
Read access
numSpindlesLog (C, Y)
Number of log. spindles
Number of logical spindles.
Specifies the number of lines in module SSP2.
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Addressing
Line index:
Max. line index:
1
Read access
numToolEdges (C, Y)
MD 18100: MM_NUM_CUTTING_ED-
S7
GES_IN_TOA
Number of cutting edges
Number of tool edges in this channel
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
579
NC variables
3.2 NC variable descriptions
numToolEdges (C, Y)
MD 18100: MM_NUM_CUTTING_ED-
S7
GES_IN_TOA
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Validity:
From NCK version 3.6
Read access
numUserFrames (C, Y)
MD 28080: MM_NUM_USER_FRAMES
S7
Number of user frames
Number of user frames in this channel
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Validity:
From NCK version 3.6
Read access
oemProtText (C, Y)
OEM text for logging buffer
OEM text to be entered next in the logging buffer.
Units and value ranges
Physical unit:
Data type:
-
TYPE_STRING
Addressing
Line index:
Max. line index:
1
Read access
progProtText (C, Y)
Text for logging buffer
Programmable text to be entered next in the logging buffer
Units and value ranges
Physical unit:
Data type:
-
TYPE_STRING
Addressing
Line index:
Max. line index:
1
Read access
punchNibActivation (C, Y)
MD 26012: PUNCHNIB_ACTIVATION
N4
Activation of punching and nibbling functions
Return value
0 = option not available
1 = option available
NC variables
580
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
punchNibActivation (C, Y)
MD 26012: PUNCHNIB_ACTIVATION
N4
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
systemFrameMask (C, Y)
$MC_MM_SYSTEM_FRAME_MASK
Screenform for system frames
Configuring screenform for channel-specific system frames
Indicates in bit-coded form which system frames are available
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
toNo (C, Y)
MD 28085: MM_LINK_TOA_UNIT
W1
Number of T area
Number of T area that is assigned to the channel
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Validity:
From NCK version 3.6
Read access
toolDataChangeBufferSize (C, Y)
$MC_MM_TOOL_DATA_CHANGE_BUF-
FER_SIZE
Size of the tool data modification memory
Size of the effective ring buffer for the tool data modifications in the OPI block TDC (0x56).
This value is the maximum column number in the OPI block TDC.
If a number of channels works with a TO unit, the setting with the lowest channel number applies.
The value = 0 is returned if the the ring buffer is not active ($MN_TOOL_DATA_CHANGE_COUNTER, Bit2=0 and Bit3=0).
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
-
TYPE_UWORD
0
0
Addressing
Line index:
Max. line index:
1
Read access
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
581
NC variables
3.2 NC variable descriptions
stringIsMeaning (C, Y)
Meaning of the string
As soon as PI _N_STRGIS is executed, the result from interpretation of the transferred string
is stored as a code in this variable. For example, the code for $P_TOOL is value 207.
Also refer to NC command STRINGIS.
Return value
000 = itemName string is unknown in the NCK
100 = itemName string is a language construct, but is not programmable (option/function is not
active)
2xx = itemName string is a permissible language construct (option/function is active)
2xx = is defined by:
200 = no interpretation possible
201 = DIN address / NC address (e.g. MEAS)
202 = G code (e.g. G04, INVCW)
203 = NC language function (= command with return value, parameter Passing) (e.g. GE-
TMDACT)
204 = NC language procedure (= command without return value, with parameter Passing) (e.g.
SBLOF)
205 = NC key word (e.g. DEFINE)
206 = machine/setting/option data (= parameter starting with $M / $S / $O)
207 = NC system parameter (= parameter starting with R and $)
208 = cycle name (name created by cycle)
209 = GUD variable (name created by GUD definitions
210 = macro name (name created by macro definition file)
211 = LUD variable (name created by active program)
212 = no Siemens G code, but an ISO G code
400 = NC address, which is not xx=01 or xx=10, and which is also not: G or R (e.g. T, D, F, H, L,
M)
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_UWORD
0
0
4000
Read access
NC variables
582
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
stringIsFileId (C, Y)
Numerical file ID for the string
As soon as PI _N_STRGIS is executed, the result from interpretation of the transferred string
is stored as file ID in this variable. moduleId may be used instead of fileId.
Also refer to NC command STRINGIS.
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
583
NC variables
3.2 NC variable descriptions
stringIsFileId (C, Y)
Return value
Meaning
Name of
OPI area OPI modules
definition file in NCK
(domain name)
(explanation)
0
String is unknown
1 GCODE
(G code - Siemens and/or ISO )
2 NCADDRES (NCK NC address character)
3 NCADDRES_CHAN (channel NC address character)
4 NCNAM
(named NCK NC address)
5 NCNAM_CHAN (named channel NC address)
6 FRAME
(frame variable)
7 TOOLCORR (tool parameter)
TO (=4)
8 MACHDAT_NCK (machine data)
NCK (=0)
M (= 0x1A)
9 MACHDAT_CHAN (machine data)
CHAN (=2)
M (=-0x1A)
10 MACHDAT_AXIS (machine data)
AXIS (=3)
M (=-0x1A)
11 R_PARAM
(R variable)
CHAN (=2)
RP (= 0x15)
12 AC_MARKER (synchronized action marker)
13 AC_PARAM (synchronized action parameter)
14 PRED_FUNC (NC language function)
15 SYSDAT_NCK (status variable)
16 SYSDAT_CHAN (status variable)
17 SYSDAT_AXIS (status variable)
18 USER_NCK _N_SGUD_DEF
NCK (=0)
GD1 (= 0x36)
19 USER_CHAN _N_SGUD_DEF
CHAN (=2)
GD1 (= 0x36)
20 USER_AXIS _N_SGUD_DEF
AXIS (=3)
GD1 (= 0x36)
21 USERMACRO _N_SMAC_DEF
_N_MMAC_DEF
_N_UMAC_DEF
22 EEC
(leadscrew parameter)
23 QEC
(quadrant error parameter)
24 CEC
(cross error compensation parameter)
25 TOOLMAGAZINE (magazine parameter)
TO (=4)
26 PROTAREA (protection area parameter)
27 PROTAREA_CHAN (protection area parameter)
28 USER_NCK2 _N_MGUD_DEF
NCK (=0)
GD2 (= 0x2D)
29 USER_NCK3 _N_UGUD_DEF
NCK (=0)
GD3 (= 0x2E)
30 USER_NCK4 _N_GUD4_DEF
NCK (=0)
GD4 (= 0x2F)
31 USER_NCK5 _N_GUD5_DEF
NCK (=0)
GD5 (= 0x30)
32 USER_NCK5 _N_GUD6_DEF
NCK (=0)
GD6 (= 0x31)
33 USER_NCK5 _N_GUD7_DEF
NCK (=0)
GD7 (= 0x32)
34 USER_NCK5 _N_GUD8_DEF
NCK (=0)
GD8 (= 0x33)
35 USER_NCK5 _N_GUD9_DEF
NCK (=0)
GD9 (= 0x34)
36 USER_CHAN2 _N_MGUD_DEF
CHAN (=2)
GD2 (= 0x2D)
37 USER_CHAN3 _N_UGUD_DEF
CHAN (=2)
GD3 (= 0x2E)
38 USER_CHAN4 _N_GUD4_DEF
CHAN (=2)
GD4 (= 0x2F)
NC variables
584
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
stringIsFileId (C, Y)
39 USER_CHAN5 _N_GUD5_DEF
CHAN (=2)
GD5 (= 0x30)
40 USER_CHAN6 _N_GUD6_DEF
CHAN (=2)
GD6 (= 0x31)
41 USER_CHAN7 _N_GUD7_DEF
CHAN (=2)
GD7 (= 0x32)
42 USER_CHAN8 _N_GUD8_DEF
CHAN (=2)
GD8 (= 0x33)
43 USER_CHAN9 _N_GUD9_DEF
CHAN (=2)
GD9 (= 0x34)
44 reserved
45 reserved
46 reserved
47 reserved
48 reserved
49 reserved
50 reserved
51 reserved
52 TOOLCARRIER (orientable tool carrier parameter TO
(=4)
53 GCODESEXT (G code)
NCK (=0)
(G codes FANUC)
54 FRAME_NCK (frame)
NCK (=0)
55 CYC_PARAM_CHAN (global cycle transfer parameter)r
56 TOOLENVMOD (tool environment parameter)
57 SYNAGUD_CHAN (synchronized action capable GUD CHAN (=2)
GD1 (= 0x36)
58 SYNAGUD_CHAN2 (synchronized action capable GUD CHAN (=2)
GD2 (= 0x2D)
59 SYNAGUD_CHAN3 (synchronized action capable GUD CHAN (=2)
GD3 (= 0x2E)
60 SYNAGUD_CHAN4 (synchronized action capable GUD CHAN (=2)
GD4 (= 0x2F)
61 SYNAGUD_CHAN5 (synchronized action capable GUD CHAN (=2)
GD5 (= 0x30)
62 SYNAGUD_CHAN6 (synchronized action capable GUD CHAN (=2)
GD6 (= 0x31)
63 SYNAGUD_CHAN7 (synchronized action capable GUD CHAN (=2)
GD7 (= 0x32)
64 SYNAGUD_CHAN8 (synchronized action capable GUD CHAN (=2)
GD8 (= 0x33)
65 SYNAGUD_CHAN9 (synchronized action capable GUD CHAN (=2)
GD9 (= 0x34)
66 NKIN
(kinematic chain parameter)
67 NPA
(3D protection area parameter)
68 WAL_CS
(work area in specific coordinate system)
69 TOOLISO22CORR (tool correction parameter with ISO2.2)
70 TOOLISO32CORR (tool correction parameter with ISO3.2)
71 EPS_PARAM (ePS services parameters (reserved for ePS use only !!)
>= 200 LUD
(LUD / PUD - program local variable)
Note: via OPI normally only a subset of the NCK data blocks is made known.
Note: missing column entries means that no definition file has been defined for this line,
or that in OPI no domain name has been defined. Various NCK data may be accessed through
OPI variable blocks instead of through domain names. Example: tool data, frame data, etc.
It is possible that several OPI variable blocks exist for a value of stringIsFileId.
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Read access
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
585
NC variables
3.2 NC variable descriptions
stringIsSymbolId (C, Y)
Numerical symbol ID
As soon as PI _N_STRGIS is executed, the result from interpretation of the transferred string
is stored as symbol ID in this variable. The symbol ID is found in the NCK module, which is
specified in variable $$stringIsFileId.
This value can be found also in the corresponding ACC and ACX file.
Units and value ranges
Physical unit:
Data type:
-
TYPE_UWORD
Read access
3.2.4
DriveHsa: Main spindle drive data
3.2.4.1
S: State data
OEM-MMC: LinkItem /DriveHsa/State/...
During NC operation different internal states occur and system-specific data may change during operation. To
distinguish those from system variables, they are classified as state data.
A distinction is made between:
- NCK-specific state data
- Mode-group-specific state data
- Channel-specific state data
- Drive-specific state data (FDD)
- Drive-specific state data (MSD)
Attention: The HS module cannot be addressed with MMC100/EBF/OP030
load611U (H, S)
Load 611U
Units and value ranges
Physical unit:
Data type:
-
TYPE_FLOAT
Validity:
From NCK version 3.6
Read access
NC variables
586
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
3.2.5
Drive: HMI data
3.2.5.1
S: State data
OEM-MMC: LinkItem /Drive/State/...
Some internal status data of the HMI can be accessed via this module.
_Nck_Nck_ActApplication (M, S)
Current application
Current application for display in HMI
Units and value ranges
Physical unit:
Data type:
-
TYPE_STRING
Read access and write access
_Nck_Nck_ActBag (M, S)
Current operating mode HMI
Current operating mode for display in HMI
Units and value ranges
Physical unit:
Data type:
-
TYPE_CHAR
Read access and write access
_Nck_Nck_Channel (M, S)
Current channel
Current channel for display in HMI
Units and value ranges
Physical unit:
Data type:
-
TYPE_CHAR
Read access and write access
_Nck_Nck_CoordSystem (M, S)
Coordinate system
Coordinate system for display in HMI
Units and value ranges
Physical unit:
Data type:
-
TYPE_CHAR
Read access and write access
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
587
NC variables
3.2 NC variable descriptions
3.2.6
Nck: NC data
3.2.6.1
CP: Generic coupling
OEM-MMC: LinkItem /Nck/GenericCoupling/...
The CP block contains the status data for the generic coupling.
The status of the axis couplings is structured in an NCK-specific and channel-specific area.
cpCtabExists (N, CP)
Status of the specified curve table
Not zero, if the specified curve table exists
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_UWORD
0
0
1
Addressing
Line index:
Max. line index:
Read access
cpCtabId (N, CP)
ID of the nth curve table in the specif. mem. type
ID no. of the nth curve table in the specified memory type
Units and value ranges
Physical unit:
Data type:
-
TYPE_DWORD
Addressing
Line index:
Max. line index:
Read access
cpCtabIdNumLinSegDef (N, CP)
Number of linear segments in the curve table
Number of the linear segments defined for the specified curve table
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_UWORD
0
Addressing
Line index:
Max. line index:
Read access
NC variables
588
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
cpCtabIdNumPolDef (N, CP)
Number of polynomials for the spec. curve table
Number of the polynomials defined for the specified curve table
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_UWORD
0
Addressing
Line index:
Max. line index:
Read access
cpCtabIdNumPolySegDef (N, CP)
Number of polynomial segments in the curve table
Number of the polynomial segments defined for the specified curve table
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_UWORD
0
Addressing
Line index:
Max. line index:
Read access
cpCtabIdNumSegDef (N, CP)
Number of segments for the specified curve table
Number of segments defined for the specified curve table
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_UWORD
0
Addressing
Line index:
Max. line index:
Read access
cpCtabLocked (N, CP)
Locking status of the specified curve table
Locking status, value > 0, if curve table is locked
Units and value ranges
Physical unit:
Data type:
Minimum value:
Maximum value:
-
TYPE_DWORD
-1
3
Addressing
Line index:
Max. line index:
Read access
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
589
NC variables
3.2 NC variable descriptions
cpCtabMemType (N, CP)
Memory type of the curve table
Memory type in which the curve table is stored
Units and value ranges
Physical unit:
Data type:
Minimum value:
Maximum value:
-
TYPE_DWORD
-1
2
Addressing
Line index:
Max. line index:
Read access
cpCtabNumDef (N, CP)
Number of defined curve tables
Total number of curve tables defined for the specified memory type
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
-
TYPE_UWORD
0
0
Addressing
Line index:
Max. line index:
3
Read access
cpCtabNumFree (N, CP)
Number of available curve tables
Number of additional curve tables which can be defined in the specified memory type
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
-
TYPE_UWORD
0
0
Addressing
Line index:
Max. line index:
3
Read access
cpCtabNumPolDef (N, CP)
Number of defined curve table polynomials
Total number of curve table polynomials defined in the specified memory type
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_UWORD
0
Addressing
Line index:
Max. line index:
3
Read access
NC variables
590
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
cpCtabNumPolFree (N, CP)
Number of available curve table polynomials
Number of additional curve table polynomials which can be defined in the specified memory type
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_UWORD
0
Addressing
Line index:
Max. line index:
3
Read access
cpCtabNumPolMax (N, CP)
Max. number of permissible curve table polynomials
Maximum number of curve table polynomials permissible in the specified memory type
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_UWORD
0
Addressing
Line index:
Max. line index:
3
Read access
cpCtabNumSegDef (N, CP)
Number of defined curve table segments
Total number of curve table segments of the specified segment type defined in the specified memory type
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_UWORD
0
Addressing
Line index:
Max. line index:
23
Read access
cpCtabNumSegFree (N, CP)
Number of available curve table segments
Number of additional curve table segments of the specified segment type which can be defined in the specified memory type
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_UWORD
0
Addressing
Line index:
Max. line index:
23
Read access
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
591
NC variables
3.2 NC variable descriptions
cpCtabNumSegMax (N, CP)
Maximum number of permissible curve table segments
Maximum number of curve table segments of the specified segment type permissible in the specified memory type
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_UWORD
0
Addressing
Line index:
Max. line index:
23
Read access
cpCtabPeriodic (N, CP)
Periodicity of the specified curve table
Periodicity, value > 0, if curve table is periodic
Units and value ranges
Physical unit:
Data type:
Minimum value:
Maximum value:
-
TYPE_DWORD
-1
2
Addressing
Line index:
Max. line index:
Read access
3.2.6.2
DIAG: Diagnostics data, available only for internal development purposes
OEM-MMC: LinkItem /Nck/Diagnose/...
This block contains NCK-specific diagnostic data.
ipoClockNr (N, DIAG)
Number of the IPO cycle
Number of the IPO cycle since system ramp-up.
This value may only be read out on the target in the IPO time level
(via logging function).
Units and value ranges
Physical unit:
Data type:
Minimum value:
-
TYPE_DWORD
0
Addressing
Line index:
Max. line index:
1
Read access
NC variables
592
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
ipoRemainTime (N, DIAG)
Remaining IPO time
Returns the remaining IPO time in ms.
This value may only be read out on the target in the IPO time level
(via logging function).
Units and value ranges
Physical unit:
Data type:
Minimum value:
ms
TYPE_DOUBLE
0
Addressing
Line index:
Max. line index:
1
Read access
nckAliveAndWellAddr (N, DIAG)
Address of $$nckAliveAndWell
Memory address of $$nckAliveAndWell
Units and value ranges
Physical unit:
Data type:
Minimum value:
-
TYPE_DWORD
0
Addressing
Line index:
Max. line index:
1
Read access
nckAliveAndWellAddrPtr (N, DIAG)
References to $$nckAliveAndWell
Memory address of a variable that contains the address of
$$nckAliveAndWell
Units and value ranges
Physical unit:
Data type:
Minimum value:
-
TYPE_DWORD
0
Addressing
Line index:
Max. line index:
1
Read access
protocTimeMeasurement (N, DIAG)
Parameterization of the time measurement
Parameterization of the logging time measurement
Return value
O: Delivery version
1: Test version
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
593
NC variables
3.2 NC variable descriptions
protocTimeMeasurement (N, DIAG)
-
TYPE_UWORD
0
0
1
Addressing
Line index:
Max. line index:
1
Read access and write access
createFile (N, DIAG)
Serves for creating internal NCK files
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_UWORD
0
0
0
Addressing
Line index:
Max. line index:
5
Read access
bootStatus (N, DIAG)
Boot status
Return value
= 0: No active boot
Bit0: actTime < rebootTime, that is boot has been initiated
Bit1: actTime < rebootTimeout, that is no timeout yet
Bit2: File system is currently inconsistent - boot delayed
Bit3: Backup on CF card is active - boot delayed
Bit5: Only with 840D-powerline: FFS is currently inconsistent - boot delayed
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
exTime (N, DIAG)
System time in seconds since power up
System time in seconds since power up
The time is advanced in the IPO cycle by software.
This time is used to control the variable service cycle and the delayed boot, among other things.
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
s, user defined
TYPE_DOUBLE
0
0
Addressing
Line index:
Max. line index:
NC variables
594
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
exTime (N, DIAG)
1
Read access
asyncFlushDelayTime (N, DIAG)
Flush delay time
Number of seconds delay of the asynchronous flush processes in the file system.
Negative values result in a synchronous instead of an asynchronous flush.
Units and value ranges
Physical unit:
Data type:
s, user defined
TYPE_DOUBLE
Addressing
Line index:
Max. line index:
2
Read access and write access
systemTime (N, DIAG)
System time
Units and value ranges
Physical unit:
Data type:
-
TYPE_STRING
Read access and write access
lastTimeSeqSi (N, DIAG)
Time measurement of the last variable access
Time measurement of the last read/write variable via OPI in ms
Units and value ranges
Physical unit:
Data type:
s, user defined
TYPE_DOUBLE
Addressing
Line index:
Max. line index:
1
Read access
maxPduLength (N, DIAG)
Length of a PDU
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
595
NC variables
3.2 NC variable descriptions
eesParameter (N, DIAG)
Parameterization of EES
Units and value ranges
Physical unit:
Data type:
-
TYPE_STRING
Addressing
Line index:
Max. line index:
4
Read access and write access
eesSimulateFileAccessProblem (N, DIAG)
Simulate file access problem with EES
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_UWORD
0
Addressing
Line index:
Max. line index:
1
Read access and write access
plcVersCount (N, DIAG)
Number of PLC components
Number of PLC components returned when calling BSVdiPlcVersionData::getPlcVersCount().
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_UWORD
0
Addressing
Line index:
Max. line index:
1
Read access
btrace (N, DIAG)
Text for BTrace
Text to be accepted into the BTrace.
Units and value ranges
Physical unit:
Data type:
-
TYPE_STRING
Read access and write access
createMaxPfsPath (N, DIAG)
Generate a maximum path in the PFS
A path is being generated with maximum length in the PFS
NC variables
596
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
createMaxPfsPath (N, DIAG)
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_UWORD
0
Addressing
Line index:
Max. line index:
1
Read access
nckFreezeMode (N, DIAG)
Freeze mode
Information about whether the NCK is in freeze mode state.
Value 0 : NCK runs normally.
Value 1 : NCK has stopped (this means program execution and communication with PLC have stopped). Only OPI communi-
cation is possible (for diagnostics).
Units and value ranges
Physical unit:
Data type:
Minimum value:
Maximum value:
-
TYPE_UWORD
0
1
Addressing
Line index:
Max. line index:
1
Read access
dsfPathIsRelativeCfCard (N, DIAG)
DSF path mode
DSF path mode:
0 : HOSTF_DSF_FILE==3; the path of the DSF archives can lie anywhere; NCROOTDIR is not taken into account
1 : HOSTF_DSF_FILE==0; the path of the DSF archives is relative to the CF card; NCROOTDIR is not taken into account by the NCK
Units and value ranges
Physical unit:
Data type:
Minimum value:
Maximum value:
-
TYPE_UWORD
0
1
Addressing
Line index:
Max. line index:
1
Read access
3.2.6.3
DIAGN: Diagnostic module
OEM-MMC: LinkItem /Nck/ChannelDiagnose/...
This module contains information about global NC diagnostic data.
Net times: Time without interrupts by higher priority time levels.
Gross times: Time with interrupts by higher priority time levels.
Time levels in order of their priority: position controller, interpolator, block preparation.
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
597
NC variables
3.2 NC variable descriptions
actCycleTimeBrut (N, DIAGN)
Sum of current gross runtime
Total of the current gross run times of all channels in ms.
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
ms
TYPE_DOUBLE
0
0
Addressing
Line index:
Max. line index:
16
Read access
actCycleTimeNet (N, DIAGN)
Sum of current net runtime
Total of the current net run times of all channels in ms.
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
ms
TYPE_DOUBLE
0
0
Addressing
Line index:
Max. line index:
16
Read access
nckCapabilities (N, DIAGN)
Alternative name:
compressAbility
Compressed data transfer
Describes the NCK functionality
Return value
Bit0=1: With Huffman algorithm compressed files can be transferred
(this corresponds to instruction ";$COMPR=HUFFMAN1" during download)
Bit1=1: The protocol of optimized upload is supported
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
dp611USpecAccChangeCnt (N, DIAGN)
Modification counter for ACC information
The counter is incremented if the NCK changes the
available ACC information
Units and value ranges
Physical unit:
Data type:
Initial value
NC variables
598
List Manual, 10/2020, 6FC5397-3CP40-6BA4
NC variables
3.2 NC variable descriptions
dp611USpecAccChangeCnt (N, DIAGN)
-
TYPE_DWORD
0
Addressing
Line index:
Max. line index:
1
Read access
dp611USpecAccKey (N, DIAGN)
Info about available ACC contents
Version and type information about available ACC contents
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_DWORD
0
Addressing
Line index:
Max. line index:
$$maxnumDrives
Read access
dp611USpecAccMask (N, DIAGN)
Screenform: ACC files available
Bit-coded screenform indicating the drives for which special ACC files are available
Return value
Bit 0 == 1 -> A special ACC is available
for drive with log. drive number 1.
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_DWORD
0
Addressing
Line index:
Max. line index:
1
Read access
dp611USpecAccPath (N, DIAGN)
Path for ACC files in the NCK file system
Path in which the ACC files are stored in the NCK file system.
This path might be empty later on if the files are to
be supplied from the active file system.
Current equivalent value: /_N_VS_DIR
Units and value ranges
Physical unit:
Data type:
Initial value
-
TYPE_STRING
0
Addressing
Line index:
Max. line index:
NC variables
List Manual, 10/2020, 6FC5397-3CP40-6BA4
599
NC variables
3.2 NC variable descriptions
dp611USpecAccPath (N, DIAGN)
1
Read access
dpAxisCfgMachAxisNr (N, DIAGN)
Machine axis !!CAUTION NCU LINK!!
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_DWORD
0
0
INT32_MAX
Addressing
Line index:
Max. line index:
$$dpAxisCfgNumAxes
Read access
dpAxisCfgNumAxes (N, DIAGN)
Number of axis entries
Number of axes entered in the system
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_DWORD
0
0
INT32_MAX
Addressing
Line index:
Max. line index:
1
Read access
dpAxisCfgValid (N, DIAGN)
Axis info is available
Return value
0=Information is not available
1=Information is available
Units and value ranges
Physical unit:
Data type:
Initial value
Minimum value:
Maximum value:
-
TYPE_DWORD
0
0
1
Addressing
Line index:
Max. line index:
1
Read access
dpAxisStateCtrlout (N, DIAGN)
Status of output drivers.
Return value
0=no axis status assigned
1=axis status assigned
2=axis status is cyclical
3=axis status assigned and cyclical
NC variables
600
List Manual, 10/2020, 6FC5397-3CP40-6BA4

 

 

 

 

 

 

 

Content      ..     64      65      66      67     ..