Examples - Siemens SINUMERIK 840D Function Manual

Mc axes and spindles
Hide thumbs Also See for SINUMERIK 840D:
Table of Contents

Advertisement

4.5

Examples

Example 1
X is a transverse axis defined via MD20100 $MC_DIAMETER_AX_DEF.
Y is a geometry axis and U is an additional axis. These two axes are additional transverse axes
with diameter specifications defined in MD30460 $MA_BASE_FUNCTION_MASK with bit 2 =
1.
DIAMON is not active after power up.
Program code
N10 G0 G90 X100 Y50
N20 DIAMON
N30 Y200 X200
N40 DIAMONA[Y]
N50 Y250 X300
N60 DIAM90
N70 Y200
N75 G91 Y20 U=DIC(40)
N80 X50 Y100
N85 G90 X100 U200
N90 DIAMCHANA[Y]
N95 G91 X100 Y100
N100 G90 X200 Y200
Example 2
Transverse axes with diameter specification applied as in the previous example.
X and Y are located in channel 1 and are also known in channel 2; i.e. permitted for axis
replacement.
Program code
Channel 1
N10 G0 G90 X100 Y50
N20 DIAMON
N30 Y200 X200
N40 DIAMONA[Y]
N50 Y250 X300
N60 SETM(1)
N70 WAIT(1,2)
Channel 2
...
N50 DIAMOF
Axes and spindles
Function Manual, 06/2019, A5E47437747B AA
Comment
;no diameter programming is active
;Channel-specific diameter programming, in effect for X
;Dimensions: X in the diameter, Y in the radius
;axis-specific modal diameter programming,
;in effect for Y
;Dimensions: X and Y in diameter
;Dimensions: X G90/AC in the diameter, G91/IC in the ra-
dius
;Y: continuing, axis-specific modal diameter programming
;Dimensions: Y in the diameter, U non-modally IC in the
diameter
;Dimensions: X in the radius (G91), Y in the diameter
;Dimensions: X in the diameter, U in the radius
;Y accepts the channel status DIAM90
;Dimensions: X and Y in the radius(G91)
;Dimensions: X and Y in diameter
Comment
;no diameter programming is active
;Channel-specific diameter programming for X
;Dimensions: X in the diameter, Y in the radius
;Y axis-specific modal diameter programming
;Dimensions: X and Y in diameter
;Synchronous marker 1
;wait for synchronous marker 1 in channel 2
;channel 2 no diameter programming active
P1: Transverse axes
4.5 Examples
123

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents