·38·
Installation manual
BCSD
System
4.
PLC
REF. 1711
PLC program
;
;R18 ; START
;B1R18 ; START machine with no power
;B2R18 ; START automatic without axis reference
;
;R19 ; STOP
;B0R19 ; STOP machine with no power
;
; LEDBARS VARIABLES (R300 - R310)
;------------------------------------------------------------------------------------------------
;R301 ; Percentage Spindle Torque
;R302 ; Percentage X axis Torque
;R303 ; Percentage Y axis Torque
;R304 ; Percentage Z axis Torque
;R305 ; SV2 Spindle motor speed
;R306 ; SV2 X axis motor speed
;R307 ; SV2 Y axis motor speed
;R308 ; SV2 Z axis motor speed
;
; SERCOS VARIABLES (R700 - R704)
;------------------------------------------------------------------------------------------------
;R700..P28[SRR700]=4.33172 ; DV11 S (FAGOR Diagnostic)
;R701 P29[SRR701]=3.00084 ; TV2 Percentage Spindle Torque
;R702 P30[SRR702]=1.00084 ; TV2 Percentage X axis Torque
;R703 P31[SRR703]=2.00084 ; TV2 Percentage Y axis Torque
;R704 P32[SRR704]=3.00084 ; TV2 Percentage Z axis Torque
;R705 P33[SRR705]=4.00040 ; SV2 Spindle motor speed
;R706 P34[SRR706]=1.00040 ; SV2 X axis motor speed
;R707 P35[SRR706]=2.00040 ; SV2 Y axis motor speed
;R708 P36[SRR708]=3.00040 ; SV2 Z axis motor speed
;*********************************************************************
;MARKS
;*********************************************************************
;
; M FUNCTIONS (M1 - M100)
;------------------------------------------------------------------------------------------------
;M1 ; M01
;M3 ; Spindle CW
;M4 ; Spindle CCW
;M5 ; Stop spindle
;M6 ; Tool change
;M8 ; Coolant ON
;M9 ; Coolant OFF
;M19 ; Spindle orientation
;M41 ; Spindle gear 1
;M42 ; Spindle gear 2
;M43 ; Spindle gear 3
;M44 ; Spindle gear 4
;M100 ; M00
;
; GENERALS
;------------------------------------------------------------------------------------------------
DEF M_CNCRD M200 ; Auxiliary Marker for CNCRD / CNCWR
DEF M_CY1 M201 ; First PLC scan
DEF M_POWER_ON M202 ; Machine with power
DEF M_REFERENCE M203 ; Axis reference done
;
;CNC MODES
;------------------------------------------------------------------------------------------------
;
DEF M_MAN_CONV M210 ; CNC manual CONV mode
DEF M_MANUAL M211 ; CNC manual in any mode
DEF M_AUT_CONV M212 ; CNC automatic CONV mode
DEF M_AUTO_MODE M213 ; CNC automatic in any mode
;
;
;
;
;