Motion-Synchronous Action
10
10.4 Actions within synchronized actions
840D
NCU 572
NCU 573
10.4.21 Spindle motions
Function
Spindles can be positioned completely
asynchronizedly 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.
Programming example
Start/stop/position spindles
ID=1 EVERY $A_IN[1]==1 DO M3 S1000
ID=2 EVERY $A_IN[2]==1 DO SPOS=270
Sequence of execution
If conflicting commands are issued for a spindle via
simultaneously active synchronized actions, the
most recent spindle command takes priority.
Programming example
Set direction and speed of rotation/
position spindle
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
10-380
810D
840Di
CCU2
SINUMERIK 840D/840Di/810D/FM-NC Programming Guide Advanced (PGA) – 04.00 Edition
Set direction and speed of rotation
Position spindle
Set direction and speed of rotation
Specify new direction and new speed of
rotation
Specify new speed
Position spindle
Siemens AG 2000. All rights reserved
08.97
10