9-20
Edition 04.91
;**********************
COB
;----------------------
CFB
;----------------------
SET
SET
;----------------------
SET
CFB
;----------------------
CSB
;----------------------
STH
DYN
RSB
STL
DYN
RSB
STH
DYN
JR
SET
RSB
;---------------------- ; End cyclic program
END:
ECOB
Cyclic program
0
0
AxHndlg
; Axis Handling
1
; X axis
RA1
FA1
F
FRdAP+FA1
; Read Actual Position
F
FRdSV+FA1
; Read Setpoint Velocity
F
DplM+FA1
; Diplay Mode = 2*6 digits
DP14
; Display on PCA2.D14
1
; Axis 1
F
DplM+FA1
; Display Mode
R
RActP+RA1
; Actual Position
R
RSetV+RA1
; Setpoint Velocity
0
; Call of the motion control program
I
0
; Manual operation mode
F
0
H
0
; Restart SB
0
; at Step 0
I
0
; Automatic operation mode
F
1
H
0
; Restart SB
0
; at Step 0
I
15
; Stop switch
F
15
L
END
F
FStop+FA1
; Stop X axis
0
; Restart SB
0
; at Step 0
© SAIA-Burgess Electronics SA
Exemples didactiques d'application