Download Print this page

Siemens Sinumerik 840D Operating Turning page 115

Hide thumbs Also See for Sinumerik 840D:

Advertisement

Summary
With the subprogram technique any repeatable contour elements of the
work piece or special technological machining sequences can be pro-
grammed very effectively.
A subprogram can be called up by any program and can be executed any
number of times.
Subprogram call-up:
The call-up is effected simply by stating the name in the calling program.
Programming example:
....
N110 SUBR2
....
Jump back:
With the instruction "M17" in the subprogram the control unit jumps back to
the next block of the calling program following the call-up.
Note:
Contour elements that are to be executed at various geometrical loca-
tions on the same work piece must be programmed with incremental
dimensions.
The subprogram should not contain anything other than the geometrical
contour description. Hence the call-up of tools, rapid traverses, instruc-
tions regarding radius correction etc. must therefore be be dealt with in
the main program.
Modal instructions maintain their validity also after the jump back to the
main program. For this reason any instructions included merely for the
purpose of the subprogram (e.g. G91) must be cancelled before the
jump back to the main program.
840D/828D SINUMERIK Operate
Page 7
Section 5
Notes
B508
B508

Advertisement

loading

This manual is also suitable for:

Sinumerik 828d