Siemens SINUMERIK 840D sl Programming Manual page 717

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

Advertisement

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.
Job Planning
Programming Manual, 06/2009, 6FC5398-2BP20-0BA0
Motion synchronous actions
10.5 Technology cycles
717

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents