Siemens SINUMERIK 840D sl Programming Manual page 687

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

Advertisement

Example 2:
Program environment influences the positioning travel of the positioning axis
(no G function in the action component of the synchronized action):
Program code
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 component of the synchronized action clearly defines the positioning travel
of the positioning axis (metric) independent of the program environment:
Program code
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 axis motion is not to be started at the beginning of the block, the override for the axis can
be held at 0 from a synchronized action up to the required starting instant:
Program code
WHENEVER $A_IN[1]==0 DO $AA_OVR[W]=0 G01 X10 Y25 F750 POS[W]=1500 FA=1000
Job Planning
Programming Manual, 06/2009, 6FC5398-2BP20-0BA0
Comments
; Z=10mm X=10mm
; Z=254mm X=254mm
; Z=10mm X=10mm
Comments
; Z=10mm X=10mm
; Z=254mm X=10mm (X always positions to 10mm)
; Z=10mm X=10mm
Comments
; The positioning axis is held as long as digital
input 1=0.
Motion synchronous actions
10.4 Actions in synchronized actions
687

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents