EasyManua.ls Logo

Fagor BCSD - Page 42

Fagor BCSD
58 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
·42·
Installation manual
BCSD
System
4.
PLC
REF. 1711
PLC program
;*********************************************************************
;
MSTROBE ; M function
OR SSTROBE ; S function
OR TSTROBE ; T function
= TG1 1 50 ; Timer for AUXEND
;
T1 = B0R15 ; AUXEND for STROBE
;
DFU MSTROBE ; M function
AND M_POWER_ON ; Machine with power
= CAL L1 ; Label decoding M functions
;
;*********************************************************************
; AXIS ENABLE
;
; Management of CNC axis enable (SPENA/DRENA).
; Management of the vertical axis break.
;
;*********************************************************************
;
M_POWER_ON ; Machine with power
AND NOT LOPEN ; CNC loop OK
= SPENAX ; X axis drive command ON
= SERVOXON ; Close X axis loop
= SPENAY ; Y axis drive command ON
= SERVOYON ; Close Y axis loop
= SPENAZ ; Z axis drive command ON
= SERVOZON ; Close Z axis loop
= TG3 2 700 ; Axis disable timer DRENA
;
T2 ; Axis disable timer DRENA
= DRENAX ; X axis drive power ON
= DRENAY ; Y axis drive power ON
= DRENAZ ; Z axis drive power ON
;
; VERTICAL AXIS BRAKE
;---------------------------------------------------------------------
;
M_POWER_ON ; Machine with power
AND M_DRV_Z_TORQUE ; Z drive with torque
= O_BRAKE_Z ; O_BRAKE Z AXIS
;
;*********************************************************************
;SPINDLE TURN
;
; Management of spindle enable (M3/M4/M5/M19).
;
;*********************************************************************
;
;SINDLE STOP
;------------------------------------------------------------------------------------------------
;
DFU M5 ; Stop spindle
= RES M_SP1_REQUEST_M3M4 ; Spindle turn requested
= RES M_SP1_REQUEST_M19 ; Spindle orientation requested
;
RESETOUT ; CNC Reset
= RESETIN ; CNC RESET
= RES M_SP1_REQUEST_M3M4 ; Spindle turn requested
= RES M_SP1_REQUEST_M19 ; Spindle orientation requested
;
; SPINDLE ORIENTATION (M19)
;------------------------------------------------------------------------------------------------
;
DFU M19 ; Spindle orientation
= SET M_SP1_REQUEST_M19 ; Spindle orientation requested
= RES M_SP1_REQUEST_M3M4 ; Spindle turn requested
;

Related product manuals