Motion synchronous actions
10.4 Actions in synchronized actions
Job planning
608 Programming Manual, 07/2010, 6FC5398-2BP40-0BA0
Program code Comments
N100 R3=1500 ; Length of a part to be
cut off
N200 R2=100000 R13=R2/300
N300 R4=100000
N400 R6=30 ; Start position Y axis
N500 R1=1 ; Start condition for
conveyor axis
N600 LEADOF(Y,X) ; Delete any existing
coupling
N700 CTABDEF(Y,X,1,0) ; Table definition
N800 X=30 Y=30 ; Value pairs
N900 X=R13 Y=R13
N1000 X=2*R13 Y=30
N1100 CTABEND ; End of table
definition
N1200 PRESETON(X1,0) ; PRESET at beginning
N1300 Y=R6 G0 ; Start position Y axis,
axis is linear
N1400 ID=1 WHENEVER $AA_IW[X]>$R3 DO PESETON(X1,0) ; PRESET after length
R3, new start after
disconnecting
N1500 RELEASE(Y)
N1800 ID=6 EVERY $AA_IM[X]<10 DO LEADON(Y,X,1) ; For X < 10, couple Y
to X via table 1
N1900 ID=10 EVERY $AA_IM[X]>$R3-30 DO EADOF(Y,X) ; > 30 before traversed
parting distance,
deactivate coupling
N2000 WAITP(X)
N2100 ID=7 WHEN $R1==1 DO MOV[X]=1 FA[X]=$R4 ; Set extruded material
axis continuously in
motion
N2200 M30