Siemens Sinumerik 840D sl Programming Manual page 638

Job planning
Hide thumbs Also See for Sinumerik 840D sl:
Table of Contents

Advertisement

Motion synchronous actions
10.5 Technology cycles
Axis program AXIS_Y:
Program code
POS[Y]=10 FA[Y]=200
POS[Y]=-10
M17
Axis program AXIS_Z:
Program code
POS[Z]=90 FA[Z]=250
POS[Z]=-90
M17
Example 2: Various program sequences in the technology cycle
Program code
PROC CYCLE
N10 DEF REAL VALUE=12.3
N15 DEFINE ABC AS G01
Both blocks are read over without the variables and/or macros being set-up.
Program code
PROC CYCLE
N10 DEF REAL
N15 DEFINE ABC G01
Both blocks still generate the NC alarm because the syntax is not written correctly.
Program code
PROC CYCLE
N10 DEF AXIS AXIS1=XX2
If axis XX2 is not known, alarm 12080 is output. Otherwise the block is read over without
alarms and without the variables being set up.
Program code
PROC CYCLE
N10 DEF AXIS AXIS1
N15 G01 X100 F1000
N20 DEF REAL VALUE1
Block N20 always generates alarm 14500, since a definition operation is not permitted after
the 1st program command.
638
Programming Manual, 02/2011, 6FC5398-2BP40-1BA0
Job planning

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de slSinumerik 828d

Table of Contents