EasyManua.ls Logo

Fagor CNC 8055i FL EN - Page 640

Fagor CNC 8055i FL EN
732 pages
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...
·640·
Installation manual
CNC 8055
CNC 8055i
17.
PLC PROGRAMMING EXAMPLE
SOFT: V02.2X
Main module.
( ) = CNCRD(MPLC12,R31,M302) = CNCRD(MPLC13,R32,M302) =
CNCRD(MPLC14,R33,M302)
Assigns to registers R31, R32 and R33 the values of PLC parameters USER12 (P14), "USER13
(P15) and USER14 (P16).
( ) = CNCRD(DISTX,R41,M302) = CNCRD(DISTY,R42,M302) = CNCRD(DISTZ,R43,M302)
Assigns to registers R41, R42 and R43 the distance each axis has travelled.
CPS R41 GT R31 OR CPS R42 GT R32 OR CPS R43 GT R33
If the distance traveled by any axis exceeds the one set by machine parameter,......
= TG1 6 240000
...timer T6 must be activated in the mono-stable mode for 4 minutes (240000 milliseconds) and ......
= MOV 0 R39
= CNCWR(R39,DISTX,M302) = CNCWR(R39,DISTY,M302) = CNCWR(R39,DISTZ,M302)
...reset to "0" the count of the distance traveled by each axis.
Activate the lubricating (lubing) operation.
T2 OR T3 OR T5 OR T6 = O-LUBING
If any of these conditions is met, the lubing output will be activated.
DFD O-ENGRAS = TRS2 = TRS3 = TRS4 = TRS5 = TRS6
Once the lubricating operation has concluded, All timers must be reset to "0".
---- Coolant treatment ----
The CNC executes function M08 to turn the coolant on and function M09 to turn it off.
Also, in this case, the operator has a switch to select whether the coolant is activated manually by
the operator or automatically by the CNC.
I-REFMAN The operator control the coolant. Jog mode.
I-REFAUT The operator control the coolant. Automatic mode.
O-REFRIG Coolant on/off output.
I-COOLMA OR (I-COOLAU AND M-08) = O-COOL
Coolant ON.
RESETOUT = NOT O-REFRIG = RES M-08
The coolant will be turned off when the CNC is reset to initial conditions (RESETOUT) or when
executing functions M00, M02, M09 and M30.
This instruction does not contemplate functions M00, M02, M09 and M30 since the treatment of M,
S, T functions turns mark M-08 off when activating any of them.
----- Treatment of the general CNC input AUXEND -----
It is advisable to have one single instruction to control each one of the logic CNC inputs, thus
preventing undesired functioning.
When having several instructions which can activate or deactivate an input, the PLC will always
assign the result of analyzing the last one of those instructions.
This example shows how to group in a single instruction all the conditions that activate or deactivate
one logic CNC input.

Table of Contents

Related product manuals