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
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.
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
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.
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
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
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
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
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
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
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
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
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
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).
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
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.
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
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.
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
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
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
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).
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
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 [Í] [Î]
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
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.
Loading...
+ 248 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.