Installation manual.
CNC 8060
CNC 8065
14.
SUBROUTINES.
Subroutines associated
with
the part
measur
ing
cycle.
·626·
(R
EF
: 1709)
14.7.2
Example of a subroutine.
Example of a subroutine Sub_Probe_Piece_Begin.fst supplied by Fagor (to be
adjusted by the OEM).
Example of a subroutine Sub_Probe_Piece_End.fst supplied by Fagor (to be adjusted
by the OEM).
#ESBLK
; Activate PROBE 2 Hardware by PLC output.
; Check PROBE is READY with PLC Input from Probe Hardware.
#MSG["WAIT FOR ENABLING PROBE2"]
#WAIT FOR[V.PLC.PROBE2ENA==1]
#MSG[""]
; Select PROBE 2 input for using in Probing.
#SELECT PROBE[2]
#FLUSH
$IF [V.G.PRBST2==1]
#WARNING["PROBE2 SIGNAL TOUCHING"]
M0
$ENDIF
; Check probe in safe mode feature is actived.
$IF [V.PLC.PROBE2MONIT==0]
#MSG["PROBE NOT IN SAFE MODE"]
$ENDIF
#RETDSBLK
#COMMENT BEGIN
PLC signals to add in the logic:
PROBE2ENA; PROBE 2 is enabled confirmation signal to CNC.
If not used in PLC, it is actived by default.
PROBE2MONIT; It activates PROBE2 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
#ESBLK
;Deactivate PROBE2 Hardware by PLC output
#RETDSBLK
Summary of Contents for CNC 8060
Page 1: ...Ref 1709 8060 8065 CNC Installation manual...
Page 10: ...BLANK PAGE 10...
Page 14: ...BLANK PAGE 14...
Page 20: ...BLANK PAGE 20...
Page 32: ...BLANK PAGE 32...
Page 36: ...BLANK PAGE 36...
Page 38: ...BLANK PAGE 38...
Page 40: ...BLANK PAGE 40...
Page 41: ...PART 1 INSTALLATION MANUAL...
Page 42: ...BLANK PAGE 42...
Page 532: ...Installation manual CNC 8060 CNC 8065 9 CNC VARIABLES 532 REF 1709...
Page 533: ...PART 2 CONCEPTS...
Page 534: ...BLANK PAGE 534...
Page 548: ...Installation manual CNC 8060 CNC 8065 10 GENERAL SETUP Configuration examples 548 REF 1709...
Page 644: ...Installation manual CNC 8060 CNC 8065 14 SUBROUTINES Assistance for subroutines 644 REF 1709...
Page 668: ...Installation manual CNC 8060 CNC 8065 15 HARDWARE Configure the PT100 inputs 668 REF 1709...
Page 697: ...Installation manual CNC 8060 CNC 8065 697 User notes REF 1709...