You are on page 1of 38

CNC 8040

(REF 0602)

·T· MODEL
(SOFT V12.0X)
(SOFT V12.1X)
NEW FEATURES
·T· Model (Soft V12.0x) (Soft V12.1x) (ref 0602)
All rights reserved. No part of this documentation may be copied, transcribed, The content of this manual and its validity for the product described here has been
stored in a data backup system or translated into any language without Fagor verified. Even so, involuntary errors are possible, thus no absolute match is
Automation's explicit consent. guaranteed. Anyway, the contents of the manual is periodically checked making
The information described in this manual may be modified for technical reasons. and including the necessary corrections in a future edition.
FAGOR AUTOMATION S. COOP. Reserves the right to modify the contents of The examples described in this manual are for learning purposes. Before using
this manual without having to communicate such modifications. them in industrial applications, they must be properly adapted making sure that
the safety regulations are fully met.
‡ ‡ ‡ New features

INDEX

VERSION V12.01

1 Analog I/O expansion and PT100 ...........................................................................................1


1.1 Power supply (POWER ANALOG I/0).................................................................................1
1.2 Remote modules setting......................................................................................................3
1.3 Management at the CAN, read variables ............................................................................4
2 CAN bus speed with remote digital I/O modules.....................................................................5
3 Memkey Card + Compact Flash or KeyCF .............................................................................6
3.1 Directory /Prg ......................................................................................................................6
3.2 Directory /Tab......................................................................................................................6
3.3 Directory /Pan .....................................................................................................................7
3.4 Directory /Vers.....................................................................................................................7
3.5 Accessing the system from other devices ...........................................................................7
4 Explorer...................................................................................................................................8
4.1 Functions.............................................................................................................................8
5 Loading the version from the Memkey card o from the hard disk .........................................13
5.1 Saving the current CNC version........................................................................................14
6 New way to search home......................................................................................................14
7 Improved block search. .........................................................................................................15
7.1 Description ........................................................................................................................15
7.2 Operating modes...............................................................................................................16
7.3 Home searching restrictions..............................................................................................18
7.4 Disabling the simulation and block search modes ............................................................19
8 New repositioning mode........................................................................................................19
9 Square-sine ramps on open-loop spindle .............................................................................21
10 Numbering of the local inputs/outputs of the expansion modules.........................................21
11 Default value of ACFGAIN = YES .........................................................................................23
12 FFGAIN setting with decimals...............................................................................................23
13 Up to 400 (DEF) symbols now available at the PLC .............................................................23
14 HTOR variable ......................................................................................................................23
15 Spindle override in the whole threading cycle at 100%.........................................................24
16 TC model: Generating an ISO-coded program .....................................................................24

VERSION V12.11

1 G145. Temporary cancellation of tangential control..............................................................27


2 Handwheel feedback taken to a free feedback connector ....................................................27
3 New variables........................................................................................................................27
3.1 Variable to define the linear theoretical feedrate (RIP) .....................................................27
3.2 Status of functions G100 through G320 (GGS*). ..............................................................28
3.3 Position programmed in M19 (PRGSP and SPRGSP) .....................................................28
3.4 Do not issue an error on probing movements (PRBMOD) ................................................29
4 Automatic keyboard type identification..................................................................................29
5 G4 K0: Block preparation interruption and coordinate update ..............................................29
6 TC model: Possibility to view all the active PLC messages ..................................................30
7 TC model: In the cycles, when selecting CSS, the screen shows "CSS" .............................30
8 TC model: Icon for coolant ON/OFF in positioning cycles 1 and 2 .......................................30

CNC 8040

i
‡ ‡ ‡ New features

VERSION V12.01

1 Analog I/O expansion and PT100

Connecting the CanOpen bus of the analog inputs/outputs allows connecting up to


2 remote modules to the central unit to expand the number of analog inputs or connect
PT100 temperature probes.
The system only supports two analog I/O boards.

Each module has the following elements:


• 4 differential analog inputs (±10 V, 12 bits of resolution).
• 4 general purpose differential analog outputs (±10 V, 16 bits of resolution).
• 2 PT100 inputs with a 4-wire interface (0.1 ºC resolution).

1.1 Power supply (POWER ANALOG I/0)

The power supply must necessarily be part of all the configurations (1 per group).

It must be powered at 24 Vdc and connected to the system's input/output CanOpen


bus.

POWER
ANALOG I/O 01+
CHS
01-
CHS
SH
X1 GND X1 GN D 01
02+
01
SH
02-
24V
24V SH
03+ X4
X4
03- ANALOG
SH OUTPUTS
(4)
04+
SPEED
04-
1
SH
0
ADDRESS SPEED RL1
1 R1 RL1
0 R1
R1+
A DDRESS RF1
SH R1-

X5
RF1 X5
SH PT100 +12
ERR
RL2 INPUTS I1+
ERR
RUN R2+ (2)
RUN I1-
LT LT R2-
0 0 SH
1 RF2
1
CAN SH I2+
CAN GN D
12
I2-
L I1
GND
X2 SH
I1
SH
L H SH
I3+
X2 SH SH

H I3-
GN D
SH L X6 SH
X3 SH
I4+
H
GND SH I4-
L X6
DIFFERENTIAL SH
X3 SH 12
ANALOG -12
GN D
H INPUTS
SH (4) GND

CNC 8040

·T· MODEL
(SOFT V12.0X)

1
‡ ‡ ‡ New features

X1 +24 V / GND 24 Vdc supply voltage.


Chassis Ground connection.
Speed CAN bus transmission speed configuration.

1 1
0
1000 kBd 0
500 kBd
ON OFF ON OFF

1 1
800 kBd 250 kBd
0 0
ON OFF ON OFF 1 kBd = 1 kbit/s

Value Speed Maximum distance


IOCANSPE = 0 1 Mbit/s. 20 m
IOCANSPE = 1 800 kbit/s. 45 m
IOCANSPE = 2 500 kbit/s. 100 m
IOCNASPE = 3 250 kbit/s 500 m
Default value: IOCANSPE=2

Address 16-position (0-15) rotary switch to select the CAN bus address. Position 0 is not
allowed.

ERR Red status red indicator light.

OFF The module is working fine


Fast blinking Module configuration stage
Simple Blinking Warning. Poor transmission
Double blinking No communication with the Central Unit
ON Error. Too many errors

RUN Green status indicator light.

ON The module is working fine


Simple Blinking Module stopped
Fast blinking Module configuration stage
Continuous blinking Start-up stage or error.

CAN Line terminating resistor on/off switch The modules located at both ends of the CAN
field bus must necessarily have the line terminating resistor; i.e. its switch must be
in the "1" position. The rest of the modules must necessarily have the line
terminating resistor off; i.e. their switches must be in the "0" position.

X2 - X3 Connector to communicate with the system's inputs/outputs through the CAN field
bus.

CNC 8040 X4 Connector for the 4 general purpose analog outputs.

X5 Connector for the 2 PT100 inputs.

X6 Connector for the 4 differential analog inputs.


·T· MODEL
(SOFT V12.0X)

2
‡ ‡ ‡ New features

1.2 Remote modules setting

The new PLC machine parameters are:

IANALOG1 (P110) They indicate the number of analog inputs of each of the 4 remote modules; a CAN
IANALOG2 (P113) node number identifies each one in the system. Its value will be 4 if it is a Fagor remote
IANALOG3 (P116) module.
IANALOG4 (P119)

OANALOG1 (P111) They indicate the number of analog outputs of each of the 4 remote modules; a CAN
OANALOG2 (P114) node number identifies each one in the system. Its value will be 4 if it is a Fagor remote
OANALOG3 (P117) module.
OANALOG4 (P120)

PT100_1 (P112) They indicate the number of physical connections available for PT100 probes in each
PT100_2 (P115) of the 4 remote modules and also indicate which ones are connected. All this
PT100_3 (P118) information is reflected in a 16-bit string. Their value will be 0000 0000 0000 0011
PT100_4 (P121) if it is a Fagor remote module (2 physical connections, bits 0 and 1 set to "1") and
whether they are both connected (bits 4 and 5 set to "0") or not. See table below.

A remote module may have physical connections for PT100 probes, but they are not
connected. That is why there is a bit indicating that there is a physical connection for
the PT100 probe and another bit to indicated whether a probe is connected or not.

Therefore, for a 16-bit string:

bit 15 .......12 11 ....... 8 7 ........ 4 3 2 1 0

PT100_1 = xxxx x x x x xx 0/1 0/1 xx 0/1 0/1

bit 0 Does it have a physical connection for PT100_1 probe? no/ yes 0/1
bit 1 Does it have a physical connection for PT100_2 probe? no/ yes 0/1
bit 4 Is there a PT100_1 probe connected to it? yes/no 0/1
bit 5 Is there a PT100_2 probe connected to it? yes/no 0/1
... Reserved
for Fagor remote modules

If the probe is not properly connected or the cable is defective, the CNC will
display an error message that will be treated like the errors at the digital
inputs/outputs.

NUIANA1 (P122) They indicate the number of the first analog input of each remote module. The rest
NUIANA2 (P124) of analog inputs of the same module will be numbered sequentially.
NUIANA3 (P126)
NUIANA4 (P128)

NUOANA1 (P123) They indicate the number of the first analog output of each remote module. The rest
NUOANA2 (P125) of analog outputs of the same module will be numbered sequentially.
NUOANA3 (P127)
NUOANA4 (P129)
If the value of all these parameters is zero (they are by default), the numbering of the
analog inputs/outputs will be consecutive to the last local inputs/outputs.
CNC 8040
Their maximum value will be 16, both for the analog inputs and analog outputs.

On power-up, the CNC verifies that the number of analog inputs/outputs detected at
the module matches the value assigned to the relevant machine parameters.
If these values do not match, the CNC screen will display a message indicating it and
then it will turn the remote module off. ·T· MODEL
(SOFT V12.0X)

3
‡ ‡ ‡ New features

1.3 Management at the CAN, read variables

PLC instructions IREMRD and ORMWR can be used with the analog inputs/outputs
the same way as with digital inputs/outputs. These instructions force the reading and
writing of digital and analog inputs/outputs.

These instructions may be useful in periodic cycles:


PLC instructions IREMRD and OREMWR must be used at the beginning and at
the end of the periodic cycles in order to manage real remote inputs/outputs in
those cycles. Thus:
PE **
IREMRD
**
**
OREMWR
END

Variables to be assigned to the analog inputs/outputs

ANAO1/16: • Analog outputs in ten-thousandths of a volt within ±10V.


• The range is expanded from 8 to 16.
• Read-write from the CNC, PLC and DNC.

ANAI1/16: • Analog inputs in ten-thousandths of a volt within ±10V.


• The range is expanded from 8 to 16.
• Read-only from the CNC, PLC and DNC.

TEMPI1/4: • Temperature in tenths of a degree detected by the PT100.


• Read-only from the CNC, PLC and DNC.

Description on the CAN STATUS screen:

The CAN status screen shows the number of analog and PT100 inputs/outputs of
each modules with three new rows:
• Analog inputs
• Analog outputs
• PT100 inputs

CNC 8040

·T· MODEL
(SOFT V12.0X)

4
‡ ‡ ‡ New features

2 CAN bus speed with remote digital I/O modules

SPEED
1
0

SPEED
1
0

The configuration of the CAN bus transmission of the remote modules with digital
inputs/outputs is:

Speed CAN bus transmission speed configuration.

The transmission speed of the CAN bus when using remote modules with
i digital inputs/outputs is configured the same was as with analog
inputs/outputs as mentioned in the first section of this chapter.

CNC 8040

·T· MODEL
(SOFT V12.0X)

5
‡ ‡ ‡ New features

3 Memkey Card + Compact Flash or KeyCF

This CNC software version still supports:

Memkey Card + Compact Flash. The <Memkey Card> will include the validation
code, software options, user screens, PLC program backups and machine
parameters. The <Compact Flash> will be a hard disk with the same function as that
of a disk with memory expansion and will only store the user programs.

or a new configuration with:

KeyCF (KeyCompactFlash) instead of Memkey Card + Compact Flash. It will


store the CNC configuration, i.e. the validation code, the software options, user
screens, PLC program backups and machine parameters. It also has memory for
user programs.
WARNING: In order for the CNC to recognize the KeyCF, make sure that there
is no Memkey Card inserted, otherwise, the Memkey Card will be recognized
first.

From this version on, the CNC supports the management of several disks at the same
time:
‡ Hard disk. The CNC selects the Compact Flash or the KeyCF as hard disk
depending on which one the user has loaded in its CNC.
‡ Remote hard disk. The CNC selects a directory of a PC shared in the network
and it considers it like its own hard disk. From the user's point of view, the CNC
has a remote hard disk. It will only store user programs.

3.1 Directory /Prg

By default, this directory of the hard disk will store the user programs.
The OPEN and EXEC instructions can only be used in the subdirectory /Prg
of the default hard disk, i.e. of the hard disk or of the remote hard disk.

3.2 Directory /Tab

This directory of the hard disk will store the machine parameters and tables with the
same format and the same name currently stored in the WinDNC.

At certain CNC models, the user may find the label <hard disk> instead of
i <Card A> within the menus for machine parameters and tables, submenus
<load> and <save>.

The files for the parameters of an axis and for leadscrew compensation are stored
in the hard disk by the axis name.
WARNING: The nomenclature for these names has been changed in this
version. For compatibility sake, the CNC will admit names that follow the
nomenclature of older versions.

Within the parameter table for an axis, it will offer the option to <load/hard disk>. This
CNC 8040 option, first checks if the <APn> file is stored (nomenclature followed by the axis
names in this new version).
• Axis parameters: APX, APY, ..., APC.
• Leadscrew parameters: ALX, ALY, ..., ALC.

·T· MODEL If it does not exist, it checks if the <MXn> file is stored (nomenclature followed by the
(SOFT V12.0X) axis names in older versions).
• Axis parameters: MX1, MX2, ...
• Leadscrew parameters: US1, US2, ...

The same procedure will be applied with the <load/DNC> option.

6
‡ ‡ ‡ New features

However, whenever the <save> option is activated, the CNC always generates the
files with the names corresponding to this new software version, both in the >hard
disk< and in the <DNC>.

In order to be able <load> files named according to the nomenclature of this


new version into a CNC whose software version is V9.xx or older, they will
i have to be renamed using the nomenclature of versions older than V11.xx.
Example: Rename an APY file as MX2.

3.3 Directory /Pan

This directory of the hard disk stores the graphic files with extensions <*.pan>,
<*.sim> and <*.wgd>.

3.4 Directory /Vers

The user can store the different software versions in this directory of the hard disk.

3.5 Accessing the system from other devices

Through the WinDNC

From WinDNC it is possible to access the files of user programs, tables and screens
located in the hard disk as well as those located in the Card A.

The WinDNC can only display the following devices:


• Memory
• Default hard disk .
The "default hard disk" will be the first hard disk recognized by the CNC. The
order of priorities is:
1. Compact Flash or KeyCF and 2. Remote hard disk.

• Card A. Slot to load a Memory Card or a Memkey Card.

At the <default hard disk>, only the default directory/Prg can be accessed. The rest
of the subdirectories are not accessible.

Accessing the root directory of the DNC requires a WinDNC version 4.1 or
higher. Likewise, sending tables <from/to> the hard disk requires a WinDNC
version 4.1.

Via FTP

It is possible to access (read and write) tables, machine parameters, graphic files and
programs from the network via FTP. All the disks will be available from this version
on, when accessing a CNC via FTP:
• Hard disk (Compact Flash or KeyCF)
• Remote hard disk

CNC 8040

·T· MODEL
(SOFT V12.0X)

7
‡ ‡ ‡ New features

4 Explorer

In this version, the CNC offers a new <explorer type> way to show the contents of
the various storage devices.

There are two options to set how to access it:


• Via the <utilities> softkey.
• From the softkeys <execute>, <simulate> or <edit>.

Note that accessing the explorer from this second option does not allow
certain operations.

In conversational mode, it is accessed from the <PPROG> screen by placing the


cursor in the "user programs" area and pressing the <RECALL>.

Press the <ESC> key to return to the previous <PPROG> screen.

Advanced access

EXPLORER (P180) This parameter sets how to access the explorer.


Value Meaning
0 It is accessed using the < explorer> softkey of the utilities,
execute, simulate or edit modes.
1 It is accessed directly from the utilities, execute, simulate or edit
modes.
Default value: 0

4.1 Functions

Accessing the explorer displays a window divided in two areas (left panel and right
panel) as shown in the next figure:

CNC 8040

·T· MODEL
(SOFT V12.0X)

8
‡ ‡ ‡ New features

Left panel FOLDERS

This side of the window shows all the devices available at the CNC:
• Memory
• Card A
• Hard disk
• Remote hard disk
• DNC 1/2/E

If a device (DNC) is not connected or neither a Memory Card nor a Memkey Card
is inserted into the Card A slot, the explorer will display the device, but it will issue
the message "device (unit) not available" when trying to access its contents.

The devices include their own folders. The explorer included in this new software
version can display the actual folder structure (tree). Thus, the user can display the
subdirectories Tab, Prg, Pan, ...
Note that the subdirectories of the DNC units will only show the stored user
programs.

Right panel DEVICE

This side of the window shows the contents of the folder previously selected in the
left panel. Only the CNC programs (*.pim or *.pit) stored in the selected folder will
be displayed. Any other type of file that this folder may contain will not be shown.

The fields to the right of each program indicate the program number, its size,
date/time it was created and attribute.

The attribute of a program is identified depending on the icon appearing in the


"program" field.

OEM HIDDEN EXECUTABLE READ ONLY

By default, the programs will appeared sorted by number in ascending order and the
PLC files will be at the end: errors, messages and programs.

They can also be sorted by comment, date/hour and size, both in ascending or
descending order using the <SORT> softkey The options displayed are:
‡ By number [N]
‡ By comment
‡ By size
‡ By date

The bottom of the screen shows how much memory is available in each device (unit)
and how many programs are currently selected as well as their total size.

Hidden user files can also be shown using the USERPSW password in the <access
codes> window. To display all the files, enter the password OEMPSW.
CNC 8040

·T· MODEL
(SOFT V12.0X)

9
‡ ‡ ‡ New features

Program handling

A program is considered to be selected on the file list of the right panel when the cursor
is on i. It is shown on the screen with horizontal stripe.

The keys for moving the cursor are:


F7 - Cursor movement inside the right/left panels of the
explorer.

Up/down arrow keys.

Folder expand/shrink keys of the left panel of the explorer.

SHIFT + Move the cursor to the first program.

SHIFT + Move the cursor to the last program.

Use the number keys of the CNC to select the program with the desired number. If
there is no program with that number and the programs are sorted by number, the
cursor will select the program with the nearest lower number.

The operations that may be carried out on the programs displayed by the explorer
at the time are:
‡ Rename
To rename the selected program as long as it is a modifiable program. After
modified, its date/time will change.
To rename a program, select it first in the right panel and after pressing the
<Modify> softkey, >number< option displays the <Rename> window with the new
text frame "new number" where the new name can be written.
No program may be renamed in DNC 1/2/E.

‡ Modify comment
To rename the comment of the selected program as long as it is a modifiable
program. The comment must not exceed 20 characters. After modified, its
date/time will change.
To change the comment of a program, first select it in the right panel and after
pressing the <Modify> softkey >comment< option, it shows the text box "new
comment" where the new comment may be written.
No comment of a program may be renamed in DNC 1/2/E.

‡ Modifying permissions
It may be used to modify the OEM, hidden, executable and read-only permissions
of programs that are displayed at the time in the explorer. Thus, if it is an OEM
program, it will request an OEM password and if a program is assigned the
<hidden> attribute, its relevant icon immediately appears on the list of the
explorer. After modified, its date/time will change.
To change the permission of a program, first select it in the right panel and after
pressing the <Modify> softkey >permissions< option, it shows the text box "new
CNC 8040 comment" where the new comment may be written.
No permission of a program may be renamed in DNC 1/2/E.

·T· MODEL
(SOFT V12.0X)

10
‡ ‡ ‡ New features

‡ Delete
It may be used to delete a previously selected program. Only a modifiable
program may be deleted.
To delete a program, first select it in the right panel and after pressing the
<Actions> softkey, >[CLEAR]< option, it will disappear from the program listing
displayed in the explorer.
WARNING: Make sure that you want to delete the program because it will be
deleted permanently and it can no longer be recovered !

‡ Copy
It copies the selected program onto the clipboard. First select the program to be
copied in the right panel and press the <Actions> softkey <Copy [C]> option.
Then, select the destination folder and press the <Paste [V]> option located under
the same >Actions< softkey.
‡ Cut/move
It copies the selected program onto the clipboard. First select the program to be
cut/move in the right panel and press the >Actions< softkey <Cut [X]> option.
Then, select the destination folder and press the <Paste [V]> option located under
the same >Actions< softkey. Once the content of the clipboard has been pasted,
the files will be deleted from the source folder and moved to the new destination.
These operations are carried out using the horizontal softkeys shown at the
bottom of the screen and can only be carried out on the programs being
displayed on the screen.

Operations on sets

The user may select a set of programs that are located in the right panel of the screen.
This selection may be done either individually or by range or as a whole.

These types of selection may be carried out after pressing the <Select> softkey and
any of the options shown depending on the task to be carried out. The available
options are:
‡ All / Nothing [ * ]
‡ From / To [ _ ]
‡ Select [ + ]
‡ Deselect [ - ]
‡ Invert

After selecting the programs individually, by range or as a whole, it is possible to carry


out on them the operations mentioned earlier.

Some operations may not be applicable to certain programs of the selection.


In those cases, the user will be informed and will be allowed to either resume
or cancel the operation.

Handling the directories

When the cursor is located on any of the "hard disk" or "remote hard disk" units of
the left panel, any of the following actions may be carried out on any of them:
‡ Create a subdirectory
‡ Rename a subdirectory
CNC 8040
‡ Delete a subdirectory

To delete a subdirectory, it must be empty.


·T· MODEL
(SOFT V12.0X)

11
‡ ‡ ‡ New features

Quick access to directories

Selecting a directory in the left panel and pressing the <Options> softkey, >Save
position [M]<, the explorer will remember this directory.

After selecting this option and having moved the cursor to another directory, pressing
the <Options> softkey, <Go to position [G]> option, the cursor of the explorer will
automatically position in the saved directory. Pressing the same softkey again, the
explorer will return to the starting position.

Quick access keys (hot keys)

Some options of the softkeys have a hot key. A hot key carries out the same function
as the option itself. When displaying the menu of each softkey, it shows the hot key
(between square brackets) equivalent to the option.
WARNING: Not all the options of the softkeys have an associated hot key.

CNC 8040

·T· MODEL
(SOFT V12.0X)

12
‡ ‡ ‡ New features

5 Loading the version from the Memkey card o from the hard
disk

From this version on, it is possible to load the code from either the Memkey Card or
from the hard disk.

The software is loaded from the <Diagnosis> mode using the option >Configuration
/ Software configuration / Load version<

It displays the following window:

The left panel shows the system devices available and their relevant subdirectories.

The right panel is divided in two halves:


‡ The top shows all the files contained in the software versions (".fgr" extension)
‡ The bottom shows the data identifying the version selected in the top half.

Loading the version

To install a version, the user must follow the following procedure:


1. Select, in the left panel, the unit containing the new version to be installed (Card
A or Hard disk).
2. Place the cursor in the right panel, on the ".fgr" file and press the softkey
<INSTALL>. After carrying out this task, it shows a dialog box requesting
confirmation to resume the process:
F5 [OK] resume the process
[ESC] abort the process

3. Once the resuming of the operation has been confirmed, the CNC verifies that
the file to be installed is correct. During this operation, it displays a process bar
with the message "checking..."
4. Then, it loads the code contained in the ".fgr" file into the system flash memory. CNC 8040
During this operation, it displays a process bar with the message "loading..."
5. Finally, it verifies the checksum of the new version installed. This operation is
identified with the message "wait...".

·T· MODEL
(SOFT V12.0X)
To install a new version located in a "remote hard disk", it first transfers the
i ".fgr" file to the "hard disk" and then it loads the version as mentioned earlier.

13
‡ ‡ ‡ New features

If there is a CNC power outage during any of these processes, when powered back
up, it goes on loading the version from the interruption point.

If the interruption takes place while saving into the flash memory, it first checks the
version file.

5.1 Saving the current CNC version.

The CNC can save the version currently installed. The user can choose whether to
save it into the Memkey Card or into the Hard disk.

To save the current software version, access the <Diagnosis> mode and select the
option <Configuration / Software configuration / Load version>.

Then, follow this procedure:


• Select the CNC directory (located in the left panel) of the explorer.
• Switch over to the right panel and select the ".fgr" file.
• Press the <Actions> softkey, <Copy [C]> option.
• Select the directory of the Memkey Card or Hard disk where to save the version.
• Press the <Actions> softkey, <Paste [V]> option.

6 New way to search home

Machine parameter IOTYPE=3 defines a new way to search home.

The home search procedure is the following:


• The axis moves until touching the home switch at the feedrate defined by
parameter REFEED1.
• Once it touches it, the axis backs up at REFEED2 until it releases it.
• Once it has released it, it will recognize the first reference mark found without
changing either its moving direction or its feedrate.

This home searching method makes no sense when using distance-coded or


i absolute reference marks.
However, it is valid for Gantry axes.

CNC 8040

·T· MODEL
(SOFT V12.0X)

14
‡ ‡ ‡ New features

7 Improved block search.

7.1 Description

This feature solves a situation that occurred when interrupting a program that was
being executed before it ended. The program may have been interrupted due to a
"STOP-RESET", and emergency, a PLC/CNC error or because the CNC was turned
off while executing a program or in a temporary stop.

The CNC remembers the program block at the time of the interruption that did not
allow executing it completely.

The home search permits restoring the history of a program up to a particular block
in such way that when resumed, it executes the rest of the program with the same
conditions as it would if it were executed from the beginning.

Example: A part machining process is interrupted at any time. The block search may
be used for positioning the tool in the same place it was just when the program was
interrupted and in the same conditions.

Block search is executed from the execution mode using a menu driven operational
process. The program execution will resume once the block search is done.

The execution window offers the following menu:

BLOCK STOP TOOL SINGLE


DISPLAY MDI GRAPHICS
SELECTION CONDITION INSPECTION BLOCK

[F1] [F2] [F3] [F4] [F5] [F6] [F7]

To access the block search, press the softkey <BLOCK SELECTION> of the softkey
menu of the execution window.

There are two ways to select the block up to which the block search will be carried out:

Automatic

It may be used to restore the program history up to the block where the execution
was interrupted. The CNC remembers in which block the execution was interrupted,
thus not being necessary to set the stop block.

If the program is interrupted inside an internal cycle, it will behave as follows:


If it is a pocket cycle (G66, G67, G68, G87, G88) or a multiple cycle (G60, G61,
G62, G63, G64), when doing a home search, it restores the history up to the last
subblock inside the completed cycle.
In the rest of the canned cycles (G69, G81, G82, G84, G85, G86), it is interrupted
inside the cycle, it restores the history up to the cycle calling block.

Manual

It serves to restore the history of the program up to a block defined by the user:
A. If it is a motion block, the program simulation stops once that block is completed.
B. If it is a program flow changing block (GOTO, RPT, CALL, EXEC), the simulation
stops in that block, but without jumping to the new block.
C. If it is a positioning block that has a canned cycle or a subroutine or a modal
program associated with it, the program simulation stops once the positioning is
done leaving the execution of the canned cycle or modal subroutine for after CNC 8040
repositioning.
D. In the case of blocks calling upon irregular-pocket-with-islands cycle calling and
TRACE, DIGIT or PROBE cycles, the program simulation stops in the calling
block, but without simulating anything in that cycle.
·T· MODEL
(SOFT V12.0X)

15
‡ ‡ ‡ New features

7.2 Operating modes

Searching blocks containing G functions. EXEC G search.

When restoring the history of the program, the CNC reads it up to the set block
activating and canceling the "G" functions that reads along. Likewise, it sets the
feedrate and spindle speed conditions of the program and calculates the position
where the axes should be.

The M, T and S functions are not output to the PLC, but they are memorized so when
the last block is reached, the CNC shows a list of the conditions that the CNC must
have assumed by the history.

Once the simulation is over, the user can restore the M, S, T functions:
A. In the order in which the M, S, T functions were simulated by pressing < EXECUTE
MST> and then [CYCLE START].
B. Pressing the softkeys <TOOL INSPECTION>, <DISPLAY MST> and<MDI> in
this order, the user can execute the desired blocks in any order he wishes.

The screen shows a list of the M, S and T functions (one per line and in simulation
order) bearing the following in mind:
• It shows the M functions of the history bearing in mind that some M functions may
cancel others.
• If there is a second spindle and M functions a programmed that refer to that
spindle (M3, M4, M5, M19, M41-44), they will not cancel the ones equivalent to
the first spindle. Also, when restoring these M functions, it first restores those of
each programmed spindle G28 or G29.
• When it receives an OEM's M function and then it receives the same M function,
the older one disappears from the list.
• It displays the last T function programmed as well as the last S function
programmed.

Searching a block that contains G, M, S and T functions. EXEC GMST search

When restoring the history of the program, the CNC reads it up to the set block
activating and canceling the G functions that reads along. Also, it sets the feedrate
and spindle speed conditions of the program and calculates the position where the
axes should be.

The M, S and T functions are executed and output to the PLC.

WARNING: This block searching method is less suitable than the


previous one especially when not using safety mechanisms at the
PLC. If the tool is not positioned correctly in the tool changes, it could
cause collisions.

If in any of the two block searching methods the program that contains the searched
block is stored in a CARD A, hard disk, Ethernet or DNC, the bottom of the screen
can display the line being simulated at that moment. This information gives an idea
of how much is left to reach the block.

BLOCK SEARCH MENUS

CNC 8040 The following menu is accessed from the execution window:

BLOCK STOP TOOL SINGLE


DISPLAY MDI GRAPHICS
SELECTION CONDITION INSPECTION BLOCK

[F1] [F2] [F3] [F4] [F5] [F6] [F7]

·T· MODEL
To access the <BLOCK SEARCH> after pressing [F1] <BLOCK SELECTION>
(SOFT V12.0X) a new menu is displayed:

EXEC G EXEC GMST


FIRST BLOCK
SEARCH SEARCH

[F1] [F2] [F3] [F4] [F5] [F6] [F7]

16
‡ ‡ ‡ New features

Pressing the <FIRST BLOCK> softkey gives access to the menu for selecting
the block from which to start executing the program.

FIRST LINE LAST LINE TEXT LINE NUMBER

[F1] [F2] [F3] [F4] [F5] [F6] [F7]

Pressing the <EXEC G SEARCH> softkey or <EXEC GMST SEARCH> softkey


gives access to a new menu:

PROGRAM NUMBER OF AUTOMATIC


STOP BLOCK FIRST BLOCK
SELECTION TIMES SEARCH

[F1] [F2] [F3] [F4] [F5] [F6] [F7]

Pressing the <PROGRAM SELECTION> softkey opens an explorer-type window


for selecting a program of any unit such as hard disk, CARD A, DNC2, DNCE.

Pressing the <STOP BLOCK> softkey gives access to the menu:

AUTOMATIC
FIRST LINE TEXT LINE NUMBER
SEARCH

[F1] [F2] [F3] [F4] [F5] [F6] [F7]

To set the last block for restoring the program history up to that block, just select it
with the cursor and press [ENTER]. When executing the program after that, it will start
right from that block.

The block to be selected may be found using the up/down arrow keys, page up/down
keys or the softkeys of the previous menu.

The <AUTOMATIC SEARCH> softkey is only shown when the block that has been
stored for the automatic search is located among those of the program and once
pressed places the cursor in that block.

Pressing the <NUMBER OF TIMES> softkey sets as stop condition that the block
selected as the stop block must have been executed a particular number of times.
CNC 8040
Pressing the <AUTOMATIC SEARCH> softkey permits restoring the program
history up to the beginning of the block where the execution was interrupted. The CNC
remembers the block where it was interrupted and, therefore, it is not necessary to
indicate the stop block.

·T· MODEL
(SOFT V12.0X)

17
‡ ‡ ‡ New features

Pressing the <FIRST BLOCK> softkey gives access to the following menu:

FIRST LINE LAST LINE TEXT LINE NUMBER

[F1] [F2] [F3] [F4] [F5] [F6] [F7]

It sets as the first block for the block search the one selected with the cursor and
validated with [ENTER]. When not setting the first block, the block search starts in
the first block of the program.

The block to be selected may be found using the up/down arrow keys, page up/down
keys or the softkeys of the previous menu.

When selecting a stop point, the screen shows the text STOP=HD: PxxxLxxx that
indicates the location of the program, the program number and the program line. After
pressing [CYCLE START] the CNC searches the block and once simulated up to the
stop block, it removes the previous text and shows the following menu:

END
TOOL PENDING MST
REPOSITIONI X Y Z +
INSPECTION EXEC
NG

[F1] [F2] [F3] [F4] [F5] [F6] [F7]

The CNC determines the axes that are out of position and shows them so they can
be selected. If it has also searched for G functions and the program contains M, S,
T functions that must be executed, the menu shows the softkey <PENDING MST
EXEC> so those functions are executed after pressing the softkey and validating it
with [CYCLE START].

Pressing the <TOOL INSPECTION> softkey goes into tool inspection and
displays the menu:

REPOSITIONI DIS PENDING


MDI
NG MST

[F1] [F2] [F3] [F4] [F5] [F6] [F7]

Pressing the <DIS PENDING MST> softkey displays the M, S and T functions
that have been simulated and are pending to be executed.

Pressing the <MDI> softkey access that mode and lets the user execute the
desired blocks.

7.3 Home searching restrictions

Block search is restricted in the following scenarios:


• In the cycles of the conversational mode (PCALL xxxx), when doing an automatic
search inside a cycle; once [CYCLE START] is pressed, the search will stop in
the block that calls that cycle; i.e. in the (PCALL xxxx) block, but without jumping
to the subroutine.
• In a program where a particular scaling factor is activated, the block search is
automatically or manually restricted to a block after that activation.
• In a program where axes are slaved with G77 or using PLC SYNCRO marks, the
block search is automatically or manually restricted to a later block.
The same restriction applies to a program having spindle synchronization.
• In a program that applies mirror image via PLC using MIRROR marks, the
automatic or manual search are restricted to later blocks.
CNC 8040 • In a program containing a home search (G74), the automatic or the manual search
is restricted to later blocks.

·T· MODEL
(SOFT V12.0X)

18
‡ ‡ ‡ New features

7.4 Disabling the simulation and block search modes

New 16-bit g.m.p. DISSIMUL.

DISSIMUL (P184) This parameter may be used to disabled the simulation modes and the block search
modes when selecting blocks in execution. Setting the relevant bit to 1 disables it and
removes from the menu the softkey assigned to this bit.

bit 15 .......12 11 ....... 8 7 ........ 4 3 2 1 0

For the block search: Disabling in execution:


DISSIMUL = xxxx xxxx 0/1 x x x xxxx

bit 7 = 1 EXEC G SEARCH


bit 6 = 1 EXEC GMST SEARCH

For simulation: Disabling in simulation:


DISSIMUL = 0/1 x x x xxxx xxxx xxxx

bit 10 = 1 RAPID [S0]


bit 11 = 1 RAPID
bit 12 = 1 MAIN PLANE
bit 13 = 1 G, M, S, T FUNCTIONS
bit 14 = 1 G FUNCTIONS
bit 15 = 1 THEORETICAL PATH

8 New repositioning mode

The user can do a repositioning after a tool inspection.

REPOSTY (P181) G.m.p. REPOSTY permits activating the new repositioning mode:

Value Meaning
0 It activates the old repositioning mode
1 It activates the new repositioning mode
Default value: 1

With the new repositioning mode, pressing the [REPOSITIONING] softkey displays
a softkey menu to carry out the following operations:
• If there is a pending spindle movement (M3, M4, M5, M19), it shows a spindle
softkey showing this previous status and the pending function. After pressing the
displayed softkey and then [CYCLE START], the CNC generates a block that
resumes the spindle movement before the inspection.
If the spindle position changes while being in M19, it considers that there has been
a change and it shows the softkey. CNC 8040
• When selecting an axis with the relevant softkey and pressing [CYCLE START],
the CNC generates a motion block up to the repositioning coordinate for that axis.
Several axes may be moved at the same time, but it is not possible to select the
movement of the axes and of the spindle at the same time.
·T· MODEL
(SOFT V12.0X)

19
‡ ‡ ‡ New features

• The repositioning movement of one or several axes may be interrupted and it is


possible to inspect and reposition as often as desired.
Remember that setting REPOSTY=0 activates the repositioning method of
previous versions and, therefore, after interrupting a repositioning move, it
will not enable any softkeys on the screen that will allow inspecting again and
repositioning again before completing the repositioning.

• Using the manual repositioning mode, the CNC lets move the axes with the
electronic handwheels or with JOG keypad both continuously and in
incrementally. The movement of the axes is restricted by the repositioning end
point and the corresponding software travel limit.
WARNING: The handwheel movements will not be restricted by the
repositioning points.

• When an axis reaches the last repositioning point, it is no longer available and
cannot be jogged. To move that axis, switch to tool inspection mode.
• The <END REPOSITIONING> softkey may be used to exit the repositioning
mode and press [CYCLE START] to resume program execution.
If after quitting the repositioning mode, the axes are not properly repositioned, the
CNC will move the axes from where they are to the repositioning point.
• The <TOOL INSPECTION> softkey may be used to return to the tool inspection
mode where the axes may be jogged continuously, incrementally or with an
electronic handwheel. In this case, the movements are only limited by the
software travel limits.
Besides, it is possible to switch to MDI mode to execute simple blocks.

Identification of the new states in OPMODE and OPMODA

New values have been added to the OPMODE variable:

Value Meaning
14 Reposition
15 Block search executing G
16 Block search executing G, M, S, T

A new bit has been added to the OPMODA variable:

Bit Meaning
13 It identifies the block search

CNC 8040

·T· MODEL
(SOFT V12.0X)

20
‡ ‡ ‡ New features

9 Square-sine ramps on open-loop spindle

Until now, the spindle acceleration ramps were linear. From this version on, square-
sine type ramps have been implemented for smoother performance.

The new spindle parameter JERKLIM (P80) becomes effective with RESET in
machine parameters.
Value Meaning
JERKLIM = 0 Linear acceleration ramp
Default value: 0
A JERKLIM value other than zero activates the square-sine ramp.

It comes in degrees/s3, in other words, a parameter value of 20 means a jerk of 20000


degrees/s3.

This parameter only affects the spindle acceleration in open loop, but has no effect
on synchronized spindles.

The parameter value so maximum acceleration (resulting from OPLACETI) is


reached in half the acceleration time up to MAXGEAR1 is calculated as follows:

JERKLIM = 6000 · MAXGEAR1 / OPLACETI 2

In this case, the spindle will take twice as long to reach the MAXGEAR1 speed than
it would without jerk.

The JERKLIM value depends on the dynamics of the machine.

10 Numbering of the local inputs/outputs of the expansion


modules

The purpose of this application is to be able to redefine the numbering of the


inputs/outputs of the local expansion module without having to modify the PLC
program using the following plc.m.p.:

Value Meaning
NUILO1 Numbering of the first input of the expansion module with
inputs/outputs (I/O).
NUOLO1 Numbering of the first output of the expansion module with
inputs/outputs (I/O).

The CPU of the 8040 CNC may have digital 16I/8O and optionally a single local digital
expansion of 40I/24O.

The inputs/outputs that do not belong to the expansion module are numbered
starting from I1 and O1 and cannot be set by parameters.

IMPORTANT:The numbering of both the first local input and the first local output of
the expansion module must be a multiple of 8 plus 1 (1+ 8n).

If incoherent parameter settings are detected on power-up, an error message


will be issued indicating it. CNC 8040

Inside the expansion module, the numbering of the rest of inputs/outputs will be
sequential from the first one on.

The numbering for the inputs/outputs of the expansion module will be different
depending on the values entered in parameters NUILO1 and NUOLO1. ·T· MODEL
(SOFT V12.0X)

To properly number the inputs/outputs of the expansion module follow the indications
of the example.

21
‡ ‡ ‡ New features

Example

Let's assume an 8040 CNC with 16i/8O and an expansion module with 40I/24O. How
should all the inputs/outputs of the expansion module be numbered?

The inputs/outputs that do not belong to the expansion module (16I/8O) cannot
be set by parameters; therefore, the first input is always numbered as I1 and the first
output as O1.

The inputs/outputs of the expansion module with the PLC parameters set to zero:

Parameters of the expansion module


NUILO1 = 0
NUOLO1 = 0

will be:

I/O of the expansion module


I17 - I56 O9 - O32

The inputs of the expansion module are numbered sequentially after the last
input that does not belong to the expansion module (I 16+1=I17). Follow the
same procedure for the outputs.

The inputs/outputs of the expansion module with the PLC parameters set to a value
other than zero and multiple of (1+ 8n) where "n" is a natural number:

Parameters of the expansion module


NUILO1 = 65
NUOLO1 = 33

will be:

I/O of the expansion module


I65 - I104 O33 - O56

The inputs of the expansion module are numbered sequentially after the value
assigned to parameter NUILO1 (I65) chosen at will with the restriction (8n+1).
Follow the same procedure for the outputs.

The total limit of inputs (local + remote) is 512.

The total limit of outputs (local + remote) is 512.

The values of the PLC machine parameters mentioned earlier should be


i multiple of 16 for best managing the inputs and outputs in time.

CNC 8040

·T· MODEL
(SOFT V12.0X)

22
‡ ‡ ‡ New features

11 Default value of ACFGAIN = YES

From this version on, the default value of parameter ACFGAIN (P46 for axis and P42
for spindle) is <YES>.

12 FFGAIN setting with decimals

From this version on, axis parameters FFGAIN and FFGAIN2 may be set with
decimals. The value range is from 0 to 100,99%.

When having a CNC with a version V11.01 or later where FFGAIN or


FFGAIN2 have two decimals, when passing them to an older version,
those parameters lose their decimals.

13 Up to 400 (DEF) symbols now available at the PLC

Until now, a PLC program could contain up to 200 DEF. Up to 400 may be programmed
from this version on.

14 HTOR variable

The HTOR variable indicates the tool radius being used by the CNC to do the
calculations.

Being a variable that can be read and written by the CNC and read-only from the PLC
and DNC, its value may be different from the one assigned in the table (TOR).

On power-up, after a T function, after a RESET or after an M30 function, it assumes


the value of the table (TOR).

Application example

To machine a profile with a residual stock of 0.5 mm running 0.1mm-passes with a


tool whose radius is 10 mm.

Assign to the tool radius the value of:


10.5 mm in the table and execute the profile.
10,4 mm in the table and execute the profile.
10,3 mm in the table and execute the profile.
10,2 mm in the table and execute the profile.
10,1 mm in the table and execute the profile.
10,0 mm in the table and execute the profile.

However, if while machining, the program is interrupted or a reset occurs, the table
assumes the radius value assigned in that instant (e.g.: 10.2 mm). Its value has
changed.

To avoid this, instead of modifying the tool radius in the (TOR) table, use the variable
(HTOR) to change the tool radius value used by the CNC to calculate. CNC 8040
Now, if the program is interrupted, the tool radius value initially assigned in the (TOR)
table will be correct because it has not changed.

·T· MODEL
(SOFT V12.0X)

23
‡ ‡ ‡ New features

15 Spindle override in the whole threading cycle at 100%

In previous versions, when executing a threading cycle, the threading operations


(G33) were carried out at the programmed spindle speed. The spindle speed override
was ignored. However, in the withdrawal movement, after finishing the thread pitch
and starting the next one, it would assume the selected spindle speed override. If the
spindle speed override was not 100%, the spindle accelerated and decelerated
constantly.

To avoid this behavior, from this version on, the whole threading cycle will be carried
out at the programmed spindle speed ignoring the override from beginning to end of
the cycle.

16 TC model: Generating an ISO-coded program

In the conversational mode of the CNC, it is possible to generate an ISO-coded


program with some basic G functions as well as M and T functions from an operation
(cycle) or on a part-program.

To enable this feature, set general machine parameter ISOSIMUL with a value other
than zero. This parameter identifies the number of the ISO program generated in user
RAM memory.

The program generated from the conversational program is an ISO-coded program


created in RAM memory. This program may be later edited, copied or executed at
the CNC itself.

To generate the ISO program, use the simulation in conversational mode through the
"GRAPHICS" key. This can be done in a whole program on the PPROG screen or
in any of the particular TC or MC cycles.

Once inside the graphic simulation screen, the ISO generation maybe selected using
the <ISO> softkey. Then, pressing [CYCLE START] will generate the program
defined by machine parameter ISOSIMUL (that will only contain ISO instructions)
while it simulates it graphically.

When generating that program, parametric programming, rounding (G36), tangential


entry (G37), tangential output (G38), chamfer (G39) and path tangent to previous
path (G8) are resolved and generated only using G1, G2 and G3 blocks.

If the program already exists, it will be deleted without requesting confirmation. If the
generated program exceeds the available user memory, the CNC will issue the
corresponding error message, but it will keep in memory the portion of the ISO
program generated so far.

Description of the functions used to generate an ISO-coded program:

The ISO-coded program is mainly generated to control axes. It provides information


of the moving conditions and indications on feedrate using the following set of
functions

G functions: Motion preparatory functions to determe the geometry and work


conditions.

Note:

CNC 8040 Function Meaning


G2 (G3) G6 X Y I J In the circular interpolation, the center will be
programmed with respect to the origin, not
referred to the starting point of the circle.

·T· MODEL Rigid tapping cycles G84 (mill) and G86 (lathe) only generate the equivalent
(SOFT V12.0X)
ISO block.

F and S functions: Functions to control the feedrate of the axes and the spindle
turning speed.

24
‡ ‡ ‡ New features

T and D functions: Tool control functions.


If the T function has an associated subroutine, the blocks of this subroutine
are ignored when generating the program set by machine parameter
ISOSIMUL.

M functions: Complementary or auxiliary functions.


If the M functions have an associated subroutine, the blocks of this
subroutine are ignored when generating the program set by machine
parameter ISOSIMUL.

CNC 8040

·T· MODEL
(SOFT V12.0X)

25
‡ ‡ ‡ New features

CNC 8040

·T· MODEL
(SOFT V12.0X)

26
‡ ‡ ‡ New features

VERSION V12.11

1 G145. Temporary cancellation of tangential control

There is now a new function, G145. This function may be used to cancel the tangential
control (G45) temporarily.

G145 K0 It cancels the tangential control temporarily. Function G45 stays in the history and
the new function G145 comes up in it.

If no G45 has been programmed, G145 is ignored. If K is not programmed, K0 will


be assumed.

G145 K1 It resumes the tangential control of the axis with the angle it had before it was
canceled. Then, G145 disappears from history.

2 Handwheel feedback taken to a free feedback connector

If a CNC is configured so that any of the feedback inputs of its axes or spindles is
free (because they are digital axes or spindle without feedback connection to the
CNC), these free connectors could be configured as electronic or mechanical
handwheels.

To do this, use the following general machine parameters:

AXIS 9 Define the handwheel type. The values to be assigned to these parameters are:
AXIS 10
AXIS 11 Value Meaning Value Meaning
AXIS 12 11 Handwheel. 12 Handwheel with axis selector
button
21 Handwheel associated with X. 22 Handwheel associated with Y.
23 Handwheel associated with Z. 24 Handwheel associated with U.
25 Handwheel associated with V. 26 Handwheel associated with W.
27 Handwheel associated with A. 28 Handwheel associated with B.
29 Handwheel associated with C.

PAXIS 9 Define which connector is each handwheel associated with. Values 1 through 8 must
PAXIS 10 be assigned to these parameters depending on the connector that the handwheel
PAXIS 11 is associated with.
PAXIS 12
When detecting any incompatibility, on power-up, it will issue the messages
"Feedback busy" or "Feedback not available".

3 New variables
CNC 8040
3.1 Variable to define the linear theoretical feedrate (RIP)

There is now a new variable to manage the PLC:

RIP Linear theoretical feedrate resulting from the next loop (in mm/min).
·T· MODEL
(SOFT V12.1X)
The calculation of the resulting feedrate ignores the rotary axes, slave axes (gantry,
coupled and synchronized) as well as DRO axes.

27
‡ ‡ ‡ New features

3.2 Status of functions G100 through G320 (GGS*).

Variables GGSA, GGSB, GGSC and GGSD show the status of functions G0 through
G99. The new variables GGSE, GGSF, GGSG, GGSH, GGSI, GGSJ, GGSK, GGSL
and GGSM show the status of the new functions G100 through G320.

The status of each one of the functions (from G100 to G320) will be given in the 25
least significant bits and it will be indicated by a 1 when active and a 0 when not active
or when not available in the current software version.

GGSE It returns the status of functions G100 through G124.

G124 G123 G122 G121 G120 ... G104 G103 G102 G101 G100

GGSF It returns the status of functions G125 through G149.

G149 G148 G147 G146 G145 ... G129 G128 G127 G126 G125

GGSG It returns the status of functions G150 through G174.

G174 G173 G172 G171 G170 ... G154 G153 G152 G151 G150

GGSH It returns the status of functions G175 through G199.

G199 G198 G197 G196 G195 ... G179 G178 G177 G176 G175

GGSI It returns the status of functions G200 through G224.

G224 G223 G222 G221 G220 ... G204 G203 G202 G201 G200

GGSJ It returns the status of functions G225 through G249.

G249 G248 G247 G246 G245 ... G229 G228 G227 G226 G225

GGSK It returns the status of functions G250 through G274.

G274 G273 G272 G271 G270 ... G254 G253 G252 G251 G250

GGSL It returns the status of functions G275 through G299.

G299 G298 G297 G296 G295 ... G279 G278 G277 G276 G275

GGSM It returns the status of functions G300 through G320.

G320 G319 G318 G317 G316 ... G304 G303 G302 G301 G300

3.3 Position programmed in M19 (PRGSP and SPRGSP)

The new variables PRGSP and SPRGSP can only be read from the CNC, DNC and
PLC:

PRGSP Position programmed in M19 via program for the main spindle.

CNC 8040 SPRGSP Position programmed in M19 via program for the second spindle.

·T· MODEL
(SOFT V12.1X)

28
‡ ‡ ‡ New features

3.4 Do not issue an error on probing movements (PRBMOD)

The PRBMOD variable indicates whether a probing error is to issued or not in the
following cases, even if machine parameter PROBERR=YES.
• When a G75 probing move finishes before the probe has touched part.
• When a G76 probing move finishes but the probe is still touching the part.

The PRBMOD variable takes the following values.


PRBMOD=0 It issues the error message. Default value.
PRBMOD=1 It does not issue the error message.

The PRBMOD variable can be read and written from the CNC and the PLC an read
from the DNC.

4 Automatic keyboard type identification

More keyboards are now identified automatically when connected to a CNC. Like
before, it detects the type keyboard and updates (sets) g.m.p. CUSTOMTY (P92)
automatically.

This feature is only valid with keyboards having the auto-identifying hardware. In the
rest of the cases, g.m.p. CUSTOMTY (P92) must be set manually.

KEYIDE This variable indicates the keyboard code. Is read-only from the CNC, DNC and PLC.

KEYIDE CUSTOMY (P92) Keyboard


135 252 Operator panel: OP.8040/55.ALFA
136 0 Operator panel: OP.8040/55.MC
137 0 Operator panel: OP.8040/55.TC
138 0 Operator panel: OP.8040/55.MCO/TCO

5 G4 K0: Block preparation interruption and coordinate


update

The new function associated with G4 K0 may be used to update the coordinates of
the axes of the channel after finishing particular PLC maneuvers.

The PLC maneuvers that require updating the coordinates of the axes of the channel
are the following:
• PLC maneuver using the SWITCH* marks.
• PLC maneuvers where an axis goes into DRO mode and then back into normal
axis mode during the execution of part programs.

G4 operation:

Function Description

G4 Interrupts block preparation.

G4 K50 It executes a dwell 50 hundredths of a second.


CNC 8040
G4 K0 or G4 K It interrupts block preparation and updates the CNC coordinates
to the current position.
(G4 K0 works in the CNC and PLC channel).

·T· MODEL
(SOFT V12.1X)

29
‡ ‡ ‡ New features

6 TC model: Possibility to view all the active PLC messages

Pressing the [+], the main screen or the auxiliary screen displays another window with
all the active PLC messages. Besides, this window is also displayed whenever there
is a program in execution.

The [ ] [ ] [PG UP] [PG DW] keys are used to move around the messages. The
[ESC] key is used to close the window.

The window is only displayed when there are more than one active message.

7 TC model: In the cycles, when selecting CSS, the screen


shows "CSS"

In the cycles, when selecting CSS, the screen shows "CSS" instead of "S"

8 TC model: Icon for coolant ON/OFF in positioning cycles 1


and 2

The positioning cycles 1 and 2 now have the coolant icon (same as in the other
cycles).

CNC 8040

·T· MODEL
(SOFT V12.1X)

30
‡ ‡ ‡ New features

CNC 8040

·T· MODEL
(SOFT V12.1X)

31
‡ ‡ ‡ New features

CNC 8040

·T· MODEL
(SOFT V12.1X)

32

You might also like