The installation manual describes how to use this adapter, but the
correct connection is the following:
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.
PinValueMeaning
10V
2
3
If connector X4 is not supplied with voltage, the CNC attends to
the operator panel.
24V
----
GND
The CNC attends to the operator panel
The CNC attends to the alphanumeric keyboard
Not being used
External power supply
NEW F
EATURES
(S
T: 8.XX)
OFT
Detected errors
Page 1 of 46
Page 6
8040 CNC
2The 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
3Management 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.
4Key inhibiting codes for the monitors
The inhibiting codes for softkeys F1 through F7 of monitors models
such as “NMON-55-11-LCD” are:
F1F2F3F4F5F6F7
Bit 24
R508
Bit 25
R508
Bit 26
R508
Bit 27
R508
Bit 28
R508
Bit 29
R508
Bit 30
R508
N
EW FEATURES
(S
T: 8.XX)
OFT
5New work languages
Basque and Russian are now available from this version on.
6Load 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 V08.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:
The meaningless
zeros will not be
displayed
Page 2 of 46
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.
Page 7
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.
7WINDNC 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:
OEPOEM arithmetic parameters
USPUSER arithmetic parameters
DRSSpindle drive table
DS2Table of the Second Spindle drive
DPXTable for the Auxiliary spindle drive
DRX, DRY,
DRZ, DRU,
DRV, DRW,
DRA, DRB,
DRC
8040 CNC
Tables for axis drives
These tables are compatible with the tables that have been
saved from the drive to a PC via serial line using WINDDS.
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.
NEW F
EATURES
(S
T: 8.XX)
OFT
WINDNC
improvements
Page 3 of 46
Page 8
8040 CNC
(
)
Línea telefónica
8Telediagnosis
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.
CNCPC
(RS232)
RS232
CNCPC
The remote PC must have the WINDNC application version 2.00 or
later installed in it and the CNC software version must be V08.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).
Módem
Módem
Telephone line
Internet - RDSI
N
EW FEATURES
(S
T: 8.XX)
OFT
Telediagnosis
Page 4 of 46
The application shows the following window. Indicate which modem
is being used and the telephone number to dial.
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.
Page 9
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)
End the communication (End telediagnosis)
To end the communication, select option (e) from those associated
to the serial line in the WINDNC application.
(e)
9Improvements to the profile editor
8040 CNC
The following improvements have been made:
It is possible to select the coordinate system of the work plane, axes
and their direction.
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, TC and TCO, it indicates the number of
the profile being edited.
10Modified 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.
bit
26,25,24000
001
28,2700
01
Color LCD Monitor
Monochrome LCD monitor
Turbo board at 25 Mhz
Turbo board at 40 Mhz
NEW F
EATURES
(S
T: 8.XX)
OFT
Improvements to
the profile editor
Page 5 of 46
Page 10
8040 CNC
MPGn
MP(X-C)n
MPSn
MPSSn
MPASn
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:
•
•
MPLCn
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.
11New variables
Feedrate related variables
When they are executed inside an OEM program.
When they are executed inside an OEM subroutine.
//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.
N
EW FEATURES
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 readonly 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.
(S
T: 8.XX)
OFT
New variables
Page 6 of 46
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
Page 11
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 readonly 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
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
When programming "G92 S" in ISO code in MC mode.
8040 CNC
Variables related to Probe cycles
TIPPRB
It indicates the PROBE cycle being executed at the CNC. Is readonly 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 readonly from the CNC, DNC and PLC.
NEW F
EATURES
BSIN(X-C)
ASINS
BSINS
"B" signal of the CNC sinusoidal feedback for the X-C axis. Is readonly from the CNC, DNC and PLC.
"A" signal of the CNC sinusoidal feedback for the spindle. Is readonly from the CNC, DNC and PLC.
"B" signal of the CNC sinusoidal feedback for the spindle. Is readonly from the CNC, DNC and PLC.
(S
T: 8.XX)
OFT
New variables
Page 7 of 46
Page 12
SASINS
"A" signal of the CNC sinusoidal feedback for the second spindle. Is
read-only from the CNC, DNC and PLC.
8040 CNC
SBSINS
"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.
12New range of OEM subroutines.
A new range of OEM subroutines has now been defined.
Available subroutine ranges:
General subroutinesSUB 0001 - SUB 9999
OEM subroutinesSUB 10000 - SUB 20000
Although OEM subroutines are treated like the general ones, the
have the following restrictions:
N
EW FEATURES
(S
T: 8.XX)
OFT
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".
13RPT 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.
(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".
New range of OEM
subroutines.
Page 8 of 46
Page 13
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.
14Improved 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.).
With this improvement, it is possible to assign several tools to each
tool position.
8040 CNC
TOOLMATY (P164)
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.
15Improved 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.
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.
16User and OEM arithmetic parameters
There are now two new ranges of global arithmetic parameters.
User parametersRange: P1000 - P1255.
OEM parametersRange: P2000 - P2255
By default 0
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 parametersP100-P299
USP User parametersP1000-P1255
OEP OEM parametersP2000 - P2255
Changing an OEM parameter requires an OEM password.
OEM parameters and subroutines having OEM parameters may
only be written in OEM programs having the [O] attribute.
NEW F
EATURES
(S
T: 8.XX)
OFT
Improved non-
random tool
magazine
management
Page 9 of 46
Page 14
8040 CNC
On the TC and TCO 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.
17Exponential 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.
N
EW FEATURES
(S
T: 8.XX)
OFT
Exponential type of
leadscrew
backlash peak
ACTBAKAN (P144)
In this cases, it is recommended to use the exponential type that
applies a strong pulse at the beginning and decreases in time.
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
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.
bitFunctionbitFunction
19
210
Additional pulse with G2
3
412
513
614
/ G3
11
Page 10 of 46
Page 15
bitFunctionbitFunction
It minimizes internal peaks
715
816
detected with the circle
geometry test
Exponential leadscrew
backlash peak
By default, all bits are set to "0".
18Functions associated to machine safety
18.1Limit the feedrate of the axes and the spindle speed
It is possible to limit the feedrate of the axes and the spindle turning
speed.
8040 CNC
FLIMIT (P75)
SLIMIT (P66)
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.
FLIMITAC (M5058)
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)" .
SLIMITAC (M5059)
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.
When the spindle moves with PLCCNTL, the spindle limitation is
ignored.
18.2Cycle Start disabled by hardware errors
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.
18.3Maximum spindle machining speed.
The following safety regulation requires limiting the spindle speed on
lathes:
"A program will not be executed in machining mode unless the maximum
spindle speed value for the part is entered as well as the proper
maximum speed for the part holding fixture for the machine.
If the operator does not enter or validate these speeds every time the
program is changed, it will not be possible to execute the program
machining mode.
The speed cannot exceed the lower speed among the maximum set by
parameter, the maximum set by program and the maximum entered by
hand
A new variable (MDISL) associated with speed limits is now
available to make this safety maneuver easier. It is read-write from
the PLC and read-only from DNC and CNC.
NEW F
EATURES
(S
T: 8.XX)
OFT
Functions
associated to
machine safety
Page 11 of 46
Page 16
8040 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 TC mode.
•
In TC 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:
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 TC cycles it is not required to enter the SMAX
•
because it is already defined in each cycle.
N
EW FEATURES
(S
T: 8.XX)
OFT
Functions
associated to
machine safety
Page 12 of 46
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
= 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
Page 17
AND CPS R202 LT R103; and "S" limitation from MDI < "S" limitation
= CNCWR(R202,PLCSL,M1000); Applies "S" limitation from the PLC with the
;
M100; If program in execution
AND CPS R202 GT R103; and "S" limitation from MDI > "S" limitation
= 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
19Axes (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
from CNC
value set in MDI
from CNC
8040 CNC
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.
20Mandatory 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.
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.
In all these cases, a home search must be carried out so the signal
is set back high.
NEW F
(S
OFT
EATURES
T: 8.XX)
21Change 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
Axes (2) controlled
by a drive
Page 13 of 46
Page 18
8040 CNC
PLC as long as a block or a part-program is not being executed or
simulated.
TOOLNumber of the active tool
NXTOOL Number of the next tool that is selected, but waiting for the
execution of an M06 to become active.
TODNumber of the active tool offset
NXTODNumber 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.
When trying to write in variables TOOL, NXTOOL, TOD and NXTOD
check the OPMODA variable to make sure that no block or partprogram is being executed or simulated. The following bits must be
at "0".
OPMODA
bit 0Program in execution
bit 1Program in simulation
bit 2Block in execution via MDI, JOG
bit 8Block in execution via CNCEX1
N
EW FEATURES
(S
T: 8.XX)
OFT
Synchronize a PLC
axis with a CNC
axis
22Synchronize 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:
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).
Page 14 of 46
The logic output "INPOS" of the PLC axis is deactivated (the axis
•
is NOT in position).
Page 19
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".
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.
23Minimum step "L" in cycles G83, G60 and G61
A new "L" parameter has been added to the drilling cycles G83, G60
and G61.
G83 X Z I B D K H C L R
G60 X Z I B Q A J D K H C S L R
G61 X Z I B Q A J D K H C S L R
It is an optional parameter used with "R" values other than "1". It
indicates the minimum value allowed for the drilling peck. If not
programmed, a value of 0 mm is assumed.
8040 CNC
24Threads with different entries
Available when setting s.m.p. “M19TYPE (P43)=1”
A new "V" parameter has been added to the tapping cycles G86 and
G87.
G86-G87: X Z Q R I B D L C J A V
It is an optional parameter that indicates the number of thread
entries to make. If not programmed or programmed with a value of
"0", it means that the thread has only one entry.
25Error register
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.
26Proportional and Derivative Gain with the "C" axis
NEW F
EATURES
(S
T: 8.XX)
OFT
Minimum step "L"
in cycles G83, G60
and G61
For smoother machining, the proportional and derivative gains are
canceled automatically when machining in the XC and ZC planes.
Page 15 of 46
Page 20
8040 CNC
CAXGAIN (P163)
This g.m.p. lets the OEM decide whether these gains are to be
canceled or not.
With “CAXGAIN (P163) =1” and high values of FFGAIN and
DERGAIN the machine could be jerky depending on the type of part
being machined. In these cases, we suggest to select a gain range
whose FFGAIN AND DERGAIN values small or zero.
27Path 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 Z
axis.
0 They are canceled
1 They are not canceled
Default value
N
EW FEATURES
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.
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)
(S
T: 8.XX)
OFT
Path JOG mode
Page 16 of 46
Variables MASLAN, MASCFI and MASCSE may be read and
written from the CNC, DNC and PLC.
Page 21
Operation
Considerations
When pressing one of the associated keys, Z+ and Z-, the CNC acts
as follows:
Selector
Switch
Position
Continuous
Incremental
HandwheelIt ignores the keys.
Path JOGType 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.
8040 CNC
The movements in "Path JOG" observe the travel limits and zone
boundaries
The movements in "Path JOG" may be aborted:
•
•
•
•
28Tool inspection
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:
When NOT editing the active tool, it is possible:
By pressing the [CYCLE STOP] key
By selecting one of the handwheel positions of the JOG selector
switch.
By setting the general logic input “MASTRHND (M5054)” =0.
Setting the general logic input “\STOP (M5001)”=0.
To modify the I and K data.
Select another tool for calibration (T xx Enter).
To modify the I, K and D data.
Select another tool for calibration (T xx Enter).
NEW F
(S
OFT
EATURES
T: 8.XX)
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.
Tool inspection
Page 17 of 46
Page 22
8040 CNC
Warning
To assume the new I and K values, select the tool again.
29New 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.
30Oscilloscope function
The oscilloscope function is a help tool to adjust the CNC and the
drives.
N
EW FEATURES
(S
T: 8.XX)
OFT
New instructions in
the configuration
language
Page 18 of 46
How to operate
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.
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.
Page 23
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.
8040 CNC
Suggestions
Operation
Execute endless repetitive movements.
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.
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.
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.
Softkeys
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.).
NEW F
EATURES
(S
T: 8.XX)
OFT
Oscilloscope
function
Page 19 of 46
Page 24
8040 CNC
Begin
It captures data according to the conditions set on the
"Configuration" screen to be analyzed later on.
30.1Configuration
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.
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.
N
EW FEATURES
(S
T: 8.XX)
OFT
Oscilloscope
function
Variable definition
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.
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.
•
Page 20 of 46
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
Page 25
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.
CNC variables that may be assigned to a channel
VariableCharacteristics
ANAI(1-8)Voltage of input 1-8
ANAO(1-8)Voltage to apply to output 1-8
FREALCNC 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
SREALReal (actual) spindle turning speed.
FTEOSTheoretical spindle turning speed
FLWESSpindle following error
ASINS"A" signal of the CNC sinusoidal feedback for the spindle
BSINS"B" signal of the CNC sinusoidal feedback for the spindle
DRPOSPosition indicated by the Sercos drive of the spindle
SSREALReal (actual) second spindle turning speed.
SFTEOSTheoretical second spindle turning speed
SFLWESSecond 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
SDRPOSPosition 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
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
EATURES
(S
T: 8.XX)
OFT
Oscilloscope
function
If not selected, the data capture begins as soon as the operator
gives the go ahead. The Flank, Level and Position data are ignored.
Page 21 of 46
Page 26
If selected, specify the trigger condition using the Flank, Level and
Position data.
8040 CNC
Flank
Level
Position (%)
It is taken into account when Trigger has been selected. It may be
an up flank or a down flank.
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.
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.
N
EW FEATURES
(S
T: 8.XX)
OFT
Oscilloscope
function
Number of
samples
Sample T
Mode
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.
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.
Page 22 of 46
Superimposed
channels
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).
Page 27
If this option is selected all the signals appear superimposed, with a
single graphic zero located at the center of the screen.
During the analysis of the signals, it is possible to change modes by
pressing the [M] key.
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]
NumberParameterUpdate
P14BACKLASHImmediate
P18ACCTIMEBeginning of the next block
P19INPOSWImmediate
P23PROGAINImmediate
P24DERGAINImmediate
P25FFGAINImmediate
P27MINANOUTImmediate
P28SERVOFFImmediate
P29BAKANOUTImmediate
P30BAKTIMEImmediate
P37MAXVOLTImmediate
P38G00FEEDBeginning of the next block
P59ACCTIME2Beginning of the next block
P60PROGAIN2Immediate
P61DERGAIN2Immediate
P62FFGAIN2Immediate
P67JERKLIMBeginning 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]
NumberParameterUpdate
P2MAXGEAR1Beginning of the next block
P3MAXGEAR2Beginning of the next block
P4MAXGEAR3Beginning of the next block
P5MAXGEAR4Beginning of the next block
P18ACCTIMEBeginning of the next block
P19INPOSWImmediate
P23PROGAINImmediate
P24DERGAINImmediate
P25FFGAINImmediate
P27MINANOUTImmediate
P28SERVOFFImmediate
P37MAXVOLT1Immediate
P38MAXVOLT2Immediate
P39MAXVOLT3Immediate
P40MAXVOLT4Immediate
P45OPLACETIImmediate
P47ACCTIME2Beginning of the next block
P48PROGAIN2Immediate
P49DERGAIN2Immediate
P50FFGAIN2Immediate
NEW F
EATURES
(S
T: 8.XX)
OFT
Oscilloscope
function
Note:
A modification in the MAXGEAR1/2/3/4 parameters sets the
square corner mode even if a round corner has been
programmed.
Page 23 of 46
Page 28
8040 CNC
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:
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.
N
EW FEATURES
(S
T: 8.XX)
OFT
Save
Load
Delete
Reset
30.2Scale / 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.
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.
•
Oscilloscope
function
Page 24 of 46
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 [Í] [Î]
Page 29
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
[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.
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.
8040 CNC
30.3Analysis
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)
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.
NEW F
(S
OFT
EATURES
T: 8.XX)
30.4Parameters
Holding the [Í] [Î] keys pressed accelerates the movement.
Oscilloscope
function
To assign new values to the machine parameters of the CNC and
drive that have been defined in the "Configuration-Parameters"
screen.
Page 25 of 46
Page 30
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
T: 8.XX)
OFT
Once the values saved are the same as the ones edited last, the
softkey disappears until a new modification is made.
30.5Actions
It is available on the following screens: "Parameter Editing",
"Analysis" and "Scales /Offsets".
It is very useful when not having an alpha-numeric keyboard (TC or
TCO 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.)
30.6Begin
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 26 of 46
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 31
31TC 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.
32TC 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.
33TC model. Messages and warnings
From this version on, some messages that come up in T mode at the
bottom of the screen over a green stripe will also come up in TC
mode. For example:
"Software limit reached"
"Zone limit reached"
34TC model. Tool calibration
NEW F
EATURES
(S
T: 8.XX)
OFT
TC model. Execute
a part-program
When accessing the tool calibration mode, there are a some
limitation during execution or tool inspection
Page 27 of 46
Page 32
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
T: 8.XX)
OFT
TC model.
Modifications in
the turning cycle
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.
35TC model. Modifications in the turning cycle
Finishing stock
It is now possible to define the finishing stock in X and Z.
Page 28 of 46
Page 33
New level
This second definition level offers the possibility to select the type of
machining for each corner.
A square corner.A rounding.A chamfer.
To modify the type of machining, place the cursor over this icon and
(a)
press the (a) key.
For a rounded corner, define the rounding radius (R); for a chamfer,
define the distance from the theoretical corner to the chamfer point
(C).
36TC model. Modifications in the facing cycle
Finishing stock
It is now possible to define the finishing stock in X and Z.
8040 CNC
New level
This second definition level offers the possibility to select the type of
machining for each corner.
A square corner.A rounding.A chamfer.
To modify the type of machining, place the cursor over this icon and
(a)
press the (a) key.
For a rounded corner, define the rounding radius (R); for a chamfer,
define the distance from the theoretical corner to the chamfer point
(C).
37TC model. Modifications in the taper turning cycle
New level
A third definition level has been created for easier data entry
demanding less calculation from the operator.
NEW F
EATURES
It is defined like the first level, except for the taper surface to be
machined.
The final diameter and the taper angle are defined on the first level.
The Z distance and the taper angle are defined on the third level.
(S
T: 8.XX)
OFT
TC model.
Modifications in
the facing cycle
Page 29 of 46
Page 34
8040 CNC
N
EW FEATURES
(S
T: 8.XX)
OFT
TC model.
Modifications in
the tapping cycle
Page 30 of 46
38TC model. Modifications in the tapping cycle
Standard threads
On all the levels except in face threading, it is possible to enter the
diameter so the CNC calculates the corresponding pitch and depth.
A new field (window) may be used to select the type of standard
thread. If none is selected, the operator must define the pitch and the
total depth of the thread.
The types of threads available are:
M (S.I.)Regular pitch metric thread
M (S.I.F.)Fine pitch metric thread
BSW (W.)Regular pitch Whitworth thread
BSFFine pitch Whitworth thread
UNC (NC,USS) Regular pitch Unified American Thread
UNF (NF,SAE)Fine pitch Unified American Thread
The threads must be defined in mm or inches. For example, to define
a 1/16 pitch Whitworth thread, enter the value of 1.5875 mm or
0.0625 inches.
The CNC calculates the pitch and the depth according to these
formulae:
Pitch in mm = 25.4 / number of edges
Pitch in inches = 1 / number of edges
Depth in inside threads = 0.6403 x Pitch
Depth in outside threads = 0.6403 x Pitch
The threads must be defined in mm or inches. For example, to define
a 3/16 pitch Whitworth thread, enter the value of 4.7625 mm or
0.1875 inches.
The CNC calculates the pitch and the depth according to these
formulae:
Pitch in mm = 25.4 / number of edges
Pitch in inches = 1 / number of edges
Depth in inside threads = 0.6403 x Pitch
Depth in outside threads = 0.6403 x Pitch
8040 CNC
Regular pitch Unified American Thread: UNC (NC,USS)
The threads must be defined in mm or inches. For example, to define
a 1/4 pitch American thread, enter the value of 6.3500 mm or 0.2500
inches.
The CNC calculates the pitch and the depth according to these
formulae:
Pitch in mm = 25.4 / number of edges
Pitch in inches = 1 / number of edges
Depth in inside threads = 0.5413 x Pitch
Depth in outside threads = 0.6134 x Pitch
The threads must be defined in mm or inches. For example, to define
a 1/4 pitch American thread, enter the value of 6.3500 mm or 0.2500
inches.
The CNC calculates the pitch and the depth according to these
formulae:
Pitch in mm = 25.4 / number of edges
Pitch in inches = 1 / number of edges
Depth in inside threads = 0.5413 x Pitch
Depth in outside threads = 0.6134 x Pitch
Repeat the last threading pass.
The finishing zone of all the levels includes a new icon that offers the
possibility to repeat the last pass.
Do not repeat the last passRepeat the last pass
To select the desired one, position over this icon and press the (a)
(a)
key.
Page 34 of 46
Page 39
Threads with different entries
The threading range is completed with a new level (5) for multi-entry
threads.
Available when setting s.m.p. “M19TYPE (P43)=1”
The following must be defined:
The coordinates of the starting point (Xi, Zi)
The coordinates of the final point (Xf, Zf)
The pitch (P) and the depth (H) of the thread
The number of thread entries (N)
The distance to the end of the thread (σ)
The spindle angular position (Io)
In ISO mode, presently the threading cycles are G86 and G87, with
the new feature, a new parameter (V) with 4.0 format may be
entered to define the number of entries. It is an optional parameter
that goes at the end of the cycle and if not programmed or
programmed with a "0" value, it means that the thread only has one
entry. The syntax of the ISO instructions is now:
· G86-G87: X Z Q R I B [D L] C [J A V]
It does not affect thread repair.
39TC model. Modifications to the grooving cycle
New level
8040 CNC
(a)
The grooving range is completed with a new level (5) for cut-off
operations.
The following must be defined:
The coordinates of the starting point (Xi, Zi)
The final cut-off diameter (φf)
The cut-off feedrate (F)
An intermediate diameter (φr) where the feedrate starts
slowing down.
The final cut-off feedrate (Fr)
The type of corner at the beginning of the cut-off.
A square corner.A rounding.A chamfer.
To modify the type of machining, place the cursor over this
icon and press the (a) key.
The cut-off begins in (Xi, Zi) and at the indicated feedrate (F). Up to
the intermediate diameter (φf), it is cut-off at the feedrate (F), but
from that point on, the feedrate slows down gradually until the final
diameter (φf) is reached at the feedrate (Fr).
NEW F
(S
OFT
EATURES
T: 8.XX)
When cutting-off, it is also possible to make a rounding, a chamfer
or leave it as a square corner.
TC model.
Modifications to
the grooving cycle
Page 35 of 46
Page 40
8040 CNC
40TC model. Modifications in the profile cycle
Minimize the machining time in XC and ZC profile cycles
Until this version, after each roughing pass, the tool withdrew to the
safety position.
From this version on, this movement does not take place, thus
minimizing the execution time.
Starting point coordinates in XC and ZC profile cycles
From this version on, the CNC does not request the coordinates of
the starting point (X, C) because it assumes the first point of the
profile as the starting point of the cycle.
Finishing stock in XC and ZC profile cycles
When the finishing operation is carried out with tool compensation,
the following data must be defined:
Depth stock (δx) or (δz).
•
Side stock (δ) and the number of passes (N) to remove that stock
•
It is machined as follows:
Roughing operation leaving the indicated side stock (δ) and
•
depth stock (δx) or (δz).
Finishing of the bottom of the profile removing the finishing stock
•
(δx) or (δz).
Finishing of the side wall, removing the (δ) stock in (N) passes.
•
N
EW FEATURES
(S
T: 8.XX)
OFT
TC model.
Modifications in
the profile cycle
Page 36 of 46
Finishing tool in XC and ZC profile cycles
From now on, it is possible to use one tool for roughing and another
one for finishing, "T" and "D" fields.
This makes it possible to select a tool for the finishing operation that
could machine sideways.
41TC model. Cycle selection
From this version on, it is possible to hide unused operations or
cycles and only show the used ones.
The installation manual shows wrong work units. The right work units
are:
ValueWork unitsFormat in
0radius5.35.34.4
1radius4.44.43.5
2radius5.25.25.3
3radiusIt is not displayed
4diameters5.35.34.4
5diameters4.44.43.5
6diameters5.25.25.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:
PinSignal 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
T: 8.1X)
Detected errors
Page 39 of 46
Page 44
8040 CNC
Connector X1. RS232 serial line (8055i model)
From this version on, pin 9 no longer supplies 5V.
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.
•
PinSignal
1DCD
2RxD
3TxD
4DTR
5GND ISO
6----7RTS
8CTS
9-----
46
N
EW FEATURES
(S
T: 8.1X)
OFT
Detected errors
Page 40 of 46
Page 45
2New 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
3Smooth 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.
4Square-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
T: 8.1X)
OFT
New validation
codes
Page 41 of 46
Page 46
8040 CNC
5New 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.
The drive version must be V4.10 or V5.10 ( or greater).
46
N
EW FEATURES
(S
T: 8.1X)
OFT
6Improved look ahead
Machining feedrate variations are now smoother thanks to filtered
acc/dec in short movements.
7Leadscrew 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 42 of 46
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 47
Software compatibility with respect to version V8.11:
i
•When updating from a version older than V8.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 V8.11.
It maintains the error values in the tables in the positive direction, but
it loses the ones in the negative direction.
8Parameters accessible from the oscilloscope or OEM
subroutine
8.1Axis 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].
NumberParameterUpdate
P42MAXFEEDBeginning of the next block
P43JOGFEEDBeginning of the next block
8.2General 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].
NumberParameterUpdate
P161TLOOKBeginning of the execution of a program.
8.3Machine 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.
MPGnMP(X-C)nMPSn
MPSSnMPASnMPLCn
NEW F
EATURES
The new values are updated according to the tables described in
chapter
[RESET] or [SHIFT]+[RESET] to update the values.
30 Oscilloscope function
It is not necessary to press
(S
T: 8.1X)
OFT
Parameters
accessible from the
oscilloscope or
OEM subroutine
Page 43 of 46
Page 48
9Sampling 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)”.
8040 CNC
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 = 01 ms every 8 samplings, every 16 ms
CPUTIME = 11 ms every 4 samplings, every 8 ms
CPUTIME = 21 ms every 2 samplings, every 4 ms
10Thread exit going through the end point
It affects the "end of thread" parameter of canned cycles G86 and
G87.
The "end of thread" parameter (J) defines the beginning of the end
of the thread. It may be set with either a positive or negative value.
Parameter "J" positive.
•
If programmed with a positive value, the tool moves directly from
the "J" point to the safety distance Xs, Zs.
Parameter "J" negative.
•
The tool moves from the "J"point to the end of the thread (R,Q),
and then to the safety distance Xs.
By default 0
46
N
EW FEATURES
(S
T: 8.1X)
OFT
Sampling period
Page 44 of 46
i
J > 0J < 0
At the TC model, this change affects all five threading levels. The "end
of thread" parameter may be defined with either a positive or negative
value. It works just as described earlier.
Page 49
User notes:
8040 CNC
NEW F
EATURES
(S
T: 8.1X)
OFT
Page 45 of 46
Page 50
8040 CNC
User notes:
NEW F
EATURES
(S
T: 8.1X)
OFT
Page 46 of 46
Page 51
Operating Manual
(TC option)
Ref. 0204-ing
Page 52
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.
Selects character X
Selects character A
Selects character R
Specific keys for the TC 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 57
1.General Concepts
1.2General
TC work mode
1.2 GENERAL
It has all the performance features of the T model plus the specific features of the TC mode.
For example, the setting of the numerical Control must be done in "T" mode.
In the TC 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 TC 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 "Memkey Card" (CARD A).
Also routines 0000 a 8999 are free for use and routines 9000 to 9999 are reserved for the CNC itself.
Some of the programs reserved for the CNC itself have the following meaning:
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 have been deleted from memory or do not
correspond to the software version.
Some of the routines reserved for the CNC itself have the following meaning:
9998Routine to be executed by the CNC at the beginning of each part-program.
9999Routine 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.
WarningBoth 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 58
TC work mode
1.General Concepts
1.2General
Some of the programs reserved for the CNC itself have the following meaning:
P999998This is a routines program used by the CNC for interpreting the programs edited in TC
format and executing these afterwards.
Warning
No modifications of this program are allowed. If this program is
modified, 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.
P999997This is a text program which contains:
All the phrases and texts displayed on the different screens in the TC 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 TC 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
Notes regarding errors:
The format must be respected. Only the text between quotes( "xxxx") may be
translated
Example:
Original:N9000(ERROR"Cycle with neither roughing nor finishing operation")
Translated:N9000(ERROR"Arbastatu eta Akabatu gabeko zikloa")
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 ... P998999These are user-defined profile part-programs. In TC mode the user defines
them with 3 digits, (from 0 to 999) and the CNC saves these internally as P 998xxx.
Chapter 1 - page 3
Page 59
1.General Concepts
1.2General
1.2.1 System of coordinates
TC work mode
1.2.1MANAGEMENT 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 60
TC work mode
1.General Concepts
1.3Power-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: TC mode and T mode. To switch from one mode to the other, press
The standard TC mode screen is:
Warning
CNC setting should be done in T mode.
Some errors should also be removed in T mode.
Chapter 1 - page 5
Page 61
1.General Concepts
1.4Operating in T mode with TC keyboard
1.5Video OFF
TC work mode
1.4 OPERATING IN T MODE WITH TC KEYBOARD
The TC keyboard has been designed to also operate in T 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 toggle from operating mode to the other 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 TC 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 TC 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 62
TC work mode
The standard TC operating mode screen is:
2.Operating in JOG mode
2. OPERA TING IN JOG MODE
If one presses key
The CNC displays the special TC operating mode screen.
Chapter 2 - page 1
Page 63
2.Operating in JOG mode
2.1Introduction
2.1 INTRODUCTION
The standard TC operating mode screen contains the following information:
TC work mode
1.- Clock
2.- This window can display the following data:
SBKwhen the Single Block execution mode is selected.
* The X, Z coordinates of the axes. The ? symbol indicates that the axis is working in diameters.
* 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, S1000 or the real rpm of the second spindle, S2 1000
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 value of the feedrate changes colors.
All the possible cases are shown next.
Chapter 2 - page 2
Page 64
TC work mode
2.Operating in JOG mode
2.1Introduction
6.- This window displays, in large characters, the tool number «T» selected.
The graphic representation corresponding to the location code associated with the tool.
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 theoretical turning speed selected. «S» value when working in rpm. and «CSS» value
when working at constant surface speed.
* 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 maximum revolutions of the spindle.
* The range of spindle active.
* The range of the active spindle. The CNC does not display this information when text 28 of
program 999997 is not defined.
8.- Angular increment when working in spindle orientation mode.
9.- 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 language required.
The format and the points to be considered in the P999997 program are detailed in the chapter
on "General concepts".
10.- Reserved.
Chapter 2 - page 3
Page 65
2.Operating in JOG mode
2.1Introduction
The special screen for TC operating mode contains the following information:
TC work mode
1.- Clock
2.- This window can display the following data:
SBKwhen the Single Block mode of execution is selected.
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, Z and C axes have the following fields:
COMMANDStates the coordinate programmed, that is, the position that the axis must
reach.
ACTUALStates the actual coordinate or actual position of the axis.
TO GOStates 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:
THEORETICALtheoretical speed S programmed.
RPMspeed in rpm.
M/MINspeed in meters/ minute.
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 position of the axis
Chapter 2 - page 4
Page 66
TC 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.
PARTCStates the number of consecutive parts that have been executed with the same
program.
Whenever a new program is selected, this variable assumes value 0.
CYTIMEStates the time elapsed during the execution of the parts. It is expressed in the
followingformat: “hours : minutes : seconds : hundredths of second”.
Whenever the execution of a program is started, even though this is repetitive, this
variable assumes value 0.
TIMERStates 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.1Introduction
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 de-selected, the CNC deletes it from the top
center window.
Chapter 2 - page 5
Page 67
2.Operating in JOG mode
2.2Axis control
TC work mode
2.2 AXIS CONTROL
2.2.1 WORK UNITS
Whenever the TC work mode is accessed, the CNC assumes the work units, «mm or inches», «radii
or diameters», «millimeters/minute or millimeters/revolution», etc., that are selected by machine
parameter.
To modify these values, the "T" mode has to be accessed, modifying the relevant machine parameter.
2.2.2COORDINATE PRESET
Coordinate preset must be made axis to axis, in the following stages:
1stPress the key for the axis required or
The CNC will frame the position for said axis, to indicate that this is selected.
2ndEnter the value required for preset of the axis.
To exit coordinate preset press
3rdPress 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.3HANDLING THE FEEDRATE OF THE AXES (F)
To fix any particular value for the axis feedrate the following steps have to be carried out:
1stPress
The CNC will frame the present value, to indicate that this is selected.
2ndEnter the new feedrate required.
To exit coordinate preset press
3rdPress for the CNC to assume said value as the new feedrate for the axes.
Chapter 2 - page 6
Page 68
TC work mode
2.Operating in JOG mode
2.3Home 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 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 69
2.Operating in JOG mode
2.4Jogging the axes
2.4.1 Continuous jog
TC work mode
2.4 JOGGING THE AXES
The axes of the machine can be moved in the following ways:
-[X] [target position] or [Z] [target position]
-continuous jog
-incremental jog
-jogging with an electronic handwheel
2.4.1CONTINUOUS 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 “LATCHM” 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 feedrate in millimeters/minute corresponding to the theoretical "S" and
moves the axis.
For example, if «F 2.000» and «S 500»:
Feedrate = F (mm/rev.) x S (rev/min)= 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 70
TC work mode
2.Operating in JOG mode
2.4Jogging the axes
2.4.2 Incremental jog
2.4.2INCREMENTAL JOG
Place the left-hand switch in one of the positions
Incremental movement must be done axis to axis. 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 switchMovement per turn
10.001 mm or0.0001 inches
100.010 mm or0.0010 inches
1000.100 mm or0.0100 inches
10001.000 mm or0.1000 inches
10000 10.000 mm or1.0000 inches
Chapter 2 - page 9
Page 71
2.Operating in JOG mode
2.4Jogging the axes
2.4.3 Jogging with an electronic handwheel
2.4.3JOGGING WITH AN ELECTRONIC HANDWHEEL
The various handwheel configurations are:
General handwheelIt can be used to jog any axis one by one.
Select the axis and turn the handwheel to move it.
Individual handwheel: It replaces the mechanical handwheels.
Up to 3 handwheels can be used (one per axis).
It only moves the axis it is associated with.
To move any of them, turn the switch to any of the handwheel positions.
Positions 1, 10 and 100 indicate the multiplying
factor being applied besides the internal x4 to
the feedback pulses supplied by the electronic
handwheel.
For example, if the manufacturer has set a
distance of 0.100 mm or 0.0100 inches per
handwheel turn, thus:
TC work mode
Switch positionDistance per turn
10.100 mmor 0.0100 inch
101.000 mmor 0.1000 inch
10010.000 mmor 1.0000 inch
Warning:
When operating with individual handwheels and depending on how fast the handwheel is
turned and on the selected handwheel switch position, the CNC might be demanded to
move the axis faster than the maximum permitted. In that case, the CNC will move the axis
the indicated distance but it will limit the axis speed to that maximum value.
There are 3 operating modes with handwheels:
Standard handwheel:
With the general handwheel, select the axis to be moved and turn the
handwheel.
With individual handwheels, turn the handwheel associated with the axis to be
moved.
Path handwheel:For chamfering and rounding corners.
2 axes are moved along a selected path (chamfer or rounding) by moving a
single handwheel.
This feature must be activated via PLC.
The general handwheel is assumed as the "path handwheel" or the individual
handwheel associated with the Z axis.
Feed handwheelTo control the feedrate of the machine.
Chapter 2 - page 10
This feature must be activated via PLC.
Page 72
TC work mode
2.4.3.1STANDARD HANDWHEEL MODE
With the general handwheel proceed as follows:
1.- Select the axis to be jogged.
Press one of the JOG keys of the axis to be jogged. The selected axis will be highlighted.
When using a FAGOR handwheel with an axis selector button, the axis may be selected as
follows:
Push the button on the back of the handwheel. The CNC select the first axis and it highlights it.
When pressing the button again, the CNC selects the next axis and so on in a rotary fashion.
To deselect the axis, hold the button pressed for more than 2 seconds.
2.- Jog the axis
Once the axis has been selected, it will move as the handwheel is being turned and in the direction
indicated by it.
2.Operating in JOG mode
2.4Jogging the axes
2.4.3 Jogging with an electronic handwheel
With individual handwheels:
Each axis will move as the corresponding handwheel is being turned according to the switch position
and in the direction indicated by it.
With several simultaneous handwheels:
The machine may have a general handwheel and up to 3 individual handwheels associated with each
axis.
The individual handwheels have priority over the general handwheel. So, if an individual handwheel
is moving, the general handwheel will be ignored.
Chapter 2 - page 11
Page 73
2.Operating in JOG mode
2.4Jogging the axes
2.4.3 Jogging with an electronic handwheel
TC work mode
2.4.3.2PATH HANDWHEEL MODE
With this feature, it is possible to jog two axes at the same time along a linear path (chamfer) or circular
path (rounding) with a single handwheel.
The CNC assumes as the path handwheel the general handwheel or, when this one is missing, the one
associated with the Z axis.
This feature must be handled by the manufacturer of the machine.
While in handwheel mode and selecting the “path 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 in radius.
To define these variables, press the [F] and, then, one of these keys:
Example: The [O2] key is used to activate or deactivate the "path handwheel" mode and the [O3] key
to indicate the type of movement.
DFU B29 R561 = CPL M5054Activate / deactivate the "path handwheel" mode
DFU B31 R561 = CPL M5053Selects the type of movement, along a straight line or an arc
Chapter 2 - page 12
Page 74
TC work mode
2.Operating in JOG mode
2.4Jogging the axes
2.4.5 Master Handwheel
2.4.3.3FEED HANDWHEEL MODE
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 also 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.
HANPFshows the number of pulses of the 1st handwheel.
HANPSshows the number of pulses of the 2nd handwheel.
HANPTshows 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=0Resets the register containing the previous handwheel
reading
END
PRG
DFU I71 = CPL M1000Every time the button is pressed, mark M1000 is inverted
M1000 = MSG1If the feature is active, a message is displayed.
NOT M1000If the feature is not active
= AND KEYDIS4 $FF800000 KEYDIS4enables all the positions of the feedrate override
switch
= JMP L101and goes on with program execution
If the feature is active
DFU M2009and 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 R102calculates the number of pulses received from the last
reading
= MOV R100 R101updates R101 for the next reading
= MLS R102 3 R103calculates in R103 the proper % of feedrate override
= OR KEYDIS4 $7FFFFF KEYDIS4inhibits all the other positions of the feedrate override
switch
CPS R103 LT 0 = SBS 0 R103 R103ignores the handwheel turning direction
CPS R103 GT 120 = MOV 120 R103 Limits the maximum feedrate override to 120%.
DFU M2009With 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 13
Page 75
2.Operating in JOG mode
2.5Tool control
TC work mode
2.5 TOOL CONTROL
The standard screen for TC operating mode displays the following information about the tool.
CHANGE POSITION
This window displays the following information:
> In large characters, the number "T" of the selected tool and a graphic representation of its tip.
> The offset number «D» associated with the tool.
> The selected rpm "S" for the live tool .
This value is only displayed when a live tool is selected.
> 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:
1stPress
The CNC will frame the tool number
2nd Enter the tool number to be selected
To exit the selection process press
3rdPress key for the CNC to select the new tool.
The CNC will handle the tool change
4thAfter selecting the new tool, the CNC updates the graphic representation for the location
code associated with the new tool.
It is possible to temporarily assign another offset to the tool without modifying the one it has
associated.
To access the "D" filed, press and
Key in the desired tool offset number and press
The CNC temporarily assumes the new offset of the current tool. The internal table is not
modified, the tool keeps having the same tool offset associated with it when it was calibrated.
Chapter 2 - page 14
Page 76
TC work mode
2.5.1TOOL 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.
2.Operating in JOG mode
2.5Tool control
2.5.1 Tool change
The movement to the change point, block N3, is carried out only when an operation of cycle of
the TC mode is being executed.
If a cycle is selected ....................................CYCEXE other than 0
If the program is in execution ....................OPMODA bit 0 = 1
Therefore (IF ((CYCEXE NE 0) AND (OPMODA AND $1) EQ 1) there is movement.
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 counter-clockwise P102=1
(IF ((CYCEXE NE 0) AND (OPMODA AND $1) NE 1) GOTO N5
N3 G0 G53 .... XP??? ZP???; Movement to change point
N5 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.)
Chapter 2 - page 15
Page 77
2.Operating in JOG mode
2.5Tool control
2.5.1 Variable tool change point
TC work mode
2.5.1.1VARIABLE 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 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, 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 and P291 contain the values set by the operator as change position on
X, Z.
Arithmetical parameter P290
Change position on X
Arithmetical parameter P291
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??? ZP???; Movement to the change point.
It should say: G0 G53 XP290 ZP291 ; Movement to the change point defined by the user.
Define the coordinates of the change point (X, Z)
Press to select the "T" . Then press key for the relevant axis or:
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
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 . The CNC assigns said coordinate to the field selected.
Press
Chapter 2 - page 16
Page 78
TC work mode
2.5.2TOOL CALIBRATION
To access tool calibration mode press key
The CNC displays the following information:
2.Operating in JOG mode
2.5Tool control
2.5.2 Tool calibration
1.- Indicator of the operating mode selected: «Tool calibration».
2.- Help graphics for tool calibration.
3.- Help graphics for defining the tool geometry.
4.- Current status of the machine.
Actual X, Z coordinates, actual axis feedrate F, actual spindle speed S and currently
selected tool T.
5.- Tool number, offset number, family and location code (shape).
6.- Tool length values defined for this tool.
7.- Tool geometry values.
Chapter 2 - page 17
Page 79
2.Operating in JOG mode
2.5Tool control
2.5.2 Tool calibration
To calibrate a tool, proceed as follows:
1.- Select a tool and access the tool calibration mode.
2.- Use a part of known dimensions
Place that part in in the chuck.
Define the part dimensions:
(value)
(value)
3.- Define the tool data.
Define the tool number «T»:
(tool number)
· If it is defined, the values stored in the tool table
will be displayed.
· If it is not defined, all the data will be reset to "0".
TC work mode
Define the tool offset «D»:
(tool offset number)
Select the type of tool using the key
The possible types are:
Define the location code (shape) of the tool using the
Location codes available for the type
Location codes available for the type
Chapter 2 - page 18
Page 80
TC work mode
Location codes available for the type
Location codes available for the type
2.Operating in JOG mode
2.5Tool control
2.5.2 Tool calibration
Location codes available for the type
4.- Tool calibration. There are two methods:
When using a tool presetting table, define the X, I, Z,
K data.
- The X, Z data indicate the tool dimensions in X and
Z.
- The I, K data indicate the tool wear to be compesated
for.
When not using a tool presetting table.
- Approach the tool to the part until touching it along
the X axis and press
- Approach the tool to the part until touching it along the Z axis and press
- The tool is now calibrated. The CNC updates the X, Z data and sets the I, K data to "0".
The actual tool length is (X+I) and (Z+K) and the «I» value must always be in diameter.
Chapter 2 - page 19
Page 81
2.Operating in JOG mode
2.5Tool control
2.5.2 Tool calibration
5.- Define the values for the tool geometry.
The window on the right contains the tool geometry
values and the window on the left contains a help
diagram.
To define one of these values, select the corresponding
field, key in the desired value and press
6.- To calibrate another tool, repeat steps 3, 4 and 5.
To quit the tool calibration mode, press
2.5.2.1MODIFY VALUES DURING EXECUTION
TC work mode
It is possible to modify the tool values (dimensions and geometry) without interrupting program
execution.
To do this, press , the CNC will display the Tool Calibration screen with the data for the active
tool and it is possible to change its data or that of any other tool.
To quit this screen, press
Chapter 2 - page 20
Page 82
TC work mode
2.Operating in JOG mode
2.5Tool control
2.5.3 Live Tool
2.5.3LIVE TOOL
When a live tool is selected, the standard screen of the TC operating mode shows the following
information:
CHANGE POSITION
To select the rpm "S" of the live tool, take these steps:
1. Press to select the "T" field.
2. Press or to select the rpm "S" of the live tool.
3. Key in the value and press
The keys for the live tool are:
Live tool clockwise .................................................
Live tool counter-clockwise ...................................
Stop the live tool ......................................................
When the machine uses a live tool, the following considerations must be born in mind:
Set one of the general machine parameters P0 through P9 to "13"
The location code (shape) of the live tool must be "10", "20" or "30".
It is up to the PLC to manage the keys for the live tool.
Every time one of these keys is pressed, the CNC updates the corresponding register bit.
Bit 7 of Register 561 (B7 R561) indicates the status of the key.
Bit 3 of Register 562 (B3 R562) indicates the status of the key.
Bit 5 of the Register 562 (B5 R562) indicates the status of the key
Here is an example of the section of the PLC program in charge of managing the live tool:
( ) = CNCRD (TOOL, R101, M1)
Assigns the number of the active tool to register R101.
= CNCRD (TOF R101, R102, M1)
Assigns the location code (shape) of the active tool to register R102.
CPS R102 EQ 10 OR CPS R102 EQ 20 OR CPS R102 EQ 30 = M2
If the active tool is a live tool, (location code=10, 20 or 30), it activates mark M2.
Chapter 2 - page 21
Page 83
2.Operating in JOG mode
2.5Tool control
2.5.3Live Tool
TC work mode
CUSTOM AND (DFU B7R561 OR DFD M2) = CNCEX1 (M45 S0, M1)
If while the TC operating mode is selected (CUSTOM=1) ...
... the "stop live tool" key is pressed (DFU B7R561) or the live tool is de-selected
(DFD M2) .....
... the PLC "tells" the CNC to execute block "M45 S0" to stop the live tool.
CUSTOM AND M2 AND DFU B3R562 = CNCRD (LIVRPM, R117, M1) = CNCWR (R117,
GUP100, M1)= CNCEX1 (M45 SP100, M1)
If in TC mode (CUSTOM=1) a live tool is selected (M2) and the "live tool
clockwise" key is pressed, (DFU B3R562) ...
... the PLC reads in R117 the rpm selected for the live tool (LIVRPM) and it assigns
them to general parameter P100... It, then, "tells" the CNC to execute block "M45
SP100" (clockwise turning of the live tool at the selected rpm).
CUSTOM AND M2 AND DFU B5R562 = CNCRD (LIVRPM, R117, M1) = CNCWR (R117,
GUP100, M1= CNCEX1 (M45 S-P100, M1)
If in 8055 TC mode (CUSTOM=1) a live tool is selected (M2) and the "live tool
counter-clockwise" key is pressed (DFU B5R562) ...
... the PLC "tells" the CNC to execute block M45 S-P100 (counter-clockwise
turning of the live tool at the selected rpm).
Chapter 2 - page 22
Page 84
TC work mode
2.Operating in JOG mode
2.6Spindle control
2.6 SPINDLE CONTROL
The standard TC working mode screen has a window for displaying information about the spindle.
Since the CNC allows operating with the spindle in RPM, at Constant Surface Speed or in the Spindle
Orientation mode, the information being displayed will be different for each mode.
CSS
(CSS)RPM withoutRPM with
spindle orientation spindle orientation
To change from one mode to another press
RANGE 1
Both on power-up of the CNC and after the key sequence the CNC selects the operating
mode as Revolutions / minute (RPM)
When working at Constant Surface Speed (CSS), the key is lit up.
Chapter 2 - page 23
Page 85
2.Operating in JOG mode
2.6Spindle control
2.6.1 Spindle in rpm.
2.6.1SPINDLE IN RPM
The CNC displays the following information:
1.- Actual spindle speed in rpm.
2.- Theoretical spindle speed in rpm.
To select any other speed press. The CNC will frame the present value.
Enter the new value and press. The CNC assumes said value and updates the actual speed
of the spindle.
TC work mode
3.- State of the spindle:turning clockwise,turning counter-clockwise orstopped.
To modify the state of the spindle press keys:
4.- % of the theoretical turning speed of the spindle that is being applied.
To modify this percentage (%) press keys:
5.- Maximum spindle speed in rpm.
To select any other speed press twice. The CNC will frame the present value.
Enter the new value and press . The CNC assumes said value and will not let the spindle
exceed this number of revolutions.
6.- Spindle range currently selected.
When having an automatic gear changer, this value cannot be modified.
When not having an automatic gear changer, press and then use the key to frame the
current value.
Enter the range number to be selected and press or
Note: When the machine does not have spindle ranges this message is superfluous. For this
reason, when text 28 of program 999997 is not defined, the CNC does not display this
message.
Chapter 2 - page 24
Page 86
TC work mode
2.Operating in JOG mode
2.6Spindle control
2.6.2 Constant Surface Speed
2.6.2CONSTANT SURFACE SPEED
In Constant surface speed mode the user sets the tangential speed that there must be at all times
between the tool tip and the part.
The spindle revolutions therefore depend on the position taken by the tool tip with respect to the
turning axis. If the tool tip moves away from the turning axis, the spindle revolutions thus go down,
and if it gets closer, they go up.
When Constant Surface Speed is selected the CNC displays the following information.
1.- Actual spindle speed in rpm.
2.- Theoretical constant surface speed. Defined in m/minute or in feet/minute.
To select any other speed press . The CNC will frame the present value.
Enter the new value and press . The CNC assumes this value and if the spindle is started
it will update the actual speed of the spindle (in rpm.)
3.- State of the spindle: turning clockwise, turning counter-clockwise or stopped.
To modify the state of the spindle press:
4.- % of the theoretical Constant Surface Speed being applied.
To modify this percentage (%) press :
5.- Maximum spindle speed in rpm.
To select any other speed press twice and the CNC will frame the present value.
Enter the new value and press . The CNC will assume this value.
6.- Spindle range currently selected.
When having an automatic gear changer, this value cannot be modified.
When not having an automatic gear changer, press and then use the key to frame the
current value.
Enter the range number to be selected and press or
Note: When the machine does not have spindle ranges this message is superfluous. For this
reason, when text 28 of program 999997 is not defined, the CNC does not display this
message.
Chapter 2 - page 25
Page 87
2.Operating in JOG mode
2.6Spindle control
2.6.2.1Operating at Constant Surface Speed
TC work mode
2.6.2.1OPERATING AT CONSTANT SURFACE SPEED (CSS)
When Constant Surface Speed operating mode is selected (CSS), the CNC assumes the spindle range
selected at present.
In this operating mode, when a new constant surface speed is selected, the following cases may arise:
a) The spindle is stopped
The CNC selects the new speed but does not apply this until the spindle moves.
b) The spindle is started
The CNC, depending on the position of the axis, calculates and makes the spindle turn at the
corresponding rpm. speed for the Constant Surface Speed to be as defined.
As the axes move, when working at Constant Surface Speed, the following cases may arise:
a) The spindle is started
The CNC moves the axes to the F programmed.
As the X axis is moved, the CNC makes the spindle speed (rpm.) match to maintain the constant
surface speed selected.
If the tool tip moves away from the turning axis the spindle revolutions therefore go down, and
if it gets nearer, they go up.
The CNC limits the spindle revolutions to the maximum speed set «SMAX».
b) The spindle is stopped but a spindle speed S is selected
The CNC calculates, in millimeters/minute, the feedrate corresponding to the last programmed
"S" and moves the axis.
For example, if «F 2.000» and «CSS 500»:
F (mm/min) = F (mm/min.) x S (rev/min) = 2 x 500 = 1000 mm/min
The axis moves at a feedrate of 1000 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 fast 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 26
Page 88
TC work mode
2.Operation in JOG mode
2.6Spindle Control
2.6.3 Spindle Orientation
2.6.3SPINDLE ORIENTATION
When having spindle orientation (general machine parameter REFEED1 (P34) other than 0) the CNC
shows the following information:
1.- Actual spindle speed in rpm.
2.- Angular spindle position in degrees.
This data is displayed when working in Spindle Orientation mode. When switching to RPM
mode, only the actual spindle speed is shown (1).
3.- Theoretical spindle speed in rpm.
To select another speed, press The CNC will frame the current value.
Enter the new value and press . The CNC assumes this value and it updates the actual
spindle speed.
4.- Spindle status: turning clockwise, turning counter-clockwise or .
When working in Spindle Orientation mode, it always shows the symbol.
5.- % of the theoretical spindle speed being applied.
The CNC does not apply this factor when working in Spindle
Orientation mode. It only applies it when working in RPM mode.
To change this percentage (%) press:
6.- Maximum spindle rpm.
To select another speed, press twice. The CNC will frame the current value.
Enter the new value and press The CNC assumes this value and will not let the spindle
exceed these rpm.
7.- Selected spindle range.
To select another range when there is no automatic range changer, press and then use the
key to frame the current value.
Enter the range number to be selected and press or
When the machine does not have a range changer, this message is superfluous. That's why the
CNC does not show this message when text 28 of program 999997 is not defined.
8.- Angular spindle increment when operating in Spindle Orientation mode.
To select another value, press key three times. The CNC will frame the current value.
Key in the new value and press
Chapter 2 - page 27
Page 89
2.Operation in JOG mode
2.6Spindle Control
2.6.3 Spindle Orientation
TC work mode
2.6.3.1OPERATION WITH SPINDLE ORIENTATION
When having spindle orientation, the CNC uses the same screen as when operating in RPM mode.
RPM mode.
To select this mode, press one of these three keys. The screen will not show the angular position
of the spindle.
Spindle Orientation mode:
To select this operating mode, press the key for spindle orientation:
The spindle will stop (if it was turning), it then searches home and, finally, it turns to the angular
position indicated at the lower right-hand side of the screen (the top figure shows 20º ).
Every time the key for Spindle Orientation is pressed, the spindle position is incremented by that
amount (the top figure shows 20).
Chapter 2 - page 28
Page 90
TC work mode
2.Operating in JOG mode
2.7Control 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 TCLED* input variables shown in the figure being available
for this purpose.
Examples:
Control of the coolant:DFU B28R561 = CPL TCLED1
= 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 TCLED2
= CPL O34
Chapter 2 - page 29
Page 91
2.Operation in Jog mode
2.8Handling ISO code
2.8 HANDLING ISO CODE
With the ISO key, it is possible to access the MDI mode or the ISO work mode.
To access the MDI mode, put the CNC in jog mode and then press
The CNC displays a window at the bottom of the standard (or special) screen
TC work mode
An ISO coded block may be edited in this window to be executed later on, like in MDI in the "T" mode.
To access the ISO mode, while working with operations or cycles, press once and while working
in JOG mode, press that key twice.
When accessing the ISO mode, a special screen is displayed where it is possible to edit up to 6
program blocks in ISO 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 show the symbol
From this moment on, the blocks being edited may be simulated, executed or stored as any operation
or cycle.
Press to simulate it. Press to execute it.
It is possible to combine blocks edited in ISO code with standard or User machining cycles to make
up part-programs. The chapter on "Storing part-programs" describes how to edit them and operate
with them.
To store blocks edited in ISO code, press
Chapter 2 - page 30
Page 92
TC work mode
3.Operating with operations or cycles
3. OPERA TING WITH OPERATIONS OR CYCLES
The following CNC keys should be used to select the machining Operations or Cycles:
When pressing the CNC shows all the user cycles already defined by the machine manufacturer
by means of the application program: WGDRAW.
The user cycle is edited like any other standard cycle of the TC mode.
Once all the necessary data has been defined, the user can Simular or Execute the cycle like any
other standard cycle of the TC mode.
When pressing any other key, the CNC selects the corresponding standard machining cycle, changes
the screen and lights up the lamp of the key just pressed indicating that the cycle has been selected.
The machining operations or cycles that can be selected with each one of these keys are:
Positioning cycle Turning cycle
Facing cycle Taper cycle
Rounding cycle Threading cycle
Grooving cycle Drilling and tapping cycles
Profile Cycle
When the Machining Operation or Cycle involves several levels key has to be pressed to select
the cycle level required:
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 93
3.Operating with operations or cycles
GEAR
3.1Operation edit mode
3.1. OPERATION EDIT MODE
After selecting the cycle edition mode the CNC displays a screen looking like this:
TURNING CYCLE
TC work mode
1.- Denomination of the Operation or Work cycle selected.
2.- Help graphics.
3.- Spindle Conditions for cycle execution.
4.- Present status of the machine. Coordinates and machining conditions.
5.- Data defining the geometry of the Machining Cycle.
6.- Machining conditions for the roughing operation.
7.- Machining conditions for the finishing operation.
The CNC will display an icon, a coordinate or one of the data items defining the operation or cycle
in highlighted print, to show that this item has been selected.
To select another icon, data item or coordinate, one can:
a) Use keys . The CNC will select the previous or next data item.
b) Press keyor. The CNC will select the first data item for said axis. Pressing this key
again will select the following piece of data for said axis.
c) Press keyor. The CNC selects the relevant roughing data. Pressing said key again
will select the relevant finishing data.
d) Press key. The CNC selects data item «S» for roughing. Pressing this key a second time
selects data item «S» for finishing, and pressing it again selects the data for spindle SMAX.
The coordinates for axis X are defined in operating units, radii or diameters.
Later on, in each one of the operations or cycles, the units in which the data associated with axis X
(safety distance, pass, excess stock, etc.) are displayed.
Chapter 3 - page 2
Page 94
TC work mode
3.Operating with operations or cycles
3.1Operation edit mode
3.1.1 Definition of spindle conditions
3.1.1DEFINITION OF SPINDLE CONDITIONS
Work mode (RPM) or (CSS)
RANGERANGE
Move over the "RPM" or "CSS" icon. this can be done:
a)By using the keys
b)by pressing . The CNC selects this item directly.
After selecting the item, press or to change the work mode.
Spindle range
Move over this item, key in the desired value and press
Maximum spindle turning speed in rpm (S)
Move onto this item, type in the required value and press
Spindle turning direction
There are 2 ways to select the spindle turning direction:
a) Move onto this item and press to change the icon.
b) Start the spindle in the direction required by means of the JOG keys
The CNC starts the spindle and assumes said turning direction as spindle turning data for the
cycle.
Coolant
Place the cursor over this data and press to change the icon.
means turning the coolant on. The CNC outputs the M8 function to the PLC.
means turning the coolant off. The CNC outputs the M9 function to the PLC.
Once the operation or the cycle is completed or the part program it belongs to, the CNC outputs
the M9 function to the PLC.
Chapter 3 - page 3
Page 95
3.Operating with operations or cycles
3.1Operation edit mode
3.1.2 Definition of machining conditions
TC work mode
3.1.2DEFINITION OF MACHINING CONDITIONS
Some cycles maintain the same machining conditions during the whole execution process (positioning
cycle, drilling cycle ...)
Other cycles use machining cycles for roughing and other conditions for finishing ,(turning cycle,
rounding cycle, ...)
This section shows how all this data has to be defined.
Axis feedrate (F)
Move onto this item, key in the value required and press
Spindle turning speed (S)
Move onto this item, key in the value required and press
Tool for machining (T)
Move onto this item, key in the value required and press
The CNC updates the "D" offset and the adjacent icon, displaying the graphic representation for
the location code associated with the new tool.
Tool calibration may also be accessed to consult or change the data corresponding to the selected
tool. To do this, position over the "T" field and press
To exit the tool calibration mode and return to the cycle, press
Roughing Pass (?)
Move onto this item, key in the value required and press
Finishing Stock (?)
Move onto this item, key in the value required and press
The finishing stock is always defined in radii.
Machining direction
Some cycles allow the machining direction to be selected (turning direction or facing direction).
To do this, move onto this icon and press
The icon changes and the help graph is updated.
Chapter 3 - page 4
Turning directionFacing direction
Page 96
TC work mode
3.1.3CYCLE 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.Operating with operations or cycles
3.1Operation edit 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 97
3.Operating with operations or cycles
GEAR
GEAR
3.2Simulating and executing the operation
3.2 SIMULATING AND EXECUTING THE CYCLE
There are ways to work with operations or cycles: Editing mode and Execution mode.
Editing modeExecution mode
To switch from Editing mode to Execution mode, press
TC work mode
To switch from the Execution mode to the Editing mode, press one of these keys:
An operation or cycle may be simulated in any of these modes. To do that, press
For further information, refer to the chapter on "Execution and Simulation".
To execute an operation or cycle, select the Execution mode and press
For further information, refer to the chapter on "Execution and Simulation".
3.2.1BACKGR OUND EDITING OF CYCLES
It is possible to edit an operation or cycle while running a part-program (background editing).
The new operation edited may be stored as part of the part-program (other than the one being
executed).
No operation being edited in the background may be executed or simulated, or the current position
of the machine be assigned to a coordinate.
To make a tool inspection or change while background editing, proceed as follows:
Press => To interrupt the execution of the program and resume background editing.
Press => To quit background editing.
Press => To go into tool inspection.
When pressing [T] without quitting background editing, it select 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 6
Page 98
TC work mode
GEAR
GEAR
3.3 POSITIONING CYCLE
To select the Positioning cycle press
This cycle can be defined in two different ways
Level 1.
3.Operating with operations or cycles
3.3Positioning cycle
The coordinates of the target point have to be defined
The way the positioning is to be done
The type of feedrate, fast or at the F stated
Level 2.
The coordinates of the target point have to be defined
The way the positioning is to be done
The type of feedrate, fast or at the F stated
The auxiliary functions to be executed before and after positioning
Coordinate (Xi, Zi)
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 7
Page 99
3.Operating with operations or cycles
3.3Positioning cycle
3.3.1 Definition of data
3.3.1DEFINITION OF DATA
Type of positioning
To select the type of positioning move onto this icon and press
The icon changes and the help graphics are updated.
Type of feedrate
Feedrate at te selected F In rapid traverse
TC work mode
To select the type of feedrate move onto this icon and press
Coordinates of the target point (X,Z)
The coordinates are defined one by one. After moving onto the coordinates for the axis required
for definition, one can:
a) Manually enter the value. Enter the value required and press
b) Assign the present position of the machine.
Move the axis, by means of the handwheel or the JOG keys, to the point required. The top
right-hand window shows the tool coordinate at all times.
Press for the data item selected to take on the value displayed in the top right-hand
window.
Press
The auxiliary functions “M” which will be executed before and after positioning
Auxiliary function “M” is the name given to the functions determined by the manufacturer which
allow the different machine devices to be governed.
There are auxiliary functions “M” for activating a program stop, for selecting the spindle turning
direction, for controlling the coolant, for controlling the spindle gearbox, etc..
The Programming manual states how these functions should be programmed and the Installation
manual explains how the system should be set to operate with them.
To define the auxiliary functions to be executed before and after positioning:
a) Move into the relevant window by means of the keys
b) Define the auxiliary functions required.
The functions will be executed in the same order as these are arranged on the list.
To erase a function, select this and press
Chapter 3 - page 8
To move around within the window use the keys
Page 100
TC work mode
GEAR
3.4 TURNING CYCLE
To select the turning cycle press
3.Operating with operations or cycles
3.4Turning cycle
3.4.1 Definition of geometry
3.4.1DEFINITION OF GEOMETRY
Type of turning: internal or external
External turning
Internal turning
To modify the type of turning move onto this icon and press
Each time the turning type is changed the CNC modifies the icon and displays the relevant
geometrical help screen.
Coordinates of the starting point (Xi, Zi) and coordinates of the end point (Xf, Zf)
The coordinates are defined one by one. After moving onto the coordinates of the axis to be
defined, one can:
a) Manually enter the value. Key in the value required and press
b) Assign the present position of the machine.
Move the axis, by means of the handwheel or the JOG keys, to the point required. The top
right-hand window displays the tool coordinate at all times.
Press for the data item selected to take on the value displayed in the top right-hand
window.
Press
Final diameter (? )
Move onto this item, key in the required value and press
Chapter 3 - page 9
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.