




























































































Estude fácil! Tem muito documento disponível na Docsity
Ganhe pontos ajudando outros esrudantes ou compre um plano Premium
Esta página não é visível na pré-visualização
Não perca as partes importantes!





























































































SINUMERIK SINUMERIK 840D sl/840Di sl/828D/802D sl ISO Turning
programming 1
Travel commands 2
Traversing command 3
Additional functions 4
Abbreviations A
G code table B
Data Description C
Data lists D
Alarms E
SINUMERIK
SINUMERIK 840D sl/840Di sl/
828D/802D sl
ISO Turning
6FC5398-5BP10-1BA
Legal information
Warning notice system
This manual contains notices you have to observe in order to ensure your personal safety, as well as to prevent damage to property. The notices referring to your personal safety are highlighted in the manual by a safety alert symbol, notices referring only to property damage have no safety alert symbol. These notices shown below are graded according to the degree of danger.
DANGER indicates that death or severe personal injury will result if proper precautions are not taken.
WARNING indicates that death or severe personal injury may result if proper precautions are not taken.
CAUTION with a safety alert symbol, indicates that minor personal injury can result if proper precautions are not taken.
CAUTION without a safety alert symbol, indicates that property damage can result if proper precautions are not taken.
NOTICE indicates that an unintended result or situation can occur if the corresponding information is not taken into account. If more than one degree of danger is present, the warning notice representing the highest degree of danger will be used. A notice warning of injury to persons with a safety alert symbol may also include a warning relating to property damage.
Qualified Personnel
The device/system may only be set up and used in conjunction with this documentation. Commissioning and operation of a device/system may only be performed by qualified personnel. Within the context of the safety notes in this documentation qualified persons are defined as persons who are authorized to commission, ground and label devices, systems and circuits in accordance with established safety practices and standards.
Proper use of Siemens products
Note the following:
WARNING Siemens products may only be used for the applications described in the catalog and in the relevant technical documentation. If products and components from other manufacturers are used, these must be recommended or approved by Siemens. Proper transport, storage, installation, assembly, commissioning, operation and maintenance are required to ensure that the products operate safely and without any problems. The permissible ambient conditions must be adhered to. The information in the relevant documentation must be observed.
Trademarks
All names identified by ® are registered trademarks of the Siemens AG. The remaining trademarks in this publication may be trademarks whose use by third parties for their own purposes could violate the rights of the owner.
Disclaimer of Liability
We have reviewed the contents of this publication to ensure consistency with the hardware and software described. Since variance cannot be precluded entirely, we cannot guarantee full consistency. However, the information in this publication is reviewed regularly and any necessary corrections are included in subsequent editions.
Siemens AG Industry Sector Postfach 48 48 90026 NÜRNBERG GERMANY
Ordernumber: 6FC5398-5BP10-1BA Ⓟ 07/
Copyright © Siemens AG 2009. Technical data subject to change
ISO Turning
1.1 Introductory remarks
The following conditions are valid in the Siemens mode:
● The default of the G commands can be defined for each channel via the machine data 20150 $MC_GCODE_RESET_VALUES.
● No language commands from the ISO dialects can be programmed in the Siemens mode.
The following conditions are valid in the active ISO dialect mode:
● The ISO dialect mode can be set with machine data as the default setting of control system. The control system reboots by default in the ISO dialect mode subsequently.
● Only G functions from the ISO dialect can be programmed; the programming of Siemens G functions is not possible in the ISO Mode.
● Mixing of ISO dialect and Siemens language in the same NC block is not possible.
● Switching between ISO Dialect M and ISO Dialect T with a G command is not possible.
● Subroutines that are programmed in the Siemens mode can be called.
● If Siemens functions are to be used, one must first switch to the Siemens mode.
The following G functions can be used to switch between the Siemens mode and the ISO dialect mode:
● G290 - Siemens NC programming language active
● G291 - ISO Dialect NC Programming language active
The active tool, the tool offsets and work offsets are not influenced by the switchover.
G290 and G291 must be programmed alone in an NC block.
ISO Turning
The G code is displayed in the same language (Siemens or ISO Dialect) as the relevant current block. If the display of the blocks is suppressed with DISPLOF, the G codes continue to be displayed in the language in which the active block is displayed.
The G functions of the ISO dialect mode are used to call the Siemens standard cycles. To do this, DISPLOF is programmed at the start of the relevant cycle; this way the G functions that are programmed in the ISO dialect language continue to be displayed. PROC CYCLE328 SAVE DISPLOF N ... ... N99 RET
The Siemens shell cycles are called via main programs. The Siemens mode is selected automatically by calling the shell cycle.
With DISPLOF, the block display is frozen on calling the cycle; the display of the G code continues in the ISO Mode.
The G codes that were changed in the shell cycle, are reset to their original status at the end of the cycle with the "SAVE" attribute.
The maximum number of axes in the ISO dialect mode is 9. The axis identifiers for the first three axes are defined permanently with X, Y and Z. All other axes can be identified with the letters A, B, C, U, V and W.
In the ISO-dialect-T, a differentiation is made between the G code system A, B or C. By default, the G code system B is active. Via the MD $MN_MM_EXTERN_GCODE_SYSTEM, the G code system A, B or C is selected as follows:
$MN_MM_EXTERN_GCODE_SYSTEM = 0: G code system B
$MN_MM_EXTERN_GCODE_SYSTEM = 1: G code system A
$MN_MM_EXTERN_GCODE_SYSTEM = 2: G code system C
ISO Turning
Table 1- 1 Different conversion factors for IS-B and IS-C
Address Unit IS-B IS-C Linear axis mm inch
0, 0,
0, 0, Rotary axis Degree 0,001 0, F Feed G94 (mm/inch per min.) mm inch
1 0,
1 0, F Feed G95 (mm/inch per rotation) $MC_EXTERN_FUNCTION_MASK Bit8 = 0 mm inch
0, 0,
0, 0, Bit8 = 1 mm inch
0, 0,
0, 0, F Thread lead mm inch
0, 0,
0, 0, C Chamfer mm inch
0, 0,
0, 0, R Radius, G10 toolcorr mm inch
0, 0,
0, 0, I, J, K IPO-Parameter mm inch
0, 0,
0, 0, G04 X or U 0,001 0, A Angle contour definition 0,001 0, G76, G78 tapping cycle $MC_EXTERN_FUNCTION_MASK Bit8 = 0 F as feed such as G94, G Bit8 = 1 F as thread lead G84, G88 tapping cycle $MC_EXTERN_FUNCTION_MASK Bit9 = 0 G95 F mm inch
0, 0,
0, 0, Bit8 = 1 G95 F mm inch
0, 0,
0, 0,
ISO Turning
In the ISO dialect mode, brackets are interpreted as comment signs. In the Siemens mode, ";" is interpreted as comment. To simplify matters, an ";" is also understood as comment in the ISO dialect mode.
If the comment start sign '(' is used inside a comment again, the comment is ended only if all the open brackets are closed again.
Example: N5 (comment) X100 Y N10 (comment(comment)) X100 Y N15 (comment(comment) X100) Y
X100 Y100 is executed in block N5 and N10, but only Y100 in block N15, because the first bracket is closed only after X100. Everything up to that point is interpreted as comment.
The sign of skipping or suppression of blocks "/" can be used at any convenient position in a block, i.e. even in the middle of the block. If the programmed block skip level is active on the date of the compilation, the block is not compiled from this point up to the end of the block. An active block skip level has the same effect as a block end.
Example:
N5 G00 X100. /3 YY100 --> Alarm 12080 "Syntax error" N5 G00 X100. /3 YY100 --> no alarm, if block skip level 3 is active
Block skip signs within a comment are not interpreted as block skip signs
Example:
N5 G00 X100. ( /3 Part1 ) Y ;the Y axis is traversed even when the block skip level 3 is active
The block skip levels /1 to /9 can be active. Block skip values <1 and >9 lead to alarm 14060 "Impermissible skip level for differential block skip".
The function is mapped to the existing Siemens skip levels. Unlike the ISO Dialect original, "/" and "/1" are separate skip levels that must also be activated separately.
Note The "0" in "/0" can be omitted.
ISO Turning
<
;
PPPLQ
PPPLQ
*6 UPLQ ;=)
7UDYHUVLQJVSHHGLQ WDQJHQWLDOGLUHFWLRQ PPPLQ
3URJUDPPLQJH[DPSOH
Figure 1-1 Linear interpolation with 2 axes
;=,) *6 UPLQ
PPPLQ
;
=
)]
)[
3URJUDPPLQJH[DPSOH
&HQWHUSRLQW
Figure 1-2 Circular interpolation with 2 axes
Note
If "F0" is programmed and the function "Fixed feedrates" is not activated in the block, then the alarm 14800 "Channel %1 Set %2 programmed path velocity is less than or equal to zero" is given off.
ISO Turning
Ten different feed values pre-set via setting data can be activated with F0 to F9. To activate the rapid traverse rate with F0, the corresponding speed must be entered in the setting data 42160 $SC_EXTERN_FIXED_FEEDRATE_F1_F9[0].
The feed values for F0 to F9 are entered in the setting data as real values. An evaluation of the input values is not undertaken.
The function is activated via the machine data 22920 $MC_EXTERN_FIXED_FEEDRATE_F1_ON. If the machine data is set to FALSE, F1 - F9 is interpreted as normal feed programming, e.g. F2 = 2 mm/min, F0=0 mm/min.
If the machine data = TRUE, the feed values for F0 - F9 are fetched from the setting data 42160 $SC_EXTERN_FIXED_FEEDRATE_F1_F9[ ]. If the value 0 exists in one of the setting data, then the corresponding address extension of feed 0 is activated during the programming.
N10 X10 Y10 Z10 F0 G94 ;Approach position at 5000 mm/min N20 G01 X150 Y30 F1 ;Feed 1000 mm/min active N30 Z0 F2 ;Position approached at 500 mm/min N40 Z10 F0 ;Approach position at 5000 mm/min
Table 1- 2 Setting data for the default setting of feedrate F
F function Setting Data F0 $SC_EXTERN_FIXED_FEEDRATE_F1_F9[0] F1 $SC_EXTERN_FIXED_FEEDRATE_F1_F9[1] F2 $SC_EXTERN_FIXED_FEEDRATE_F1_F9[2] F3 $SC_EXTERN_FIXED_FEEDRATE_F1_F9[3] F4 $SC_EXTERN_FIXED_FEEDRATE_F1_F9[4] F5 $SC_EXTERN_FIXED_FEEDRATE_F1_F9[5] F6 $SC_EXTERN_FIXED_FEEDRATE_F1_F9[6] F7 $SC_EXTERN_FIXED_FEEDRATE_F1_F9[7] F8 $SC_EXTERN_FIXED_FEEDRATE_F1_F9[8] F9 $SC_EXTERN_FIXED_FEEDRATE_F1_F9[9] Note: Input format = REAL
ISO Turning
On specifying G94, the feed given after the address character F is executed in the mm/min, inch/min or degree/min unit.
On specifying G93, the feed given after the address character F is executed in the 1/min unit. G93 is a modally effective G function.
i.e., the programmed path is traversed within half a minute.
Note
The time inverse feed 1/min G93 is not implemented for SINUMERIK 802D.
On entering G95, the feed is executed in the mm/revolution unit or inch/revolution related to the master spindle.
Note
All of the commands are modal. If the G feed command is switched among G93, G94 or G95, the path feed must be reprogrammed. The feed can also be specified in degree/revolution for the machining with rotary axes.
ISO Turning
2.1 Interpolation commands
The positioning and interpolation commands, with which the tool path along the programmed contour, such as a straight line or a circular arc, is monitored, are described in the next Section.
You can use the rapid traverse movements to position the tool rapidly, to travel around the workpiece or to approach tool change points.
The following G functions can be used for positioning (see the table below):
Table 2- 1 G functions for positioning
G function Function G group G00 Rapid traverse 01 G01 Linear motion 01 G02 Circle/helix in clockwise direction 01 G03 Circle/helix in counterclockwise direction 01
Format
G00 X... Y... Z... ;
The tool movement programmed with G00 is executed at the highest possible travel speed (rapid traverse). The rapid traverse rate is defined separately for each axis in the machine data. If the rapid traverse movement is executed simultaneously on several axes, then the rapid traverse rate in case of linear interpolation is determined by the axis, which requires the most time for its section of the path.
ISO Turning
Linear interpolation with G00 is set by setting the machine data 20732 $MC_EXTERN_GO_LINEAR_MODE. Hence all programmed axes traverse in rapid traverse with linear interpolation and reach their target position simultaneously.
With G01 the tool travels on axially parallel, inclined or straight lines arbitrarily positioned in the space. Linear interpolation permits machining of 3D surfaces, grooves, etc.
In case of G01 the linear interpolation is executed with the path feed. The axes not specified in the block with G01 are also not traversed. The linear interpolation is programmed as given in the example above.
The feedrate is specified under the address F. Depending on the default setting in the machine data, the units of measurement specified with the G commands (G93, G94, G95) are either in mm or inch.
One F value can be programmed per NC block. The unit of the feedrate is defined via one of the G commands mentioned. The feed F acts only on path axes and remains active until a new feed value is programmed. Separators are permitted after address F.
Note If no feed Fxx is programmed in a block with G01 or in the previous blocks, an alarm is given off when a G01 block is executed.
The end point can be specified either as absolute or incremental. For details see the Chapter "Absolute/incremental dimensioning".
;
; =
= :
SURJUDPPHGSRLQW
FXUUHQWWRROSRVLWLRQ
Figure 2-3 Linear interpolation
ISO Turning
;
=
*;= *760 ;= *=) ;)
7KHD[HVDUHWUDYHUVHGLQWKHOLQHDULQWHUSRODWLRQ PRGH *
3URJUDPPLQJH[DPSOH
Figure 2-4 Programming example
With the command given below the rotary tool traverses in the ZX plane on the programmed circular arc. The programmed path velocity is thereby maintained along the arc.
G02(G03) X(U)... Z(W)... I... K... (R...) F... ;
(QGSRLQW
&HQWHUSRLQW
6WDUWSRLQW
;
=
5
= (^) : (^).
W
,
=
Figure 2-5 Circular interpolation
In order to start the circular interpolation, the commands given in the following table are to be executed: