Siemens SINUMERIK 840D sl Programming Manual page 470

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

Advertisement

Motion synchronous actions
10.4 Actions in synchronized actions
Example
The program environment affects the positioning travel of the positioning axis
(no G function in the action part of the synchronized action)
N100 R1=0
N110 G0 X0 Z0
N120 WAITP(X)
N130 ID=1 WHENEVER $R==1 DO POS[X]=10
N140 R1=1
N150 G71 Z10 F10
N160 G70 Z10 F10
N170 G71 Z10 F10
N180 M30
G71 in the action part of the synchronized action clearly determines the positioning travel of
the positioning axis (metric), whatever the program environment.
N100 R1=0
N110 G0 X0 Z0
N120 WAITP(X)
N130 ID=1 WHENEVER $R==1 DO G71 POS[X]=10
N140 R1=1
N150 G71 Z10 F10
N160 G70 Z10 F10
N170 G71 Z10 F10
N180 M30
If you do not want the axis motion to start at the beginning of the block, the override for the
axis can be held at 0 until the appropriate time from a synchronized action.
WHENEVER
10-44
$A_IN[1]==0 DO $AA_OVR[W]=0
G01 X10 Y25 F750 POS[W]=1500
FA=1000
;The positioning axis is halted as long as digital input 1 = 0
;Z=10 mm X=10 mm
;Z=254 mm X=254 mm
;Z=10 mm X=10 mm
;Z=10 mm X=10 mm
;Z=254 mm X=10 mm (X positioned
;always to 10 mm)
;Z=10 mm X=10 mm
Programming Manual, 03/2006 Edition, 6FC5398-2BP10-1BA0
Job planning

Advertisement

Table of Contents
loading

Table of Contents