14.6.2
14.
CNC 8070
(R
: 1911)
EF
·634·
Ejemplo de subrutina.
Ejemplo de subrutina Sub_Probe_Tool_Begin.fst suministrada por Fagor (a adaptar
por el 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
Ejemplo de subrutina Sub_Probe_Tool_End.fst suministrada por Fagor (a adaptar por
el OEM).
#ESBLK
;Deactivate PROBE1 Hardware by PLC output
#RETDSBLK
M a n u a l d e i n st a l a c i ó n .