SINUMERIK 840D sl. User - Programming. Manual (2020) - page 8

 

  Index      Manuals     SINUMERIK 840D sl. User - Programming. Manual (2020)

 

Search            copyright infringement  

 

   

 

   

 

Content      ..     6      7      8      9     ..

 

 

 

SINUMERIK 840D sl. User - Programming. Manual (2020) - page 8

 

 

Additional functions
5.7 Macro programs
Table 5-6
Modal call conditions
Call conditions
Function for mode selec-
Function for mode dese-
tion
lection
after executing a traversing command
G66
G67
Specification of a parameter
The transfer parameters are defined by programming an Address A - Z.
Interrelation between address- and system variables
Table 5-7
Interrelation between addresses and variables and addresses that can be used to call
commands
Interrelation between addresses and variables
Address
System variable
A
$C_A
B
$C_B
C
$C_C
D
$C_D
E
$C_E
F
$C_F
H
$C_H
I
$C_I[0]
J
$C_J[0]
K
$C_K[0]
M
$C_M
Q
$C_Q
R
$C_R
S
$C_S
T
$C_T
U
$C_U
V
$C_V
W
$C_W
X
$C_X
Y
$C_Y
Z
$C_Z
Interrelation between address- and system variables
To be able to use I, J and K, these must be specified in the I, J, K sequence.
As the I, J and K addresses in a block containing a macro call can be programmed up to 10 times,
access to the system variables within the macro program for these addresses must take place
with an index. The syntax of these three system variables thus is $C_I[..], $C_J[..], $C_K[..]. The
corresponding values are saved in the matrix in the sequence in which they were programmed.
ISO Milling
132
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
Additional functions
5.7 Macro programs
The number of I, J, K addresses programmed in the block is saved in the variables $C_I_NUM,
$C_J_NUM and $C_K_NUM.
Unlike for the remaining variables, one index must always be specified while reading the three
variables. The index "0" is always used for cycle calls (e.g. G81), for example, N100 R10 = $C_I[0]
Table 5-8
Interrelation between addresses and variables and addresses that can be used to call
commands
Interrelation between addresses and variables
Address
System variable
A
$C_A
B
$C_B
C
$C_C
I1
$C_I[0]
J1
$C_J[0]
K1
$C_K[0]
I2
$C_I[1]
J2
$C_J[1]
K2
$C_K[1]
I3
$C_I[2]
J3
$C_J[2]
K3
$C_K[2]
I4
$C_I[3]
J4
$C_J[3]
K4
$C_K[3]
I5
$C_I[4]
J5
$C_J[4]
K5
$C_K[4]
I6
$C_I[5]
J6
$C_J[5]
K6
$C_K[5]
I7
$C_I[6]
J7
$C_J[6]
K7
$C_K[6]
I8
$C_I[7]
J8
$C_J[7]
K8
$C_K[7]
I9
$C_I[8]
J9
$C_J[8]
K9
$C_K[8]
I10
$C_I[9]
J10
$C_J[9]
K10
$C_K[9]
ISO Milling
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
133
Additional functions
5.7 Macro programs
Note
If more than one block of I, J or K addresses are specified, then the sequence of the addresses for
each block of I/J/K is determined in such a way that the numbers of the variables are defined
according to their sequence.
Example of entering a parameter
The value of the parameter contain a sign and a decimal point, independently of the address.
The value of the parameters is always saved as actual value.
%ORFN
%ORFN
%ORFN
*
3
$ & ; = ,
- ,
&B,> @
&B,B25'(5> @
&B-> @
&B-B25'(5> @
&B.> @
&B.B25'(5> @
&B,> @
&B.B25'(5> @
&B=
&B;
&B&
&B$
Figure 5-23
Example of entering an argument
Execution of macro programs in the Siemens and ISO modes
A called macro program can be called either in the Siemens mode or in the ISO mode. The
language mode in which the program is executed is defined in the first block of the macro
program.
If a PROC <Program name> instruction exists in the first block of a macro program, then an
automatic changeover to the Siemens mode is conducted. If this instruction is missing, the
processing is done in the ISO mode.
The transfer parameters can be saved in local variables by executing a program in the Siemens
mode. In the ISO mode however, it is not possible to store transfer parameters in local variables.
To read transfer parameters in a macro program executed in the ISO mode, one must first change
over to the Siemens mode with the G290 command.
Examples
Main program with macro call:
_N_M10_MPF:
N10 M3 S1000 F1000
ISO Milling
134
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
Additional functions
5.7 Macro programs
N20 X100 Y50 Z33
N30 G65 P10 F55 X150 Y100 S2000
N40 X50
N50
N200 M30
Tool Macro program in the Siemens mode:
_N_0010_SPF:
PROC 0010 ; Changeover to the Siemens mode
N10 DEF REAL X_AXIS ,Y_AXIS, S_SPEED, FEED
N15 X_AXIS = $C_X Y_AXIS = $C_Y S_SPEED = $C_S FEED = $C_F
N20 G01 F=FEED G95 S=S_SPEED
N80 M17
Macro program in the ISO mode:
_N_0010_SPF:
G290; Changeover to the Siemens mode,
; to read the transfer parameters
N15 X_AXIS = $C_X Y_AXIS = $C_Y S_SPEED = $C_S FEED = $C_F
N20 G01 F=$C_F G95 S=$C_S
N10 G1 X=$C_X Y=$C_Y
G291; Changeover to the ISO mode,
N15 M3 G54 T1
N20
N80 M99
5.7.3
Macro call via G function
Macro call
A macro can be called with a G number analogous to G65.
The replacement of 50 G functions can be configured via machine data:
10816 $MN_EXTERN_G_NO_MAC_CYCLE and
10817 $MN_EXTERN_G_NO_MAC_CYCLE_NAME.
ISO Milling
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
135
Additional functions
5.7 Macro programs
The parameters programmed in the block are stored in the $C_Variables. The number of macro
repetitions is programmed with Address L. The number of the programmed G macros is stored
in the variable $C_G. All the other G functions programmed in the block are treated as normal
G functions. The programming sequence of the addresses and G functions in the block is
random, and it does not have any effect on the functionality.
Further information about the parameters programmed in this block is available in Chapter
"Macro Program Call (G65, G66, G67)".
Restrictions
• The macro call with a G function can be executed only in the ISO mode (G290).
• Only one G function can be replaced per part program line (or in general, only one subroutine
call). If there are possible conflicts with other subroutine calls, e.g. if a modal subroutine is
active, the system outputs Alarm 12722 "Several ISO_M/T macro- or cycle calls in block".
• No other G or M macro or M subroutine can be called if a G macro is active. In this case, M
macros or M subroutines are executed as M functions. G macros are executed as G functions,
provided a corresponding G function exists; otherwise Alarm 12470 "Unknown G function"
is output.
• Otherwise the same restrictions are applicable as for G65.
Configuration examples
Calling the subroutine G21_MAKRO via G function G21
$MN_EXTERN_G_NO_MAC_CYCLE[0] = 21
$MN_EXTERN_G_NO_MAC_CYCLE_NAME[0] = "G21_MAKRO"
$MN_EXTERN_G_NO_MAC_CYCLE[1] = 123
$MN_EXTERN_G_NO_MAC_CYCLE_NAME[1] = "G123_MAKRO"
$MN_EXTERN_G_NO_MAC_CYCLE[2] = 421
$MN_EXTERN_G_NO_MAC_CYCLE_NAME[2] = "G123_MAKRO"
Programming example
PROC MAIN
N0090 G291
; ISO mode
N0100 G1 G21 X10 Y20 F1000 G90
;
Call of G21_MAKRO.spf,
;
G1 and G90 are activated
;
before the call of
; G21_MAKRO.spf
N0500 G90 X20 Y30 G123 G1 G54
;
Call of G123_MAKRO.spf,
;
G1, G54 and G90 are activated
;
before the call of
; G123_MAKRO.spf
ISO Milling
136
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
Additional functions
5.7 Macro programs
N0800 G90 X20 Y30 G421 G1 G54
;
Call of G421_MAKRO.spf,
;
G1, G54 and G90 are activated
;
before the call of
; G123_MAKRO.spf
N0900 M30
PROC G21_MAKRO
N0010 R10 = R10 + 11.11
N0020 IF $C_X_PROG == 0
N0030 SETAL(61000)
; programmed variable not transferred
; correctly
N0040 ENDIF
N0050 IF $C_V_PROG == 0
N0060 SETAL(61001)
N0070 ENDIF
N0080 IF $C_F_PROG == 0
N0090 SETAL(61002)
N0100 ENDIF
N0110 G90 X=$C_X V=$C_V
N0120 G291
N0130 G21 M6 X100
; G21->activate metric measuring sys-
; tem (no macro call)
N0140 G290
N0150 M17
PROC G123_MAKRO
N0010 R10 = R10 + 11.11
N0020 IF $C_G == 421 GOTOF label_G421
; Macro functionality for G123
N0040 G91 X=$C_X Y=$C_Y F500
N1990 GOTOF label_end
N2000 label_G421:
; Macro functionality for G421
N2010 G90 X=$C_X
Y=$C_Y F100
N2020
N3000 G291
ISO Milling
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
137
Additional functions
5.7 Macro programs
N3010 G123
;
Alarm 12470, because G123 is not a
;
G function and a
;
macro call is not possible for ac-
;
tive macro
;
;
Exception: The macro was called
; as subroutine with CALL
G123_MAKRO.
N4000 label_end: G290
N4010 M17
ISO Milling
138
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
Additional functions
5.8 Special functions
5.8
Special functions
5.8.1
Contour repetition (G72.1, G72.2)
A contour programmed once can be repeated easily with G72.1 and G72.2. This function can be
used to create either a linear copy (G72.2) or a rotational copy (G72.1).
Format
G72.1 X... Y... (Z...) P... L... R...
X, Y, Z: Reference point for coordinate rotation
P: Subprogram number
L: Number of subprogram repetitions
R: Roll angle
A subprogram containing the contour to be copied can be called multiple times with G72.1. The
coordinate system is rotated by a certain angle before calling each subprogram. The coordinate
rotation is executed around a vertical axis on the selected plane.
G72.2 I... J... K... P... L...
I, J, K: Position to which the X, Y Z axes are traversed before calling the subprogram.
P: Subprogram number
L: Number of subprogram repetitions
A subprogram containing the contour to be repeated can be called multiple times with G72.2.
The axes programmed with I, J and K must be traversed incrementally before each subprogram
call. The cycle (CYCLE3721) is used to call the subprogram as often as is specified in address "L".
A distance programmed in I, J and K and calculated from the starting point is traversed before
each subprogram call.
ISO Milling
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
139
Additional functions
5.8 Special functions
Examples
<
6WDUW SRLQW
;
Figure 5-24
Contour repetition with G72.1
Main program
N10 G92 X40.0 Y50.0
N20 G01 G90 G17 G41 X20 Y20 G43H99 F1000
N30 G72.1 P123 L4 X0 Y0 R90.0
N40 G40 G01 X100 Y50 Z0
N50 G00 X40.0 Y50.0 ;
N60 M30 ;
Subprogram 1234.spf
N100 G01 X10.
N200 Y50.
N300 X-10.
N400 Y10.
N500 X-20.
N600 M99
ISO Milling
140
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
Additional functions
5.8 Special functions
<
6WDUW SRLQW
6WDUW SRLQW
;
Figure 5-25
Contour repetition with G72.2
Main program
N10 G00 G90 X0 Y0
N20 G01 G17 G41 X30. Y0 G43H99 F1000
N30 Y10.
N40 X30.
N50 G72.2 P2000 L3 I80. J0
Subprogram 2000.mpf
G90 G01 X40.
N100 Y30.
N200 G01 X80.
N300 G01 Y10.
N400 X110.
N500 M99
5.8.2
Switchover modes for DryRun and skip levels
Changeover of the skip levels (DB21.DBB2) always represents an intervention in the program
run, which has led to a short-term drop in velocity on the path. The same is true of the
changeover of the DryRun mode (DryRun = dry run feedrate DB21.DBB0.BIT6) from DryRunOff
to DryRunOn or vice-versa.
All the drops in velocity can be avoided with a changeover mode that is limited in its function.
ISO Milling
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
141
Additional functions
5.8 Special functions
No drop in velocity is required with a setting machine data 10706 $MN_SLASH_MASK==2 while
changing the skip levels (i.e., a new value in the PLC->NCK-Chan interface DB21.DBB2).
Note
The NCL processes blocks in two steps, the preprocessing and main runs (also pre-travel and
main run). The result of the premachining changes to the preprocessing memory. The main
machining takes the relevant oldest block out of the preprocessing memory and traverses its
geometry.
Note
Changing the skip levels
The premachining is changeover with the setting machine data $MN_SLASH_MASK==2 during
a change of the skip level! All blocks located in the preprocessing memory are traversed with the
old skip level. The user normally does not have any control over the fill level of the preprocessing
memory. The user can see the following effect: A new skip level is effective "some time" after
the changeover!
Note
The part program command STOPRE vacates the preprocessing memory. If one switches the skip
level before STOPRE, then all the blocks after STOPRE are changed over securely. The same is
valid for an implicit STOPRE.
No drop in velocity is required while changing the DryRun mode with the setting machine data
10704 $MN_DRYRUN_MASK==2. Here too, only the premachining that leads to the above-
mentioned restrictions, is switched. The following analogy is apparent from this: Notice! This
will also be active "sometime" after the changeover of the DryRun mode!
ISO Milling
142
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
Abbreviations
A
O
Output
ASCII
American Standard Code for Information Interchange: American coding standard for the exchange of
information
ASUB
Asynchronous subprogram
AV
Job planning
STL
Statement list
BA
Operating mode
Mode group
Mode group
BCD
Binary Coded Decimals: Decimal numbers encoded In binary code
BIN
Binary files (binary files)
BCS
Basic coordinate system
UI
User interface
OP
Operator panel
OPI
Operator Panel Interface
CAD
Computer-Aided Design: Computer-aided design
CAM
Computer-Aided Manufacturing: Computer-aided Production
CNC
Computerized Numerical Control: Computer-aided Numerical Control
COM
Communication
CPU
Central Processing Unit: Central processing unit
CR
Carriage Return
ISO Milling
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
143
Abbreviations
CTS
Clear To Send (clear to send messages for serial data interfaces)
CUTOM
Cutter radius Compensation: Tool radius compensation
DB
Data Block in the PLC
DBB
Data Block Byte in the PLC
DBW
Data Block Word in the PLC
DBX
Data block bit in the PLC
DC
Direct Control: Movement of the rotary axis via the shortest path to the absolute position within one
revolution.
DDE
Dynamic Data Exchange: Dynamic Data Exchange
DTE
Data Terminal Equipment
DIO
Data Input/Output: Data input/output
DIR
Directory: Directory
DLL
Dynamic Link Library: Module which a program can access at runtime. Often contains program sections
that are required by different programs.
DOE
Data transmission equipment
DOS
Disk Operating System: Operating system
DPM
Dual-Port Memory: Dual-port memory
DPR
Dual-Port RAM: Dual port write/read-only memory
DRAM
Dynamic Random Access Memory: Dynamic write/read-only memory
DRF
Differential Resolver Function: Differential revolver function (handwheel)
DRY
Dry Run: Dry run feedrate
DSB
Decoding Single Block: Decoding single block
DW
Data word
ISO Milling
144
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
Abbreviations
DCE
Data transmission equipment
I
Input
I/O
Input/output
EIA code
Special punched-tape code, number of holes per character always odd
ENC
Encoder: Actual value encoder
EPROM
Erasable Programmable Read Only Memory: Erasable, electrically programmable read-only memory
FB
Function block
FC
Function Call: Function block in the PLC
FDB
Product database
FDD
Floppy Disk Drive: Diskette drive
FEPROM
Flash-EPROM: Read and write memory
FIFO
First In First Out: Memory that works without address specification and whose data is read in the same
order in which it is stored.
FM
Function module
FM-NC
Function Module - Numerical Control
FPU
Floating Point Unit: Floating Point Unit
FRA
Frame block
FRAME
Data block (FRAME)
CRC
Cutter radius compensation (tool radius compensation)
FST
Feed Stop: Feed stop
CSF
Function plan (PLC programming method)
BP
Basic program
ISO Milling
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
145
Abbreviations
GUD
Global User Data: Global user data
HD
Hard Disk: Hard disk
HEX
Abbreviation for hexadecimal number
HMI
Human Machine Interface: Operator functionality of SINUMERIK for operation, programming and simu-
lation.
MSD
Main Spindle Drive
Hardware
Hardware
IBN
Commissioning
IF
Pulse enable for drive modules
IK (GD)
Implicit communication (global data)
ICA
Interpolatory Compensation: Interpolatory compensation
IM
Interface Module: Interface module
IMR
Interface Module Receive: Interface module for receiving data
IMS
Interface Module Send: Interface module for transmit mode
INC
Increment: Increment, increment
INI
Initializing Data: Initializing data
IPO
Interpolator
ISO code
Special punched-tape code, number of holes per character always even
JOG
Jogging: Setup mode
K1 .. K4
Channel 1 to channel 4
C Bus
Communication bus
COR
Coordinate rotation
ISO Milling
146
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
Abbreviations
LAD
Ladder logic (PLC programming method)
Kv
Loop gain factor
SRT
Transformation ratio
RD
Line Feed
PMS
Position measuring system
LR
Position controller
LUD
Local User Data: Local user data
MB
Megabyte
MD
Machine data
MDA
Manual Data Automatic: Manual input
MC
Measuring circuit
MCS
Machine coordinate system
MPF
Main Program File: NC part program (main program)
MCP
Machine Control Panel
NC
Numerical Control: Numerical Control
NCK
Numerical Control Kernel: Numerical Control Kernel, with block preparation, traversing range, etc.
NCU
Numerical Control Unit: Hardware unit of NCK
IS
Interface Signal
NURBS
Non-Uniform Rational B-Spline: Rational B-spline curves
ZO
Work offset
OB
Organization block in the PLC
ISO Milling
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
147
Abbreviations
OEM
Original Equipment Manufacturer: Manufacturer whose products are marketed under an external com-
pany name.
OP
Operator Panel: Operating equipment
OPI
Operator Panel Interface: Operator panel front connection
P-Bus
Peripheral Bus
PC
Personal Computer
PCIN
Name of the SW for data exchange with the control
PCMCIA
Personal Computer Memory Card International Association: Memory plug-in card standardization
PG
Programming device
PLC
Programmable Logic Control: Interface control
RAM
Random Access Memory: Data memory that can be read and written to
REF
"Reference point approach" function
REPOS
"Reposition" function
ROV
Rapid override: Rapid traverse override
RPA
R Parameter Active: Memory area in the NCK
for R-NCK for R parameter numbers
RPY
Roll Pitch Yaw: Rotation type of a coordinate system
RTS
Clear To Send (clear to send message for serial data interfaces, activate sending part, control signal from
serial data interfaces)
SBL
Single Block: Single block
SD
Setting data
SDB
System Data Block
SEA
Setting Data Active: Identifier (file type) for setting data
SFB
System function block
ISO Milling
148
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
Abbreviations
SFC
System function call: System function call
SK
Softkey
SKP
Skip block: Skip block
SM
Stepper motor
SPF
Sub Routine File: Subprogram
PLC
Programmable logic controller
SRAM
Static read-only memory (battery buffered)
TNRC
Tool nose radius compensation
SS
Interface signal
LEC
Leadscrew error compensation
SSI
Serial Synchronous Interface: Synchronous serial interface
SW
Software
SYF
System Files: System files
TEA
Testing Data Active: Designation for machine data
TO
Tool Offset: Tool offset
TOA
Tool Offset Active: Identifier (file type) for tool offsets
TRANSMIT
Transform Milling Into Turning: Coordinate conversion in turning machine for milling
UFR
User Frame: Work offset
UP
Subprogram
FDD
Feed drive
V.24
Serial interface (definition of the interchange lines between DTE and DCE)
WCS
Workpiece coordinate system
ISO Milling
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
149
Abbreviations
T
Tool
TLC
Tool length compensation
WOP
Workshop-oriented programming
WPD
Workpiece Directory: Workpiece directory
TRC
Tool radius compensation
TO
Tool change
TC
Tool change
ZOA
Zero Offset Active: Identifier (file type) for work offset data
ISO Milling
150
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
G code table
B
Table B-1
G code table
G code
Description
System A
System C
Group 1
G00 1)
1
Rapid traverse
G00
G00
G01
2
Linear movement
G01
G01
G02
3
Circle/helix in clockwise direction
G02
G02
G02.2
6
Involute in clockwise direction
G03
4
Circle/helix in counterclockwise direction
G03
G03
G03.2
7
Counterclockwise involutes
G33
5
Thread cutting with constant lead
G32
G33
Group 2
G17 1)
1
XY plane
G18
2
ZX plane
G19
3
YZ plane
Group 3
G90 1)
1
Absolute programming
G91
2
Incremental programming
Group 4
G22
1
Working area limitation, protection zone 3 on
G22
G22
G23 1)
2
Working area limitation, protection zone 3 off
G23
G23
Group 5
G93
3
Inverse-time feedrate (rpm)
G94 1)
1
Feedrate in [mm/min, inch/min]
G98
G94
G95
2
Revolutional feedrate in [mm/rev, inch/rev]
G99
G95
Group 6
G20 1)
1
Inch input system
G20
G70
G21
2
Metric input system
G21
G71
Group 7
G40 1)
1
Deselection of cutter radius compensation
G40
G40
G41
2
Compensation left of contour
G41
G41
G42
3
Compensation to right of contour
G42
G42
Group 8
G43
1
Positive tool length compensation on
G44
2
Negative tool length compensation on
G49 1)
3
Tool length compensation off
Group 9
G73
1
Deep-hole drilling cycle with chip breakage
G73
G75
G74
2
Left tapping cycle
G74
G76
ISO Milling
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
151
G code table
G code
Description
System A
System C
G76
3
Fine drill cycle
G76
G78
G80 1)
4
Cycle off
G80
G80
G81
5
Drilling cycle counterboring
G82
6
Countersink drilling cycle
G83
7
Deep-hole drilling cycle with chip removal
G83
G83
G84
8
Right tapping cycle
G84
G84
G85
9
Drilling cycle
G85
G85
G86
10
Drilling cycle, retraction with G00
G87
11
Reverse countersinking
G87
G87
G89
12
Drilling cycle, retraction with machining feedrate
G89
G89
Group 10
G98 1)
1
Return to starting point in fixed cycles
not
G98
G99
2
Return to point R in fixed cycles
not
G99
Group 11
G50 1)2)
1
Scaling off
G51 2)
2
Scaling on
Group 12
G66 2)
1
Macro module call
G66
G66
G67 1)2)
2
Delete macro module call
G67
G67
Group 13
G96
1
Constant cutting rate on
G97 1)
2
Constant cutting rate off
Group 14
G54 1)
1
Selecting work offset
G54
G54
G55
2
Selecting work offset
G55
G55
G56
3
Selecting work offset
G56
G56
G57
4
Selecting work offset
G57
G57
G58
5
Selecting work offset
G58
G58
G59
6
Selecting work offset
G59
G59
G54P{1...48}
1
Extended work offsets
G54.1
7
Extended work offset
G54.1
G54.1
G54 P0
1
External work offset
Group 15
G61
1
Exact stop modal
G62
4
Automatic corner override
G63
2
Tapping mode
G64 1)
3
Continuous-path mode
Group 16
G68 2)
1
Rotation ON, 2D/3D
G68
G68
G69 2)
2
Rotation OFF
G69
G69
Group 17
G15 1)
1
Polar coordinates off
G16
2
Polar coordinates on
ISO Milling
152
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
G code table
G code
Description
System A
System C
Group 18 (non-modal effective)
G04
1
Dwell time in [s] or spindle revolutions
G04
G04
G05
18
High-speed cycle cutting
G05.1 2)
22
High-speed cycle -> Call CYCLE305
G05.1
G05.1
G07.1 2)
16
Cylindrical interpolation
G08
12
Feedforward control ON/OFF
-
G09
2
Exact stop
G10 2)
3
Write work offset / tool offset
G10
G10
G10.6
17
Retraction from contour (POLF)
G11
4
End parameter entry
G27
13
Checking the reference position
G27
G27
G28
5
1. 1st approach reference point
G28
G28
G30
6
2./3./4. 2nd/3rd/4th approach reference point
G30
G30
G30.1
19
Reference point position
G30.1
G30.1
G31
7
Measuring with touch-trigger probe
G31
G31
G52
8
Programmable work offset
G52
G52
G53
9
Approach position in machine coordinate system
x
x
G60
22
Directed positioning
x
x
G65 2)
10
Macro call
G65
G65
G72.1 2)
14
Contour repetition with rotation
-
G72.2 2)
15
Linear contour repetition
-
G92
11
Setting actual value, spindle speed limitation
x
G92.1
21
Delete actual value, reset the WKS
Group 22
G50.1
1
Mirroring on programmed axis OFF
G51.1
2
Mirroring on programmed axis ON
Group 25
G13.1
1
Polar coordinates interpolation OFF
G13.1
G13.1
G12.1
2
Polar coordinates interpolation ON
G12.1
G12.1
Group 31
G290 1)
1
Selection of Siemens mode
x
x
G291
2
Selection of ISO dialect mode
x
x
x means G code can be used, -- means G code cannot be used
Note
In general, the G functions mentioned in 1) are defined by the NC during activation of the control
system or during RESET. Data about the actual settings can be found in the documentation of
your machine manufacturer.
The G functions mentioned in 2) are optional. Whether the relevant function is available on your
control system can be found out from the documentation of your machine manufacturer.
ISO Milling
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
153
G code table
ISO Milling
154
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
Data Description
C
C.1
General machine data
Note
All the machine data described here relates to the SINUMERIK 840D sl. Please use the associated
List Manuals for the SINUMERIK 828D control system.
10604
WALIM_GEOAX_CHANGE_MODE
SD Number
Working area limitation during switchover of geometry axes
Default setting: 0
Min. input limit: 0
Max. input limit: 1
Changes effective after POWER ON
Protection level: 7/2
Unit: -
Data type: BYTE
Meaning:
The machine data is used to define whether a possibly active working field limitation is retained
or deactivated during a geo axis interchange.
The MD is bit-coded with following significance:
Bit 0=0: Working field limitation is deactivated during geo axis interchange
Bit 0=1: Active working area limitation remains active during geo axis interchange
10615
NCBFRAME_POWERON_MASK
MD number
Reset global basic frames after power on
Default setting: 0
Min. input limit: 0
Max. input limit: 0
Changes effective after POWER ON
Protection level: 7/2
Unit: -
Data type: DWORD
Meaning:
This machine data is used to define whether global basic frames are reset in the data manage-
ment during power on. This means
- offsets are set to 0.
- scaling is set to 1.
- mirroring is switched off.
The individual basic frames can be selected separately.
Bit 0 corresponds to basic frame 0, bit 1 to basic frame 1, etc.
0: Basic frame is retained at Power On
1: Basic frame is deleted at Power On.
Corresponds to:
MD24004 CHBFRAME_POWERON_MASK
10652
CONTOUR_DEF_ANGLE_NAME
MD number
Settable name for an angle in the contour brief description
Default setting: "ANG"
Min. input limit: -
Max. input limit: -
ISO Milling
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
155
Data Description
C.1 General machine data
10652
CONTOUR_DEF_ANGLE_NAME
Changes effective after POWER ON
Protection level: 0/0
Unit: -
Data type: STRING
Meaning:
Identifier for contour angle
The identifier must be selected ensuring that there is no conflict with other identifiers (e.g. axes,
Euler angle, normal vector, direction vector, coordinate of intermediate point).
10654
RADIUS_NAME
MD number
Adjustable name for radius non-modal in the contour brief description
Default setting: "RND"
Min. input limit: -
Max. input limit: -
Changes effective after POWER ON
Protection level: 0/0
Unit: -
Data type: STRING
Meaning:
Identifier for contour definition radius.
The identifier must be selected ensuring that there is no conflict with other identifiers (e.g. axes,
Euler angle, normal vector, direction vector, coordinate of intermediate point).
10656
CHAMFER_NAME
MD number
Adjustable name for chamfer in the contour brief description
Default setting: "CHR"
Min. input limit: -
Max. input limit: -
Changes effective after POWER ON
Protection level: 0/0
Unit: -
Data type: STRING
Meaning:
Identifier for contour definition chamfer
The identifier must be selected ensuring that there is no conflict with other identifiers (e.g. axes,
Euler angle, normal vector, direction vector, coordinate of intermediate point).
10704
DRYRUN_MASK
MD number
Activation of dry run feedrate
Default setting: 0
Min. input limit: 0
Max. input limit: 2
Changes effective after Power On
Protection level: 7/2
Unit: -
Data type: BYTE
Meaning:
DRYRUN_MASK = 0
DRYRUN should be switched on and off only at end of block.
If DRYRUN_MASK = 1 , the dry run feedrate can also be activated during execution of the
program (in the part program block).
Notice: The axes are stopped for the duration of the reorganization operation after the dry run
feedrate is activated.
DRYRUN_MASK = 2
DRYRUN can be switched on and off in each phase, and the axes are not stopped.
Notice: However, the function only becomes effective with a block which comes "later" in the
program sequence and that occurs with the next (implicit) StopRe block.
Corresponds to:
SD42100 DRY_RUN_FEED
ISO Milling
156
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
Data Description
C.1 General machine data
10706
SLASH_MASK
MD number
Activation of block skip function
Default setting: 0
Min. input limit: 0
Max. input limit: 2
Changes effective after Power On
Protection level: 7/2
Unit: -
Data type: BYTE
Meaning:
When SLASH_MASK = 0, the block skip function can only be activated at the end of a block.
In SLASH_MASK = 1, the activation of the block skip function will also be possible during pro-
gram processing.
Notice: The axes are stopped for the duration of the reorganization operation after block skip
function.
SLASH_MASK = 2
Block switchover is possible in each phase.
Notice: The function only becomes effective with a block which comes "later" in the program
run! The function is effective from the next (implicit) stop reset block.
Note
The number of field elements of machine data 10715 $MN_M_NO_FCT_CYCLE[ ],
10716 $MN_M_NO_FCT_CYCLE_NAME[ ], 10814 $MN_EXTERN_M_NO_MAC_CYCLE[ ],
10815 $MN_EXTERN_M_NO_MAC_CYCLE_NAME[ ] has been increased from 10 to 30. In this
way,
it is possible to assign 30 M functions to a subprogram call.
10715
M_NO_FCT_CYCLE[0]
MD number
M function to be replaced by a subprogram
Default setting: -1
Min. input limit: --
Max. input limit: -
Changes effective after Power On
Protection level: 7/2
Unit: -
ISO Milling
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
157
Data Description
C.1 General machine data
10715
M_NO_FCT_CYCLE[0]
Data type: DWORD
Meaning:
M number with which the subprogram is called.
The name of the subprogram is stored in MD10716 $MN_M_NO_FCT_CYCLE_NAME[n]. If the
M function defined using $MN_M_NO_FCT_CYCLE[n] is programmed in a part program, then
the subprogram defined in M_NO_FCT_CYCLE_NAME[n] is started at the end of block.
If the M function is reprogrammed in the subprogram, then there is no longer any replacement
by a subprogram call.
$MN_M_NO_FCT_CYCLE[n] acts in the Siemens mode G290 as well as in the external language
mode G291.
Restrictions:
The subprograms configured with MD10716 $MN_M_NO_FCT_CYCLE_NAME[n] and MD10717
$MN_T_NO_FCT_CYCLE_NAME[ ] must not be effective in one block (part-program line) at the
same time, i.e. max. one M/T function replacement can be effective per block. Neither an M98
nor a modal subprogram call may be programmed in the block with the M function replace-
ment. A subprogram return jump or end of part program is also not permitted. Alarm 14016 is
generated in the case of a conflict.
A subprogram call must not be superimposed on M functions with predetermined significance.
Alarm 4150 is generated in the event of a conflict:
The following M functions are checked:
M0 to M5,
M17, M30,
M19,
M40 to M45,
M functions for switching over spindle/axis mode according to MD20094 $MC_SPIND_RIG-
ID_TAPPING_M_NR (default M70).
M functions for nibbling/punching that were activated via MD26008 $MC_NIB-
BLE_PUNCH_CODE according to configuration.
For applied external language (MD18800 $MN_MM_EXTERN_LANGUAGE) also M19, M96 to
M99.
Exception: The M functions defined by MD22560 $MC_TOOL_CHANGE_M_CODE for the tool
change.
10716
M_NO_FCT_CYCLE_NAME[0]
MD number
Subprogram name for M function replacement
Default setting: -
Min. input limit: -
Max. input limit: -
Changes effective after Power On
Protection level: 7/2
Unit: -
Data type: STRING
ISO Milling
158
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
Data Description
C.1 General machine data
10716
M_NO_FCT_CYCLE_NAME[0]
Meaning:
The cycle name is stored in the machine data. This cycle is called if the M function was pro-
grammed from MD10715 $MN_M_NO_FCT_CYCLE.
If the M function is programmed in a motion block, then the cycle is executed after the motion.
MD10715 $MN_M_NO_FCT_CYCLE acts in the Siemens mode G290 as well as in the external
language mode G291.
If a T number is programmed in the calling block, the programmed T number can be queried in
the cycle under the variable $P_TOOL.
M and T function replacement must not be programmed in one block at the same time, i.e. max.
one M/T function replacement can be effective per block.
Neither an M98 nor a modal subprogram call may be programmed in the block with the M
function replacement. A subprogram return jump or end of part program is also not permitted.
Alarm 14016 is generated in the case of a conflict.
Corresponds to..
MD10715 $MN_M_NO_FCT_CYCLE
MD10717 $MN_T_NO_FCT_CYCLE_NAME
10717
T_NO_FCT_CYCLE_NAME
MD number
Name of the tool change cycle for T function replacement
Default setting: -
Min. input limit: -
Max. input limit: -
Changes effective after Power On
Protection level: 7/2
Unit: -
Data type: STRING
Meaning:
Cycle name of the tool change routine during call via T function. If a T function is programmed
in a part program block, then the subprogram defined in T_NO_FCT_CYCLE_NAME is called at
the end of the block.
The programmed T number can be queried in the cycle via the system variables $C_T/
$C_T_PROG as decimal value and via $C_TS/$C_TS_PROG as string (only in tool management).
MD10717 $MN_T_NO_FCT_CYCLE_NAME acts in the Siemens mode G290 as well as in the
external language mode G291.
The subprograms configured with MD10716 $MN_M_NO_FCT_CYCLE_NAME and MD10717
$MN_T_NO_FCT_CYCLE_NAME must not be effective in one block at the same time, i.e. max.
one M/T function replacement can be effective per block.
Neither an M98 nor a modal subprogram call may be programmed in the block with the T
function replacement. It is also illegal to program a subprogram return jump or end of part
program. Alarm 14016 is generated in the case of a conflict.
Corresponds to:
MD10715 $MN_M_NO_FCT_CYCLE
MD10717 $MN_T_NO_FCT_CYCLE_NAME
10718
M_NO_FCT_CYCLE_PAR
MD number
M function replacement with parameters
Default setting: -1
Min. input limit: -
Max. input limit: -
Changes effective after Power On
Protection level: 7/2
Unit: -
ISO Milling
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
159
Data Description
C.1 General machine data
10718
M_NO_FCT_CYCLE_PAR
Data type: DWORD
Meaning:
If a M function replacement was configured with MD10715 $MN_M_NO_FCT_CYCLE[n],
MD10716 $MN_M_NO_FCT_CYCLE_NAME[n], then MD10718 $MN_M_NO_FCT_CYCLE_PAR
can be used for specifying parameter transfer for one of these M functions per system variable
as is the case for the T function replacement.
The parameters stored in the system variables always refer to the part program line in which the
M function to be replaced is programmed. The following system variables are available:
$C_ME: Address extension of the substituted M function
$C_T_PROG: TRUE if address T has been programmed
$C_T: Value of address T (integer)
$C_TE: Address extension of address T
$C_TS_PROG: TRUE if address TS has been programmed
$C_TS: Value of address TS (string, with tool management only)
$C_D_PROG: TRUE if address D has been programmed
$C_D: Value of address D
$C_DL_PROG: TRUE if address DL has been programmed
$C_DL: Value of address DL
10719
T_NO_FCT_CYCLE_MODE
MD number
Parameter assignment for T function replacement
Default setting: 0
Min. input limit: 0
Max. input limit: 7
Changes effective after Power On
Protection level: 7/2
Unit: -
Data type: DWORD
Meaning:
Processing of the substitution subprogram is parameterized in this machine data for the tool or
tool offset selection.
Bit 0 = 0:
The D or DL number is transferred to the substitution subprogram (default value)
Bit 0 = 1:
The D or DL number is not transferred to the substitution subprogram if the following conditions
are fulfilled: $MC_TOOL_CHANGE_MODE = 1 programming of D/DL with T or M function with
which the tool-changing cycle is called, in one part program line
Bit 1 = 0
Processing of the substitution subprogram at end of block (default value)
Bit 1 = 1
Processing of the substitution subprogram at start of block
Bit 2 = 0:
Processing of the substitution subprogram according to setting for bit 1
Bit 2 = 1:
Processing of the substitution subprogram at start of block and at end of block
10760
G53_TOOLCORR
MD number
Method of functioning with G53, G153 and SUPA
Default setting: 0
Min. input limit: 0
Max. input limit: 3
Changes effective after Power On
Protection level: 7/2
Unit: -
ISO Milling
160
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
Data Description
C.1 General machine data
10760
G53_TOOLCORR
Data type: BYTE
Meaning:
This machine data is used to define whether tool length and tool radius compensations are to
be suppressed in the language commands G53, G153 and SUPA. The machine data is bit-coded.
Bit 0 = 0: G53, G153 and SUPA is a non-modal suppression of work offsets. Active tool length and
tool radius compensation is retained.
Bit 0 = 1: G53, G153 and SUPA is a non-modal suppression of work offsets, active tool length and
tool radius compensation. The behavior regarding the tool lengths can be modified with bit 1.
Bit 1 is only evaluated if bit 0 has the value 1.
Bit 1 = 0: If bit 0 is set, the tool length for G53, G153 and SUPA is always
suppressed.
Bit 1 = 1: If bit 0 is set, the tool length is only suppressed for G53, G153 and SUPA if a cutting edge
is selected but not in the same block (this may even be the cutting edge which is already active).
10800
EXTERN_CHAN_SYNC_M_NO_MIN
MD number
1. M function for channel synchronization
Default setting: -1
Min. input limit: -
Max. input limit: -
Changes effective after Power On
Protection level: 7/2
Unit: -
Data type: DWORD
Meaning:
M number of the first M function with which channel program synchronization can be under-
taken in ISO2/3 mode.
In order to avoid conflicts with standard M functions, 100 is the smallest value permitted. If a
value between 0 - 99 is entered, alarm 4170 is output.
10802
EXTERN_CHAN_SYNC_M_NO_MAX
SD Number
Last M number for the channel synchronization
Default setting: -1
Min. input limit: -
Max. input limit: -
Changes effective after Power On
Protection level: 7/2
Unit: -
Data type: DWORD
Meaning:
M number of the last M function with which channel program synchronization can be under-
taken in ISO2/3 mode.
Along with MD10800 $MN_EXTERN_CHAN_SYNC_M_NO_MIN, the machine data defines a
range of M numbers which is reserved for channel synchronization. The range may be a max-
imum of 10*number of channels in size because only 10 WAIT marks may be set for each
channel. If a value between 0-99 or a value less than MD10800 $MN_EX-
TERN_CHAN_SYNC_M_NO_MIN is specified, alarm 4170 is output.
10804
EXTERN_M_NO_SET_INT
MD number
M function for ASUB activation
Default setting: 96
Min. input limit: 0
Max. input limit: -
Changes effective after Power On
Protection level: 7/2
Unit: -
Data type: DWORD
ISO Milling
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
161
Data Description
C.1 General machine data
10804
EXTERN_M_NO_SET_INT
Meaning:
M function number with which an interrupt program (ASUB) is activated in the ISO_T/M mode.
The interrupt program is always started with the first fast NC input. The M number defined in the
machine data takes the place of M96 in the external language mode.
For constraints, see MD10715 $MN_M_NO_FCT_CYCLE
Corresponds to:
MD10814 $MN_EXTERN_M_NO_MAC_CYCLE
MD10804 $MN_EXTERN_M_NO_SET_INT
MD10806 $MN_EXTERN_M_NO_DISABLE_INT
MD10800 $MN_EXTERN_CHAN_SYNC_M_NO_MIN
MD10802 $MN_EXTERN_CHAN_SYNC_M_NO_MAX
MD20095 $MC_EXTERN_RIGID_TAPPING_M_NR
10806
EXTERN_M_NO_DISABLE_INT
MD number
M function for ASUB deactivation
Default setting: 96
Min. input limit: -
Max. input limit: -
Changes effective after Power On
Protection level: 7/2
Unit: -
Data type: DWORD
Meaning:
M function number with which an interrupt program (ASUB) is deactivated in the ISO_T/M
mode. The M number defined in the machine data takes the place of M97 in the external
language mode.
For constraints, see MD10715 $MN_M_NO_FCT_CYCLE
Corresponds to:
MD10814 $MN_EXTERN_M_NO_MAC_CYCLE
MD10804 $MN_EXTERN_M_NO_SET_INT
MD10806 $MN_EXTERN_M_NO_DISABLE_INT
MD10800 $MN_EXTERN_CHAN_SYNC_M_NO_MIN
MD10802 $MN_EXTERN_CHAN_SYNC_M_NO_MAX
MD20095 $MC_EXTERN_RIGID_TAPPING_M_NR
10808
EXTERN_INTERRUPT_BITS_M96
MD number
Interrupt program (ASUB)
Default setting: 0
Min. input limit: -
Max. input limit: -
Changes effective after Power On
Protection level: 7/2
Unit: -
Data type: DWORD
Meaning:
The flow of the interrupt routine activated with M96P can be affected by setting the different
bits.
Bit 0=0: Interrupt program is not possible, M96/97 are normal M functions
Bit 0=1: Activation of an interrupt program with M96/M97 is allowed
Bit 1=0: Process part program with the end position of the next block after the interruption block
Bit 1=1: Continue processing part program from the interruption position bit 2 =0: The interrupt
signal interrupts the current block immediately and starts the interrupt routine
Bit 2=1: the interrupt routine is started only at the end of the block
Bit 3=0: Interrupt execution cycle during an interrupt signal
Bit 3=1: Start interrupt program only at the end of the execution cycle
ISO Milling
162
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
Data Description
C.1 General machine data
10810
EXTERN_MEAS_G31_P_SIGNAL
MD number
Assignment of the measuring inputs for G31 P..
Default setting: 1
Min. input limit: 0
Max. input limit: 3
Changes effective after Power On
Protection level: 7/2
Unit: -
Data type: BYTE
Meaning:
The machine data is used to define an assignment of the measuring inputs 1 and 2 to the P
number programmed with G31 P1 (-P4). The MD is bit-coded. Only Bit 0 and Bit 1 are evaluated.
If, e.g. the Bit 0=1 is in $MN_EXTERN_MEAS_G31_P_SIGNAL[1], it is activated with G31 P2 of
the first measuring input. The second measuring input is activated with G31 P4 with $MN_EX-
TERN_MEAS_G31_P_SIGNAL[3] = 2.
Bit 0=0: Do not evaluate measuring input 1 in G31 P1 (-P4)
Bit 0=1: Activate measuring input 1 in G31 P1 (-P4)
Bit 1=0: Do not evaluate measuring input 2 in G31 P1 (-P4)
Bit 1=1: Activate measuring input 2 in G31 P1 (-P4)
10812
EXTERN_DOUBLE_TURRET_ON
MD number
Double turret head with G68
Default setting: FALSE
Min. input limit:
Max. input limit:
Changes effective after Power On
Protection level: 7/2
Unit: -
Data type: BOOLEAN
Meaning:
This MD is used to define whether a double-slide machining is to be started with G68 (channel
synchronization for the first and second channel), or the second tool of a double turret (= 2, tool
permanently connected at the distance defined in setting data 42162 $SC_EXTERN_DOU-
BLE_TURRET_DIST) is to be activated.
FALSE: Channel synchronization for double-slide machining
TRUE: 2. Change 2nd tool of a double turret (= activate $SC_EXTERN_DOUBLE_TURRET_DIS-
TANCE as additive work offset and mirroring at Z axis)
10814
EXTERN_M_NO_MAC_CYCLE
MD number
Macro call via M function
Default setting: -1
Min. input limit: -
Max. input limit: -
Changes effective after Power On
Protection level: 7/2
Unit: -
ISO Milling
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
163
Data Description
C.1 General machine data
10814
EXTERN_M_NO_MAC_CYCLE
Data type: DWORD
Meaning:
M number with which a macro is called.
The name of the subprogram is stored in $MN_EXTERN_M_NO_MAC_CYCLE_NAME[n]. If the M
function is programmed in a part program block defined with $MN_EXTERN_M_NO_MAC_CY-
CLE[n], the subprogram defined in EXTERN_M_NO_MAC_CYCLE_NAME[n] is started, all the
addresses programmed in the block are written in the associated variables. If the M function is
reprogrammed in the subprogram, then there is no longer any replacement by a subprogram
call.
$MN_EXTERN_M_NO_MAC_CYCLE_NAME[n] operates only in the external language mode
G291.
The subprograms configured with $MN_EXTERN_M_NO_MAC_CYCLE_NAME[n] must not be
effective in one block (part program line) at the same time, i.e. max. one M function replace-
ment can be effective per block. Neither an M98 nor a modal subprogram call may be pro-
grammed in the block with the M function replacement. A subprogram return jump or end of
part program is also not permitted. Alarm 14016 is generated if these conventions are not
observed. For constraints, see MD10715 $MN_M_NO_FCT_CYCLE.
10815
EXTERN_M_NO_MAC_CYCLE_NAME
MD number
Subprogram name for macro call via M function
Default setting: -
Min. input limit: -
Max. input limit: -
Changes effective after Power On
Protection level: 7/2
Unit: -
Data type: STRING
Meaning:
Name of subprogram which is started during call via the M function defined with $MN_EX-
TERN_M_NO_MAC_CYCLE[n].
10818
EXTERN_INTERRUPT_NUM_ASUP
MD number
Interrupt number for ASUB start (M96)
Default setting: 1
Min. input limit: 1
Max. input limit: 8
Changes effective after Power On
Protection level: 7/2
Unit: -
Data type: BYTE
Meaning:
Number of the interrupt input with which an asynchronous subprogram activated in the ISO
mode is started. (M96<Program number>)
10820
EXTERN_INTERRUPT_NUM_RETRAC
MD number
Interrupt number for rapid retraction (G10.6)
Default setting: 2
Min. input limit: 1
Max. input limit: 8
Changes effective after Power On
Protection level: 7/2
Unit: -
Data type: BYTE
Meaning:
Number of the interrupt input with which a rapid retraction is triggered in the ISO mode at the
position programmed with G10.6.
ISO Milling
164
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
Data Description
C.1 General machine data
10880
MM_EXTERN_CNC_SYSTEM
MD number
Definition of the control system to be adapted
Default setting: 1
Min. input limit: 1
Max. input limit: 3
Changes effective after Power On
Protection level: 7/2
Unit: -
Data type: WORD
Meaning:
Selecting the external language
1 = ISO_2.1: System Fanuc0 Milling (shared compensation memory)
2 = ISO_3.1: System Fanuc0 Turning (shared compensation memory)
3: External memory via OEM application
4: ISO_2.2: System Fanuc0 Milling (separate compensation memory)
5: ISO_3.2: System Fanuc0 Turning (separate compensation memory)
10882
NC_USER_EXTERN_GCODES_TAB [n]:0...59
MD number
List of user-specific G commands of an external NC language
Default setting: -
Min. input limit: -
Max. input limit: -
Changes effective after Power On
Protection level: 2/2
Unit: -
Data type: STRING
Meaning:
List of G commands reconfigured by the user, external NC languages.
The implemented G commands can be found in the current Siemens documentation for this
programming language.
The list should be structured as follows:
Even address: G command to be changed
Following odd address: New G command
Only G codes can be reconfigured, e.g. G20, G71.
10884
EXTERN_FLOATINGPOINT_PROG
MD number
Evaluation of programmed values without decimal point
Default setting: TRUE
Min. input limit: -
Max. input limit: -
Changes effective after Power On
Protection level: 7/2
Unit: -
Data type: BOOLEAN
Meaning:
This machine data is used to define how programmed values without decimal points are eval-
uated.
0: Values without a decimal point are interpreted in internal units, e.g. X1000 = 1 mm (with
0.001 input resolution) X1000.0 = 1000 mm
1: Values without a decimal point are interpreted as mm, inch or degree, e.g. X1000 = 1000 mm,
X1000.0 = 1000 mm
10886
EXTERN_INCREMENT_SYSTEM
MD number
Increment system
Default setting: FALSE
Min. input limit: -
Max. input limit: -
Changes effective after Power On
Protection level: 7/2
Unit: -
ISO Milling
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
165
Data Description
C.1 General machine data
10886
EXTERN_INCREMENT_SYSTEM
Data type: BOOLEAN
Meaning:
This machine data is effective for external programming languages, i.e. if MD18800
$MN_MM_EXTERN_LANGUAGE = 1.
This machine data is used to define which increment system is active:
0: Increment system IS-B= 0.001 mm/degree = 0.0001 inch
1: Increment system IS-C= 0.0001 mm/degree = 0.00001 inch
10888
EXTERN_DIGITS_TOOL_NO
MD number
T number in ISO mode
Default setting: 2
Min. input limit: 0
Max. input limit: 8
Changes effective after Power On
Protection level: 7/2
Unit: -
Data type: BYTE
Meaning:
The machine data is active only in $MN_EXTERN_CNC_SYSTEM = 2.
Number of digits in tool number in the programmed T value.
The number of leading digits specified as tool number is interpreted with $MN_EXTERN_DIG-
ITS_TOOL_NO from the programmed T value. The following positions address the offset mem-
ory.
If a value > 0 is entered in MD $MN_EXTERN_DIGITS_OFFSET_NO, MD $MN_EXTERN_DIG-
ITS_TOOL_NO has no effect. $MN_EXTERN_DIGITS_OFFSET_NO has priority over $MN_EX-
TERN_DIGITS_TOOL_NO.
18800
MM_EXTERN_LANGUAGE
MD number
Activation of external NC languages
Default setting: 0
Min. input limit: 0
Max. input limit: 1
Changes effective after Power On
Protection level: 7/2
Unit: -
Data type: DWORD
Meaning:
To process part programs of other system manufacturers, one must activate the corresponding
NC language. Only one external language is to be selected. The already defined relevant in-
struction set can be taken from the current documentation.
Bit 0 (LSB): Processing of part programs ISO_2 or ISO_3. For encoding, see $MN_MM_EX-
TERN_CNC_SYSTEM (10880)
ISO Milling
166
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
Data Description
C.2 Channel-specific machine data
C.2
Channel-specific machine data
20050
AXCONF_GEOAX_ASSIGN_TAB
MD number
Assignment of geometry axis to channel axis
Default setting: 1, 2, 3
Min. input limit: 0
Max. input limit: 20
Changes effective after Power On
Protection level: 7/2
Unit: -
Data type: BYTE
Meaning:
The channel axis to which the geometry axis is assigned is specified in this MD. The assignment
for all the geometry axes is to be done channel-specifically. If no assignment is defined for a
geometry axis, then this geometry axis does not exist and cannot be programmed (with the
names defined in AXCONF_GEOAX_NAME_TAB).
E.g.: Turning machine without transformation:
$MC_AXCONF_GEOAX_ASSIGN_TAB[ 0 ] = 1 ; 1. Geo axis = 1st channel axis
$MC_AXCONF_GEOAX_ASSIGN_TAB[ 1 ] = 0 ; 2. Geo axis not defined
$MC_AXCONF_GEOAX_ASSIGN_TAB[ 2 ] = 2 ; 3. Geo axis = 2nd channel axis
The assignment defined here is valid if no transformation is active. In case of active transfor-
mation n, the transformation-specific assignment table TRAFO_GEOAX_ASSIGN_TAB_n is ac-
tive.
20060
AXCONF_GEOAX_NAME_TAB
MD number
Geometry axis name in channel
Default setting: X, Y, Z
Min. input limit: -
Max. input limit: -
Changes effective after Power On
Protection level: 7/2
Unit: -
Data type: STRING
ISO Milling
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
167
Data Description
C.2 Channel-specific machine data
20060
AXCONF_GEOAX_NAME_TAB
Meaning:
The names of the geometry axes for the channel are input separately in this MD. Geometry axes
can be programmed in the part program with the names specified here.
Special situations:
- The entered geometry axis name must not collide with the designation and assignment of the
machine and channel axis names.
- The entered geometry axis name must not overlap with the names for the Euler angle
(MD10620: EULER_ANGLE_NAME_TAB), names for the direction vectors (MD10640: DIR_VEC-
TOR_NAME_TAB), names for the coordinates of the intermediate circuit point for CIP (MD10660:
INTERMEDIATE_POINT_NAME_TAB) and the names for the interpolation parameters
(MD10650: IPO_PARAM_NAME_TAB).
- The geometry axis name entered must not use the following reserved address letters:
- D tool compensation (D function) - E reserved
- F feedrate (F function) - G distance condition
- H auxiliary function (H function) - L subprogram call
- M additional function (M function) - N subordinate block
- P number of subprogram repetitions - R arithmetic parameter
- S spindle number (S function) - T tool (T function)
- Keywords (e.g. DEF, SPOS, etc.) and predefined identifiers (e.g. ASPLINE, SOFT) are also not
permitted.
- The use of an axis identifier, consisting of a valid address letter (A, B, C, I, J, K, Q, U, V, W, X, Y,
Z), followed by an optional numerical extension (1-99), offers slight benefits in the block cycle
time compared to the assignment of a general identifier.
- The geometry axes in different channels can have the same names
Corresponds to:
MD 10000: AXCONF_MACHAX_NAME_TAB
MD 20080: AXCONF_CHANAX_NAME_TAB
20070
AXCONF_MACHAX_USED
MD number
Machine axis number valid in channel
Default setting: 1, 2, 3, 4
Min. input limit: 0
Max. input limit: 31
Changes effective after Power On
Protection level: 7/2
Unit: -
Data type: BYTE
Meaning:
The machine axis to which the channel axis / special axis is assigned is input in this MD. The
assignment for all the channel axes is to be done channel-specifically. A machine axis that is not
assigned to any channel is not active, i.e. the axis control is not processed, the axis is not
displayed on the screen and it cannot be programmed in any channel.
20080
AXCONF_CHANAX_NAME_TAB
MD number
Name of channel axis in the channel
Default setting:
Min. input limit: -
Max. input limit: -
X, Y, Z, A, B, C, U, V, X11, Y11,
Changes effective after Power On
Protection level: 7/2
Unit: -
ISO Milling
168
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
Data Description
C.2 Channel-specific machine data
20080
AXCONF_CHANAX_NAME_TAB
Data type: STRING
Meaning:
The number of the channel axis / special axis is entered in this MD. Normally the first three
channel axes are populated by the three assigned geometry axes (see also MD20050 $MC_AX-
CONF_GEOAX_ASSIGN_TAB). The remaining channel axes are also denoted as special axes. The
channel axis / special axis is always displayed on the monitor of WCS (Workpiece Coordinate
System) with the names input in this MD.
Special situations:
- The entered channel axis name / special axis name must not collide with the designation and
assignment of the machine and channel axis names.
- The entered channel axis name must not overlap with the names for the Euler angle (MD10620
$MN_EULER_ANGLE_NAME_TAB), names for the direction vectors (MD10640 $MN_DIR_VEC-
TOR_NAME_TAB), names for the coordinates of the intermediate circuit point for CIP(MD10660
$MN_INTERMEDIATE_POINT_NAME_TAB) and the names for the interpolation parameters
(MD10650 $MN_IPO_PARAM_NAME_TAB).
- The entered channel axis name must not have the following reserved address letters:
- D tool compensation (D function) - E reserved
- F feedrate (F function) - G distance condition
- H auxiliary function (H function) - L subprogram call
- M additional function (M function) - N subordinate block
- P number of subprogram repetitions - R arithmetic parameter
- S spindle speed (S function) - T tool (T function)
- Keywords (e.g. DEF, SPOS, etc.) and predefined identifiers (e.g. ASPLINE, SOFT) are also not
permitted.
- The use of an axis identifier, consisting of a valid address letter (A, B, C, I, J, K, Q, U, V, W, X, Y,
Z), followed by an optional numerical extension (1-99), offers slight benefits in the block cycle
time compared to the assignment of a general identifier.
- A separate name must not be entered in this MD for channel axes that are assigned geometry
axes (normally the first three channel axes).
Illegal axis identifiers are rejected with power-up alarm.
20094
SPIND_RIGID_TAPPING_M_NR
MD number
M number for changing over to the controlled spindle mode (Siemens mode)
Default setting: 70
Min. input limit: 0
Max. input limit: 0xFF
Changes effective after Power On
Protection level: 7/2
Unit: -
Data type: DWORD
Meaning:
This machine data defines the M auxiliary function number with which the spindle is switched
to the axis mode. The M number defined in the machine data takes the place of M70 in the
Siemens language mode.
Note:
M70 with the corresponding address extension is always output at the VDI interface as identi-
fication for the switch to axis mode.
Restrictions: See machine data 10715: $MN_M_NO_FCT_CYCLE
Corresponds to:
MD10814 $MN_EXTERN_M_NO_MAC_CYCLE,
MD10804 $MN_EXTERN_M_NO_SET_INT
MD10806 $MN_EXTERN_M_NO_DISABLE_INT,
MD 10800 $MN_EXTERN_CHAN_SYNC_M_NO_MIN,
MD10802 $MN_EXTERN_CHAN_SYNC_M_NO_MAX
MD20095 $MC_EXTERN_RIGID_TAPPING_M_NR
ISO Milling
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
169
Data Description
C.2 Channel-specific machine data
20095
EXTERN_RIGID_TAPPING_M_NR
MD number
M function for changing over to the controlled axis mode (external language mode)
Default setting: 29
Min. input limit: -
Max. input limit: -
Changes effective after Power On
Protection level: 7/2
Unit: -
Data type: DWORD
Meaning:
This machine data defines the M function number which is to be used to switch to the controlled
spindle/axis mode.
The M number defined in the machine data replaces M29 in the external language mode.
Predefined M numbers such as M00, M1, M2, M3, etc. are not permitted as M number.
Restrictions: See machine data 10715 $MN_M_NO_FCT_.CYCLE
Corresponds to:
MD10814 $MN_EXTERN_M_NO_MAC_CYCLE,
MD10804 $MN_EXTERN_M_NO_SET_INT
MD10806 $MN_EXTERN_M_NO_DISABLE_INT,
MD10800 $MN_EXTERN_CHAN_SYNC_M_NO_MIN,
MD10802 $MN_EXTERN_CHAN_SYNC_M_NO_MAX
MD20095 $MC_EXTERN_RIGID_TAPPING_M_NR
20150
GCODE_RESET_VALUES
MD number
Reset G groups
Default setting: 2, 0, 0, 1, 0, ...
Min. input limit: -
Max. input limit: -
Changes effective after RESET
Protection level: 7/2
Unit: -
Data type: BYTE
Meaning:
Definition of the G codes that become active during run-up and reset or at part program end and
part program start.
The G code index must be specified in the respective groups as preset value.
Name - Group - Default value:
GCODE_RESET_VALUES[0] - Group 1 - Default value 2 (G01)
GCODE_RESET_VALUES[1] - Group 2 - Default value 0 (disabled)
GCODE_RESET_VALUES[2] - Group 3 - Default value 0 (disabled)
GCODE_RESET_VALUES[3] - Group 4 - Default value 1 (FIFO START)
GCODE_RESET_VALUES[4] - Group 5 - Default value 0 (disabled)
GCODE_RESET_VALUES[5] - Group 6 - Default value 1 (G17) for milling
GCODE_RESET_VALUES[6] - Group 7 - Default value 1 (G40)
GCODE_RESET_VALUES[7] - Group 8 - Default value 1 (G500)
GCODE_RESET_VALUES[8] - Group 9 - Default value 0 (disabled)
GCODE_RESET_VALUES[9] - Group 10 - Default value 1 (G60)
GCODE_RESET_VALUES[10] - Group 11 - Default value 0 (disabled)
GCODE_RESET_VALUES[11] - Group 12 - Default value 1 (G601)
GCODE_RESET_VALUES[12] - Group 13 - Default value 2 (G71)
GCODE_RESET_VALUES[13] - Group 14 - Default value 1 (G90)
GCODE_RESET_VALUES[14] - Group 15 - Default value 2 (G94)
GCODE_RESET_VALUES[15] - Group 16 - Default value 1 (CFC)
ISO Milling
170
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
Data Description
C.2 Channel-specific machine data
20152
GCODE_RESET_MODE
MD number
Reset behavior of G groups
Default setting: 0
Min. input limit: 0
Max. input limit: 1
Changes effective after RESET
Protection level: 7/2
Unit: -
Data type: BYTE
Meaning:
This Machine data is only evaluated if bit 0 is set in $MC_RESET_MODE_MASK. This MD is used to
define for each entry in MD $MN_GCODE_RESET_VALUES (i.e. for each G group), whether a
setting according to the $MC_GCODE_RESET_VALUES is taken again for a reset / part program
end, (MD = 0) or the momentary current setting is retained (MD = 1).
Example:
The normal position of the 6th G group (current level) is read from the MD $MC_GCODE_RE-
SET_VALUES for each reset / part program end here:
$MC_GCODE_RESET_VALUE(5)=1; reset value of 6th G group is M17
$MC_GCODE_RESET_MODE(5)=0; normal position of the 6th G group after reset / part program
end is according to $MC_GCODE_RESET_VALUES(5)
However, if the current setting of the 6th G group (current level) is to be retained beyond reset /
part program end, then we have the following setting:
$MC_GCODE_RESET_VALUE(5)=1; reset value of 6th G group is M17
$MC_GCODE_RESET_MODE(5)=1; current setting of the 6th G group is retained even after
reset / part program end
Corresponds to:
MD20110 $MC_RESET_MODE_MASK
MD 20112 $MC_START_MODE_MASK
20154
EXTERN_GCODE_RESET_VALUES[n]: 0, ..., 30
MD number
Definition of the G codes that are to be activated during reboot, if the NC channel is not running
in the Siemens mode.
Default setting: 1, 1, 1, 2, 1, 1...
Min. input limit: -
Max. input limit: -
Changes effective after RESET
Protection level: 2/2
Unit: -
ISO Milling
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
171
Data Description
C.2 Channel-specific machine data
20154
EXTERN_GCODE_RESET_VALUES[n]: 0, ..., 30
Data type: BYTE
Meaning:
When using an external NC programming language, definition of the G codes which are effec-
tive during a power up and reset and/or at the end of a part program depending on MD20110
$MC_RESET_MODE_MASK and at the start of a part program depending on MD20112
$MC_START_MODE_MASK
The following external programming languages are possible:
• ISO dialect milling
ISO dialect turning
The G group classification to be used is taken from the current SINUMERIK documentation.
The following groups can be written within the MD EXTERN_GCODE_RESET_VALUES:
ISO dialect mode:
G group 2: G17/G18/G19
G group 3: G90/G91
G group 5: G94/G95
G group 6: G20/G21
G group 13: G96/G97
G group 14: G54-G59
ISO dialect T:
G group 2: G96/G97
G group 3: G90/G91
G group 5: G94/G95
G group 6: G20/G21
G group 16: G17/G18/G19
20156
EXTERN_GCODE_RESET_MODE
MD number
Reset behavior of external G groups
Default setting: 0
Min. input limit: 0
Max. input limit: 1
Changes effective after RESET
Protection level: 7/2
Unit: -
Data type: BYTE
Meaning:
This MD is only evaluated if bit 0 is set in $MC_RESET_MODE_MASK (see there)!
This MD is used to define for each entry in MD $MN_EXTERN_GCODE_RESET_VALUES (i.e. for
each G group), whether a setting according to the MD $MC_EXTERN_GCODE_RESET_VALUES is
taken again for a reset / part program end, (MD=0) or the momentary current setting is retained
(MD=1).
Example of ISO dialect mode:
The normal position of the 14th G group (adjustable work offset) is read from the machine data
$MC_EXTERN_GCODE_RESET_VALUES for each reset / part program end here:
$MC_EXTERN_GCODE_RESET_VALUES[13]=1; reset value of the 14th group is G54
$MC_EXTERN_GCODE_RESET_VALUES(13)=0; normal position of the 14th G group after reset /
part program end is defined via $MC_EXTERN_GCODE_RESET_VALUES[13]
However, if the current setting of the 14th G group is to be retained beyond reset/part program
end, then we have the following setting:
$MC_EXTERN_GCODE_RESET_VALUES[13]=1; reset value of the 14th group is G54
$MC_G_CODE_GCODE_RESET_VALUES(13)=0; current setting of the 14th G group is retained
even after reset/part program end
ISO Milling
172
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
Data Description
C.2 Channel-specific machine data
20380
TOOL_CORR_MODE_G43/G44
MD number
Handling the tool length compensation G43/G44
Default setting: 0
Min. input limit: 0
Max. input limit: 2
Changes effective after RESET
Protection level: 7/2
Unit: -
Data type: BYTE
Meaning:
The machine data is active only for $MN_MM_EXTERN_CNC_LANGUAGE = 1;
If G43/G44 is active, it determines how length compensations programmed with H are pro-
cessed.
0: Mode A
The tool length H always operates on the Z axis, independent of the current plane
1: Mode B
The tool length H always operates on one of the three geometry axes, depending on the active
plane, i.e. in:
G17 on the third geometry axis (normally Z)
G18 on the second geometry axis (normally Y)
G19 on the first geometry axis (as a rule X)
Offsets can be installed in all three geometry axes in this mode through multiple programming,
i.e. activation of a component does not delete the possibly already effective length compensa-
tion in a different axis.
2: Mode C
The tool length works independently of the active plane in the axis which was simultaneously
programmed with H. Moreover, the behavior is as in Variant B.
20382
TOOL_CORR_MOVE_MODE
MD number
Retract the tool length compensation
Default setting: FALSE
Min. input limit: -
Max. input limit: -
Changes effective after RESET
Protection level: 7/2
Unit: -
Data type: BOOLEAN
Meaning:
The machine data determines how the tool length compensations are retracted.
0: A tool length component is retracted only if the associated axis was programmed (behavior
as in earlier software versions).
1: Too lengths are always retracted immediately irrespective of whether or not the associated
axes are programmed.
20732
EXTERN_G0_LINEAR_MODE
MD number
Interpolation behavior with G00
Default setting: TRUE
Min. input limit: -
Max. input limit: -
Changes effective after Power On
Protection level: 7/2
Unit: -
Data type: BOOLEAN
Meaning:
This MD is used to define the interpolation behavior for G00.
0: Axes are traversed as positioning axes
1: Mutual axis interpolation
ISO Milling
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
173
Data Description
C.2 Channel-specific machine data
20734
EXTERN_FUNCTION_MASK
MD number
Function mask for external language
Default setting: 0
Min. input limit: 0
Max. input limit: 0xFFFF
Changes effective after RESET
Protection level: 7/2
Unit: -
ISO Milling
174
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
Data Description
C.2 Channel-specific machine data
20734
EXTERN_FUNCTION_MASK
Data type: DWORD
Meaning:
Functions in the ISO mode are affected by this machine data.
Bit 0=0: ISO Mode T: A" and "C" are interpreted as axes. If contour definition is programmed,
there must be a comma before "A" or "C".
Bit 0=1: "A" and "C" in the part program are always interpreted as contour definition.
No Axis A or C should exist.
Bit 1=0: ISO mode T G10 P<100 tool geometry
P>100 tool wear
Bit 1=1: G10 P<10 000 tool geometry
P>10 000 tool wear
Bit 2=0: Dwell time G04: Always [s] or [ms]
Bit 2=1: If G95 is active, dwell time is in spindle revolutions
Bit 3=0: Errors in the ISO scanner lead to alarm
Example: N5 G291 ; ISO dialect mode
N10 WAIT ; alarm 12080 "WAIT unknown"
N15 G91 G500 ; alarm 12080 "G500 unknown"
Bit 3=1: Errors in the ISO scanner are not output, the block is forwarded to the Siemens translator
Example: N5 G291 ; ISO dialect mode
N10 WAIT ; block is processed by Siemens translator
N15 G91 G500 ; block is processed by Siemens translator
N20 X Y ; block is processed by ISO translator due to G291, G91 from N15 is active
Bit 4=0: G00 is traversed to the active exact stop function.
Example: In G64, even G00 blocks are traversed with G64
Bit 4=1: G00 blocks are always traversed with G09, even if G64 is active
Bit 5=0: Movements of the rotary axis are executed along the shortest path
Bit 5=1: Movements of the rotary axis are executed in the positive or negative direction of
rotation, depending on the sign
Bit 6=0: Four-digit program numbers only permitted
Bit 6=1: Eight-digit program number is permitted. If there are less than four digits, the figure is
increased four digits
Bit 7=0: Axis programming for geometry axis interchange/parallel axes is compatible with the
ISO mode
Bit 7=1: Axis programming in geo axis interchange/parallel axes is compatible with the Siemens
mode, in the ISO mode
Bit 8=0: For cycles, the F value is always transferred interpreted as feedrate
Bit 8=1: For threading cycles, the F value is always interpreted as lead
Bit 9=0: With ISO mode T for G84, G88 in the standard mode F for G95 is multiplied by 0.01 mm
or 0.0001 inch
Bit 9=1: In the ISO mode T for G84, G88 and in the standard mode F for G95, it is multiplied with
0.01 mm or 0.0001 inch
Bit 10=0: In M96 Pxx, during interrupt, the program programmed with Pxx is always called.
Bit 10=1: In M96 Pxx, CUCLE396.spf is always called in case of interrupt
Bit 11=0: G54.1 is displayed during the programming of G54 Pxx.
Bit 11=1: G54Px is always displayed while programming G54 Pxx or G54.1 Px.
Bit 12=0: $P_ISO_STACK is not changed on calling the subprogram defined with M96 Pxx
Bit 12=1: $P_ISO_STACK is incremented on calling the subprogram defined with M96 Pxx
Bit 13=0: G10 is executed without internal STOPRE
Bit 13=1: G10 is executed with internal STOPRE
Bit 14 = 0: ISO dialect T: No alarm if a cutting edge has been programmed in the T command.
Bit 14 = 1: ISO dialect T: Alarm 14185, if no cutting edge has been programmed in the T
command.
ISO Milling
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
175
Data Description
C.2 Channel-specific machine data
22420
FGROUP_DEFAULT_AXES[n]: 0, ..., 7
MD number
Default value of the FGROUP command
Default setting: 0
Min. input limit: -
Max. input limit: -
Changes effective after Power On
Protection level: 7/7
Unit: -
Data type: BYTE
Meaning:
Default setting for FGROUP command.
One can specify up to eight channels whose resulting speed corresponds to the programmed
path feedrate. If all eight values are zero (default), then as previously, the geometry axes re-
corded in MD20050 $MC_AXCONF_GEOAX_ASSIGN_TAB are active as the default setting for the
FGROUP command.
22512
EXTERN_GCODE_GROUPS_TO_PLC[n]: 0, ..., 7
MD number
Send G code of an external language to PLC
Default setting: 0
Min. input limit: -
Max. input limit: -
Changes effective after Power On
Protection level: 7/2
Unit: -
Data type: BYTE
Meaning:
Specification of G code group of external languages whose G codes are output at the NCK/PLC
interface during block change / reset.
The interface is updated with each block change and after RESET.
Notice:
There are no systems in place to ensure that a PLC user program has a block-synchronous
relation between the active NC block and pending G codes at all times (example: Path mode with
very short blocks).
22515
GCODE_GROUPS_TO_PLC_MODE
MD number
Response of the G group transfer to PLC
Default setting: 0
Min. input limit: 0
Max. input limit: 1
Changes effective after Power On
Protection level: 7/2
Unit: -
Data type: DWORD
Meaning:
To set the behavior of how the G groups are to be interpreted as data in the PLC. According to
the current behavior (Bit 0=0), the G group is the array index of a 64-byte large array (DBB 208
- DBB 271). At the most, the 64th G group can be reached with it.
In the new behavior (Bit 0=1), the data storage in the PLC is a maximum of eight bytes (DBB 208-
DBB 215) large. In this process, the array index of this byte array is identical to the index of MD
$MC_GCODE_GROUPS_TO_PLC[Index] and $MC_EXTERN_GCODE_GROUPS_TO_PLC[Index].
Here, each index (0-7) should only be entered for one of the two items of machine data, the
value 0 must be entered for the relevant other MD.
Bit 0 (LSB) = 0: Response as previously, the 64-byte large array is used for the display of the G
code.
Bit 0 (LSB) = 1: The user defines the G groups for which the first eight bytes are to be used
22900
STROKE_CHECK_INSIDE
MD number
Direction (inside/outside) in which the protection zone is effective
Default setting: FALSE
Min. input limit: -
Max. input limit: -
ISO Milling
176
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
Data Description
C.2 Channel-specific machine data
22900
STROKE_CHECK_INSIDE
Changes effective after Power On
Protection level: 7/2
Unit: -
Data type: BOOLEAN
Meaning:
It is defined whether the protection zone 3 is an inside protection zone or an outside protection
zone.
Meaning:
0: Protection zone 3 is an inside protection zone, i.e. the protection zone should not be over-
traveled when working towards the interior
1: Protection zone 3 is an outside protection zone
22910
WEIGHTING_FACTOR_FOR_SCALE
MD number
Input resolution for scaling factor
Default setting: FALSE
Min. input limit: -
Max. input limit: -
Changes effective after Power On
Protection level: 7/2
Unit: -
Data type: BOOLEAN
Meaning:
Definition of the unit for the scaling factor P and for the axial scaling factors I, J, K
Meaning:
0: Scaling factor in 0.001
1: Scaling factor in 0.00001
22914
AXES_SCALE_ENABLE
MD number
Activation for axial scaling factor (G51)
Default setting: FALSE
Min. input limit: -
Max. input limit: -
Changes effective after Power On
Protection level: 7/2
Unit: -
Data type: BOOLEAN
Meaning:
Axial scaling is disconnected with this MD.
Meaning:
0: Axial scaling is not possible
1: Axial scaling is possible, i.e. MD DEFAULT_SCALE_FACTOR_AXIS is effective
Corresponds to:
SD43120 DEFAULT_SCALE_FACTOR_AXIS
22920
EXTERN_FIXED_FEEDRATE_F1_ON
SD Number
Activation of fixed feedrate F1 - F9
Default setting: FALSE
Min. input limit: -
Max. input limit: -
Changes effective after Power On
Protection level: 7/2
Unit:
Data type: BOOLEAN
Meaning:
This MD is used to disconnect the fixed feedrates from the setting data $SC_EXTERN_FIXED_FEE-
DRATE_F1_F9 [ ].
0: No fixed feedrates with F1 - F9
1: The feedrates from the setting data $SC_EXTERN_FIXED_FEEDRATE_F1_F9 become effective
with the programming of F1 - F9
ISO Milling
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
177
Data Description
C.2 Channel-specific machine data
22930
EXTERN_PARALLEL_GEOAX
SD Number
Assignment of a parallel channel axis to the geometry axis
Default setting: 0
Min. input limit: 0
Max. input limit: 20
Changes effective after Power On
Protection level: 7/2
Unit: -
Data type: BYTE
Meaning:
Assignment tables of the axes that are parallel to the geometry axes. This table can be used to
assign parallel channel axes to the geometry axes. The parallel axes can then be activated with
the G functions of the plane selection (G17 - G19) and the axis name of the parallel axis as
geometry axis. An axis interchange can then be executed with the axis defined via $MC_AX-
CONF_GEOAX_ASSIGN_TAB[ ].
Precondition: The used channel axes must be active (assigned list place in in AXCONF_MA-
CHAX_USED).
Entry of a zero deactivates the corresponding parallel geometry axis.
24004
CHBFRAME_POWERON_MASK
MD number
Reset channel-specific basic frame after Power On
Default setting: 0
Min. input limit: 0
Max. input limit: 0xFFFF
Changes effective after Power On
Protection level: 7/2
Unit: -
Data type: DWORD
Meaning:
This machine data is used to define whether channel-specific basic frames are reset to the data
management during Power On Reset, i.e. shifts and rotations are set to 0, scaling to 1. Mirroring
is switched off. The individual basic frames can be selected separately.
Bit 0 corresponds to basic frame 0, bit 1 to basic frame 1, etc.
0: Basic frame is retained at Power ON
1: Basic frame is reset in the data management at Power ON.
Corresponds to:
MD10651 $MN_NCBFRAME_POWERON_MASK
24006
CHSFRAME_RESET_MASK
MD number
Active system frames after Reset
Default setting: 0
Min. input limit: 0
Max. input limit: 0x7FF
Changes effective after RESET
Protection level: 7/2
Unit: -
Data type: DWORD
ISO Milling
178
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
Data Description
C.2 Channel-specific machine data
24006
CHSFRAME_RESET_MASK
Meaning:
Bit mask for the reset setting of the channel-specific system frames calculated in the channel.
Bit
0: System frame for actual value setting and scratching is active after Reset.
1: System frame for external work offset is active after Reset.
2: Reserved, TCARR and PAROT refer to $MC_GCODE_RESET_VALUES[ ].
3: Reserved, TOROT and TORFRAME refer to $MC_GCODE_RESET_VALUES[ ].
4: System frame for workpiece reference point is active after RESET.
5: System frame for cycles is active after Reset.
6: Reserved, reset behavior depends on $MC_RESET_MODE_MASK.
7: System frame $P_ISO1FR (ISO G51.1 Mirror) is active after Reset.
8: System frame $P_ISO2FR (ISO G68 2DROT) is active after Reset.
9: System frame $P_ISO3FR (ISO G68 3DROT) is active after Reset.
10: System frame $P_ISO4FR (ISO G51 Scale) is active after Reset.
11: System frame $P_RELFR is active after reset.
Corresponds to:
MD28082 $MC_MM_SYSTEM_FRAME_MASK
28082
MM_SYSTEM_FRAME_MASK
MD number
System frames (SRAM)
Default setting: 0x21, 0x21, ...
Min. input limit: 0
Max. input limit: 0x0000FF
Changes effective after Power On
Protection level: 7/2
Unit: -
Data type: DWORD
Meaning:
Bit mask for the configuration of the channel-specific system frames calculated in the channel.
Bit
0: System frame for actual value setting and scratching
1: System frame for external work offset
2: System frame for TCARR and PAROT
3: System frame for TOROT and TORFRAME
4: System frame for workpiece reference points
5: System frame for cycles
6: System frame for transformations
7: System frame for $P_ISO1FR for ISO G51.1 Mirror
8: System frame for $P_ISO2FR for ISO G68 2DROT
9: System frame for $P_ISO3FR for ISO G68 3DROT
10: System frame for $P_ISO4FR for ISO G51 Scale
11: System frame $P_RELFR is active after reset.
Corresponds to:
MD28082 $MC_MM_SYSTEM_FRAME_MASK
ISO Milling
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
179
Data Description
C.3 Axis-specific setting data
C.3
Axis-specific setting data
43120
DEFAULT_SCALE_FACTOR_AXIS
MD number
Default axial scaling factor with active G51
Default setting: 1
Min. input limit: -99999999
Max. input limit: 99999999
Change valid IMMEDIATELY
Protection level: 7/7
Unit: -
Data type: DWORD
Meaning:
This machine data is valid in connection with external programming languages. It is effective for
$MN_MM_EXTERN_LANGUAGE = 1.
If no axial scaling factor I, J or K is programmed in the G51 block, then the DEFAULT_SCALE-
FAKTOR_AXIS is active. For the scaling factor to be effective, the MD AXES_SCALE_ENABLE must
be set.
43240
M19_SPOS
MD number
Spindle position in degrees for spindle positions with M19
Default setting: 0
Min. input limit: -359.999
Max. input limit: 359.999
Change valid IMMEDIATELY
Protection level: 7/7
Unit: -
Data type: DOUBLE
Meaning:
The setting data is also effective in the Siemens mode.
ISO Milling
180
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
Data Description
C.4 Channel-specific setting data
C.4
Channel-specific setting data
42110
DEFAULT_FEED
SD Number
Default value for path feed
Default setting: 0
Min. input limit: -
Max. input limit: -
Change valid IMMEDIATELY
Protection level: 7/7
Unit: -
Data type: DOUBLE
Meaning:
The setting data is evaluated during part program start, giving due consideration to the feedrate
type active at this point of time (refer to $MC_GCODE_RESET_VALUES or $MC_EX-
TERN_GCODE_RESET_VALUES).
42140
DEFAULT_SCALE_FACTOR_P
SD Number
Default scaling factor for address P
Default setting: 1
Min. input limit: -
Max. input limit: -
Change valid IMMEDIATELY
Protection level: 7/7
Unit: -
Data type: DWORD
Meaning:
If no scaling factor P is programmed in the block, then the value of this machine data is active.
Corresponds to:
MD22910 $MC_WEIGHTING_FACTOR_FOR_SCALR
42150
DEFAULT_ROT_FACTOR_R
SD Number
Default rotation factor for address R
Default setting: 0
Min. input limit: -
Max. input limit:
Change valid IMMEDIATELY
Protection level: 7/7
Unit: -
Data type: DOUBLE
Meaning:
If no factor for rotation R is programmed with the selection of the rotation G68, the value of this
setting data becomes effective.
42160
EXTERN_FIXED_FEEDRATE_F1_F9
SD Number
Fixed feedrates F1 - F9
Default setting: 0
Min. input limit: -
Max. input limit: -
Change valid IMMEDIATELY
Protection level: 2/7
Unit: VELO
Data type: DOUBLE
Meaning:
Fixed feedrate values for the programming of F1 -F9. If the machine data $MC_FEEDRATE_F!
_F9_ON=TRUE is set, the feedrate values of the setting data $SC_EXTERN_FIXED_FEE-
DRATE_F1_F9[0] - $SC_EXTERN_FIXED_FEEDRATE_F1_F9[8] are read and activated as machin-
ing feedrate with the programming of F1 to F9. The rapid traverse feedrate must be entered in
$SC_EXTERN_FIXED_FEEDRATE_F1_F9[0].
42520
CORNER_SLOWDOWWN_START
SD Number
Start of feedrate reduction in G62
Default setting: 0
Min. input limit: -
Max. input limit: Any
Change valid IMMEDIATELY
Protection level: 7/7
Unit: mm
ISO Milling
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
181
Data Description
C.4 Channel-specific setting data
42520
CORNER_SLOWDOWWN_START
Data type: DOUBLE
Meaning:
Path length from which the feedrate is reduced before the corner in G62.
42522
CORNER_SLOWDOWN_END
SD Number
End of feedrate reduction in G62
Default setting: 0
Min. input limit: -
Max. input limit: Any
Change valid IMMEDIATELY
Protection level: 7/7
Unit: mm
Data type: DOUBLE
Meaning:
Path length up to which the feedrate remains reduced after a corner in G62.
42524
CORNER_SLOWDOWN_OVR
SD Number
Override for feedrate reduction in G62
Default setting: 0
Min. input limit: -
Max. input limit: Any
Change valid IMMEDIATELY
Protection level: 7/7
Unit: PERCENT
Data type: DOUBLE
Meaning:
Override with which the feedrate is multiplied at the corner in G62.
42526
CORNER_SLOWDOWN_CRIT
SD Number
Corner detection in G62, G21
Default setting: 0
Min. input limit: -
Max. input limit: Any
Change valid IMMEDIATELY
Protection level: 7/7
Unit: Degree
Data type: DOUBLE
Meaning:
Angle from which a corner is considered for the feedrate reduction with G62, G21.
43340
EXTERN_REF_POSITION_G30_1
MD number
Reference point position for G30.1
Default setting:
Min. input limit:
Max. input limit:
Change valid IMMEDIATELY
Protection level:
Unit:
Data type: DOUBLE
Meaning:
Setting data
Reference point position for G30.1.
This setting data is evaluated in CYCLE328.
ISO Milling
182
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
Data Description
C.5 Channel-specific cycle machine data
C.5
Channel-specific cycle machine data
Table C-1
52800
ISO_M_ENABLE_POLAR_COORD
SD number
Polar coordinates
Default setting: 0
Min. input limit: 0
Max. input limit: 1
Change valid IMMEDIATELY
Protection level: 7/3
Unit: -
Data type: BYTE
Meaning:
Polar coordinates
0: OFF
1: ON
52802
ISO_ENABLE_INTERRUPTS
SD number
Interrupt processing
Default setting: 0
Min. input limit: 0
Max. input limit: 1
Change valid IMMEDIATELY
Protection level: 7/3
Unit: -
Data type: BYTE
Meaning:
Interrupt processing
0: OFF
1: ON
52804
ISO_ENABLE_DRYRUN
SD number
Processing skip during DRYRUN
Default setting: 0
Min. input limit: 0
Max. input limit: 1
Change valid IMMEDIATELY
Protection level: 7/3
Unit: -
Data type: BYTE
Meaning:
Processing skip when tapping G74/G84 during DRYRUN
0: OFF
1: ON
52806
ISO_SCALING_SYSTEM
SD number
Basic system
Default setting: 0
Min. input limit: 0
Max. input limit: 2
Change valid IMMEDIATELY
Protection level: 7/3
Unit: -
Data type: BYTE
Meaning:
Basic system
0: Not defined
1: METRIC
2: INCH
ISO Milling
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
183
Data Description
C.5 Channel-specific cycle machine data
52808
ISO_SIMULTAN_AXES_START
SD number
Simultaneous drill position approach for all programmed axes
Default setting: 0
Min. input limit: 0
Max. input limit: 1
Change valid IMMEDIATELY
Protection level: 7/3
Unit: -
Data type: BYTE
Meaning:
Simultaneous drill position approach for all programmed axes
0: OFF
1: ON
52810
ISO_T_DEEPHOLE_DRILL_MODE
SD number
Deep-hole drilling with chip breaking/removal of chips
Default setting: 0
Min. input limit: 0
Max. input limit: 1
Change valid IMMEDIATELY
Protection level: 7/3
Unit: -
Data type: BYTE
Meaning:
Selection of deep-hole drilling type
Deep-hole drilling with chip breaking
Deep-hole drilling with removal of chips
55800
$SCS_ISO_M_DRILLING_AXIS_IS_Z
SD number
Drilling axis depends on plane / always Z
Default setting: 0
Min. input limit: 0
Max. input limit: 1
Change valid IMMEDIATELY
Protection level: 7/6
Unit: -
Data type: BYTE
Meaning:
Selection of drilling axis
0: Drilling axis is vertical to active plane
1: Drilling axis is always "Z" regardless of the active plane
55802
$SCS_ISO_M_DRILLING_TYPE
SD number
Tapping type
Default setting: 0
Min. input limit: 0
Max. input limit: 3
Change valid IMMEDIATELY
Protection level: 7/6
Unit: -
Data type: BYTE
Meaning:
Selection of drilling axis
0: Tapping without compensating chuck
1: Tapping with compensating chuck
2: Deep-hole tapping with chip breakage
3: Deep-hole tapping with chip removal
55804
$SCS_ISO_M_RETRACTION_FACTOR
SD number
Factor for retraction speed (0...200%)
Default setting: 100
Min. input limit: 0
Max. input limit: 200
Change valid IMMEDIATELY
Protection level: 7/6
Unit: -
ISO Milling
184
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
Data Description
C.5 Channel-specific cycle machine data
55804
$SCS_ISO_M_RETRACTION_FACTOR
Data type: DWORD
Meaning:
Factor for retraction speed (0...200%)
55806
$SCS_ISO_M_RETRACTION_DIR
SD number
Retraction direction for G76/G87
Default setting: 0
Min. input limit: 0
Max. input limit: 4
Change valid IMMEDIATELY
Protection level: 7/6
Unit: -
Data type: DWORD
Meaning:
Retraction direction for precision drilling and reverse countersinking G76/G87
0: G17(-X) G18(-Z) G19(-Y)
1: G17(+X) G18(+Z) G19(+Y)
2: G17(-X) G18(-Z) G19(-Y)
3: G17(+Y) G18(+X) G19(+Z)
4: G17(-Y) G18(-X) G19(-Z)
ISO Milling
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
185
Data Description
C.5 Channel-specific cycle machine data
ISO Milling
186
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
Data lists
D
D.1
Machine data
Number
Identifier
Name
General ($MN_ ... )
10604
WALIM_GEOAX_CHANGE_MODE
Working area limitation during switchover of geometry
axes
10615
NCFRAME_POWERON_MASK
Delete global basic frames during Power On
10652
CONTOUR_DEF_ANGLE_NAME
Adjustable name for angle in the contour short descrip-
tion
10654
RADIUS_NAME
Adjustable name for radius non-modal in the contour
short description
10656
CHAMFER_NAME
Adjustable name for chamfer in the contour short de-
scription
10704
DRYRUN_MASK
Activation of dry run feedrate
10706
SLASH_MASK
Activation of block skip function
10715
M_NO_FCT_CYCLE[n]: 0, ..., 0
M function number for cycle call
10716
M_NO_FCT_CYCLE_NAME[ ]
Name for tool-changing cycle with M functions from MD
$MN_NO_FCT_CYCLE
10717
T_NO_FCT_CYCLE_NAME
Name for tool-changing cycle with T number
10718
M_NO_FCT_CYCLE_PAR
M function replacement with parameters
10719
T_NO_FCT_CYCLE_MODE
Parameter assignment for T function replacement
10760
G53_TOOLCORR
Method of functioning with G53, G153 and SUPA
10800
EXTERN_CHAN_SYNC_M_NO_MIN
First M number for channel synchronization
10802
EXTERN_CHAN_SYNC_M_NO_MAX
Last M number for channel synchronization
10804
EXTERN_M_NO_SET_INT
M function for ASUB activation
10806
EXTERN_M_NO_DISABLE_INT
M function for ASUB deactivation
10808
EXTERN_INTERRUPT_BITS_M96
Interrupt program execution (M96)
10810
EXTERN_MEAS_G31_P_SIGNAL
Assignment of the measuring inputs for G31 P..
10814
EXTERN_M_NO_MAC_CYCLE
Macro call via M function
10815
EXTERN_M_NO_MAC_CYCLE_NAME
Subroutine name for M function macro call
10818
EXTERN_INTERRUPT_NUM_ASUP
Interrupt number for ASUB start (M96)
10820
EXTERN_INTERRUPT_NUM_RETRAC
Interrupt number for rapid retraction (G10.6)
10880
EXTERN_CNC_SYSTEM
External control system whose programs are processed
10882
NC_USER_EXTERN_GCODES_TAB[n]: 0-59
List of user-specific G commands of an external NC lan-
guage
10884
EXTERN_FLOATINGPOINT_PROG
Evaluation of programmed values without decimal
point
10886
EXTERN_INCREMENT_SYSTEM
Increment system
10888
EXTERN_DIGITS_TOOL_NO
Number of digits for T number in the external language
mode
ISO Milling
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
187
Data lists
D.1 Machine data
Number
Identifier
Name
10890
EXTERN_TOOLPROG_MODE
Tool change programming in external programming
language
18800
MM_EXTERN_LANGUAGE
External language is active in the control system
Channelspecific ($MC_ ... )
20050
AXCONF_GEOAX_ASSIGN_TAB[ ]
Assignment of geometry axis to channel axis
20060
AXCONF_GEOAX_NAME_TAB[ ]
Geometry axis in channel
20070
AXCONF_MACHAX_USED[ ]
Machine axis number valid in channel
20080
AXCONF_CHANAX_NAME_TAB[ ]
Name of channel axis in the channel
20094
SPIND_RIGID_TAPPING_M_NR
M number for changing over to the controlled spindle
mode (Siemens mode)
20095
EXTERN_RIGID_TAPPING_M_NR
M number for changing over to the controlled spindle
mode (external language mode)
20150
GCODE_RESET_VALUES[n]: 0 to max. number of G codes
Reset G groups
20152
GCODE_RESET_MODE
Reset behavior of G groups
20154
EXTERN_GCODE_RESET_VALUES[n]: 0-30
Definition of the G codes that are effective during re-
boot, if the NC channel is not running in the Siemens
mode
20380
TOOL_CORR_MODE_G43G44
Handling the tool length compensation G43/G44
20382
TOOL_CORR_MOVE_MODE
Retract the tool length compensation
20732
EXTERN_G0_LINEAR_MODE
Interpolation behavior with G00
20734
EXTERN_FUNCTION_MASK
Function mask for external language
22420
FGROUP_DEFAULT_AXES[ ]
Default value of the FGROUP command
22512
EXTERN_GCODE_GROUPS_TO_PLC[n]: 0-7
Specification of G groups that are output in the NCK PLC
interface, if an external NC language is active
22900
STROKE_CHECK_INSIDE
Direction (inside/outside) in which the protection zone
is effective
22910
WEIGHTING_FACTOR_FOR_SCALE
Input resolution for scaling factor
22914
AXES_SCALE_ENABLE
Activation for axial scaling factor (G51)
22920
EXTERN_FEEDRATE_F1_F9_ACTIV
Activation of fixed feedrate (F0 - F9)
22930
EXTERN_PARALLEL_GEOAX
Assignment of parallel channel geometry axis
24004
CHBFRAME_POWERON_MASK
Reset channel-specific basic frame after Power On
24006
CHSFRAME_RESET_MASK
Active system frames after Reset
28082
MM_SYSTEM_FRAME_MASK
System frames (SRAM)
ISO Milling
188
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
Data lists
D.2 Setting data
D.2
Setting data
Number
Identifier
Name
Axis-specific
43120
DEFAULT_SCALE_FACTOR_AXIS
Default axial scaling factor with active G51
43240
M19_SPOS
Spindle position in degrees for spindle positions with
M19
43340
EXTERN_REF_POSITION_G30_1
Reference position for G30.1
Channel-specific
42110
$SC_DEFAULT_FEED
Default value for path feed
42140
$SC_DEFAULT_SCALE_FACTOR_P
Default scaling factor for address P
42150
$SC_DEFAULT_ROT_FACTOR_R
Default for angle of rotation R
42520
$SC_CORNER_SLOWDOWN_START
Start of feedrate reduction in G62
42522
$SC_CORNER_SLOWDOWN_END
End of feedrate reduction in G62
42524
$SC_CORNER_SLOWDOWN_OVR
Override for feedrate reduction in G62
42526
$SC_CORNER_SLOWDOWN_CRIT
Corner detection in G62, G21
ISO Milling
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
189
Data lists
D.3 Variables
D.3
Variables
Identifier
Type
Description
$C_A
REAL
Value of programmed address A in the ISO dialect mode for cycle programming
$C_B
REAL
Value of programmed address B in the ISO-dialect-mode for cycle programming
$C_G
INT
G number for cycle calls in the external mode
$C_H
REAL
Value of programmed address H in the ISO dialect mode for cycle programming
$C_I[ ]
REAL
Value of the programmed Address I in the ISO-dialect-mode for cycle programming and macro
technology with G65/G66. A max. of 10 entries is possible in the block for the macro pro-
gramming. The values remain in the programmed sequence in the array.
$C_I_ORDER[ ]
REAL
For description, refer to $C_I[ ], defines the programming sequence
$C_J[ ]
REAL
For description refer to $C_I[ ]
$C_J_ORDER[ ]
REAL
For description, refer to $C_I[ ], defines the programming sequence
$C_K[ ]
REAL
For description refer to $C_I[ ]
$C_K_ORDER[ ]
REAL
For description, refer to $C_I[ ], defines the programming sequence
$C_L
INT
Value of programmed address L in the ISO- dialect-mode for cycle programming
$C_M
REAL
Value of programmed address M in the ISO-dialect-mode for cycle programming
$C_P
INT
Value of programmed address P in the ISO-dialect-mode for cycle programming
$C_Q
REAL
Value of programmed address Q in the ISO-dialect-mode for cycle programming
$C_Z
INT
Value of programmed address Z in the ISO-dialect-mode for cycle programming
$C_TS
STRING
String of tool identifier programmed under the address T
$C_A_PROG
INT
Address A is programmed in a block with cycle call
0 = Not programmed
1 = Programmed (absolute)
3 = Programmed (incremental)
$C_B_PROG
INT
Address B is programmed in a block with cycle call
0 = Not programmed
1 = Programmed (absolute)
3 = Programmed (incremental)
$C_G_PROG
INT
Shell cycle is programmed over a G function
$C_Z_PROG
INT
Address Z is programmed in a block with cycle call
0 = Not programmed
1 = Programmed (absolute)
3 = Programmed (incremental)
$C_TS_PROG
INT
A tool identifier was programmed under Address T
TRUE = programmed; FALSE = not programmed
$C_ALL_PROG
INT
Bit pattern of all programmed addresses in a block with cycle call
Bit 0 = Address A
Bit 25 = Address Z
Bit = 1 address is programmed
Bit = 0 address is not programmed
ISO Milling
190
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
Data lists
D.3 Variables
Identifier
Type
Description
$P_EXTGG[n]
INT
Active G code of the external language
$C_INC_PROG
INT
Bit pattern of all incrementally programmed addresses in a block with cycle call
Bit 0 = Address A
Bit 25 = Address Z
Bit = 1 address is programmed incrementally
Bit = 0 address is not programmed as absolute
$C_I_NUM
INT
Cycle programming: Value is always 1 if Bit 0 is set in $C_I_PROG.
Macro programming: Number of address I programmed in the block (max. 10).
$C_J_NUM
INT
For description refer to $C_I_NUM
$C_K_NUM
INT
For description refer to $C_I_NUM
$P_AP
INT
Polar coordinates 0 = Off, 1 = On
$C_TYP_PROG
INT
Bit pattern of all programmed addresses in a block with cycle call
Bit 0 = A
Bit 25 = Z
Bit = 0 Axis is programmed as INT
Bit = 1 Axis is programmed as REAL
$C_PI
INT
Program no. of the interrupt routine that was programmed with M96
ISO Milling
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
191
Data lists
D.3 Variables
ISO Milling
192
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
Interrupts
E
An alarm is created on detecting error states in cycles and the cycle execution is interrupted.
Messages are output from the cycles in the status bar of the control system. These messages do
not interrupt the machining.
The alarms having the numbers 61000 to 62999 are generated in the cycles. This large area is
further subdivided according to alarm responses and cancel criteria.
Table E-1
Alarm no. and alarm description
Alarm No.
brief description
Cause
Explanation/remedy
General alarms
61001
Incorrect thread lead
CYCLE376T
The thread lead is not specified cor-
rectly
61003
No feedrate programmed in cycle
CYCLE371T, CYCLE374T, CY-
No F word was programmed in the
CLE383T, CYCLE384T, CYCLE385T,
calling block before the cycle call,
CYCLE381M, CYCLE383M, CY-
refer to Siemens standard cycles.
CLE384M, CYCLE387M
61004
Configuration of geometry axis is
CYCLE328
The sequence of the geometry ax-
not correct
es is incorrect, refer to Siemens
standard cycles
61101
Reference plane defined incorrectly
CYCLE375T, CYCLE81, CYCLE83,
Refer to Siemens standard cycles
CYCLE84, CYCLE87
61102
No spindle direction programmed
CYCLE371T, CYCLE374T, CY-
Spindle direction M03 or M04 is
CLE383T, CYCLE384T, CYCLE385T,
missing, refer to Siemens standard
CYCLE381M, CYCLE383M, CY-
cycles
CLE384M, CYCLE387M
61107
First drilling depth defined incor-
First drilling depth is opposite to
rectly
total drilling depth
61603
Groove shape defined incorrectly
CYCLE374T
Value of groove depth equal to 0
61607
Starting point programmed incor-
CYCLE376T
The starting point lies outside the
rectly
area to be machined.
61610
No infeed depth programmed
CYCLE374T
Infeed value = 0
ISO alarms
61800
External CNC system is missing
CYCLE300, CYCLE328, CYCLE330,
Machine data for external lan-
CYCLE371T, CYCLE374T, CY-
guage MD18800 $MN_MM_EX-
CLE376T, CYCLE383T, CYCLE384T,
TERN_ LANGUAGE or options bit
CYCLE385T, CYCLE381M, CY-
19800 $MN_EXTERN_LAN-GUAGE
CLE383M, CYCLE384M, CY-
is not set.
CLE387M
61801
Wrong G code selected
CYCLE300, CYCLE371T, CY-
An impermissible value has been
CLE374T, CYCLE376T, CYCLE383T,
programmed in the program call
CYCLE384T, CYCLE385T
CYCLE300<Value> or a wrong val-
ue has been specified in the cycle
setting data for the G code system.
ISO Milling
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
193
Interrupts
Alarm No.
brief description
Cause
Explanation/remedy
61802
Wrong axis type
CYCLE328, CYCLE330
The programmed axis is assigned
to a spindle.
61803
Programmed axis does not exist
CYCLE328, CYCLE330
The programmed axis does not ex-
ist in the control system. Check
MD20050-20080.
61804
Progr. Position exceeds reference
CYCLE328, CYCLE330
The programmed intermediate po-
point
sition or the current position lies
behind the reference point.
61805
Value programmed as absolute
CYCLE328, CYCLE330, CYCLE371T,
The intermediate position is pro-
and incremental
CYCLE374T, CYCLE376T, CY-
grammed with absolute as well as
CLE383T, CYCLE384T, CYCLE385T
incremental values.
61806
Wrong axis assignment
CYCLE328
The sequence of the axes is wrong.
61807
Incorrect spindle direction pro-
CYCLE384M
The programmed spindle direction
grammed
contradicts the spindle direction
provided for the cycle.
61808
Final drilling depth or single drill-
CYCLE383T, CYCLE384T, CY-
Total drilling depth Z or single drill-
ing depth is missing
CLE385T, CYCLE381M, CY-
ing depth Q is missing in the G8x
CLE383M, CYCLE384M, CY-
block (first call of cycle)
CLE387M
61809
Drilling position not permissible
CYCLE383T, CYCLE384T, CY-
CLE385T
61810
ISO G code not possible
CYCLE383T, CYCLE384T, CY-
CLE385T
61811
ISO axis name not permissible
CYCLE328, CYCLE330. CYCLE371T,
The calling NC block contains an
CYCLE374T, CYCLE376T, CLE383T,
impermissible ISO axis identifier.
CYCLE384T, CYCLE385T
61812
Value(s) in the external cycle call is
CYCLE371T, CYCLE376T,
The calling NC block contains an
defined incorrectly
impermissible numerical value.
61813
GUD value defined incorrectly
CYCLE376T
A wrong numerical value was en-
tered in the cycle setting data.
61814
Polar coordinates with cycle not
CYCLE381M, CYCLE383M, CY-
possible
CLE384M, CYCLE387M
61815
G40 not active
CYCLE374T, CYCLE376T
G40 was not active before cycle
call.
ISO Milling
194
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
Appendix
6
6.1
Documentation overview SINUMERIK ONE
Comprehensive documentation about the functions provided in SINUMERIK ONE Version 6.13
and higher is provided in the Documentation overview SINUMERIK ONE (https://
support.industry.siemens.com/cs/ww/en/view/109768483).
You can display documents or download them in PDF and HTML5 format.
The documentation is divided into the following categories:
• User: Operating
• User: Programming
• Manufacturer/Service: Functions
• Manufacturer/Service: Hardware
• Manufacturer/Service: Configuration/Setup
• Manufacturer/Service: Safety Integrated
• Information and training
• Manufacturer/Service: SINAMICS
ISO Milling
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
195
Appendix
6.2 Documentation overview SINUMERIK 840D sl
6.2
Documentation overview SINUMERIK 840D sl
You will find extensive documentation on the functions of SINUMERIK 840D sl from version 4.8
SP4 at 840D sl documentation overview (https://support.industry.siemens.com/cs/ww/en/view/
109766213).
You can display the documents or download them in PDF or HTML5 format.
The documentation is divided into the following categories:
• User: Operating
• User: Programming
• Manufacturer/Service: Functions
• Manufacturer/Service: Hardware
• Manufacturer/Service: Configuration/Setup
• Manufacturer/Service: Safety Integrated
• Manufacturer/Service: SINUMERIK Integrate/MindApp
• Information and training
• Manufacturer/Service: SINAMICS
ISO Milling
196
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
Appendix
6.3 Documentation overview SINUMERIK 828D
6.3
Documentation overview SINUMERIK 828D
Comprehensive documentation about the functions provided in SINUMERIK 828D Version 4.8
SP4 and higher is provided in the 828D documentation overview (https://
support.industry.siemens.com/cs/ww/en/view/109766724).
You can display documents or download them in PDF and HTML5 format.
The documentation is divided into the following categories:
• User: Operating
• User: Programming
• Manufacturer/Service: Configuring
• Manufacturer/Service: Commissioning
• Manufacturer/Service: Functions
• Manufacturer/Service: Safety Integrated
• SINUMERIK Integrate / MindApp
• Information and training
ISO Milling
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
197
Appendix
6.3 Documentation overview SINUMERIK 828D
ISO Milling
198
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
Glossary
Absolute dimensions
A specification for the target of axis motion is defined by a dimension that refers to the origin of
the currently active coordinate system. See also -> incremental dimension.
AC (adaptive control)
A process variable (e.g. path- or axis-specific feedrate) can be controlled as a function of another
measured process variable (e.g. depending on spindle current). Typical application:
Maintenance of constant chip removal volume during grinding.
Acceleration and jerk limit
To achieve an optimal acceleration factor for the machine while preserving the mechanical
parts, the machining program offers the option of switching between instantaneous (inertia-
free) and constant (jerk-free) acceleration.
Access rights
The blocks of a CNC program are protected via the following 7-level system of
access-authorization restrictions:
• Three password levels, one each for the system manufacturer, the machine manufacturer
and the user;
• Four key-operated switch settings which can be evaluated via the PLC.
Activation / deactivation
Working area limitation is a means of limiting the axis motion over the restrictions set by the limit
switch. A pair of values can be specified for each axis with which the protection zone is delimited.
Address
Addresses are fixed or variable identifiers for axes (X, Y, ...), spindle speed (S), feedrate (F), circle
radius (CR), etc.
Analog input and output modules
Analog input and output modules are sensors for analog process signals.
Analog input modules are used to convert measured analog values into digital values, so that
they can be processed in the CPU. Analog input modules convert digital values into manipulated
variables.
ISO Milling
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
199
Glossary
Archiving
Exporting files or directories to an external memory medium.
Asynchronous subprogram
• A part program that can be started with an interrupt signal (e.g. "Rapid NC input signal")
asynchronously (i.e. independently) while a part program is active.
• A part program that can be started with an interrupt signal (e.g. "Rapid NC input signal")
asynchronously (i.e. independent of the current program status).
AUTOMATIC or Automatic mode
Operating mode of the control system (block sequence according to DIN): Operating mode of
NC controls in which a -> part program is selected and continuously executed.
Auxiliary functions
Auxiliary functions can be used to transfer -> parameters in part programs to the -> PLC,
whereupon reactions defined by the machine manufacturer are triggered.
Axes
CNC axes are set according to their functionality as follows:
• Axes: Interpolatory path axes
• Positioning axes: Non-interpolating infeed and positioning axes with axis-specific feedrates;
these axes can be traversed beyond the block limits. Positioning axes need not be involved
in the machining of the tool and they contain, e.g. tool feeder, tool magazine etc.
Axis identifier
According to DIN 66217, axes are denoted using X, Y, and Z for a clockwise, rectangular -
> coordinate system.
-> Rotary axes that rotate around X, Y and Z, to which the identifiers A, B and C are assigned.
Additional axes parallel to the mentioned ones can be denoted with other letters.
Axis/spindle replacement
An axis/spindle is permanently assigned to a specific channel via machine data. This assignment
via machine data can be reset with program commands and the axis/spindle can be assigned to
another channel.
B spline
The points programmed for the B spline are not interpolation points but simply "checkpoints".
The generated curve only runs near the checkpoints, not directly through them (optional 1st,
2nd or 3rd order polynomials).
ISO Milling
200
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1

 

 

 

 

 

 

 

Content      ..     6      7      8      9     ..