14.6.2
14.
CNC 8060
CNC 8065
(R
: 1709)
EF
·624·
Example of a subroutine.
Example of a subroutine Sub_Probe_Tool_Begin.fst supplied by Fagor (to be
adjusted by the OEM).
#ESBLK
; Activate PROBE1 Hardware by PLC output.
; Check PROBE is READY with PLC Input from Probe Hardware.
#MSG["WAIT FOR ENABLING PROBE1"]
#WAIT FOR[V.PLC.PROBE1ENA==1]
#MSG[""]
; Select PROBE1 input for using in Probing.
#SELECT PROBE[1]
#FLUSH
$IF [V.G.PRBST1==1]
#WARNING["PROBE1 SIGNAL TOUCHING"]
M0
$ENDIF
; Check probe in safe mode feature is actived.
$IF [V.PLC.PROBE1MONIT==0]
#MSG["PROBE NOT IN SAFE MODE"]
$ENDIF
#RETDSBLK
#COMMENT BEGIN
PLC signals to add in the logic:
PROBE1ENA; PROBE1 is enabled confirmation signal to CNC.
If not used in PLC, it is actived by default.
PROBE1MONIT; It activates PROBE1 in SAFE mode.
If probe is actived in no G100/3 motion, CNC will stop motion and shows an error.
If not used in PLC, it is actived by default.
#COMMENT END
Example of a subroutine Sub_Probe_Tool_End.fst supplied by Fagor (to be adjusted
by the OEM).
#ESBLK
;Deactivate PROBE1 Hardware by PLC output
#RETDSBLK
I n s ta ll a t io n ma n u a l.