Spindle Motions - Siemens SINUMERIK 828D Programming Manual

Hide thumbs Also See for SINUMERIK 828D:
Table of Contents

Advertisement

Motion synchronous actions
10.4 Actions in synchronized actions
Example
Moving the control zero of an axis
Program code
WHEN $AA_IM[a] >= 89.5 DO PRESETON(a4,10.5)
10.4.20

Spindle motions

Function
Spindles can be positioned completely unsynchronized with respect to the part program from
synchronized actions. This type of programming is advisable for cyclic sequences or
operations that are strongly dependent on events.
If conflicting commands are issued for a spindle via simultaneously active synchronized
actions, the most recent spindle command takes priority.
Example of starting/stopping/positioning spindles
Program code
ID=1 EVERY $A_IN[1]==1 DO M3 S1000
ID=2 EVERY $A_IN[2]==1 DO SPOS=270
Example of setting the direction and speed of rotation/ positioning the spindle
Program code
ID=1 EVERY $A_IN[1]==1 DO M3 S300
ID=2 EVERY $A_IN[2]==1 DO M4 S500
ID=3 EVERY $A_IN[3]==1 DO S1000
ID=4 EVERY ($A_IN[4]==1) AND ($A_IN[1]==0) DO
SPOS=0
604
Comments
;
Shift the control zero of the
axis a through 10.5 length units
(inch or mm) in the positive axis
direction
Comments
;
Set the direction of rotation and
speed
;
Position spindle
Comments
;
Set the direction of rotation and
speed
;
Specify a new direction of
rotation and a new speed
;
Specify a new speed
;
Position spindle
Programming Manual, 07/2010, 6FC5398-2BP40-0BA0
Job planning

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents