Fagor 8040 MC CNC User Manual

Page 1
8040 CNC
N
EW
EATURES
F
REF. 0307
OFT
(S (S
M: 7.XX)
M: 7.1X)
Page 2
8040 CNC
NEW F
EATURES
(S
M: 7.XX)
OFT
M: 7.1X)
(S
OFT
Page 2 of 2
Page 3
NDEX
I
Version 7.01
1 Detected errors ..................................................................................................................1
2 Sampling period .................................................................................................................2
3 The meaningless zeros will not be displayed .....................................................................2
4 Management of the new Sercos board ..............................................................................3
5 Key inhibiting codes for the monitors .................................................................................3
6 New work languages ..........................................................................................................3
7 Load version without using an external microprocessor. ...................................................3
8 WINDNC improvements .....................................................................................................4
9 Telediagnosis .....................................................................................................................4
10 Improvements to the profile editor ......................................................................................6
11 Modified variables ..............................................................................................................6
12 New variables .....................................................................................................................7
13 New range of OEM subroutines. ........................................................................................9
14 RPT instruction with program number definition ................................................................9
15 Improved non-random tool magazine management ..........................................................9
16 Improved drive parameter management ..........................................................................10
17 User and OEM arithmetic parameters ..............................................................................10
18 Exponential type of leadscrew backlash peak .................................................................10
19 Functions associated to machine safety ..........................................................................11
19.1 Limit the feedrate of the axes and the spindle speed ................................................11
19.2 Cycle Start disabled by hardware errors ...................................................................12
19.3 Maximum spindle machining speed. .........................................................................12
20 Axes (2) controlled by a drive ...........................................................................................13
21 Mandatory home search ..................................................................................................13
22 Change of active tool from the PLC .................................................................................14
23 Synchronize a PLC axis with a CNC axis ........................................................................14
24 Error register ....................................................................................................................15
25 Path JOG mode ...............................................................................................................15
26 Tool inspection .................................................................................................................17
27 New instructions in the configuration language ................................................................17
28 Improvements in tool compensation ................................................................................18
29 Improvements in high speed machining ...........................................................................19
30 New graphics option .........................................................................................................20
31 Improvement in the tool measuring cycle PROBE1 .........................................................20
31.1 Measure or calibrate the tool length. .........................................................................21
31.2 Measure or calibrate the radius of a tool. ..................................................................23
31.3 Measure or calibrate the tool radius and length. .......................................................24
32 Oscilloscope function .......................................................................................................26
32.1 Configuration .............................................................................................................27
32.2 Scale / Offsets ...........................................................................................................32
32.3 Analysis .....................................................................................................................33
32.4 Parameters ................................................................................................................33
32.5 Actions .......................................................................................................................34
32.6 Begin .........................................................................................................................34
33 MC model. Execute a part-program .................................................................................35
34 MC model. Maintain F, S y Smax on power up ................................................................35
35 MC model. Messages and warnings ................................................................................35
36 MC model. Tool calibration ..............................................................................................35
37 MC model. Cycle selection ...............................................................................................36
38 MC model. Auxiliary M functions in all the cycles ............................................................37
39 MC model. Modifications in the tapping cycle ..................................................................38
40 MC model. Modifications in the Multiple milling and positioning cycles ...........................38
41 MC model. Icon indicating the available options ..............................................................38
42 MC model. Tool measurement and calibration ................................................................39
NEW F
EATURES
Page i of ii
8040 CNC
Page 4
8040 CNC
Version 7.11
1 Detected errors ................................................................................................................43
2 New validation codes .......................................................................................................45
3 Smooth stop in probing move (G75/G76) ........................................................................45
4 Square-corner or round-corner machining when changing tool offset .............................45
5 New management of the distance-coded reference mark (I0) .........................................46
6 Improved look ahead ........................................................................................................46
7 Leadscrew error compensation in both directions ............................................................46
8 Parameters accessible from the oscilloscope or OEM subroutine ...................................47
8.1 Axis parameters that may be modified from the oscilloscope ...................................47
8.2 General parameters modifiable from the oscilloscope ..............................................47
8.3 Machine parameters modifiable from an OEM program ...........................................47
NEW F
EATURES
Page ii of ii
Page 5
ERSION
V
7.01

1 Detected errors

NBTOOL Variable
The installation and programming manuals indicate that this variable is read-only from the CNC, PLC and DNC.
Actually, it is read-only from the CNC and DNC and it can only be used inside a tool-change subroutine.
OPMODE Variable
This variable also returns the following code:
8040 CNC
25 Rapid simulation with S=0 56 User parameter table 57 OEM parameter table
117 Oscilloscope.
Probe canned cycle for surface measurement (PROBE 3)
The moving direction with K1 is as shown in this figure.
Connection of the KS50/55 adapter:
The installation manual describes how to use this adapter, but the correct connection is the following:
NEW F
EATURES
(S
M: 7.XX)
OFT
Detected errors
Page 1 of 48
Page 6
8040 CNC
Main plane simulation
25-pin female SUB-D type (normal density) connector to connect
X1
the "Central Unit + Monitor".
25-pin female SUB-D type (normal density) connector to connect
X2
the "Alphanumeric keyboard + Monitor".
25-pin female SUB-D type (normal density) connector to connect
X3
the "Operator panel".
3-pin male Phoenix connector, 7,62 mm pitch, to select the
X4
keyboard to be attended by the Central Unit.
Pin Value Meaning
10V
2 3
GND
The CNC attends to the operator panel
24V
The CNC attends to the alphanumeric keyboard
----
Not being used External power supply
If connector X4 is not supplied with voltage, the CNC attends to the operator panel.
Page 2 of chapter 3 of the operating manual does not mention this type of simulation.
It only executes the movements corresponding to the axes that form the main plane.
It takes into account the tool radius compensation (functions G41, G42) thus drawing the tool center path.
It sends the M, S, T functions to the PLC.
It starts the spindle, if programmed.
The axes move at maximum feedrate F0 regardless of the F that was programmed and it may be varied with the Feedrate Override switch.

2 Sampling period

From this version on, on the 8055/C and 8055i/C models that do not have the CPU turbo, it is possible to set a sampling period of 2 milliseconds g.m.p. “LOOPTIME (P72)”.
The following values may be allocated to plc.m.p. "CPUTIME (P26) that sets the time the System CPU dedicates to the PLC when programming a "LOOPTIME = 2 ms":
CPUTIME = 0 1 ms every 8 samplings, every 16 ms CPUTIME = 1 1 ms every 4 samplings, every 8 ms CPUTIME = 2 1 ms every 2 samplings, every 4 ms
By default 0
N
EW FEATURES
(S
M: 7.XX)
OFT
Sampling period
Page 2 of 48

3 The meaningless zeros will not be displayed

From this version on, the data displayed on the screen (positions, feedrates, etc.) will not display the meaningless zeros to the left of the value. Example:
From this version on Z -4.210
Previous versions Z -00004.210
Page 7

4 Management of the new Sercos board

This software version is ready to work with the new Sercos boards, reference: 902103 and newer.
The "Hardware diagnosis" function shows these boards as "SERCOS816" because they carry the SERCON 816 chip.

5 Key inhibiting codes for the monitors

The inhibiting codes for softkeys F1 through F7 of monitors models such as “NMON-55-11-LCD” are:
F1 F2 F3 F4 F5 F6 F7
Bit 24
R508
Bit 25
R508
Bit 26
R508
Bit 27
R508

6 New work languages

Basque and Russian are now available from this version on.
Bit 28
R508
Bit 29
R508
8040 CNC
Bit 30
R508
LANGUAGE (P122)
Defines the work language
Possible values:
0 English 1 Spanish 2 French 3 Italian 4 German 5 Dutch 6 Portuguese 7 Czech 8 Polish 9 Mainland Chinese 10 Basque 11
Russian
By default 0

7 Load version without using an external microprocessor.

This feature is available on 8040 CNC models whose identifying label shows "03 A" or later and whose software version is V07.01 or later.
It is not necessary to turn the CNC off and back on or actuate the external switch to update the software version, as indicated in section 2.2 of the Operating Manual.
To update the CNC software, proceed as follows:
Remove the "Memkey Card" and insert the "Memory Card" that
contains the software version to be updated.
Access the Diagnosis mode - Software Configuration and press
the [Load version] softkey.
The CNC will show the software updating stages and their status.
When done updating it, remove the "Memory Card" that contains
the software version and insert the "Memkey Card" back.
Note:
If the "[load version]" softkey is pressed but the Memory Card containing the software version is missing, the CNC will issue the relevant error message.
The CNC cannot execute anything if it has the Memory Card that contains the software version.
NEW F
EATURES
(S
M: 7.XX)
OFT
Management of the
new Sercos board
Page 3 of 48
Page 8
8040 CNC
(
)
Línea telefónica

8 WINDNC improvements

From this CNC version on and having WINDNC version V2.0 and the following, it is possible:
Select the work unit for CNC files Option (a).
(b)
(c)
(a)
(d)
Then indicate the desired work unit: Memory (b), Hard Disk (c) or Card A (d).
From a PC, using the WINDNC application, copy from the CNC
to the PC or vice versa, any file, program or table available in the CARDA or hard disk. The available new tables are:
OEP OEM arithmetic parameters USP USER arithmetic parameters DRS Spindle drive table DS2 Table of the Second Spindle drive DPX Table for the Auxiliary spindle drive DRX, DRY,
DRZ, DRU, DRV, DRW, DRA, DRB, DRC
These tables are compatible with the tables that have been saved from the drive to a PC via serial line using WINDDS.
Tables for axis drives
N
EW FEATURES

9 Telediagnosis

It may be used to govern and monitor the CNC status remotely through the RS232 serial line or using a modem through a telephone line.
Consult the table directory (machine parameters, zero offsets, magazine, tools, tool offsets, geometry, user parameter, OEM parameter, etc.).
Read global and local arithmetic parameters individually using variables GUPn and LUP(a,b).
The installation and programming manuals describe how to use these variables.
Having telediagnosis, display CNC screens at the PC in remote mode via serial line or via MODEM.
Having telediagnosis, dial the telephone number associated with the modem at the PC.
CNC PC
(RS232)
RS232
(S
improvements
Page 4 of 48
M: 7.XX)
OFT
WINDNC
CNC PC
Módem
Módem
Telephone line
Internet - RDSI
Page 9
The remote PC must have the WINDNC application version 2.00 or later installed in it and the CNC software version must be V07.01 or later.
CNC connection to the telephone line
It must be done through the RS232 serial line and using a modem that has RS232 serial line communication.
First, turn on the modem, then the CNC and then the remote PC, in that order.
PC connection to the telephone line
Connect the PC to the telephone line through a modem and execute the WINDNC application. Within the options for the serial line, select
(a)
option (a).
The application shows the following window. Indicate which modem is being used and the telephone number to dial.
8040 CNC
PC-CNC communication (Telediagnosis)
Once the connection has been established (either via serial line or via modem), select the "telediagnosis" option (b) of the WINDNC
(b)
application.
From this moment on, the CNC may be governed either from its own keyboard or remotely from the PC keyboard.
The PC will display the same information (screens) as the CNC.
It is possible to access the different CNC modes, modify tables
and parameters when knowing the password, simulate programs, etc.
For safety reasons, it is not possible to move the axes of the
machine or execute part-programs.
With the WINDNC application, it is also possible to send to the CNC a file containing a keystroke sequence, option (c).
(c)
While in remote control mode, no other DNC command may be executed through the same serial line (for example the execution of an infinite program).
With option (d), it is possible to save into a BMP file a CNC screen image that is being displayed.
(d)
NEW F
EATURES
(S
M: 7.XX)
OFT
Telediagnosis
End the communication (End telediagnosis)
To end the communication, select option (e) from those associated to the serial line in the WINDNC application.
(e)
Page 5 of 48
Page 10

10 Improvements to the profile editor

The following improvements have been made:
It is possible to select the coordinate system of the work plane, axes and their direction.
8040 CNC
The right window, under "Display Area", indicates whether the autozoom is on or not and the selected coordinate system.
It includes graphic data editing. Use the up-arrow and down-arrow keys to select the desired window and key in the desired value.
It is possible to modify rectangular and circular elements.
There are 2 new softkeys:
Save and continue
To save a profile without having to quit the session.
Undo
To undo the last modification.
On conversational models, MC and MCO, it indicates the number of the profile being edited.

11 Modified variables

HARCON
It indicates, with bits, the CNC's hardware configuration.
The bit will be "1" when the relevant configuration is available.
From now on, bits 24, 25, 26 indicate the type of monitor and bits 27, 28 the CPU turbo board being used.
26,25,24 000
bit
001
28,27 00
01
Color LCD Monitor Monochrome LCD monitor
Turbo board at 25 Mhz Turbo board at 40 Mhz
N
EW FEATURES
(S
M: 7.XX)
OFT
Improvements to the profile editor
Page 6 of 48
MPGn
MP(X-C)n
MPSn
MPSSn
MPASn
MPLCn
These variables, related to machine parameters, that until now were read-only, from this version on, can be read and written from the CNC in the following cases:
When they are executed inside an OEM program.
When they are executed inside an OEM subroutine.
To modify machine parameters from the PLC, an OEM subroutine containing the relevant variables must be executed using the CNCEX instruction.
In order for the CNC to assume the new values, one must operate according to the indicators associated with each machine parameter.
// It is necessary to press the keystroke sequence: "Shift -
Reset" or turn the CNC off and back on.
/ Just press Reset.
The rest of the parameters (those unmarked) will be updated automatically, only by changing them.
Page 11

12 New variables

Feedrate related variables
FREAL(X-C)
FTEO(X-C)
Actual (real) X-C axis feedrate Is read-only from the CNC, DNC and PLC.
Theoretical X-C axis feedrate Is read-only from the CNC, DNC and PLC.
Coordinate related variables
DPLY(X-C)
DRPO(X-C)
GPOS(X-C)n p
"Coordinates of the selected axis" displayed on the screen Is read­only from the CNC, DNC and PLC.
Position indicated by the X-C axis Sercos drive (Sercos variable PV51 or PV53 of the drive). Is read-only from the CNC, DNC and PLC.
Programmed coordinate for a particular axis (X-C), in the indicated block (n) and program (p).
(P100 = GPOSX N99 P100)
It assigns to P100 the value of the coordinated programmed for the X axis in label N99 and located in program P100.
It Is read-only and it is only enabled at the CNC. Only programs located in RAM memory may be consulted.
8040 CNC
If the defined program number does not exist, it issues Error 69
"Program does not exist".
If the defined block number does not exist, it issues error 1060
"undefined label".
If the requested axis is not programmed in the indicated block, it
returns the value: 100000.0000
Spindle related variables
DRPOS
SDRPOS
FTEOS
SFTEOS
Position indicated by the Sercos drive of the spindle. Is read-only from the CNC, DNC and PLC.
Position indicated by the Sercos drive of the second spindle. Is read­only from the CNC, DNC and PLC.
Theoretical spindle turning speed. Is read-only from the CNC, DNC and PLC.
Theoretical second spindle turning speed. Is read-only from the CNC, DNC and PLC.
Speed limit related variables
NEW F
(S
OFT
EATURES
M: 7.XX)
MDISL
Maximum spindle machining speed. It is read-write from the PLC and read-only from DNC and CNC.
This variable is also updated with the programmed S value, in the following cases:
When programming "G92 S" in MDI mode
New variables
Page 7 of 48
Page 12
When programming "G92 S" in ISO code in MC mode.
Variables related to Probe cycles
8040 CNC
TIPPRB
TIPDIG
It indicates the PROBE cycle being executed at the CNC. Is read­only from the CNC, DNC and PLC.
It indicates the DIGIT cycle being executed at the CNC. Is read-only from the CNC, DNC and PLC.
PLC related variables
PLCMM(n)
It permits reading modifying a single PLC mark (the PLCM variable permits reading or modifying 32 marks at once). It is read-write and it is only available from the CNC.
(PLCMM4 = 1)
It sets mark M4 to "1" and leaves the rest untouched
(PLCM4 = 1)
It sets mark M4 to "1" and the following 31 marks (M5, through M35) to "0"
Feedback related variables
ASIN(X-C)
"A" signal of the CNC sinusoidal feedback for the X-C axis. Is read­only from the CNC, DNC and PLC.
N
EW FEATURES
(S
M: 7.XX)
OFT
New variables
BSIN(X-C)
ASINS
BSINS
SASINS
SBSINS
"B" signal of the CNC sinusoidal feedback for the X-C axis. Is read­only from the CNC, DNC and PLC.
"A" signal of the CNC sinusoidal feedback for the spindle. Is read­only from the CNC, DNC and PLC.
"B" signal of the CNC sinusoidal feedback for the spindle. Is read­only from the CNC, DNC and PLC.
"A" signal of the CNC sinusoidal feedback for the second spindle. Is read-only from the CNC, DNC and PLC.
"B" signal of the CNC sinusoidal feedback for the second spindle. Is read-only from the CNC, DNC and PLC.
Variables related to the WGDRAW application
PANEDI
DATEDI
Number of the screen created by the user or by the OEM using the WGDRAW application for diagnosis, consultation, work cycle, etc, that is being consulted. Is read-only from the CNC, DNC and PLC.
Number of the screen element created using the WGDRAW application that is being consulted. Is read-only from the CNC, DNC and PLC.
Page 8 of 48
Page 13

13 New range of OEM subroutines.

A new range of OEM subroutines has now been defined.
Available subroutine ranges:
General subroutines SUB 0001 - SUB 9999 OEM subroutines SUB 10000 - SUB 20000
Although OEM subroutines are treated like the general ones, the have the following restrictions:
They can only be defined in OEM programs, having the [O]
attribute. Otherwise, it shows error 63 "Program subroutine number between 1 and 9999.".
If the subroutine to be executed using CALL, PCALL or MCALL
is an OEM subroutine and it is located in a program that does not the [O] attribute, it will issue Error 1255 "Subroutine restricted to OEM program".

14 RPT instruction with program number definition

From this version on, the RPT instruction can execute a portion of the same program or of the indicated program.
8040 CNC
(RPT N(expression), N(expression), P(expression))
The new parameter "P" indicates the number of the program located in RAM memory containing the two blocks defined by the N labels.
If parameter "P" is not defined, the CNC interprets that the portion
to be repeated is located in the same program.
If the defined program number does not exist, it issues Error 69
"Program does not exist".
Warning:
Since the RPT instruction does not interrupt block preparation or tool
i
compensation, it may be used when using the EXEC instruction and while needing to maintain tool compensation active.

15 Improved non-random tool magazine management

When the tool changer is configured as non-random, the tools must be placed in the tool magazine table in the pre-established order (P1 T1, P2 T2, P3 T3, P4 T4, etc.).
TOOLMATY (P164)
With this improvement, it is possible to assign several tools to each tool position.
This g.m.p. is taken into account when using a non-random tool magazine. It indicates how many tools may be assigned to each turret position.
0 One tool per position 1 Several tools per position.
By default 0
NEW F
EATURES
(S
M: 7.XX)
OFT
New range of OEM
subroutines.
Page 9 of 48
Page 14

16 Improved drive parameter management

From this version on, it also possible to save and load into a peripheral device or PC the drive parameter tables via Sercos serial line.
8040 CNC
For that, select the parameter page of the desired drive at the CNC and press the relevant softkey.
A file saved from the CNC via WINDNC may be loaded into the drive via DDSSETUP and vice versa.

17 User and OEM arithmetic parameters

There are now two new ranges of global arithmetic parameters.
User parameters Range: P1000 - P1255. OEM parameters Range: P2000 - P2255
For compatibility with previous versions, global arithmetic parameters P100-P299 are maintained and may be used by the user, by the OEM and by the CNC cycles.
There are now 2 new tables of global arithmetic parameters.
Arithmetic parameter tables available:
GUP Global parameters P100-P299 USP User parameters P1000-P1255 OEP OEM parameters P2000 - P2255
Changing an OEM parameter requires an OEM password.
N
EW FEATURES
(S
M: 7.XX)
OFT
Improved drive
parameter
management
OEM parameters and subroutines having OEM parameters may only be written in OEM programs having the [O] attribute.
On the MC and MCO models, when using OEM parameters in the configuration programs, these programs must have the [O] attribute. If they don't, an error will be issued when editing a user cycle that refers to OEM parameters in write mode.
General machine parameters “ROPARMIN” and “ROPARMAX” may be used to protect any global parameter (user and OEM included) against being written.
There is no restriction to read these parameters.

18 Exponential type of leadscrew backlash peak

The additional command pulse used to make up for the possible leadscrew backlash in movement reversals may be rectangular or exponential.
If the duration of the rectangular pulse is adjusted for low speed, it could be excessive for high speed or insufficient for low speed when adjusted for high speed.
Page 10 of 48
In this cases, it is recommended to use the exponential type that applies a strong pulse at the beginning and decreases in time.
Page 15
Bit 16 of g.m.p. ACTBAKAN (P144) indicates the backlash peak being used.
0 rectangular leadscrew backlash peak 1 exponential type of leadscrew backlash peak
By default 0
ACTBAKAN (P144)
A finer tuning of the leadscrew backlash consists in testing the circle geometry and watch for internal peaks when changing quadrants (left figure). In these cases, it is recommended to set bit 15 of g.m.p. ACTBAKAN (P144) to "1" to eliminate the internal peaks.
Under these conditions, the CNC eliminates the leadscrew backlash peak as soon as it detects a movement reversal. If the internal peaks are not eliminated, adjust the leadscrew backlash compensation better.
It has 16 bits counted from left to right.
bit Function bit Function
19 210
Additional pulse with G2
3
412 513 614
715
816
/ G3
11
It minimizes internal peaks
detected with the circle
geometry test
Exponential leadscrew
backlash peak
8040 CNC
By default, all bits are set to "0".

19 Functions associated to machine safety

19.1 Limit the feedrate of the axes and the spindle speed
It is possible to limit the feedrate of the axes and the spindle turning speed.
FLIMIT (P75) SLIMIT (P66)
FLIMITAC (M5058)
SLIMITAC (M5059)
The a.m.p. "FLIMIT" sets the maximum feedrate for each axis and the s.m.p. "SLIMIT" sets the maximum turning speed for each spindle.
When the PLC sets this signal high, it limits the feedrate of all the axes. It does not let any feedrate to exceed the value set by the corresponding a.m.p. "FLIMIT (P75)" .
When the PLC sets this signal high, it limits the speed of all the spindles. It does not let any feedrate to exceed the value set by the corresponding s.m.p. "SLIMIT (P66)" .
The limitation is applied in all work modes, including the PLC channel. When the mark is high, the CNC applies the limitation and when going low, it restores the programmed F or S.
NEW F
EATURES
(S
M: 7.XX)
OFT
Functions
associated to
machine safety
Page 11 of 48
Page 16
When the spindle moves with PLCCNTL, the spindle limitation is ignored.
19.2 Cycle Start disabled by hardware errors
8040 CNC
If when pressing the Cycle-Start key, a hardware error is detected (Sercos board error, CAN board error, etc.), the CNC issues the corresponding error message and does not allow executing or simulating the program.
19.3 Maximum spindle machining speed.
To limit the spindle speed, use the MDISL variable associated with speed limits. It is read-write from the PLC and read-only from DNC and CNC.
This variable is also updated with the programmed S value, in the following cases:
When programming "G92 S" in MDI mode
When programming "G92 S" in ISO code in MC mode.
In MC mode, when a new speed limit is defined in the "SMAX"
field.
The speed limits entered via CNC, PLC (PLCSL) and DNC (DNCSL) keep the same functionality and priority unaffected by the new MDISL variable; in other words, the CNC keeps limiting the spindle speed like until now.
In order to comply with the safety regulation, it is recommended to manage from the PLC the variables associated with speed limits as shown in the following example:
N
EW FEATURES
(S
M: 7.XX)
OFT
Functions
associated to
machine safety
Page 12 of 48
A new part-program cannot be executed without previously
entering the speed limit. Otherwise, a message will be displayed.
If the program is executed again, the limit does not have to be entered again, it is only required when executing the program for the first time.
While executing a program if a new limit is entered in MDI, the
new one will replace the previous one.
In independent MC cycles it is not required to enter the SMAX
because it is already defined in each cycle.
If the program being executed already has a G92S, it will be
validated only if it is smaller than the one programmed in MDI.
When having two main spindles, the speed limit entered will be
valid for both.
PRG REA ()=CNCRD(OPMODA,R100,M1000) ; Reading of OPMODA B0R100 AND INCYCLE = M100 ; Indicator of program in execution ; DFU M100 ; At the beginning of the execution = CNCRD(PRGN,R101,M1000) ; reads the program in execution = CNCRD(MDISL,R102,M1000) ; and the S limitation from MDI ; M100 ; During the execution = CNCRD(PRGSL,R103,M1000) ; and the S limitation from CNC ; M100 AND CPS R101 NE R201 ; If new program in execution = M101 ; activates mark M101 ; M100 AND CPS R101 EQ R201 ; If same program in execution
Page 17
= M102 ; activates mark M102 ; M101 ; If new program in execution AND CPS R102 EQ 0 ; and the "S" has not been limited from MDI = ERR10 ; Error 10: "The S has not been limited from
MDI" ; M101 ; If new program in execution AND CPS R102 NE 0 ; and the "S" has been limited from MDI = MOV R101 R201 ; it copies the number of the program in
execution = MOV R102 R202 ; and the S limitation from MDI ; M102 ; If same program in execution AND CPS R102 NE 0 ; and the "S" is limited again from MDI = MOV R102 R202 ; it copies the S limitation from MDI ; M100 ; If program in execution AND CPS R202 LT R103 ; and "S" limitation from MDI < "S" limitation
from CNC = CNCWR(R202,PLCSL,M1000) ; Applies "S" limitation from the PLC with the
value set in MDI ; M100 ; If program in execution AND CPS R202 GT R103 ; and "S" limitation from MDI > "S" limitation
from CNC = CNCWR(R210,PLCSL,M1000) ; It does not limit "S" from PLC (R210=0) ; DFD M100 ; At the end of execution = CNCWR(R210,PLCSL,M1000) ; it cancels "S" limitation from the PLC = CNCWR(R210,MDISL,M1000) ; and it resets the MDISL variable ; END
8040 CNC

20 Axes (2) controlled by a drive

Until this version, when having 2 axes controlled by a single drive, the polarity of the analog output (command sign) always corresponded to that of the main axis.
From this version on, since sometimes the turning direction of the two axes may be different, the sign of the command for each axis will taken into account [the one set by a.m.p LOOPCHG (P26)”].
Warning
This new version is not compatible with previous versions. On machines having axes controlled by a single drive the secondary axis might run away. Before installing the new software, make sure that the a.m.p. "LOOPCHG (P26)" of the associated axis has the same value as that of the main axis.

21 Mandatory home search

The CNC forces a home search on an axis by setting the relevant REFPOIN* mark low in the following cases:
On CNC power-up
After executing SHIFT RESET
When the feedback is direct through the axes board and a
feedback alarm occurs.
NEW F
EATURES
(S
M: 7.XX)
OFT
Axes (2) controlled
by a drive
Page 13 of 48
Page 18
When losing feedback count via Sercos due to broken
communication. Difference greater than 10 microns (0.00039") or 0.01º
When changing machine parameters that affect the memory
distribution, for example: number of axes.
8040 CNC
In all these cases, a home search must be carried out so the signal is set back high.

22 Change of active tool from the PLC

If the tool change process is interrupted, the values of the tool magazine table and active tool may not reflect the machine's reality.
To update the tool table, variables TOOL, NXTOOL, TOD and NXTOD that until now were read-only are now read-write from the PLC as long as a block or a part-program is not being executed or simulated.
TOOL Number of the active tool NXTOOL Number of the next tool that is selected, but waiting for the
execution of an M06 to become active. TOD Number of the active tool offset NXTOD Number of the offset of the next tool that is selected, but
waiting for the execution of an M06 to become active.
This way, it is possible to resume the tool change from the PLC and redefine the tool table according to their positions using the TMZT variable.
To allocate a magazine position to the tool that is considered active by the CNC and is physically in the tool magazine, proceed as follows:
Cancel the tool, TOOL=0 and TOD=0
1.
Assign the relevant position using the TMZT variable.
2.
N
EW FEATURES
(S
M: 7.XX)
OFT
Change of active
tool from the PLC
When trying to write in variables TOOL, NXTOOL, TOD and NXTOD check the OPMODA variable to make sure that no block or part­program is being executed or simulated. The following bits must be at "0".
OPMODA
bit 0 Program in execution bit 1 Program in simulation bit 2 Block in execution via MDI, JOG bit 8 Block in execution via CNCEX1

23 Synchronize a PLC axis with a CNC axis

To synchronize an axis of the PLC channel with another one of the CNC channel (main channel), set a.m.p. SYNCHRO (P3) of the PLC axis indicating which axis it must synchronize with.
Axis synchronization is carried out from the PLC by activating the general input "SYNCHRO" of the axis to be coupled as slave (PLC axis).
To assure that both axes are stopped when they are being synchronized, we suggest:
Page 14 of 48
Page 19
To execute a special M function at the CNC so the PLC executes
another M function in the PLC channel and activates the general input "SYNCHRO".
The M function of the main channel must not end until the PLC's
M function execution is completed and the ENABLE signal of the slave axis is set high.
Once both axes are synchronized, it won't be possible to program movements of the PLC axis. Otherwise, error 1099 will be issued: "Do not program a slaved axis".
During synchronization, it does not check whether the PLC axis gets in position or not. For this reason:
The logic output "ENABLE" of the PLC axis is activated (allowing
motion).
The logic output "INPOS" of the PLC axis is deactivated (the axis
is NOT in position).
General input "INHIBIT" of the PLC axis is ignored, thus not being
possible to prevent it from moving.
The execution of the movement of the synchronized slave axis
cannot be aborted even by activating the general input "PLCABORT".
8040 CNC

24 Error register

If an error occurs canceling the "ENABLE" logic outputs of all the axes, it also cancels the synchronization.
To end synchronization, cancel the "SYNCHRO" general input of the PLC axis.
To assure that the PLC axis recovers its position after the synchronization, it is recommended to use other 2 special M functions, one at the CNC and another one at the PLC.
The "CNC" screen of the "STATUS" mode offers the softkey: [BB].
Pressing this softkey displays the error history indicating the error number and when it occurred.
This information is very useful to the service technician. Pressing the [SAVE] softkey requests the number of the CNC program to store that information.
If the service department asks you for that program, transfer it to a PC via DNC and send it to the corresponding address via internet.

25 Path JOG mode

It is similar to the "Path Handwheel" mode.
The "Path Handwheel" mode acts at the Handwheel position of the selector switch whereas the "Path JOG" acts at the continuous and incremental jog positions of the selector switch.
"Path JOG" may be used to act upon the jog keys of an axis to move both axes of the plane at the same time for chamfering (straight sections) and rounding (curved sections).
The CNC assumes as "Path JOG" the keys associated with the X axis.
NEW F
EATURES
(S
M: 7.XX)
OFT
Error register
Page 15 of 48
Page 20
This feature must be managed from the PLC.
To turn on or off the "Path JOG" work mode, use CNC logic input MASTRHND M5054,
M5054 = 0 "Path JOG" function off. M5054 = 1 "Path JOG" function on.
8040 CNC
To indicate the type of movement, use CNC logic input HNLINARC M5053
M5053 = 0 Linear Path M5053 = 1 Circular path.
For a linear path, indicate the path angle in the MASLAN variable (value in degrees between the linear path and the first axis of the plane)
For an arc, indicate the arc center coordinates in the MASCFI, MASCSE variables (for the first and second axes of the main plane)
Variables MASLAN, MASCFI and MASCSE may be read and written from the CNC, DNC and PLC.
Operation
N
EW FEATURES
(S
M: 7.XX)
OFT
Considerations
When pressing one of the associated keys, X+ and X-, the CNC acts as follows:
Selector
Switch
Position
Continuous
Incremental
Handwheel It ignores the keys.
Path JOG Type of movement
OFF
ON
OFF
ON
Only the axis and in the indicated direction
Both axes in the indicated direction along the indicated path
Only the axis, the selected distance and in the indicated direction
Both axes, the indicated distance and direction, but along the indicated path
The rest of the keys always operate the same way regardless of whether the "Path JOG" function is on or off. It only moves the selected axis and in the indicated direction.
It assumes as axis feedrate the one selected in JOG mode and it is affected by the override. If F0 is selected, it assumes the one indicated by a.m.p. JOGFEED (P43). The [Rapid] key is ignored.
Path JOG mode
Page 16 of 48
The movements in "Path JOG" observe the travel limits and zone boundaries
The movements in "Path JOG" may be aborted:
By pressing the [CYCLE STOP] key
By selecting one of the handwheel positions of the JOG selector
switch.
Page 21

26 Tool inspection

By setting the general logic input MASTRHND (M5054) =0. Setting the general logic input \STOP (M5001)”=0.
The I and K values
Warning
The tool inspection mode now offers a new option: "Modify Offsets". This window shows (at the top) a help graphic and the tool fields that can be edited.
When editing the active tool, it is possible:
To modify the I and K data. Select another tool for calibration (T xx Enter).
When NOT editing the active tool, it is possible:
To modify the I, K and D data. Select another tool for calibration (T xx Enter).
The values entered in the I, K fields are incremental, they are added to the ones already in the table. The "I" data is given in diameter.
The new g.m.p. MAXOFFI (P165) and MAXOFFK (P166) indicate the maximum value that may be entered in each field. When trying to enter a greater value, the relevant message will be displayed.
To assume the new I and K values, select the tool again.
8040 CNC

27 New instructions in the configuration language

The new token "UNMODIFIED" of the configuration language indicates that the associated element must not take the editing focus.
;(UNMODIFIED)
It is programmed as a prefix of the instructions
;(W1=GUP100)
It may be used to associate the "W1" data with the value of a global parameter, variable or resource of the PLC and the "W1" element is assigned the editing focus.
;(AUTOREFRESH W6=FLWEX)
It refreshes (updates) the value of the graphic element W6 and it assigns the editing focus to it.
The resulting new instructions are:
;(UNMODIFIED W1=GUP170)
It associates the "W" data with the value of a global parameter, variable or resource of the PLC, but the "W1" element does not take the editing focus.
;(UNMODIFIED AUTOREFRESH W6=FLWEX)
It refreshes (updates) the value of the graphic element W6 but it does not take the editing focus.
NEW F
EATURES
(S
M: 7.XX)
OFT
Tool inspection
Page 17 of 48
Page 22

28 Improvements in tool compensation

8040 CNC
COMPTYPE (P74)
From this version on, this g.m.p. has two digits.
The units set the beginning and end of radius compensation applied by the CNC (like it was before).
x0 It approaches the starting point going around the corner x1 it goes directly perpendicular to the point (without going
around the corner)
COMPTYPE= x0 COMPTYPE= x1
The tens indicate whether the additional block of the compensation is executed at the end of the current block or at the beginning of the next block with compensation.
00 It is executed at the end of the current block (like in previous
versions).
N
EW FEATURES
(S
M: 7.XX)
OFT
Executing block by block (single block mode), the first movement ends at point "B".
10 It is executed at the beginning of the next block with
compensation
Executing block by block (single block mode), the first movement ends at point "A".
By default COMPTYPE=00
When the beginning or end of the compensation takes place to a different plane (there is an intermediate vertical movement) and at an angle greater than 270º it is recommended to check the CNC's behavior as shown next:
At the beginning of the compensation, the tool should be positioned before penetrating into the part. The additional block must be
Improvements in
tool compensation
Page 18 of 48
Page 23
executed in the upper plane and therefore together with the first block COMPTYPE=00”.
At the end of the compensation, the tool should withdraw from the part without penetrating into it. The additional block must be executed in the upper plane and therefore together with the second block COMPTYPE=10”.
8040 CNC

29 Improvements in high speed machining

The number of blocks analyzed in advance (look-ahead) has been increased. From 50 blocks to 75.
The extreme cases have been improved, such as small blocks (of a few microns) in order to machine faster and more smoothly.
Jerk control can now be applied in Look-ahead, g.m.p. “JERKACT (P160) and TLOOK (P161)”.
Using Jerk in Look-ahead, a trapezoidal acceleration profile is applied with a ramp slope equivalent to the maximum jerk of the axis.
The maximum jerk depends on the value assigned to a.m.p. JERKLIM (P67) of that axis and of the axes involved in the programmed path.
JERKACT (P160)
This parameter has 16 bits counted from left to right.
Bit 16 indicates whether to apply Jerk control in Look-ahead or not.
(0) Not applied.
NEW F
EATURES
(S
M: 7.XX)
OFT
Improvements in
high speed
machining
Page 19 of 48
Page 24
8040 CNC
(1) Applied.
By default 0 (not applied)
If "Jerk Control in look ahead" has been selected, the CNC analyzes the a.m.p JERKLIM (P67) of each axis. During look-ahead, the CNC assumes, for the axes with JERKLIM (P67)=0, the value suggested in that parameter.
TLOOK (P161)
Real block processing time for look-ahead.
If assigned a value smaller than the real one, the machine will vibrate and if assigned a value greater than the real one the machining slows down.
Possible values Integers between 0 and 65535 ms
This value is calculated as follows:
Execute, in G91 and G51 E0.1, a program with many small blocks, at least 1000. For example: X0.01 Y0.01 Z0.01”.
Measure the program execution time, making sure that the machine does not vibrate. Divide the execution time by 1000 (or the number of blocks executed) and assign the resulting value, in microseconds, to g.m.p. "TLOOK (P161)".
We recommend the use of the oscilloscope function and verify that the internal variable VLOOKR remains constant which means that there is no vibration.

30 New graphics option

By default 0
N
EW FEATURES
(S
M: 7.XX)
OFT
New graphics
option
GRAPHICS (P16)
New value (4) for g.m.p. GRAPHICS.
It is similar to "0" value (Mill model graphics) but with different XY line graphics.
GRAPHICS=0 GRAPHICS=4
It is available when having Power PC.

31 Improvement in the tool measuring cycle PROBE1

In previous version, this cycle only calibrated the length of the tool (see section 12.3 of the programming manual).
From this version on, it may be used:
To calibrate the tool length.
To calibrate the tool radius.
Page 20 of 48
To calibrate the tool radius and length.
Measure the tool length wear.
Measure the tool radius wear.
Measure the tool radius wear and length wear.
Page 25
The programming cycle for the PROBE1 cycle is:
(PROBE 1, B, I, F, J, K, L, C, D, E, S, M, C, N, X, U, Y, V, Z, W)
Parameters X, U, Y, V, Z, W
They are optional parameters that are not usually necessary.
On certain machines, due to lack of mechanical positioning repeatability of the probe's, the probe must be calibrated before each tool calibration.
Instead of redefining machine parameters PRBXMIN, PRBXMAX, PRBYMIN, PRBYMAX, PRBZMAX, PRBZMIN every time the probe is calibrated, those coordinates may be indicated in variables X, U, Y, V, Z, W, respectively.
The CNC does not modify the machine parameters and only takes into account the coordinates indicated in X, U, Y, V, Z, W during this calibration.
If any of the X, U, Y, V, Z is left out, the CNC takes the value assigned to the corresponding machine parameter.
31.1 Measure or calibrate the tool length.
8040 CNC
Parameter "I" defines where the measurement or calibration will be carried out:
I0 On the tool shaft. I1 On the tool tip. If not programmed, the canned cycle
takes the value I0 (on the tool shaft).
Measure or calibrate the tool length on its shaft.
It is carried out with the spindle stopped. It is useful for drilling tools, ball end-mills, or tools whose diameter is smaller than the probe's probing surface.
Calibration format:
(PROBE 1, B,
Format for wear measurement:
(PROBE 1, B, I0, F, J1, L, C, X, U, Y, V, Z, W)
B Safety distance, with positive value greater than "0". I0 Measure or calibrate the tool length on its shaft. F Probing feedrate, in mm/min. or in inches/min.
J J0 = Calibration; J1 = Measurement
Maximum length wear permitted (with J1 and when using tool
L
life monitoring). Behavior when exceeding the maximum wear allowed (L other
than 0). C0 = Interrupts the execution for the user to select another tool.
C
C1 = The cycle replaces the tool with another one of the same
X...W Optional
, F, J0, X, U, Y, V, Z, W)
I0
family.
NEW F
EATURES
(S
M: 7.XX)
OFT
Improvement in the
tool measuring
cycle PROBE1
Parameters J, L, C are optional. If not programmed, the following values are assumed:
Page 21 of 48
Page 26
8040 CNC
J0 (calibration). L0 (the tool is not rejected due to wear). C0 (interrupts the execution for the user to select another tool)
Measure or calibrate the tool length on its tip.
It may be carried out either with the spindle stopped or turning the in the programmed direction (opposite to the cutting direction) It is useful for calibrating tools with several cutting edges or tools whose diameter is greater than the probe's probing surface.
Calibration format:
(PROBE 1, B, I1, F, J0, D, S, N, X, U, Y, V, Z, W)
Format for wear measurement:
(PROBE 1, B, I1, F, J1, L, D, S, C, N, X, U, Y, V, Z, W)
B Safety distance, with positive value greater than "0". I1 Measure or calibrate the tool length on its tip. F Probing feedrate, in mm/min. or in inches/min.
J J0 = Calibration; J1 = Measurement
Maximum length wear permitted (with J1 and when using tool
L
life monitoring). Radius or distance referred to the tool shaft being probed. If not
D
programmed, it is done on the tip Tool turning speed and direction. Select the opposite of the
cutting direction (positive sign if M3 and negative if M4)
S
With S0, calibration with spindle stopped. Behavior when exceeding the maximum wear allowed (L other
than 0)
C
C0 = Interrupts the execution for the user to select another tool. C1 = The cycle replaces the tool with another one of the same
family.
Number of cutting edges to be measured. If N0, one measurement.
N
To measure each cutting edge when the spindle has feedback and s.m.p. M19TYPE (P43) =1.
X...W Optional
N
EW FEATURES
(S
M: 7.XX)
OFT
Improvement in the
tool measuring
cycle PROBE1
Parameters J, L, D, S, C, N are optional. If not programmed, the following values are assumed:
J0 (calibration). L0 (the tool is not rejected due to wear). D= tool radius (probing is carried out on the tip). S0 (spindle stopped). C0 (interrupts the execution for the user to select another tool). N0 (the cutting edges are not measured separately).
Once the calibration cycle has ended
It updates global arithmetic parameter P299 and assigns the measured length to the tool offset selected in the tool offset table.
P299 = measured length - previous length (L+K) L = measured length K= 0
If the dimension of each cutting edge was requested, "N" parameter, the measured values are assigned to global arithmetic parameters P271 and on.
Once the wear measuring cycle has ended
When using tool life monitoring, it compares the measured value with the theoretical length assigned in the table.
Page 22 of 48
Page 27
If the maximum allowed is exceeded, it issues a "tool rejected" message and acts as follows:
C0 It interrupts the execution for the user to select another tool.
The cycle replaces the tool with another one of the same family.
C1
It sets the "rejected tool " indicator (status = R) It activates the general logic output PRTREJEC (M5564)
If the measuring difference does not exceed the maximum allowed or tool life monitoring is not available:
It updates global arithmetic parameter P299 and the length wear
value of the tool offset selected in the tool offset table.
P299 = measured length - theoretical length (L) L = theoretical length (it maintains the previous value). K = measured length - theoretical length (L) [New wear value]
If the dimension of each cutting edge was requested, "N" parameter, the measured values are assigned to global arithmetic parameters P271 and on.
31.2 Measure or calibrate the radius of a tool.
It may be carried out either with the spindle stopped or turning the in the programmed direction (opposite to the cutting direction)
8040 CNC
Calibration format:
(PROBE 1, B, I2, F, J0, K, E, S, N, X, U, Y, V, Z, W)
Format for wear measurement:
(PROBE 1, B, I2, F, J1, K, E, S, M, C, N, X, U, Y, V, Z, W)
B Safety distance, with positive value greater than "0". I2 Measure or calibrate the radius of a tool. F Probing feedrate, in mm/min. or in inches/min.
J J0 = Calibration; J1 = Measurement
Probe side used.
K
K0 (X+ side), K1 (X- side), K2 (Y+ side), K3 (Y- side). Distance referred to the theoretical tool tip being probed. It is
very useful with cutters whose bottom is not horizontal.
E
Tool turning speed and direction. Select the opposite of the cutting direction (positive sign if M3 and negative if M4)
S
With S0, calibration with spindle stopped. Maximum radius wear permitted (with J1 and when using tool
M
life monitoring). Behavior when exceeding the maximum wear allowed (M other
than 0). C0 = Interrupts the execution for the user to select another tool.
C
C1 = The cycle replaces the tool with another one of the same
family.
Number of cutting edges to be measured. If N0, one measurement.
N
To measure each cutting edge when the spindle has feedback and s.m.p. M19TYPE (P43) =1.
X...W Optional
NEW F
EATURES
(S
M: 7.XX)
OFT
Improvement in the
tool measuring
cycle PROBE1
Parameters J, E, S, M, C, N are optional. If not programmed, the following values are assumed:
Page 23 of 48
Page 28
J0 (calibration). E0. S0 (spindle stopped). M0 (the tool is not rejected due to wear). C0 (interrupts the execution for the user to select another tool). N0 (the cutting edges are not measured separately).
Once the calibration cycle has ended
8040 CNC
It updates global arithmetic parameter P298 and assigns the measured radius to the tool offset selected in the tool offset table.
P298 = measured radius - previous radius (R+I) R = measured radius I= 0
If the dimension of each cutting edge was requested, "N" parameter, the measured values are assigned to global arithmetic parameters P251 and on.
Once the wear measuring cycle has ended
When using tool life monitoring, it compares the measured value with the theoretical radius assigned in the table.
If the maximum allowed is exceeded, it issues a "tool rejected" message and acts as follows:
C0 It interrupts the execution for the user to select another tool.
The cycle replaces the tool with another one of the same family.
C1
It sets the "rejected tool " indicator (status = R) It activates the general logic output PRTREJEC (M5564)
If the measuring difference does not exceed the maximum allowed or tool life monitoring is not available:
It updates global arithmetic parameter P298 and the radius wear
value of the tool offset selected in the tool offset table.
P298 = measured radius - theoretical radius (R) R = theoretical radius (it maintains the previous value). I = measured radius - theoretical radius (R) [New wear value]
N
EW FEATURES
(S
M: 7.XX)
OFT
Improvement in the
tool measuring
cycle PROBE1
If the dimension of each cutting edge was requested, "N" parameter, the measured values are assigned to global arithmetic parameters P271 and on.
31.3 Measure or calibrate the tool radius and length.
It may be carried out either with the spindle stopped or turning the in the programmed direction (opposite to the cutting direction)
Calibration format:
(PROBE 1, B, I3, F, J0, K, D, E, S, N, X, U, Y, V, Z, W)
Format for wear measurement:
(PROBE 1, B, I3, F, J1, K, L, D, E, S, M, C, N, X, U, Y, V, Z, W)
B Safety distance, with positive value greater than "0". I3 Measure or calibrate the tool radius and length. F Probing feedrate, in mm/min. or in inches/min.
J J0 = Calibration; J1 = Measurement
Side of the probe used to measure or calibration the radius.
K
K0 (X+ side), K1 (X- side), K2 (Y+ side), K3 (Y- side). Maximum length wear permitted (with J1 and when using tool
L
life monitoring).
Page 24 of 48
Page 29
Radius or distance referred to the tool shaft being for length
D
measurement or calibration. With D0 on the tool shaft and if not programmed, on the tip.
Distance referred to the theoretical tool tip being probed. It is very useful with cutters whose bottom is not horizontal.
E
Tool turning speed and direction. Select the opposite of the cutting direction (positive sign if M3 and negative if M4)
S
With S0, calibration with spindle stopped. Maximum radius wear permitted (with J1 and when using tool
M
life monitoring). Behavior when exceeding the maximum wear allowed (if L or M
other than 0).
C
C0 = Interrupts the execution for the user to select another tool. C1 = The cycle replaces the tool with another one of the same
family.
Number of cutting edges to be measured. If N0, one measurement.
N
To measure each cutting edge when the spindle has feedback and s.m.p. M19TYPE (P43) =1.
X...W Optional
Parameters J, L, D, E, S, M, C, N are optional. If not programmed, the following values are assumed:
J0 (calibration). L0 (the tool is not rejected due to length wear). D= tool radius (length probing is carried out on the tip). E0, S0 (spindle stopped). M0 (the tool is not rejected due to radius wear). C0 (interrupts the execution for the user to select another tool). N0 (the cutting edges are not measured separately).
8040 CNC
Once the calibration cycle has ended
It uses global arithmetic parameters P298, P299 and assigns the measured length and radius to the tool offset selected in the tool offset table.
P298 = measured radius - previous radius (R+I) P299 = measured length - previous length (L+K) R = measured radius L = measured length I= 0 K= 0
If the dimension of each cutting edge was requested, parameter "N", the measured lengths are assigned to global arithmetic parameters P271 and on, and the measured radii to global arithmetic parameters P251 and on.
Once the wear measuring cycle has ended
When using tool life monitoring, it compares the measured radius and length values with the theoretical values assigned in the table.
If the maximum allowed is exceeded in any of them, it issues a "tool rejected" message and acts as follows:
C0 It interrupts the execution for the user to select another tool.
The cycle replaces the tool with another one of the same family.
C1
It sets the "rejected tool " indicator (status = R) It activates the general logic output PRTREJEC (M5564)
NEW F
EATURES
(S
M: 7.XX)
OFT
Improvement in the
tool measuring
cycle PROBE1
Page 25 of 48
Page 30
8040 CNC
If the measuring difference does not exceed the maximum allowed or tool life monitoring is not available:
It updates global arithmetic parameter P298, P299 and the length
and radius wear values of the tool offset selected in the tool offset table.
P298 = measured radius - theoretical radius (R) P299 = measured length - theoretical length (L) R = theoretical radius (it maintains the previous value). I = measured radius - theoretical radius (R) [New wear value] L = theoretical length (it maintains the previous value). K = measured length - theoretical length (L) [New wear value]
If the dimension of each cutting edge was requested, parameter "N", the lengths are assigned to global arithmetic parameters P271 and on, and the radii to global arithmetic parameters P251 and on.

32 Oscilloscope function

The oscilloscope function is a help tool to adjust the CNC and the drives.
It is possible to represent 4 previously selected variables and manipulate CNC machine parameters and variables. When using Fagor Sercos drives, it is also possible to set the parameters of the drive.
N
EW FEATURES
(S
M: 7.XX)
OFT
How to operate
Suggestions
When requesting information (variable or parameter) of a drive that is not connected via Sercos or when having an old software version, the message "Variable does not exist" will be displayed.
Changing the machine parameters of the CNC and the drive requires a password.
To access the Oscilloscope mode, select:
Op Mode - Diagnosis - Adjustements - Scope
Define the variables to be analyzed, the trigger conditions and the machine parameters of the CNC or the drive to be modified.
Execute a part-program moving the axis or axes to be adjusted.
Capture data and then analyze it.
Once data capture has ended, or has been interrupted, it is possible to analyze the signals and modify the parameters that have been previously selected, in order to improve the machining conditions.
Capture data, analyze it and modify the parameters again until achieving the best machining conditions.
Execute endless repetitive movements.
Oscilloscope
function
Page 26 of 48
Operation
After adjusting the axis separately, readjust the interpolating axes together.
It is up to the user to judge what the best adjustment is, the oscilloscope function is an assistance tool.
To enter or modify a data on the screens, it must be selected and it must have the editing focus.
Page 31
To select another editable data or field, use the [Ï] [Ð]. It is a rotary selection, if the first element is selected on the screen, when pressing [Ï] the focus goes to the last one, whereas if the last element is selected, when pressing [Ð] the focus goes to the first one.
Softkeys
Not all the data may be edited, only the ones that may be selected, those having the focus. There are two types of editable fields:
Editable values:
They may be assigned a value, sometimes numerical (numbers only) and sometimes alphanumerical (numbers and letters). Before validating the data, it is checked; if the data is incorrect, it is rejected and a warning message is issued.
Values that may be selected:
The possible values are fixed and one of them may be selected. Use the [Í] [Î] keys to see the possible values. On this type values that are icons, the [White/Green] key has the same effect as the [Î] key.
Accessing the oscilloscope mode enables the following softkeys:
Scale / Offsets
To change the amplitude of each signal, move them vertically or adjust the time base for all of them.
Analysis
To analyze, using 2 cursors, each signal of the last data capture.
Parameters
To assign new values to the machine parameters of the CNC and drive that have been defined in the "Configuration" screen.
Configuration
To define the variables to be analyzed, the trigger conditions and the machine parameters of the CNC or the drive to be modified.
Actions
It shows various softkeys to modify the data of each field (amplitude of the signals, vertical movement, time base adjustment, position of the cursors, etc.).
Begin
It captures data according to the conditions set on the "Configuration" screen to be analyzed later on.
8040 CNC
32.1 Configuration
To define the variables to be analyzed, the trigger conditions and the machine parameters of the CNC or the drive to be modified.
It offers 2 screens, one to set the parameters and the other one to define the variables and trigger conditions.
On the screen for defining variables and the trigger condition, it is possible to go from block of elements to another using the [page up] and [page down] keys.
NEW F
EATURES
(S
M: 7.XX)
OFT
Oscilloscope
function
Page 27 of 48
Page 32
8040 CNC
The parameters defining page shows the definition code on the left column, the parameter name on the center column and the maximum and minimum values on the right column.
To add a parameter to the list, select the row for the parameter, enter the definition code indicated later on and press [Enter]. If it is valid, the rest of the fields are updated and if not, it issues a warning.
To replace a parameter from the list, select the parameter to be replaced, enter the definition code of the new parameter and press [Enter]. If the previous content has been deleted and no code is entered, the line appears empty.
The [Add a parameter to the list] softkey enters a new empty line above the currently selected line.
The [Eliminate parameter] softkey eliminates the currently selected line and shifts all the ones below upwards.
The "Parameter editing" screen shows the parameters in the same place where they were defined and the empty rows appear blank.
When a parameter is changed on the "Parameter Editing" screen, the CNC machine parameter table and the drive's work parameters are updated. The [Save Parameters] softkey is also activated on the "Configuration - Parameters" screen.
N
EW FEATURES
Variable definition
We suggest to access that screen and press the [Save Parameters] softkey to save the parameter tables that have been changed, those of the CNC into the CARDA and those of the drive in its FLASH. If only the CNC parameters have been changed, the drive tables remain unchanged and vice versa.
Once the values saved are the same as the ones edited last, the softkey disappears until a new modification is made.
The oscilloscope has 4 graphics channels (CH1, CH2, CH3, CH4). The following must be defined in each channel:
The code or name of the variable to be shown. See attached
tables. The color used to show them.
Whether it will be visible or not.
When defining a variable that cannot be captured, an error message will be issued. If no variable is to be captured in a channel, just leave the name field blank. If all 4 channels are deactivated (without associated variable) no capture is possible.
The "hidden" channels are not shown graphically (they are not shown on the screen after the data capture). It is useful when using this channel to set the trigger condition.
(S
M: 7.XX)
OFT
Oscilloscope
function
Page 28 of 48
Page 33
CNC variables that may be assigned to a channel
Variable Characteristics
ANAI(1-8) Voltage of input 1-8 ANAO(1-8) Voltage to apply to output 1-8 FREAL CNC real feedrate FREAL(X-C) Actual (real) X-C axis feedrate FTEO(X-C) Theoretical X-C axis feedrate FLWE(X-C) X-C axis following error ASIN(X-C) "A" signal of the CNC sinusoidal feedback for the X-C axis BSIN(X-C) "B" signal of the CNC sinusoidal feedback for the X-C axis DRPO(X-C) Position indicated by the Sercos drive of the X-C axis SREAL Real (actual) spindle turning speed. FTEOS Theoretical spindle turning speed FLWES Spindle following error ASINS "A" signal of the CNC sinusoidal feedback for the spindle BSINS "B" signal of the CNC sinusoidal feedback for the spindle DRPOS Position indicated by the Sercos drive of the spindle SSREAL Real (actual) second spindle turning speed. SFTEOS Theoretical second spindle turning speed SFLWES Second Spindle following error SASINS "A" signal of the CNC sinusoidal feedback for the second
spindle
SBSINS "B" signal of the CNC sinusoidal feedback for the second
spindle
SDRPOS Position indicated by the Sercos drive of the second spindle
8040 CNC
Examples: ANAI1, FREAL, FLWEX, FREALZ
Fagor Sercos Drive variables that may be assigned to a channel
Indicate the desired axis and variable, separated by a period. Examples: X.CV3, Y.SV1, S1.SV2
Variable Characteristics
CV3 CurrentFeedback SV1 VelocityCommand SV2 VelocityFeedback SV7 VelocityCommandFinal TV1 TorqueCommand TV4 VelocityIntegralAction RV1 FeedbackSine
RV2 FeedbackCosine RV51 Feedback2Sine RV52 Feedback2Cosine
Trigger conditions
Channel
Trigger
Indicates which variable or channel (CH1, CH2, CH3, CH4) is to be used as a reference or trigger condition.
Indicates the beginning of the data capture.
NEW F
(S
OFT
EATURES
M: 7.XX)
Flank
If not selected, the data capture begins as soon as the operator gives the go ahead. The Flank, Level and Position data are ignored.
If selected, specify the trigger condition using the Flank, Level and Position data.
It is taken into account when Trigger has been selected. It may be an up flank or a down flank.
Oscilloscope
function
Page 29 of 48
Page 34
8040 CNC
Level
With an up flank, the data capture begins when in a sample the data value is lower than the level and in the next sample the value is greater than or equal to the level.
With a down flank, the data capture begins when in a sample the data value is greater than the level and in the next sample the value is lower than or equal to the level.
It is taken into account when Trigger has been selected.
It sets the value that the variable must take to begin the data capture.
Position (%)
Number of
samples
Sample T
It is taken into account when Trigger has been selected. It is defined as a percentage, between 0% and 100%.
It indicates the number of samples that are taken before the Trigger. For example, a 10% position means that 10% of the total number of samples programmed will be taken before the trigger and the remaining 90% after the trigger.
The trigger condition starts evaluating after having the indicated % of samples. If the position is defined at 50% and the trigger condition occurs when a 10% of the samples have been taken, it will be ignored until the 50% of the samples have been collected.
It indicates the number of sample to be captured. It is common to all the channels. Value between 1 and 1024.
The sample will be taken at the same time in all the channels so they are synchronized.
It indicates the sampe period or the time period between data captures. It is given in milliseconds, integers between 1 and 1000 (between 1ms and 1s).
When analyzing CNC variables, the sample period must be a multiple of the loop time. If it is not, a message is displayed indicating that it has been automatically rounded off.
N
EW FEATURES
(S
M: 7.XX)
OFT
Oscilloscope
function
Mode
Superimposed
channels
The sample time may be shorter than the CNC loop time only when analyzing 1 or 2 variables of the same drive.
When the requested number of variables forces a reconfiguration of the CNC's Sercos ring, a warning message is issued requesting its confirmation.
It indicates the type of data capture: Single or Continuous.
With Single capture, the process ends when the specified number of samples has been taken or when interrupted by the user.
The continuous data capture begins like a single capture, but when the process ends, the data is shown on the screen and it automatically resumes the data capture. It goes on like that indefinitely until the user stops it.
If this option is not selected, all the signals appear separated. The screen is divided into as many horizontal strips as active and visible channels have been defined. The signals are shown with their own graphic zero and ordered from top to bottom in the defined order (CH1, CH2, CH3, CH4).
If this option is selected all the signals appear superimposed, with a single graphic zero located at the center of the screen.
Page 30 of 48
During the analysis of the signals, it is possible to change modes by pressing the [M] key.
Page 35
CNC machine parameters that may be modified
When defining the CNC machine parameters, that could be changed to adjust the machine, use the following nomenclature:
Machine parameters of an axis: Indicate the axis and the parameter number separated by a dot. Examples: [X.P18], [Z.P23]
Number Parameter Update
P14 BACKLASH Immediate P18 ACCTIME Beginning of the next block P19 INPOSW Immediate P23 PROGAIN Immediate P24 DERGAIN Immediate P25 FFGAIN Immediate P27 MINANOUT Immediate P28 SERVOFF Immediate P29 BAKANOUT Immediate P30 BAKTIME Immediate P37 MAXVOLT Immediate P38 G00FEED Beginning of the next block P59 ACCTIME2 Beginning of the next block P60 PROGAIN2 Immediate P61 DERGAIN2 Immediate P62 FFGAIN2 Immediate P67 JERKLIM Beginning of the next block
8040 CNC
Spindle machine parameters: Indicate the spindle (S, S1, S2) and the parameter number separated by a dot. Examples: [S.P18], [S1.P23], [S2.P25]
Number Parameter Update
P2 MAXGEAR1 Beginning of the next block P3 MAXGEAR2 Beginning of the next block P4 MAXGEAR3 Beginning of the next block P5 MAXGEAR4 Beginning of the next block
P18 ACCTIME Beginning of the next block P19 INPOSW Immediate P23 PROGAIN Immediate P24 DERGAIN Immediate P25 FFGAIN Immediate P27 MINANOUT Immediate P28 SERVOFF Immediate P37 MAXVOLT1 Immediate P38 MAXVOLT2 Immediate P39 MAXVOLT3 Immediate P40 MAXVOLT4 Immediate P45 OPLACETI Immediate P47 ACCTIME2 Beginning of the next block P48 PROGAIN2 Immediate P49 DERGAIN2 Immediate P50 FFGAIN2 Immediate
NEW F
(S
OFT
EATURES
M: 7.XX)
Note:
A modification in the MAXGEAR1/2/3/4 parameters sets the square corner mode even if a round corner has been programmed.
Drive machine parameters that may be modified
When defining the drive machine parameters, that could be changed to adjust the machine, use the following nomenclature:
Oscilloscope
function
Page 31 of 48
Page 36
8040 CNC
Indicate the axis and the parameter number and the gear separated by a dot. Examples: [X.CP1.0], [Y.CP20.2], [Z.SP1.1]
Save and load the configurations.
The system lets you save the current configuration into a program type file in ASCII format. To do that, set general machine parameter STPFILE with the number (other than 0) to be assigned to the configuration file.
The configuration file may be treated like any other program, sent out via DNC or even edited.
When saving or loading a configuration, the CNC first checks if the file already exists in User RAM and if not, it will look for it in the Memkey Card.
Several configurations may be saved in the configuration file. Each configuration must be assigned a name of up to 40 characters.
The following softkeys are related to this feature.
Save
Load
Delete
Reset
32.2 Scale / Offsets
To save the current configuration, press the [Save] softkey and enter the name to save it with up to 40 characters. If there is a previously saved configuration with the same name, it will ask whether it must be replaced or not.
To load a previously saved configuration, press the [Load] softkey and select it from the list on the screen. If the configuration makes not sense (for example, because the CNC does not have an axis that that configuration refers to), the CNC will warn the user and it will only load the portion of the configuration read until that error came up.
To delete one of the saved configurations, press the [Delete] softkey, select it from the list on the screen and press [Enter].
Pressing the [Reset] softkey deletes or resets the current configuration. There are no variables or parameters selected and the rest of conditions (colors, trigger, etc.) assume the values assigned by default.
To change the amplitude of each signal, move them vertically or adjust the time base for all of them.
N
EW FEATURES
(S
M: 7.XX)
OFT
Oscilloscope
function
Page 32 of 48
The right side of the screen shows:
The vertical scale or amplitude by square for each signal (next to
the name of the variable)
The horizontal scale or time base (t/div) for all the signals.
To change the amplitude, use the [Ï] [Ð] keys to place the focus in the "Scale" field of the desired variable. Then use the [Í] [Î] keys or [page up] [page down] to select one of the permitted values or press [X] for auto-scaling.
To move the signal vertically, use the [Ï] [Ð] keys to place the focus in the "Offset" field of the desired variable. Then use the [Í] [Î] keys or [page up] [page down] to move the signal or press one of these keys:
[U] To move it up as high as possible [D] To move it down as low as possible
Page 37
[0] To center it [X] for the CNC to scale it automatically.
When auto-scaling a channel, the system sets the right vertical scale and offset so the signal shows as big as possible within its graphic strip.
32.3 Analysis
To modify the time base of all the signals, use the [Ï] [Ð] keys to place the focus in the "t/div" field. Then use the [Í] [Î] keys or [page up] [page down] to select one of the permitted values or press [X] for auto-scaling.
To select another portion of the sample use the [Ï] [Ð] keys to place the focus in the "Win" field. Then use the [Í] [Î] keys or [page up] [page down] to move the signal or press one of these keys:
[F] To show the beginning of the trace (First) [T] To show the trigger zone [S] To show the final portion of the trace (Second) [X] for the CNC to scale it automatically.
To analyze, using 2 cursors, each signal of the last data capture.
The right side of the screen shows:
Next to each variable, the value (V1 and V2) of the signal in the
position of each cursor and the difference between them (∆v).
The position, in milliseconds, of each cursor (C1 and C2) and the
time difference between them (∆t)
8040 CNC
32.4 Parameters
To select the first or second cursor, use the teclas [Ï] [Ð] keys to place the focus in the "C1" or "C2" fields respectively. Then use the [Í] [Î] keys or [page up] [page down] to move the signal or press one of these keys:
[F] To show the beginning of the trace (First) [T] To show the trigger zone [S] To show the final portion of the trace (Second) [X] for the CNC to scale it automatically.
To select another portion of the sample use the [Ï] [Ð] keys to place the focus in the "Win" field. Then use the [Í] [Î] keys or [page up] [page down] to move the signal or press one of these keys:
[F] To show the beginning of the trace (First) [T] To show the trigger zone [S] To show the final portion of the trace (Second) [X] for the CNC to scale it automatically.
Holding the [Í] [Î] keys pressed accelerates the movement.
To assign new values to the machine parameters of the CNC and drive that have been defined in the "Configuration-Parameters" screen.
NEW F
EATURES
(S
M: 7.XX)
OFT
Oscilloscope
function
Page 33 of 48
Page 38
8040 CNC
The machine parameters of the axis or the spindle are updated according to the criteria defined in the previous tables, the rest of the parameters are updated according to the general criteria:
// It is necessary to press the keystroke sequence: "Shift -
Reset" or turn the CNC off and back on.
/ Just press Reset.
The rest of the parameters (those unmarked) will be updated automatically, only by changing them.
If the password to the machine parameters has been defined (SETUPPSW), it will be requested when modifying a parameter for the first time. If entered correctly, it is stored in memory and it is not requested again unless the CNC is turned off. If the password is wrong, the parameter cannot be modified and it will be requested again the next time.
When a parameter is changed, the CNC machine parameter table and the drive's work parameters are updated. The [Save Parameters] softkey is also activated on the "Configuration ­Parameters" screen.
We suggest to access that screen and press the [Save Parameters] softkey to save the parameter tables that have been changed, those of the CNC into the CARDA and those of the drive in its FLASH. If only the CNC parameters have been changed, the drive tables remain unchanged and vice versa.
N
EW FEATURES
(S
M: 7.XX)
OFT
Once the values saved are the same as the ones edited last, the softkey disappears until a new modification is made.
32.5 Actions
It is available on the following screens: "Parameter Editing", "Analysis" and "Scales /Offsets".
It is very useful when not having an alpha-numeric keyboard (MC or MCO operator panels) because it shows several softkeys to change the data of each field (amplitude of the signals, vertical movement, time base, position of the cursors, etc.)
32.6 Begin
It is available on the following screens: "Parameter Editing", "Analysis" and "Scales /Offsets".
It captures data according to the conditions set on the "Configuration" screen and enables the following softkeys:
[Stop]
interrupts the capture and shows the data collected until then.
[Continuous Stop]
available when the capture is continuous. It interrupts the capture and shows the last full trace.
Oscilloscope
function
Page 34 of 48
Once data capture has ended, or has been interrupted, it is possible to analyze the signals and modify the parameters that have been previously selected, in order to improve the machining conditions.
Capture data, analyze it and modify the parameters again until achieving the best machining conditions.
Page 39

33 MC model. Execute a part-program

After accessing the list of stored part-programs and selecting the program to be executed from the left column, it is possible to:
Execute the whole part-program.
1.
(Start)
Position, on the left column, over the desired program and press (Start).
Subroutine 9998 is executed before the part-program and subroutine 9999 after the part-program.
Execute a portion of the part-program.
2.
Select the program from the left column and the operation (on the right column) from which to begin executing the part program and press the (Start) key.
In this case, the initial 9998 subroutine is not executed, only the part-program and the 9999 subroutine are execute.
Execute the part-program starting at the first operation.
3.
Select the program from the left column and the first operation from the right column and press the (Start) key.
Subroutine 9998 is executed before the part-program and subroutine 9999 after the part-program.
Note:
Programs created in ISO mode do not have subroutines 9998 and 9999.

34 MC model. Maintain F, S y Smax on power up

8040 CNC
MAINTASF (P162)
This g.m.p indicates whether on CNC power-up, the F, S and Smax values are maintained or initialized.
0 They are initialize with the values of F=0, S=0 and Smax=0 1 F, S and Smax maintain the values they had in the last
machining operation.
With MAINTASF (P162)=1, the CNC acts as follows:
It assumes the G94/G95 feedrate set by g.m.p. "IFEED (P14)",
but it restores the F in mm/min (G94) and the F in mm/rev (G95) programmed last.
It maintains the feedrate type G96/G97 used last, but it restores
the S in rev/min (G97) and the S in m/min (G96) programmed last.

35 MC model. Messages and warnings

From this version on, some messages that come up in M mode at the bottom of the screen over a green stripe will also come up in MC mode. For example:
"Software limit reached" "Zone limit reached"

36 MC model. Tool calibration

NEW F
EATURES
(S
M: 7.XX)
OFT
MC model. Execute
a part-program
When accessing the tool calibration mode, there are a some limitation during execution or tool inspection
Page 35 of 48
Page 40
Program in execution or interrupted.
When editing the active tool, it is possible:
To modify the I and K data. Select another tool (T xx Recall) and modify its I and K data.
8040 CNC
When NOT editing the active tool, it is possible:
To modify the I, K and D data. Select another tool (T xx Recall) and modify its I, K and D data.
Program in tool inspection.
When editing the active tool, it is possible:
To modify the I and K data. Select another tool (T xx Recall) and modify its I and K data. Change the active tool (T xx Start).
When NOT editing the active tool, it is possible:
To modify the I, K and D data. Select another tool (T xx Recall) and modify its I, K and D data. Change the active tool (T xx Start).
Rest of cases (program neither in execution nor in tool inspetion)
When editing the active tool, it is possible:
Modify all the data. Change the active tool (T xx Start).
When NOT editing the active tool, it is possible:
Modify all the data except the part dimensions. Change the active tool (T xx Start).
N
EW FEATURES
(S
M: 7.XX)
OFT
MC model. Cycle
selection
The I and K values
The values entered in the I, K fields are incremental, they are added to the ones already in the table. The "I" data is given in diameter.
The new g.m.p. MAXOFFI (P165) and MAXOFFK (P166) indicate the maximum value that may be entered in each field. When trying to enter a greater value, the relevant message will be displayed.
Warning
To assume the new I and K values, select the tool again.

37 MC model. Cycle selection

From this version on, it is possible to hide unused operations or cycles and only show the used ones.
Page 36 of 48
Page 41
COCYF1 (P148) COCYF2 (P149) COCYF3 (P150) COCYF4 (P151) COCYF5 (P152) COCYF6 (P153) COCYF7 (P154)
COCYZ (P155)
COCYPOS (P156)
COCYPROF (P157)
COCYGROO (P158)
COCYZPOS (P159)
COCYF1
COCYF2
COCYF3
COCYF4
COCYF5
COCYF6
COCYF7
COCYZ
COCYPOS Positioning 1
COCYPROF COCYGROO COCYZPOS
Probe 1
Profile milling 1
Surface milling
Pocket with 2D profile
Rectangular boss
Rectangular pocket 1
Drilling 1
Tapping
Each one of these g.m.p. is associated with an operation or cycle and each one of their bits refers to each available level.
All the bits are initialized to "0", available option. To hide the desired one, set the corresponding bit to "1".
Operations or Cycles
(bit 2)
Profile milling 2
(bit 1)
Slot milling
(bit 1)
Pocket with 3D profile
(bit 1)
Circular boss
(bit 1)
Rectangular pocket 2
(bit 1)
Drilling 2
(bit 1)
Reaming
(bit 7)
Positioning 2
(bit 1)
(bit 2)
(bit 2)
(bit 2)
(bit 2)
(bit 2)
(bit 2)
(bit 10)
(bit 2)
Circular pocket 1
(bit 3)
Drilling 3
(bit 3)
Boring 1
(bit 12)
Circular pocket 2
(bit 4)
Center punching
(bit 4)
Boring 2
(bit 13)
8040 CNC
Multiple positioning
At several points
COCYZPOS
In grid pattern
(bit 10)
(bit 1)
In line
Parallelogram
(bit 4)
(bit 13)
In arc 1
In polar arc
(bit 7)

38 MC model. Auxiliary M functions in all the cycles

From this version on, the operations or cycles of the MC model may have auxiliary M functions associated with roughing and finishing operations.
There are now 2 windows, one in the roughing area and another one in the finishing area and the use may define up to 4 auxiliary M functions in each one.
The auxiliary functions are executed at the beginning of the stage where they have been defined, roughing or finishing.
To use this feature, set g.m.p. "CODISET (P147)" (Conversational Display SETing).
(bit 8)
NEW F
EATURES
(S
M: 7.XX)
OFT
MC model.
Auxiliary M
functions in all the
cycles
Page 37 of 48
Page 42
8040 CNC
CODISET (P147)
This parameter has 16 bits counted from left to right.
Bit 16 indicates whether the operations or cycles of the MC model have auxiliary M functions associated with roughing and finishing operations.
(0) They do not have auxiliary M functions (1) They do not have auxiliary M functions
By default 0 (they do not have them)

39 MC model. Modifications in the tapping cycle

From this version on, it is possible to specify the thread by defining the pitch (p) the spindle speed (S) or the feedrate (F) and the spindle speed (S).
To do that, the "Penetration" area shows an icon with 2 states [p, S]
(a)
and [F, S]. To select the desired one, place the cursor over the icon and press the (a) key, this will enable the fields selected to define it.
40 MC model. Modifications in the Multiple milling and
positioning cycles
N
EW FEATURES
All the modifications or improvements have to do with the definition of intermediate points of the profile milling cycle (level 1) and the cycle for multiple positioning of several points.
Repeat previous coordinate
Incremental coordinates
(a)
If a coordinate is left blank, the cycle will assume that it is a repetition of the previous one. Example:
X1 25.323 Y1 26.557 X2 Y2 78.998 Point X2 25.323 Y2 78.998 X3 67.441 Y3 83.231 Point X3 67.441 Y3 83.231 X4 Y4 X5 Y5 There are no more points, it is a
repetition of the previous point
The coordinates of each point may also be defined incrementally. To do that, position over the desired coordinate and press the (a) key.
The X and Z coordinates of the selected point will be shown
preceded by the icon that indicates the incremental value with
respect to the previous point.

41 MC model. Icon indicating the available options

(S
M: 7.XX)
OFT
MC model.
Modifications in
the tapping cycle
Page 38 of 48
(a)
The multiple positioning in line, arc (level 1), in grid pattern and in rectangular pattern may be defined in different ways.
In this cases, an icon is added showing the selected option and the number of total options available. For example [1 of 3].
To select another option, place the cursor over the icon and press the (a) key.
Page 43

42 MC model. Tool measurement and calibration

Available with the "Canned cycles with Probe" option and if the parameters that define the tabletop probe position g.m.p. PRBXMIN (P40), PRBXMAX (P41), PRBYMIN (P42), PRBYMAX (P43), PRBZMIN (P44) and PRBZMAX (P45) have been defined.
To access this mode, press the [F1] key. The first level corresponds
(F1)
to "Tool calibration" and the second level to "Tool measurement and calibration with a probe".
The screen for "Tool measurement and calibration with a probe" may be saved as part of a part-program (PPROG) and shows the following information:
8040 CNC
(a)
A
In zone (1) the following may be defined:
Ds Safety distance, for the probe approach. F Probing feedrate. (A) Type of calibration or measurement.
Calibrate the length or measure the tool length wear along its shaft.
Calibrate the length or measure the tool length wear on its tip.
Calibrate the radius or measure the radius wear of a tool.
Calibrate the radius and the length or measure the radius and length wear of a tool.
To select the desired one, position over the desired icon and press the (a) key.
S Tool turning speed.
Tool turning direction. Select the direction opposite to the cutting direction.
To select the desired one, position over the desired icon and press the (a) key.
N Number of cutting edges of the tool to be measured. X+ In radius calibration and measurement, it indicates the
side of the probe to be used: (X+) (X-) (Y+) (Y-).
To select the desired one, position over the desired field and press the (a) key.
1
2
3
NEW F
EATURES
(S
M: 7.XX)
OFT
MC model. Tool
measurement and
calibration
Page 39 of 48
Page 44
8040 CNC
(a)
d When the length calibration or measurement is done on
the tip, it indicates the radius or distance with respect to the tool shaft being probed.
h When calibrating the radius, it indicates the distance
referred to the theoretical tool tip being probed. It is very useful with cutters whose bottom is not horizontal.
The [S, N, X+, d and h] fields are requested when the Calibration/ Measurement (A) method so requires.
Zone (2) defines whether a Measurement or a Calibration is to be carried out. To select the desired one, position over the desired "Measurement / Calibration" field and press the (a) key.
A measurement requires the optional "tool life monitoring" and the following fields must be defined:
Kmax Maximum length wear allowed. Imax Maximum radius wear allowed. Stop
Chg
Behavior when exceeding the maximum wear allowed Stop - It interrupts the execution for the user to select
another tool. Chg - The cycle replaces the tool with another one of the
same family.
To select the desired one, position over the desired field and press the (a) key.
N
EW FEATURES
(S
M: 7.XX)
OFT
Zone (3) defines the probe coordinates. Indicate whether the CNC must assume the machine parameter values or the ones set in this zone. To select the desired one, position in the "Machine Parameters / Programmable Parameters" field and press the (a) key.
MC model. Tool
measurement and
calibration
Page 40 of 48
Page 45
User notes:
8040 CNC
NEW F
EATURES
(S
M: 7.XX)
OFT
Page 41 of 48
Page 46
8040 CNC
User notes:
NEW F
EATURES
(S
M: 7.XX)
OFT
Page 42 of 48
Page 47
ERSION
V
7.11

1 Detected errors

A.m.p. DFORMAT (P1)
The installation manual shows wrong work units. The right work units are:
Value Work units Format in
0 radius 5.3 5.3 4.4 1 radius 4.4 4.4 3.5 2 radius 5.2 5.2 5.3 3 radius It is not displayed 4 diameters 5.3 5.3 4.4 5 diameters 4.4 4.4 3.5 6 diameters 5.2 5.2 5.3
Connector X4. To connect the analog spindle
degrees
8040 CNC
Format in mmFormat in
inches
The installation manual shows the wrong function associated with pins 11 and 12. The right pin values are:
Pin Signal and Function
1 2 3 4 5 6 7 8
9 10 11 12 13 14 15
Ac
/ Ac
Bc
/ Bc
I0c
/ I0c
ALc
/ ALc +5 V
ConsCab
GND GND
----
----
Chassis
Feedback signals
+5V output for feedback Analog voltage output 0V output for feedback 0V output for the analog voltage
Shield
It admits TTL and differential TTL feedback.
Connector X5. To connect electronic handwheels
It admits TTL and differential TTL feedback.
Connector X10, X11, X12 and X13. Feedback inputs for the axes
It admits 1Vpp, TTL and differential TTL feedback.
NEW F
(S
OFT
EATURES
M: 7.1X)
Detected errors
Page 43 of 48
Page 48
8040 CNC
Connector X1. RS232 serial line (8055i model)
From this version on, pin 9 no longer supplies 5V.
Pin Signal
1 DCD 2RxD 3TxD 4DTR 5 GND ISO 6 ----­7RTS 8CTS 9 -----
Variables POS(X-C) and TPOS(X-C)
The values of variables POS(X-C) and TPOS(X-C) are in the following units.
They are read from the CNC in radius or diameter depending on the setting of a.m.p. "DFORMAT (P1)".
They are always read in radius from the PLC.
48
N
EW FEATURES
(S
M: 7.1X)
OFT
Pockets programming examples
The programming examples for rectangular and circular pockets set variables "TOR1=6 and TOT1=0". The right variables to be defined are "TOR1=6 TOI1=0".
Improved real block processing time calculation for look-ahead
The value of g.m.p "TLOOK" is calculated as follows:
Execute, in G91 and G51 E0.1, a program with many small blocks, at least 1000. For example: “X0.1 Y0.1 Z0.1”.
Measure the program execution time, making sure that the machine does not vibrate. Divide the execution time by 1000 (or the number of blocks executed) and assign the resulting value, in microseconds, to g.m.p. "TLOOK (P161)".
To optimize this parameter, decrease the calculated value and execute the same program until the machine starts vibrating. In order not to damage the machine, we recommend to begin with the override switch low and increase its value gradually.
We recommend the use of the oscilloscope function and verify that the internal variable VLOOKR remains constant which means that there is no vibration. When configuring the oscilloscope, it is possible to change g.m.p. "TLOOK", but the new value is only assimed when executing the G51 function via program.
Detected errors
Page 44 of 48
Page 49

2 New validation codes

Due to new software options, the validation code changes from 16 to 24 characters. The new codes are also valid for the Memory Cards with software versions older than V7.11

3 Smooth stop in probing move (G75/G76)

From this version on, a smooth stop may be defined for probing moves. When the probe pulse is detected, the following error is not reset, thus making the probe stop more smoothly.
8040 CNC
PROBEDEF (P168)
It defines the type of stop for the probing moves. It has 16 bits. Bit 16 selects the selected type of stop.
PROBEDEF xxxx xxxx xxxx xxx 0/1 0 Standard Stop. 1 Smooth stop.
By default 0
When setting the smooth stop, a.m.p "DERGAIN (P25)" and s.m.p. "FFGAIN (P25)" should be set to zero. This may be done by setting the range of gains through g.m.p. "ACTGAIN2 (P108)" with the bit corresponding to G75/G76.
4 Square-corner or round-corner machining when changing
tool offset
When executing a tool change, the change takes place at the end of the path. Using g.m.p. "TOOLTYPE (P167)" it is possible to define how to machine the corner where the tool offset is being changed. This corner may be machined in square corner (sharp) or rounded.
This parameter is only taken into consideration when working in round corner. When working in square corner, the corner is always machined in square corner mode.
TOOLTYPE (P167)
It has 16 bits. Bit 2 selects the type of corner.
TOOLTYPE x 0/1 xx xxxx xxxx xxxx
0 Square corner. 1 Round corner.
By default 0
NEW F
EATURES
(S
M: 7.1X)
OFT
New validation
codes
Page 45 of 48
Page 50
8040 CNC

5 New management of the distance-coded reference mark (I0)

From this version on, the distance-coded I0 via SERCOS may be managed using the input of the drive's second feedback.
The axis parameters to define the distance-coded I0 are at the CNC.
I0TYPE (P52) I0CODI1 (P68) I0CODI2 (P69) ABSOFF (P53) REFDIREC (P33) REFEED2 (P35) AXISCHG (P16) LOOPCHG (P26)
We recommend to set axis parameter POSINREF=NO. Otherwise, it generates a movement to the position defined by axis parameter REFVALUE.
The parameters related to the counting of pulses (feedback) are at the drive. At FAGOR drives, the parameters are:
GP10 Feedback2Type NP117 ResolutionOfFeedback2 NP118 ResolutionOfLinearFeedback PP115.0 PositionFeedback2Type
The drive version must be V4.10 or V5.10 ( or greater).
48
N
EW FEATURES
(S
M: 7.1X)
OFT

6 Improved look ahead

Machining feedrate variations are now smoother thanks to filtered acc/dec in short movements.

7 Leadscrew error compensation in both directions

Bidirectional leadscrew error compensation
From this version on, it is possible to define a different leadscrew compensation for each moving direction.
This is defined in the leadscrew compensation tables. Each row of the table contains the following data:
The position of the axis to be compensated.
The amount of error of the axis at that point. In the positive
direction.
The amount of error of the axis at that point. In the negative direction.
For each axis position, define the amount of error to compensate in both directions. If the error in the negative direction has a zero value in all positions, it is assumed that the error defined for the positive direction is valid for both directions.
New management
of the distance-
coded reference
mark (I0)
Page 46 of 48
Likewise, the compensation defined in a single direction or for both, the compensation error at the reference point does not need to be zero.
Page 51
Software compatibility with respect to version V7.11:
i
When updating from a version older than V7.11. It maintains the values of the error in the positive direction of the
tables and assigns a zero error in the negative direction to all the points.
When changing to a version older than V7.11. It maintains the error values in the tables in the positive direction, but
it loses the ones in the negative direction.
8 Parameters accessible from the oscilloscope or OEM
subroutine
8.1 Axis parameters that may be modified from the oscilloscope
The following axis machine parameters may be modified.
8040 CNC
Indicate the axis and the parameter number separated by a dot. Example: [X.P18], [Z.P23].
Number Parameter Update
P42 MAXFEED Beginning of the next block P43 JOGFEED Beginning of the next block
8.2 General parameters modifiable from the oscilloscope
The following general machine parameter (needed to adjust the machine) may be modified from the oscilloscope.
Enter the indicator of the general parameter and the parameter number separated with a dot. Example: [G.P161].
Number Parameter Update
P161 TLOOK Beginning of the execution of a program.
8.3 Machine parameters modifiable from an OEM program
All the parameters modifiable from the oscilloscope can also be changed from an OEM program using the following variables.
MPGn MP(X-C)n MPSn MPSSn MPASn MPLCn
NEW F
EATURES
The new values are updated according to the tables described in chapter [RESET] or [SHIFT]+[RESET] to update the values.
32 Oscilloscope function
It is not necessary to press
(S
M: 7.1X)
OFT
Parameters
accessible from the
oscilloscope or
OEM subroutine
Page 47 of 48
Page 52
8040 CNC
User notes:
NEW F
EATURES
(S
M: 7.1X)
OFT
Page 48 of 48
Page 53

Operating Manual

(MC option)
Ref. 0204-ing
Page 54
The information described in this manual may be subject to variations due to technical modifications.
FAGOR AUTOMATION, S.Coop. Ltda. reserves the right to modify the contents of the manual without prior notice.
iii
Page 55

INDEX

1. GENERAL CONCEPTS
1.1 Keyboard ................................................................................................................................1
1.2 General.....................................................................................................................................2
1.2.1 Management of text program P999997 ................................................................................4
1.3 Power-up .................................................................................................................................5
1.4 Operating in M mode with an MC keyboard .....................................................................6
1.5 Video off ..................................................................................................................................6
1.6 Handling the cycle-start key ................................................................................................6
2. OPERA TING IN JOG MODE
2.1 Introduction ...........................................................................................................................2
2.2 Axis Control............................................................................................................................6
2.2.1 Work Units ..............................................................................................................................6
2.2.2 Coordinate preset ..................................................................................................................6
2.2.3 Handling the Feedrate of the Axes (F) ................................................................................6
2.3 Home Search (Machine reference zero)..............................................................................7
2.4 Jogging the axes ....................................................................................................................8
2.4.1 Continuous jog ......................................................................................................................8
2.4.2 Incremental jog .......................................................................................................................9
2.4.3 Jogging with an Electronic Handwheel ..............................................................................10
2.4.4 FEED HANDWHEEL ............................................................................................................11
2.4.5 Master Handwheel ................................................................................................................12
2.5 Tool control ............................................................................................................................13
2.5.1 Tool change ............................................................................................................................14
2.5.1.1 Variable tool change point....................................................................................................15
2.5.2 Tool calibration ......................................................................................................................16
2.5.2.1 Define the tool in the tool table ...........................................................................................17
2.5.2.2 Tool measurement..................................................................................................................18
2.5.2.3 Modify values while in execution .......................................................................................19
2.6 Spindle control .......................................................................................................................20
2.7 Control of external devices ..................................................................................................21
2.8 ISO code management ..........................................................................................................22
3. WORKING WITH OPERA TIONS OR CYCLES
3.1 Operation editing mode ........................................................................................................2
3.1.1 Definition of the machining conditions ..............................................................................3
3.1.2 Safety plane ............................................................................................................................4
3.1.3 Cycle level...............................................................................................................................5
3.2 Simulation and execution of the operation ........................................................................6
3.2.1 Background cycle editing .....................................................................................................7
3.3 Profile milling operation ........................................................................................................8
3.3.1 Data definition ........................................................................................................................9
v
Page 56
3.3.2 Profile definition (level 2) ......................................................................................................10
3.4 Surface and slot milling Milling operations .......................................................................11
3.4.1 Surface milling data definition .............................................................................................12
3.4.2 Slot milling data definition ....................................................................................................13
3.5 Pocket cycle with a profile ....................................................................................................15
3.5.1 Data definition ........................................................................................................................16
3.5.2 Profile definition .....................................................................................................................18
3.5.3 Examples of profile definition ...............................................................................................19
3.6 Rectangular and Circular Boss cycles ................................................................................21
3.6.1 Data definition ........................................................................................................................22
3.7 Rectangular and Circular pocket cycles .............................................................................23
3.7.1 Data definition ........................................................................................................................25
3.8 Positioning (2 levels).............................................................................................................27
3.8.1 Data definition ........................................................................................................................28
3.9 Boring operation ....................................................................................................................29
3.9.1 Data definition ........................................................................................................................30
3.10 Reaming operation .................................................................................................................31
3.10.1 Data definition........................................................................................................................31
3.11 Tapping operation .................................................................................................................32
3.11.1 Data definition........................................................................................................................33
3.12 Drilling and Center punching operations ...........................................................................34
3.12.1 Data definition........................................................................................................................36
3.13 Multiple positioning ..............................................................................................................37
3.13.1 Multiple positioning at random points ...............................................................................38
3.13.2 Multiple positioning in a straight line ................................................................................39
3.13.3 Multiple positioning in an arc (bolt-hole pattern) ............................................................41
3.13.4 Multiple positioning in a parallelogram pattern ................................................................43
3.13.5 Multiple positioning in a grid pattern .................................................................................44
4. STORAGE OF PROGRAMS
4.1 List of stored programs .........................................................................................................2
4.2 See content of a program......................................................................................................3
4.2.1 Seeing the operations in detail ............................................................................................3
4.3 Edit a new part-program........................................................................................................4
4.3.1 Storage of an operation or cycles .......................................................................................4
4.4 Erasing a part-program..........................................................................................................5
4.5 Copy a part-program in another ..........................................................................................5
4.6 Modifying a part-program ....................................................................................................6
4.6.1 Erasing an operation .............................................................................................................6
4.6.2 Moving an operation to another position .........................................................................6
4.6.3 Adding or inserting a new operation ..................................................................................7
4.6.4 Modifying an already existing operation ...........................................................................7
5. EXECUTION AND SIMULA TION
5.1 Simulating or executing an operation or cycle ..................................................................2
5.2 Simulating or executing a part-program..............................................................................3
5.2.1 Simulating or executing a section of a part-program ........................................................3
5.3 Simulating or executing a stored operation .......................................................................3
5.4 Execution Mode .....................................................................................................................4
5.4.1 Tool inspection ......................................................................................................................5
5.5 Graphic representation ..........................................................................................................6
vi
Page 57
MC work mode

1.1 KEYBOARD

1. General Concepts
1.1 Keyboard

1. GENERAL CONCEPTS

speed
Alphanumeric keys and command keys.
Selects character X Selects character A Selects character R
Specific keys for the MC model Enable Selection and definition of Machining Operations
Governing external devices Selecting the spindle’s operating mode Selecting single or automatic execution mode
The JOG key Enables Moving the axes of the machine
Governing the spindle Modifying the feedrate of the axes and the spindle
Starting and stopping execution
Chapter 1 - page 1
Page 58
1. General Concepts
1.2 General
MC work mode

1.2 GENERAL

It has all the performance features of the M model plus the specific features of the MC mode. For example, the setting of the numerical Control must be done in M mode. In the MC operating mode the programs P900000 to P999999 are reserved for the CNC itself, that
is, these cannot be used as part-programs by the user as they have a special significance. Furthermore, to be able to work in MC mode, the CNC has to have in its memory programs P999997
and P999998, which are supplied by Fagor Automation. Every time the CNC detects a new software version, updates these programs automatically and makes
a backup copy of the old ones in the configuration card (CARD A). Also routines 0000 a 8999 are free for use and routines 9000 to 9999 are reserved for the CNC itself.
Warning: Programs P999997 and P999998 are associated with the software version.
Fagor Automation shall not be held responsible of any possible malfunction if programs P999997 and P999998 contained in user RAM memory have been erased or do not correspond to the software version.
Some of the routines reserved for the CNC itself have the following meaning:
9998 Routine to be executed by the CNC at the beginning of each part-program. 9999 Routine to be executed by the CNC at the end of each part-program.
Every time a new part-program is edited the CNC adds a call to the corresponding routine at the beginning and end of each program.
Warning Both subroutines must be defined by the machine manufacturer even if no operation
is to be carried out at the beginning or at the end of the part-program. Otherwise, the CNC will issue an error when attempting to run a part-program.
Example of how to define subroutine 9998. (SUB 9998) ; Definition of subroutine 9998.
; Programmed blocks defined by the machine manufacturer
(RET) ; End of subroutine
Chapter 1 - page 2
Page 59
MC work mode
1. General Concepts
1.2 General
Some of the programs reserved for the CNC itself have the following meaning:
P999998 This is a routines program used by the CNC for interpreting the programs edited in MC
format and executing these afterwards.
Warning
No modifications of this program are allowed. If this program is modified or erased, Fagor Automation will not be held responsible for the performance of the CNC.
If the manufacturer needs to create his own subroutines (home
search subroutine, tool change, etc. ...) as well as subroutines
9998 and 9999 should be included in another program, for example P999999.
P999997 This is a text program which contains:
All the phrases and texts displayed on the different screens in the MC mode. The help texts for the icons in work cycles shown at the bottom left side of the screen. The messages (MSG) and errors (ERR) to be issued at the MC model.
All these texts, messages and errors may be translated into the desired language. Points to consider:
All the lines of the program have to start with the character ";" If a line starts with ";;", the CNC will understand that the whole line is a program comment. The format of a line is as follows:
";Nr. of text - explanatory remark (not displayed) - $Text to be displayed"
Examples
;; General text ...............................The CNC treats this as a remark
;;44 Feedrate $M/MIN .................The CNC treats this as a remark.
;44 $M/MIN ..................................This is message 44 and the text "M/MIN" is
displayed
;;44 Feedrate $M/MIN .................This is message 44, and has the explanatory
remark "Feedrate" which is not displayed and the text
"M/MIN" is shown. Notes regarding messages: The format must be respected. Only the text after "SAVEMSG:" may be translated
Example: Original: N9500(MSG"SAVEMSG: DRILLING 1") Translated: N9500(MSG"SAVEMSG: 1. ZULAKETA ZIKLOA")
Notes regarding errors: The format must be respected. Only the text between quotes( "xxxx") may be
translated Example: Original: N9000(ERROR"DRILLING CYCLE 1: F=0") Translated: N9000(ERROR"1. ZULAKETA ZIKLOA: f=0")
Warning
When modifying program 999997, it is recommended to make a backup copy because the CNC replaces it every time another language is selected or the software version is updated.
P998000 ... P998999 Are the profiles defined by the user by means of the profile editor and
corresponding to the pocket cycle with profiles. In the MC mode, the user defines them with three digits (0 through 999) and the CNC stores them internally as P 998xxx.
P997000 ... P997999 Are the profiles defined by the user by means of the profile editor and
corresponding to the profile milling operation. In the P 997xxx.
Chapter 1 - page 3
Page 60
1. General Concepts
1.2 General
1.2.1 Management of the text program P999997
MC work mode
1.2.1 MANAGEMENT OF TEXT PROGRAM P999997
On power-up, the CNC copies the texts of program P999997 into the system memory.
It checks if program P999997 is in the user memory. If it is not, it looks in "CARD A", if it is not there either, it assumes the ones provided by default and it copies them into the P999997 program of the user memory.
If the mainland Chinese language is selected, program P999997 is ignored. It always assumes the ones provided by default.
If when switching from M mode to MC or MCO mode, program P999997 cannot be found, because it has been erased, it is re-initialized like after power-up.
After modifying the texts of program P999997, turn the CNC off and back on to assume the new texts. When changing a language, software version or adding conversational modes MC, MCO (new
software features) the CNC carries out the following operations:
The texts that were being used are saved into "CARD A" as program P999993. Program P999997 is erased from "CARD A" The new default texts are assumed and are copied into program P999997 of the user memory.
When changing the texts, turn the CNC off and back on after modifying program P999997 so it assumes the new texts.
Chapter 1 - page 4
Page 61
MC work mode
1. General Concepts
1.3 Power-up

1.3 POWER-UP

Both on CNC power-up and after the keystroke sequence: the CNC acts as follows:
Shows «page 0» if it has been defined by the manufacturer. To access this operating mode, press any key.
If there is no «page 0», the CNC will display the standard screen for the selected work mode.
There are two operating modes: MC mode and M mode. To switch from one mode to the other, press
The standard MC mode screen is:
Warning
CNC setting should be done in M mode. Some errors must be eliminated in the M mode.
Chapter 1 - page 5
Page 62
1. General Concepts
1.4 Operating in M mode with an MC keyboard
1.5 Video OFF
MC work mode

1.4 OPERATING IN M MODE WITH AN MC KEYBOARD

The MC keyboard has been designed to also be able to operate in M mode. The alphanumeric keyboard must be used for the keys replacing softkeys F1 to F7.
Alphanumeric keyboard:
The keys which replace softkeys F1 to F7 are:
To switch from one operating mode to another, press key sequence

1.5 VIDEO OFF

The CRT can be blanked out by hitting the keystroke sequence: .
To recover the video signal, just press any key. On the other hand, when receiving any message (PLC, program, etc.) the CNC also recovers the
display.

1.6 HANDLING THE CYCLE-START KEY

In order to avoid unwanted executions when keying sequences not supported in the MC mode, the CNC changes the color of the "CYCLE START" icon located at the top of the window from green to grey and it shows a message indicating that it is an invalid action.
For example, if while a part-program is selected, "M3 Start" is pressed, (sequence not supported by the MC model), the CNC displays a warning message and prevents the part-program from running when detecting the "cycle start" key.
Chapter 1 - page 6
Page 63
MC work mode
The standard MC operating mode screen is:
2. Operating in JOG mode

2. OPERA TING IN JOG MODE

If one presses key
The CNC displays the special MC operating mode screen.
Chapter 2 - page 1
Page 64
2. Operating in JOG mode
2.1 Introduction

2.1 INTRODUCTION

The standard MC operating mode screen contains the following information:
MC work mode
1.- Clock
2.- This window can display the following data: SBK when the Single Block execution mode is selected.
DNC when the DNC mode is activated.
P..... number of the program selected.
Message «In Position» - «Execution» - «Interrupted» - «RESET» PLC messages
3.- The CNC messages are shown in this window.
4.- This window can display the following data:
* The X, Y, Z coordinates of the axes. * In small characters, the axis coordinates referred to machine zero reference (home). This
values are very useful when allowing the operator to set a tool change position (see zone 6). The CNC does not show this data when text 33 has not defined in program 999997.
* The coordinates of the auxiliary axes which are defined. * The real spindle rpm "S".
5.- The information shown in this window depends on the position of the left-hand switch.
In all cases, it shows the feedrate of the «F» axes that has been selected and the % of F being applied.
When Feed-hold is active, the feedrate value changes colors. All the possible cases are shown below.
Chapter 2 - page 2
Page 65
MC work mode
2. Operating in JOG mode
2.1 Introduction
6.- This window displays, in large characters, the tool number «M» selected. The offset number «D» associated with the tool. If the tool number and the offset number
coincide, the CNC will not display value «D». The coordinates for the tool change point referred to home. The CNC does not display this
window when text 47 of program 999997 is not defined.
7.- This window shows all the details of the spindle : * The actual spindle speed "S". * The condition of the spindle. This is represented by an icon and can be turning to the right,
to the left or idle. * The % of the spindle speed being applied. * The active spindle range. * The range of the active spindle. The CNC does not display this information when text 28 of
program 999997 is not defined.
8.- Whenever a work cycle is accessed, the CNC shows the help text associated with the icon selected in this window.
This help text must be defined in P999997 program and be written in the desired language. The format and the points to be considered in the P999997 program are detailed in Chapter on
"General concepts".
9.- Reserved.
Chapter 2 - page 3
Page 66
2. Operating in JOG mode
2.1 Introduction
The special screen for MC operating mode contains the following information:
MC work mode
1.- Clock
2.- This window can display the following data: SBK when the Single Block mode of execution is selected.
DNC when the DNC mode is active.
P..... number of the program selected.
Message «In Position» - «Execution» - «Interrupted» - «RESET» PLC messages
3.- The CNC messages are shown in this window.
4.- In manual operating mode this window does not display any data, but during execution, it shows
the lines of the program being executed.
5.- The X, Each axis has the following fields available:
COMMAND States the coordinate programmed, that is, the position that the axis must
reach. ACTUAL States the actual coordinate or actual position of the axis. TO GO States the distance that the axis has still to go to reach the coordinate
programmed. FOLLOWING ERROR Difference between the theoretical and real values of the position.
The spindle (S) has the following fields available: THEORETICAL theoretical speed S programmed.
RPM speed in rpm. FOLLOWING ERROR When operating with spindle guided stop (M19) this indicates the
difference between theoretical and real speeds. The auxiliary axes only show the actual (real) axis position.
Chapter 2 - page 4
Page 67
MC work mode
6.- This window shows the state of the «G» functions and the auxiliary functions «M» that are activated. It also displays the value of variables.
PARMC States the number of consecutive parts that have been executed with the same
program. Whenever a new program is selected, this variable assumes value 0.
CYTIME States the time elapsed during the execution of the parts. It is expressed in the
following format: “hours : minutes : seconds : hundredths of second”. Whenever the execution of a program is started, even though this is repetitive, this
variable assumes value 0.
TIMER States the reading of the clock enabled by the PLC. It is expressed in format “hours
: minutes : seconds”.
7.- Reserved.
8.- Reserved.
2. Operating in JOG mode
2.1 Introduction
Warning
Whenever a part-program or an operation stored as part of a part-program is selected for simulation or execution, the CNC selects this part-program in the
top center window and highlights it next to the symbol.
When the selected program is highlighted, the CNC acts as follows:
If is pressed, the CNC executes the selected part-program.
If is pressed the program is deselected, the CNC deletes it from the top center window.
Chapter 2 - page 5
Page 68
2. Operating in JOG mode
2.2 Axis control
MC work mode

2.2 AXIS CONTROL

2.2.1 WORK UNITS
Whenever the MC work mode is accessed, the CNC assumes the work units, «mm or inches», «millimeters/minute or millimeters/revolution», etc., that are selected by machine parameter.
To modify these values the M work mode has to be accessed, modifying the relevant machine parameter.
2.2.2 COORDINATE PRESET
Coordinate preset must be made axis to axis, in the following stages:
1st Press the key for the axis required , or
The CNC will frame the position for said axis, to indicate that this is selected.
2nd Enter the value required for preset of the axis.
To exit coordinate preset press
3rd Press so that the CNC assumes said value as the new value for the point.
The CNC requests confirmation of the command. Press to confirm or to exit preset.
2.2.3 HANDLING THE FEEDRATE OF THE AXES (F)
To set any particular value for the axis feedrate, proceed as follows:
1st Press
The CNC will frame the present value, to indicate that this is selected.
2nd Enter the new feedrate required.
To exit coordinate preset press
3rd Press for the CNC to assume said value as the new feedrate for the axes.
Chapter 2 - page 6
Page 69
MC work mode
2. Operating in JOG mode
2.3 Home search
2.3 HOME SEARCH (MACHINE REFERENCE ZERO)
Home search can be done in 2 ways:
- Home search on all the axes.
- Home search on a single axis.
Home search on all the axes
To carry out a search for machine reference zero for all axes the user should press key:
The CNC will request confirmation of the command (text 48 of program 999997) Press ,The CNC will execute the machine reference zero routine defined by the
manufacture in the general machine parameter P34 (REFPSUB).
Warning: After carrying out the search for machine reference zero (home)
position in this mode, the CNC saves the part zero or zero offset that is active at the time.
A home search routine, general machine parameter P34 other than 0 has to be defined. Otherwise the CNC will display the relevant error.
Home search on a single axis
To carry out the search for machine reference zero for only one axis the key for the required axis should be pressed as well as the key for machine reference zero search.
In either case, the CNC will request confirmation of the command (text 48 of program 999997)
Carries out the home search on the X axis Carries out the home search on the Y axis Carries out the home search on the Z axis
Warning: After carrying out the search for machine home position in this mode
the CNC does not save the part zero or zero offset that is active at the
time and assumes as new part zero the position taken by machine reference zero (home).
Chapter 2 - page 7
Page 70
2. Operating in JOG mode
2.4 Jogging the axes
2.4.1 Continuous jog
MC work mode
2.4 JOGGING THE AXES
The axes of the machine can be jogged in the following ways:
- [X] [target position] [Z] [target position] or [Z] [target position]
- continuous movement
- incremental movement
- movement by electronic handwheel
2.4.1 CONTINUOUS JOG
Place the left-hand switch in position and on the right-hand switch select the percentage (0% to 120%) of the feedrate selected to be applied.
Continuous movement should be done axis to axis. To do this press the JOG key for the direction of the axis to be moved.
The axis moves with a feedrate equal to the percentage (0% to 120%) of the «F» feedrate selected.
If during movement the key is pressed the maximum feedrate possible is carried out, as is stated in the “G00FEED” axis machine parameter. This feedrate will be applied as long as said key is pressed, and when released the previous feedrate will be resumed.
Depending on the state of the “LAMCHM” general logic input the movement will be made in the following way:
* If the PLC sets this mark at a low logic level (0V), the axis will only move while the relevant JOG key is pressed.
* If the PLC sets this mark at a high logic level (24V), the axis will start to move when the JOG key is pressed and will not stop until said JOG key or another JOG key is pressed again, and in this case the movement is transferred to what is indicated by the next key pressed.
When operating with feedrate "F" in millimeters/revolution the following cases may arise: a) The spindle is started. or
The CNC moves the axes to the F programmed.
b) The spindle is stopped but there is a spindle speed S selected.
The CNC calculates the corresponding feedrate in millimeters/minute and moves the axis. For example, if «F 2.000» and «S 500»:
F (mm/min) = F (rev/min.) x S = 2 x 500 = 1000 mm/min The axis moves at a feedrate of 1000 in millimeters/minute.
c) The spindle is stationary and there is no spindle speed S selected.
If feedrate F has value 0, the CNC moves the axes at rapid feedrate. If feedrate F has any other value, the axes will only be able to be moved if key is pressed
and the key for one axis. The CNC moves the axis at fast feedrate.
Chapter 2 - page 8
Page 71
MC work mode
2. Operating in JOG mode
2.4 Joggin the axes
2.4.2 Incremental jog
2.4.2 INCREMENTAL JOG
Place the left-hand switch in one of the positions
Incremental jog must be done one axis at a time. To do this press the JOG key for the direction of the axis to be moved.
Each time a key is pressed, the corresponding axis moves the amount set by the switch. This movement effects the «F» feedrate selected.
Position of the switch Movement per turn
1 0.001 mm or 0.0001 inches 10 0.010 mm or 0.0010 inches 100 0.100 mm or 0.0100 inches 1000 1.000 mm or 0.1000 inches 10000 10.000 mm or 1.0000 inches
Chapter 2 - page 9
Page 72
2. Operating in JOG mode
2.4 Jogging the axes
2.4.3 Jogging with an electronic handwheel
MC work mode
2.4.3 JOGGING WITH AN ELECTRONIC HANDWHEEL
This option means the machine movements can be governed by means of an electronic handwheel.
To do this the left-hand switch has to be located in one of the positions of the handwheel
The positions available are 1, 10 and 100, all of these indicating the multiplication factor applied to the pulses provided by the electronic handwheel.
Example:
Position of the switch Movement per turn
1 0.100 mm or 0.0100 inches
10 1.000 mm or 0.1000 inches 100 10.000 mm or 1.0000 inches
The machine has an electronic handwheel
After selecting the position required on the switch, press one of the JOG keys for the axis which is to be moved. The axis selected will be displayed in small characters next to the handwheel symbol at the bottom of the screen.
If a FAGOR electronic handwheel with push button is available, the selection of the axis to be moved can also be done in the following way:
Press the push button located on the rear of the handwheel. The CNC will select the first of the axis and display this in highlighted text.
If the push button is pressed again the CNC will select the following axis, making this selection on a rotative basis.
If the push button is held down for longer than 2 seconds, the CNC will stop selecting said axis.
After selecting the axis the machine will move this as the handwheel is turned, also respecting the turning direction applied to the same.
The machine has two or three electronic handwheels
The machine will move each of the axis according to how the corresponding handwheel is turned, taking into account the position selected on the switch and also respecting the turning direction applied.
Warning:
It may occur that depending on the turning speed of the handwheel and the position of the switch, the CNC may be requested to make a movement with a feedrate higher than the maximum allowed (“G00FEED” axis machine parameter). The CNC will move the axis the amount required, but limit the feedrate to said value.
Chapter 2 - page 10
Page 73
MC work mode
2. Operating in JOG mode
2.4 Jogging the axes
2.4.4 Feed Handwheel
2.4.4 FEED HANDWHEEL
Usually, when making a part for the first time, the machine feedrate is controlled by means of the feedrate override switch.
From this version on, it is possible to use the machine handwheels to control that feedrate. This way, the machining feedrate will depend on how fast the handwheel is turned.
To do this, proceed as follows:
Inhibit all the feedrate override switch positions from the PLC. Detect how far the handwheel is turned (reading of pulses received) Set the corresponding feedrate from the PLC depending on the pulses received from the handwheel.
The following CNC variables return the number of pulses the handwheel has turned.
HANPF shows the number of pulses of the 1st handwheel. HANPS shows the number of pulses of the 2nd handwheel. HANPT shows the number of pulses of the 3rd handwheel. HANPFO shows the number of pulses of the 4th handwheel.
To use this feature, the handwheel must be associated with one of the axes of the machine. General
machine parameters “AXIS1....8” or “HANDWHE1....4” set with values: “21....29”
Example: The machine has a button to activate and deactivate this feature (feed handwheel) and the
feedrate control is carried out with the second handwheel.
CY1 R101=0 Resets the register containing the previous handwheel reading END
PRG DFU I71 = CPL M1000 Every time the button is pressed, mark M1000 is inverted M1000 = MSG1 If the feature is active, a message is displayed. NOT M1000 If the feature is not active = AND KEYDIS4 $FF800000 KEYDIS4 enables all the positions of the feedrate override switch = JMP L101 and goes on with program execution If the feature is active DFU M2009 and a leading edge (up flank) occurs at the clock mark M2009 = CNCRD(HANPS,R100,M1) We read the number of handwheel pulses contained in R100 = SBS R101 R100 R102 calculates the number of pulses received from the last reading = MOV R100 R101 updates R101 for the next reading = MLS R102 3 R103 calculates in R103 the proper % of feedrate override = OR KEYDIS4 $7FFFFF KEYDIS4 inhibits all the other positions of the feedrate override switch CPS R103 LT 0 = SBS 0 R103 R103 ignores the handwheel turning direction CPS R103 GT 120 = MOV 120 R103 Limits the maximum feedrate override to 120%. DFU M2009 With the leading edge (up flank) of the clock mark M2009 = CNCWR(R103,PLCFRO,M1) set the calculated feedrate override (PLCFRO=R103)
L101 END
Chapter 2 - page 11
Page 74
2. Operating in JOG mode
2.4 Jogging the axes
2.4.5 Master Handwheel
MC work mode
2.4.5 MASTER HANDWHEEL
With this feature, it is possible to jog two axes at the same time along a linear or circular path with a single handwheel.
More handwheels need not be installed on the machine. The one currently installed will be used for the usual work mode and for this feature (Master Handwheel).
If besides having a general handwheel (general machine parameter AXIS*=11 or 12) other handwheels are associated with the axes, the CNC assumes the one associated with the X axis (general machine parameter AXIS*=21) as the Master Handwheel.
This feature must be handled by the PLC.
The PLC activates or deactivates the “master handwheel” mode through logic CNC input “MASTRHND” M5054,
M5054 = 0 Standard handwheel mode ON. M5054 = 1 Master handwheel mode ON.
The PLC must indicate the type of jogging path to follow through logic CNC input “HNLINARC” M5053,
M5053 = 0 Linear jog M5053 = 1 Circular jog.
The following example uses the [O2] key to activate and deactivate the “master handwheel” mode and the [O3] to indicate the type of jog.
DFU B29 R561 = CPL M5054 Activate / deactivate the “master handwheel” mode. DFU B31 R561 = CPL M5053 Selects the type of jog, linear or circular.
While in handwheel mode and selecting the “master handwheel”, the CNC shows the following data:
When choosing a linear jog (upper drawing) , the angle of the path must be indicated and when choosing a circular jog (lower drawing), the arc center coordinates must be indicated.
To define these variables, press the [F] and, then, one of these keys:
Chapter 2 - page 12
Page 75
MC work mode
2. Operating in JOG mode
2.5 Tool control

2.5 TOOL CONTROL

The standard screen for MC operating mode displays the following information about the tool.
This window displays the following information: > In large characters, the number "T" of the selected tool. > The offset number «D» associated with the tool. > The coordinates for the tool change point.
The CNC does not display this window when text 47 of program 999997 is not defined.
To select any other tool take the following steps:
1st Press
The CNC will frame the tool number
2nd Enter the tool number to be selected
To exit the selection process press
3rd Press key for the CNC to select the new tool.
The CNC will handle the tool change
Chapter 2 - page 13
Page 76
2. Operating in JOG mode
2.5 Tool control
2.5.1 Tool change
2.5.1 TOOL CHANGE
Depending on the type of tool changer, one can have:
Machine with automatic tool changer Machine with manual tool changer
In both cases the CNC:
Executes the routine associated with the tool change (general machine P60 «TOOLSUB»). Sends the PLC all the information required for this to handle the tool change.
And assumes the new values for the tool (offsets, geometry, etc. ...).
An example of how a manual tool changer is handled.
Subroutine 55 as associated with the tools. General machine parameter P60 «TOOLSUB» = 55. Define the general machine parameter P71 "TAFTERS" = YES so that the tool is selected after
executing the subroutine.
MC work mode
The subroutine associated with the tools can contain the following information:
(SUB 55) (P100 = NBTOOL) ; Assigns the No. of tool requested to P100 (P101 = MS3) ; If spindle clockwise P101=1 (P102 = MS4) ; If spindle counterclockwise P102=1
G0 G53.... XP?? Y?? ZP?? ; Movement to change point
M5 ; Spindle stop (MSG "SELECT T?P100 - THEN PRESS START")
; Message for requesting tool change M0 ; Program stop and wait until START is pressed (MSG "" "") ; Erases previous message (IF P102 EQ 1 GOTO N10) ; Recovers turning direction of spindle (IF P101 EQ 0 RET) M3 (RET) N10 M4 (RET)
After completing the subroutine, the CNC executes function T??, sends the PLC all the information required for the latter to handle the tool change and assumes the new values for the tool, (tool offsets, geometry, etc.)
When having a Machining Center, general machine parameter "TOFFM06 (P28) = Yes", the CNC acts as follows:
If the execution of an operation or cycle involves a tool change, the CNC:
Selects the desired tool in the magazine Executes the subroutine associated with the tool, general machine parameter "TOOLSUB (P60)" Executes function M06 to carry out the tool change.
When selecting a new tool in JOG mode or when operating in M mode, the CNC only selects the too
in the magazine and executes the associated subroutine. The M06 function must be executed by the operator, either by programming an ISO block or by setting the PLC so it executes the M06 function when pressing a particular key. The following example uses the [O4] key: DFU B2 R562 = CNCEX1 (M06, M1)
Note: On Machining Centers, the subroutine associated with the tool MUST NOT include the M06.
Chapter 2 - page 14
Page 77
MC work mode
2. Operating in JOG mode
2.5 Tool control
2.5.1 Variable tool change point
2.5.1.1 VARIABLE TOOL CHANGE POINT
If the manufacturer wishes the user can be allowed to define the tool change point at all times. This feature logically depends on the type of machine and type of changer.
This feature allows the tool change to be made beside the part, thus avoiding movements to a change point farther away from the same.
To allow this:
Define text 47 of the program 999997 for the CNC to request the coordinates on X, Y and Z of the change point. For example: ;47 $CHANGE POSITION
These coordinates should always refer to machine reference zero (home), for the zero offsets not to affect the tool change point.
For this reason, the CNC can display, along with coordinates X, Y, Z and in small characters, the coordinates for the axes referring to home.
For the CNC to show the coordinates of the axes referring to home text 33 of program 999997 has to be defined. For example: ;33 $REFERENCE ZERO (HOME)
Since the tool change point can be modified by the operator at any time, the subroutine associated with the tools must take these values into account.
Arithmetical parameters P290, P291 and P292 contain the values set by the operator as change position on X, Y, Z.
Arithmetic parameter P290
Change position on X
Arithmetic parameter P291
Change position on Y
Arithmetic parameter P292
Change position on Z
In subroutine 55 of the previous section, the line fixing the movement to the change point must be modified:
Where it says: G0 G53 XP??? YP??? ZP??? ; Movement to the change point. It should say: G0 G53 XP290 YP291 ZP292 ; Movement to the change point defined by the user.
Define the coordinates of the change point (X, Y, Z)
Press key for selecting field «T». Then press key for the relevant axis
or keys:
After moving over the coordinates for the axis to be defined, one can: a) Enter the value manually. Key in the value required and press the key
b) Assign the present position of the machine.
Move the axis, by means of the handwheel or the JOG keys, up to the point required.
Press key The CNC assigns said coordinate to the field selected.
Press key
Chapter 2 - page 15
Page 78
2. Operating in JOG mode
2.5 Tool control
2.5.2 Tool calibration
2.5.2 TOOL CALIBRATION
To access tool calibration mode press key
The CNC displays the following information:
MC work mode
1.- Header for the selected operating mode: «Tool calibration».
2.- Help graphics for the tool calibration.
3.- Window for tool calibration.
4.- Current machine status Actual (real) X, Y, Z coordinates, actual axis feedrate "F", actual spindle speed "S" and "T" tool currently selected.
5.- Tool number and its Offset number.
6.- Length and offset values set in the tool offset table.
7.- Nominal life, real life, family and status of the table set in the tool table.
To calibrate the tool take the following steps:
1.- Define the tool in the tool table.
2.- Carry out tool calibration
Chapter 2 - page 16
Page 79
MC work mode
2.5.2.1 DEFINE THE TOOL IN THE TOOL TABLE
To define a tool in the tool table take the following steps:
Select the tool number to be defined
Press key to select field «T» Key in the tool number to be defined and press key
If the tool is defined, the CNC will display the values stored in the table. If the tool is not defined, the CNC will assign it a offset with the same number and all the data
that define the geometry and lengths of the tool will be reset to value 0.
Select the offset number to be associated with this tool
The "D" field must be selected. If not, use the keys. Key in the offset number to be associated with the tool and press
2. Operating in JOG mode
2.5 Tool control
2.5.2 Tool calibration
Define the tool dimensions
The tool data is: R Radius I Radius wear
L Length K Length wear
Even if the tool length is known (L), it is recommended to measure it as indicated in the next section. Once it has been measured, the CNC updates the L and K fields.
The CNC assumes (R+I) as the real tool radius and (L+K) as the real tool length. To set these values, select the corresponding field using the , key in the desired
value and press
Define the rest of the data associated with the tool
Nominal life. Machining time (in minutes) or number of operations
that the tool may carry out.
Actual life. Machining time already elapsed or number of operations
already carried out.
Family code. Used with automatic tool changer.
0 ... 199. normal tools, 200 ... 255 special tools.
When requesting a worn-out (expired) tool ("actual life" greater than "nominal life"), the CNC will select the next tool in the table belonging to the same family instead of the one requested.
Tool status. They are 2 fields for internal CNC data. They cannot be modified.
N = Normal (family 0-199) A = Available S = Special (family 200-255) E = Expired (“actual life” greater than “nominal life”)
R = Rejected by the PLC
To define these values, select the corresponding field using the key in the desired value and press
Chapter 2 - page 17
Page 80
2. Operating in JOG mode
2.5 Tool control
2.5.2 Tool calibration
2.5.2.2 TOOL MEASUREMENT
There are 2 ways of measuring a tool. a) Using a tool calibrating table.
Using the window containing the tool dimensions to set that data.
b) Not using a tool calibrating table. The measurements are carried out with the CNC.
Use the Tool Calibration window.
a) Set the tool length or modify the tool length offsets
This window show the dimensions assigned to the selected tool.
MC work mode
"R" and "L" indicate the tool Radius and Length. "I" and "K" indicate the offset the CNC has to apply to compensate for tool wear. The CNC adds the "I" value to the radius "R" and the "K" value to the length "L" for calculating
the real dimensions (R+I) and (L+K) to be used.
Every time the R or L value is defined, the CNC sets the I and K fields, respectively, to zero. The "I" and "K" values are accumulative. That is, if the "I" value is 0.20 and a value of 0.05
is entered, the CNC assigns a value of 0.25 to the "I" field. When defining I=0 or K=0, each one of them is reset to "0".
To change one of these values, select the corresponding field , key in the desired value and press
b) Tool measurement
The window on the right contains the tool dimensions and the one on the lower left-hand side the data necessary to measure it.
To access the tool calibration window (bottom left) and thus carry out tool calibration, the tool must be selected on the machine.
Otherwise, press key in the tool number and press
Chapter 2 - page 18
Page 81
MC work mode
Select the bottom left window using the Key in the Z coordinate of the part used for calibration and press
Tool measurement. Length only.
Approach the tool to the part and touch it with it. Press
The tool is now calibrated. The CNC assigns the length "L" corresponding to it and resets its "K" field to "0".
The tool radius "R" has to be entered manually. To calibrate another tool:
Select at the machine: number
2. Operating in JOG mode
2.5 Tool control
2.5.2 Tool calibration
Approach the tool to the part and touch it with it.
Then,
2.5.2.3 MODIFY VALUES WHILE IN EXECUTION
The tool values (dimensions and geometry) may be modified without having to interrupt program execution.
To do this, press , the CNC will show the Tool Calibration screen with all the data corresponding to the active tool being possible to change its data or that of any other tool.
To exit this screen, press
Chapter 2 - page 19
Page 82
2. Operating in JOG mode
2.6 Spindle control

2.6 SPINDLE CONTROL

The standard MC work mode shows the following information about the spindle.
1.- Actual (real) spindle speed in rpm.
2.- Theoretical spindle speed in rpm.
MC work mode
To select another speed, press the CNC highlights the current value
Key in the new value and press The CNC assumes that value and updates the real spindle speed.
3.- % of the theoretical spindle speed being applied. To change this percentage, press
4.- Spindle status: turning clockwise, turning counterclockwise or stopped.
To change the spindle status, press:
5.- Currently selected spindle speed range. When using an automatic tool changer, this value cannot be modified.
When NOT using an automatic tool changer, press and then use the key until the current value is highlighted.
Enter the range number to be selected and press or
Note: When the machine does not have spindle ranges, this message is useless. That is why the
Chapter 2 - page 20
CNC does not show this message when text number 28 has not be defined in program
999997.
Page 83
MC work mode
2. Operating in JOG mode
2.7 Control of external devices

2.7 CONTROL OF EXTERNAL DEVICES

The CNC allows up to 6 external devices to be activated and deactivated from the keyboard. One of these is the cooling fluid.
The activation and deactivation of the devices must be carried out by the machine manufacturer by means of the PLC program.
The CNC will inform the PLC of the status of each one of the keys. The relevant Register bit will have value 1 when the key is pressed and value 0 when this is not pressed.
The Register bit for each one of the keys is as follows:
The status of the light for each one of these keys must be controlled by the machine manufacturer by means of the PLC program, with the MCLED* input variables shown in the figure being available for this purpose.
Examples:
Control of the coolant: DFU B28R561 = CPL MCLED1
= CPL O33
Control of the tail-stock (O1). To activate or deactivate the tail-stock a number of conditions must
be satisfied such as spindle stopped, ....
DFU B30R561 AND (Remaining conditions) = CPL MCLED2
= CPL O34
Chapter 2 - page 21
Page 84
2. Operation in JOG mode
2.8 ISO code management

2.8 ISO CODE MANAGEMENT

The ISO key gives access to the MDI mode or to the ISO work mode.
To access the MDI mode, the JOG mode must be selected and then press
The CNC displays a window at the bottom of the standard (or special) screen.
MC work mode
In this window, an ISO-coded block may be edited and then executed just like in MDI mode of the "M model" work mode
To access the ISO mode, press once while working with operations or cycles or twice when in the JOG mode.
When accessing the ISO mode, a special screen comes up where up to 6 program blocks may be edited in ISO code or in high level language.
Example: [ISO]
G95 G96 S120 M3 G0 Z100 G1 X30 F0.1
Once the desired block or blocks have been edited, press , The upper right-hand side of the screen will display the symbol.
From this moment on, the edited blocks may be simulated, executed or stored like any other operation or cycle.
Press to simulate and to execute.
It is possible to combine blocks edited in ISO code with machining cycles (standard and/or user defined) to make up part-programs. The chapter on "Program storage" describes how to do it and how to operate with them.
To store blocks edited in ISO code, press
Chapter 2 - page 22
Page 85
MC work mode

3. Working with operations or cycles

3. WORKING WITH OPERATIONS OR CYCLES
The following keys of the CNC must be used to select the machining operations or cycles:
When pressing the CNC shows all the user cycles defined by the machine manufacturer using the WGDRAW application.
The user cycle is edited like any other standard cycle of the MC mode. Once all the necessary data has been defined, the operator may Simulate or Execute the cycle
just like any other standard cycle of the MC mode.
When pressing any other key, the CNC selects the corresponding machining operation or cycle changing the display and lighting up the indicator lamp of the key just pressed.
The operations or cycles that can be selected with each one of these keys are the following:
Boring operation (2 levels) Surface and slot milling
Reaming operation Pocket with 2D and 3D profile
Tapping operation Rectangular & circular boss
Drilling (3 levels) & center punching Rectang. (2) & circular (2) pocket
Profile milling operation (2 levels) Positioning (2 levels)
When the machining operation or cycle has several levels, the key must be pressed to select the desired cycle level:
The Boring , Reaming, Tapping, Drilling and Center punching operations may be carried out at the position occupied by the tool or they could be associated with a positioning by means of
With this CNC, it is possible to combine ISO-coded blocks with standard and/or user-defined machining operations to create part-programs as described in the chapter on "Part-program storage".
To deselect the cycle and return to the standard display, press the key corresponding to the selected cycle (the one with the indicator lamp on) or
Note: the operations or cycles can modify global parameters 150 through 299 (both included).
Chapter 3 - page 1
Page 86
3. Work with operations or cycles
3.1 Operation editing mode

3.1 OPERATION EDITING MODE

Once the operation has been selected, the CNC shows a screen like this:
MC work mode
1.- Name of the selected operation or cycle.
2.- Help graphics.
3.- When referred to positioning, it indicates the associated operation
4.- Current machine status. Coordinates and machining conditions.
5.- Data defining the geometry of the machining operation.
6.- Machining conditions for the operation.
The CNC will highlights an icon, a coordinate or one of the operation (or cycle) defining data. To select another icon, data or coordinate, one can:
a) Use the keys, the CNC selects the previous one or the next one.
b) Press or The CNC selects the first coordinate for that axis. By pressing that key
again, it will select the next coordinate for that axis.
c) Press or The CNC selects the corresponding roughing data . By pressing that key again,
the corresponding finishing data is selected.
d) Press The CNC selects the "S" roughing data. By pressing that key again, the finishing "S"
data is selected.
Chapter 3 - page 2
Page 87
MC work mode
3. Work with operations or cycles
3.1 Operation editing mode
3.1.1 Definition of machining conditions
3.1.1 DEFINITION OF THE MACHINING CONDITIONS
Some operations keep the same machining condition during the whole execution process (boring, reaming, etc.)
Other operations use certain machining conditions for roughing and other conditions for finishing (pockets, bosses, etc.)
This section describes how to define all this data.
Axis feedrate (F)
Place the cursor over this data, key in the desired value and press
Spindle speed (S)
Place the cursor over this data, key in the desired value and press
Spindle turning direction
Place the cursor over this data and press
Machining tool (T)
Place the cursor over this data, key in the desired value and press
It is also possible to access the Tool calibration mode to check or change the data corresponding to the selected tool. To do this, place the cursor over the "T" field and press
To quit the tool calibration mode and return to the cycle, press
Roughing pass (∆∆)
Place the cursor over this data, key in the desired value and press
Finishing stocks ( δ, δδ, δz)
Place the cursor over this data, key in the desired value and press
Chapter 3 - page 3
Page 88
3. Work with operations or cycles
3.1 Operation editing mode
3.1.2 Safety plane
MC work mode
3.1.2 SAFETY PLANE
In all operations, there are four work planes.
Starting plane or tool position when calling the cycle. It does not have to be defined.
Safety plane . It is used for the first approach and for withdrawing the tool after the machining operation. It is defined with parameter Zs.
Approach (to the part) plane. It does not have to be defined. The CNC calculates ti, at 1 mm off the part surface.
Part surface . It is defined with parameter Z.
The tool moves in rapid (G00) to the safety plane (Zs), it keeps on going in rapid to the approach plane (up to 1mm off the part surface) and, finally, it moves at machining feedrate (G01) down to the part surface.
The approach to the part surface depends on the tool position.
If it is above the safety plane (left drawing), it first moves on X and Y and then on Z. If it is below the safety plane (right drawing), it first moves on Z up to the safety plane, then on X
and Y and finally on Z down to the part surface.
Chapter 3 - page 4
Page 89
MC work mode
3.1.3 CYCLE LEVEL
All the cycles have several editing levels. Each level has its own screen and the main window of the cycle indicates (with tabs) the available
levels and which one is currently selected.
3. Work with operations or cycles
3.1 Operation editing mode
3.1.3 Cycle level
To change levels, use the key or the "Page up" and "Page down" keys to scroll up and down through the different levels.
Chapter 3 - page 5
Page 90
3. Work with operations or cycles
3.2 Simulation and execution of the operation

3.2 SIMULATION AND EXECUTION OF THE OPERATION

There are 2 ways to work with operations or cycles: Editing and Execution modes.
Editing mode Execution mode
MC work mode
Press to switch from the Editing mode to the Execution mode.
Press one of these keys to switch from the Execution mode to the Editing mode:
The operation or cycle can be simulated in any of the two modes. To do that, press
For further information refer to the chapter on "Execution and Simulation".
To execute the operation or cycle, select the Execution mode and press
For further information refer to the chapter on "Execution and Simulation".
Chapter 3 - page 6
Page 91
MC work mode
3. Work with operations or cycles
3.2 Simulation and execution of the operation
3.2.1 Background cycle editing
3.2.1 BACKGROUND CYCLE EDITING
While executing a part-program, it is possible to edit an operation or cycle at the same time (background editing).
The new operation just edited may be stored as part of a part-program (other than the one being executed).
The operation being edited in the background cannot be executed or simulated nor the current axis position be assigned to a coordinate.
To inspect or change a tool while background editing, proceed as follows:
Press => to interrupt execution and resume background editing.
Press => To quit background editing.
Press => To go into tool inspection.
Pressing the [T] key while in background editing, it selects the "T" field of the operation or canned cycle being edited.
Warning
Background editing is not possible while executing an independent operation or cycle. It is only possible while executing a part-program.
Chapter 3 - page 7
Page 92
3. Work with operations or cycles
3.3 Profile milling operation

3.3 PROFILE MILLING OPERATION

Press to select the profile milling operation This cycle may be defined in two ways:
Level 1.
MC work mode
One must define: The starting point (X1, Y1), the intermediate points (P1 through P12), the end
point (Xn, Yn) and the machining conditions in Z (Zs, Z, P, I, Fz) On the other hand, in the data area for the roughing operation, one must define
whether the milling operation is to be carried out with or without tool radius compensation.
Level 2.
One must define The starting point (X, Y), the "Profile Program" number and the machining
Chapter 3 - page 8
conditions in Z (Zs, Z, P, I, Fz) On the other hand, in the data area for the roughing operation, one must define
whether the milling operation is to be carried out with or without tool radius compensation.
Page 93
MC work mode
3.3.1 DATA DEFINITION
Coordinates of the starting and end points
These coordinates are defined one at a time. Once the cursor is over the coordinates of the axis to be defined, one can:
a) Enter the value by hand. Key in the desired value and press
b) Assign the current position of the machine.
Jog the axis, with the handwheel or the JOG keys up to the desired point. The upper right-hand window shows the tool position at all times.
Press for the selected data to assume the value appearing in the upper right-hand window.
Press
3. Work with operations or cycles
3.3 Profile milling operation
Intermediate points (Level 1)
The intermediate points are defined one at a time. At each point, one must define: The X, Y coordinates are defined one at a time like those for the starting end points.
The type of corner
To select the type of corner, place the cursor over the icon and press
When not using all 12 definition points, the first unused point must be defined with the same coordinates as those of the last point of the profile.
Machining conditions in Z (Zs, Z, P, I, Fz)
The machining conditions are defined one by one. The Zs and Z values are defined like the coordinates of the starting and end points. To define the rest of the values (P, I, Fz), place the cursor in the corresponding window, key in the desired value and press
If the penetration step is programmed with a positive sign (I+), the cycle recalculates the step so allthe penetrations are the same with a value equal to or smaller than the one programmed.
If it is programmed with a negative sign (I-), the cycle machines with the given step except on the last one where it machines the rest.
Milling with or without tool radius compensation
Without tool radius compensation With left-hand tool radius compensation With right-hand tool radius compensation
To select the type of tool compensation, place the cursor over the icon and press
Chapter 3 - page 9
Page 94
3. Work with operations or cycles
3.3 Profile milling operation
3.3.2 PROFILE DEFINITION (LEVEL 2)
To define the "Profile program" one can:
Key in the "Profile Program" number directly.
If the "Profile program" number is known, key it in and press
Access the "Profile Program" directory to select one of them
Press The cycle will show a window with the profile programs already defined. To move around within a window, use Place the cursor over the desired program and press To exit this window without selecting any program, use
Edit a new "Profile program"
MC work mode
To edit a new "Program", key the program number (between 0 and 999) and press
The CNC will display the window for the profile editor (see Operating manual of the M and MC models, chapter 4 section "Profile Editor").
Once the profile has been edited, the CNC requests a comment to be associated with the "Profile Program" just edited.
Enter the desired comment and press If no comment is desired, press
Modify an existing "Profile program".
To modify a "Program", key in its number and press The CNC will display the profile currently defined in the window for the profile editor.
One can: Add new elements at the end of the current profile.
Modify the data of any element. Modify or insert chamfers, roundings, etc. Delete elements from the element.
Delete an existing "Profile Program".
Press the cycle will show the profile programs already defined. Place the cursor over the "Profile Program" to be deleted and press
The CNC will request confirmation.
Notes: The profile programs can also be accessed in the "M" mode because the CNC saves them
internally as P 997xxx. Example: Profile program 123 is internally stored as P997123.
When saving a part-program containing a level-2 profile cycle out to an external device, PC, floppy disk unit, etc. its associated profile program P997xxx must also be saved.
Chapter 3 - page 10
Page 95
MC work mode
3. Work with operations or cycles
3.4 Surface and slot milling operations

3.4 SURFACE AND SLOT MILLING MILLING OPERATIONS

Press to select these operations.
Surface milling operation:
One must define The type of milling, the starting point (X1, Y1), the dimensions of the surface to
be milled (L, H, E) and the machining conditions in Z (Zs, Z, P, I, Fz)
On the other hand, one must define the milling step () in the data area for the roughing operation and the finishing stock (δz) in the data area for the finishing
operation.
Slot milling operation:
SLOT MILLING
ROUGHING
FINISHING
One must define The type of slot milling, the starting point (X1, Y1), the dimensions of the slot to
be milled (L, H, E) and the machining conditions in Z (Zs, Z, P, I, Fz).
In the roughing area, define the milling step () and the machining direction In the finishing area, define the finishing stocks (δ and δz), the number of
finishing passes and the machining direction
Chapter 3 - page 11
Page 96
3. Work with operations or cycles
3.4 Surface and slot milling operations
3.4.1 SURFACE MILLING DATA DEFINITION
Type of surface milling
To select the type of surface milling, place the cursor over this icon and press
Surface to mill (X1, Y1, L, H, E, αα)
Define one of the corners of the surface to be milled (X1, Y1), the length (L) and the width (H). The sign of L and H indicates the orientation with respect to the point X1, Y1.
MC work mode
The X1, Y1 coordinates may be defined by: a) Entering the value by hand. Key in the desired value and press b) Assigning the current position of the machine.
Move the axis to the desired point with the handwheel or the JOG keys. The top right window shows the tool position at all times.
Press so the selected data assumes the value shown in the top right window and press
Once the surface to be milled has been defined, the icon shown at the bottom right (area for roughing and finishing) allows selecting the corner where it will start milling. Possible values:
The "E" and "αα" data are defined one by one. Go to the relevant window, key in the desired value and press
When programming an "E" value smaller than the tool radius, the CNC mills with an "E" value equal to the tool radius.
Machining conditions in Z (Zs, Z, P, I, Fz)
They are defined one by one. The Zs and Z values are defined like the starting and end points. To define the rest of the values (P, I, Fz), place the cursor in the corresponding window, key in the
desired value and press If the penetration step is programmed with a positive sign (I+), the cycle recalculates the step so allthe
penetrations are the same with a value equal to or smaller than the one programmed. If it is programmed with a negative sign (I-), the cycle machines with the given step except on the last one where it machines the rest.
Milling step ( ∆∆ ) and finishing stock (δδz)
They are defined one by one. Place the cursor in the corresponding window, key in the desired value and press
Chapter 3 - page 12
Page 97
MC work mode
3.4.2 SLOT MILLING DATA DEFINITION
Type of slot milling
To select the type of slot milling, place the cursor over this icon and press
Coordinates of the starting point
These coordinates are defined one by one. After placing the cursor over the axis coordinates to be defined, it is possible:
a) To enter the value by hand. Key in the value and press b) Assign the current axis position.
Jog the axis to the desired point with the handwheel or with the JOG keys. The upper right-hand window shows the tool position at all times.
3. Work with operations or cycles
3.4 Surface and slot milling operations
Press for the selected data to assume the value displayed in the upper right-hand window. Press
Slot dimensions (L, H, E, a)
They are defined one by one. Place the cursor in the corresponding window, key in the desired value and press
When programming parameter «E» with a smaller value than the tool radius, the CNC executes the planning with an «E» value equal to the tool radius.
Machining conditions in Z (Zs, Z, P, I, Fz)
The machining conditions are defined one by one. The Zs and Z values are defined like the starting and end points. To define the rest of the values (P, I, Fz), place the cursor in the corresponding window, key in the
desired value and press If the penetration step is programmed with a positive sign (I+), the cycle recalculates the step so allthe
penetrations are the same with a value equal to or smaller than the one programmed. If it is programmed with a negative sign (I-), the cycle machines with the given step except on the last one where it machines the rest.
Milling step ( ∆∆ ) and finishing stock (δδz)
They are defined one by one. Place the cursor in the corresponding window, key in the desired value and press
Chapter 3 - page 13
Page 98
3. Work with operations or cycles
3.4 Surface and slot milling operations
Milling the different slot types, clockwise:
MC work mode
Chapter 3 - page 14
Page 99
MC work mode

3.5 POCKET CYCLE WITH A PROFILE

To select a profile milling operation, press This cycle may be defined in two different ways:
3. Work with operations or cycles
3.5 Pocket cycle with a profile
Pocket with 2D profile Pocket with 3D profile
A pocket consists of contour or outside profile (1) and a series of contours or profiles internal to it. These inside profiles are referred to as islands.
2D pockets (upper left-hand figure) have all the walls of the outside profile plus those of the vertical islands. 3D pockets (upper right-hand figure) may have one, several or all the walls of the outside profile and/or those of the non-vertical islands (up to a maximum of 4).
Programming pockets with 2D profiles
When defining the Profile, one must specify the contour or contours of the islands besides the outside contour of the pocket.
The machining operation in Z is defined by means of :
Coordinate of the safety plane ................ Zs Coordinate of the part surface.....................Z
Pocket depth............................................P Step in Z .....................................................I
Penetration feedrate in Z ........................ Fz
In the area for the roughing operation data, define:
The lateral penetration angle .....................β The milling pass .........................................
In the area for the finishing operation data, define:
The lateral penetration angle .....................θ Finishing stock on the walls .........................δ
Finishing stock at the bottom ................... δz Number of finishing passes in Z ................. N
Chapter 3 - page 15
Page 100
3. Work with operations or cycles
3.5 Pocket cycle with a profile
Programming pockets with 3D profiles
Pocket ID number. (3D POCKET)
It is possible to have several 3D pockets. The CNC associates with each 3D pocket all its data (surface profile, depth profile, machining conditions, etc.)
Surface profile or profile in the X,Y plane. Profile (P. XY).
It must indicate the contour or contours of the possible islands besides the outside contour of the pocket.
Depth profile corresponding to the profile defined first. Profile (P. Z1)
It usually corresponds to the outside contour of the pocket.
Depth profile corresponding to the profile defined second . Profile (P. Z2)
It usually corresponds to the contour of the island defined first.
Depth profile corresponding to the profile defined third. Profile (P. Z3)
It usually corresponds to the contour of the island defined second.
Depth profile corresponding to the profile defined fourth. Profile (P. Z4)
It usually corresponds to the contour of the island defined third.
MC work mode
Once all the profiles have been defined, the 3D pocket configuration must be validated. To do so, place the cursor over the icon and press
The cycle will show the icon.
The machining operation in Z is defined by means of:
The coordinate of the safety plane .......... Zs Coordinate of the part surface .....................Z
Pocket depth........................................... P Roughing pass in Z ....................................I1
Penetration feedrate in Z ........................ Fz Semi-finishing pass in Z ............................. I2
In the area for roughing data, the following must be defined:
Lateral penetration angle ..........................β Milling pass ................................................
In the area for finishing data, the following must be defined:
Tool tip radius ......................................... R Finishing stock on walls ............................... δ
Finishing pass ....................................... (e)
Direction of the finishing passes on the walls
Notes: The pocket configuration program and the profile programs can also be accessed in the "M" mode
since the CNC stores them internally as:
P995xxx 3D pocket configuration P998xxx The XY plane profiles in 2D and 3D pockets P996xxx Depth profiles in 3D pockets
3.5.1 DATA DEFINITION
Machining conditions in Z (Zs, Z, P, Fz, I, I1, I2)
The machining conditions must be defined one by one. To define the values (P, Fz, I, I1, I2), place the cursor in the corresponding window, key in the desired
value and press If the penetration step is programmed with a positive sign (I+), the cycle recalculates the step so allthe
penetrations are the same with a value equal to or smaller than the one programmed. If it is programmed with a negative sign (I-), the cycle machines with the given step except on the last one where it machines the rest.
Chapter 3 - page 16
Loading...