Motion synchronous actions
10.4 Actions in synchronized actions
Job planning
Programming Manual, 03/2006 Edition, 6FC5398-2BP10-1BA0
10-57
Example of on-the-fly parting
An extruded material which passes continuously through the operating area of a cutting tool
must be cut into parts of equal length.
X axis: Axis in which the extruded material moves. WCS
X1 axis: Machine axis of extruded material, MCS
Y axis: Axis in which cutting tool "tracks" the extruded material
It is assumed that the infeed and control of the cutting tool are controlled via the PLC. The
signals at the PLC interface can be evaluated to determine whether the extruded material
and cutting tool are synchronized.
Actions
Activate coupling, LEADON
Deactivate coupling, LEADOF
Set actual values, PRESETON
%_N_SCHERE1_MPF
;$PATH=/_N_WKS_DIR/_N_DEMOFBE_WPD
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 following parting
N1500 RELEASE(Y)
N1800 ID=6 EVERY $AA_IM[X]<10 DO LEADON(Y,X,1)
;Couple Y to X via table 1, for X < 10
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