Programming Basics
1.1 Introductory explanations
04.07
1-15
Ā© Siemens AG 2007 All rights reserved
SINUMERIK 802D sl/840D/840D sl/840Di/840Di sl/810D ISO Milling (PGM) -- 04.07 Edition
Table 1-2 Different conversion factors for IS-B and IS-C
Address IS -CIS-BUnit
Bit8 = 1 G95 F mm
inch
0.0001
0.00000
1
0.0001
0.00000
1
1.1.7 Comments
In ISO dialect mode, round brackets are interpreted as comment characters.
In Siemens mode, ā;ā is interpreted as a comment. To simplify matters, ā;ā is also
interpreted as a comment in ISO dialect model.
If the comment start character ā(ā is used again within a comment, the comment
will not be terminated until all open brackets have been closed again.
Example:
N5 (comment) X100 Y100
N10 (comment(comment)) X100 Y100
N15 (comment(comment) X100) Y100
In blocks N5 and N10 X100 Y100 is executed, in block N15 only Y100, as the first
bracket is closed only after X100. Everything up to this position is interpreted as a
comment.
1.1.8 Block skip
The skip character ā/ā can be anywhere within the block, even in the middle. If the
programmed skip level is active at the moment of compiling, the block will not be
compiled from this position to the end of the block. An active skip level therefore
has the same effect as an end of block.
Example:
N5 G00 X100. /3 YY100 --> Alarm 12080,
N5 G00 X100. /3 YY100 --> No alarm when skip level 3 is active
Skip characters within a comment are not interpreted as skip characters.
Example:
N5 G00 X100. ( /3 part1 ) Y100 ;even when skip level 3 is
active, the
;Y axis will be traversed
The skip level can be /1 to /9. Skip values <1 >9 give rise to alarm 14060
The function is mapped onto the existing Siemens skip levels. In contrast to ISO
Dialect Original, / and /1 are separate skip levels and therefore have to be
activated separately.