Serie10 User Man Prog
Serie10 User Man Prog
Serie10 User Man Prog
User Manual
Code: 45004452H
Rev. 15
Tel. +39-0119899711
Web: www.osai.it
e-mail: [email protected]
[email protected]
Edition:November 2004
SUMMARY OF CHANGES
General
This publication is issued with reference to Software Release 7.4 for the 10 Series systems (E69).
The following modifications have been made to this revision.
INDEX Updated
Chapter 2
page 10 Added new description: PLUS SD000
Chapter 3
page 47 Added description of softkey: SYSTEM SHUT DOWN
Chapter 11
page 8 Added new description: Execution of paramacros in MDI mode
Appendix A
page 25 Added new codes: SD214-SD215-SD216-SD217
PREFACE
This manual describes how to operate a 10 Series CNC. It provides the end user with all the
necessary information for using and programming the system.
REFERENCE
Consult:
SUMMARY
This manual describes how your 10 Series CNC works and explains how to operate the system.
Each chapter deals with a separate topic.
2. System start up
This chapter explains how to switch an and start up the system. It discusses the screens and
messages displayed when the system runs the self diagnostic.
3. User interface
This chapter describes the function of the softkeys, pushbuttons and controls available on the
panel. An overview of all the softkeys levels available gives the user a reference guide of all the
softkeys available. It provides a detailed description of the various video pages and discusses
the optional operator console.
7. Using tables
This chapter deals with the tables controlled by the system. It describes the Table Editor, a
utility with which to compile and edit system tables.
9. Tool management
This chapter explains how to define tool offsets and part origins an the spindle axis. In addition
it describes how to manage the information stored in the Tool Data Base (tool mounting,
transfer, etc.).
12.Machine Plot
This chapter introduces the MACHINE PLOT, a utility with which to visualise the tool path
graphics in real time while the machine is executing the program.
13.DOS Shell
This chapter describes the procedures for hard disk file management using the DOS operating
system functions.
14. Security
This chapter describes a series of security functions that regulate the access to the system
resources.
15.Peripherals
This chapter describes the programs used to configure and use the systems with
communication ports connected to external devices (via a serial, parallel or Ethernet line).
16.Ethernet Communication
This chapter provides the most important information about Ethernet communication and
describes how to configure the network and the network services.
A. Error messages
Lists the error codes and messages and the related recovery operations.
Warnings
For correct control operation, it is important to follow the information given in this manual. Take
particular care with topics bearing one of the mentions: WARNING, CAUTION or IMPORTANT,
which indicate the following types of information:
CAUTION
Indicates information to be followed in order to avoid damage to equipment
in general.
IMPORTANT Indicates information that must be followed carefully in order to ensure full
success of the application.
Terminology
Control Refers to the 10 Series numerical control unit comprising front panel unit and
basic unit.
Front Panel Is the interface module between machine and operator; it has a monitor on
which messages are output and a keyboard to input the data. It is connected to
the basic unit.
Basic Unit Is the hardware-software unit handling all the machine functions. It is connected
to the front panel and to the machine tool.
END OF PREFACE
INDEX
SYSTEM START UP
SYSTEM POWER UP...................................................................................................... 2-1
DIAGNOSTIC SCREENS ................................................................................................ 2-1
Modules ................................................................................................................. 2-4
EMERGENCY SYSTEM SWITCH-ON ............................................................................ 2-5
DIAGNOSTIC MESSAGES ............................................................................................. 2-7
PASSED Tests ...................................................................................................... 2-8
REPORTS about devices and actions in progress ............................................... 2-9
Error messages ..................................................................................................... 2-10
USER INTERFACE
KEYBOARD .................................................................................................................... 3-1
Function keys......................................................................................................... 3-2
Alphanumeric Section............................................................................................ 3-2
USING TABLES
WHAT IS A TABLE? ....................................................................................................... 7-2
USING THE TABLE EDITOR.......................................................................................... 7-3
Directory Window................................................................................................... 7-5
Softkeys common to all Tables.............................................................................. 7-6
Table Editor Keys .................................................................................................. 7-7
TABLE EDITOR FUNCTIONS ........................................................................................ 7-8
Opening a Table .................................................................................................... 7-8
Loading a Table ..................................................................................................... 7-9
Altering a Table...................................................................................................... 7-10
Incremental Parameter Modification...................................................................... 7-11
Inserting a Record in a Table ................................................................................ 7-12
Canceling a Record from a Table.......................................................................... 7-13
Saving a Table....................................................................................................... 7-14
Printing a Table...................................................................................................... 7-14
Sorting Lines and Columns ................................................................................... 7-15
Search for an Element ........................................................................................... 7-16
Changing the Measuring Unit ................................................................................ 7-16
TOOL MANAGEMENT
GENERAL ........................................................................................................................ 9-1
TOOL PRESETTING ....................................................................................................... 9-2
Tool presetting on an external system ................................................................... 9-3
Tool presetting on the machining part ................................................................... 9-4
DEFINING A MULTIPLE CUTTER TOOL....................................................................... 9-6
MANAGING THE TOOL DATA BASE ............................................................................ 9-7
Transfering tool data between the Tool Data Base and the Tool Table ................ 9-7
Entry of data fora new tool in the Tool Table (retrieved from Data Base) ............. 9-7
Overwriting the data of a tool already in the Tool Table with the Data Base data. 9-9
MACHINE PLOT
MACHINE PLOT USED WITH AXES CONNECTED ..................................................... 12-1
User interface with axes connected ...................................................................... 12-2
Machine Plot video page with axes connected ..................................................... 12-3
Softkeys active in axes connected mode .............................................................. 12-4
SETTING MACHINE PLOT PARAMETERS WITH AXES CONNECTED ..................... 12-5
DOS SHELL
LAUNCHING DOS SHELL .............................................................................................. 13-1
DEFAULT PARAMETER VALUES ................................................................................. 13-2
DISPLAYING A DIRECTORY ......................................................................................... 13-4
DOS SHELL COMMANDS .............................................................................................. 13-6
ABORT ................................................................................................................... 13-7
BACKUP................................................................................................................. 13-7
COPY ..................................................................................................................... 13-8
DELETE ................................................................................................................. 13-9
DIRECTORY .......................................................................................................... 13-10
EDIT ....................................................................................................................... 13-11
EXIT ....................................................................................................................... 13-11
FORMAT ................................................................................................................ 13-12
HELP ...................................................................................................................... 13-13
MKDIR.................................................................................................................... 13-14
PRINT..................................................................................................................... 13-15
RENAME ................................................................................................................ 13-16
RESTORE.............................................................................................................. 13-17
SHOW DRIVES...................................................................................................... 13-18
XCOPY................................................................................................................... 13-19
SECURITY
USER LEVELS................................................................................................................. 14-2
ABILITY TO USE SYSTEM FUNCTIONS ....................................................................... 14-3
ABILITY TO INSTALL OPTIONS.................................................................................... 14-4
ENABLING THE SECURITY ENVIRONMENT ............................................................... 14-5
SET LEVEL ............................................................................................................ 14-6
SET PASSWORD .................................................................................................. 14-7
SET SECURITY ..................................................................................................... 14-8
SHOW SECURITY................................................................................................. 14-10
PRODUCT INFO.................................................................................................... 14-11
PRODUCT KEYS................................................................................................... 14-11
INSTALL................................................................................................................. 14-12
SHOW OPTION and SHOW FIXUPS.................................................................... 14-13
PERIPHERALS
ACTIVATING PERIPHERALS........................................................................................ 15-2
ETHERNET COMUNICATION
INTRODUCTION ............................................................................................................. 16-1
COMMENTS ON THE NETWORKS ............................................................................... 16-3
Definitions .............................................................................................................. 16-3
Network topology ................................................................................................... 16-5
CONFIGURATION OF THE NETWORK ........................................................................ 16-7
General view.......................................................................................................... 16-7
Network configurator ............................................................................................. 16-7
FUNCTIONS OFFERED BY THE NETWORK................................................................ 16-8
File Transfer........................................................................................................... 16-8
Server services ...................................................................................................... 16-8
Access from a client............................................................................................... 16-9
Exchanges of messages between tasks ............................................................... 16-9
USER INTERFACE ......................................................................................................... 16-12
Access to the configuration environment .............................................................. 16-12
Network configurator screen displays ................................................................... 16-13
Main screen ...................................................................................................... 16-13
First screen display: Advanced Level............................................................... 16-13
Second screen display ..................................................................................... 16-14
Third screen display (optional) ......................................................................... 16-16
NETWORK CONFIGURATOR SOFTKEYS ................................................................... 16-18
Level selection (LEVEL Softkey) ........................................................................... 16-20
Channel configuration (CHAN GENERAL Softkey) .............................................. 16-20
Configuration of server type services (SERVER Softkey)..................................... 16-22
Configuration of client type services (CLIENT Softkey) ........................................ 16-24
CONFIGURATION OF TASK-TO-TASK TYPE SERVICES .......................................... 16-26
Enabling Task-To-Task communication ................................................................ 16-26
Defining a local environment as sharable in the network (SHARED ENV
softkey) .................................................................................................................. 16-26
Connection to a remote environment (REMOTE ENV. Softkey)........................... 16-28
Immediate connection of remote environments (Softkey ENVIR. CONNECT)..... 16-30
Automatic connection of remote devices (Softkey SERVICES CONN.) ............... 16-31
USE OF THE SERVICES IN THE NETWORK................................................................ 16-32
Network activation on the 10 Series system ......................................................... 16-32
Enabling the net on a Windows PC ....................................................................... 16-32
ACCESS TO A SERVICE FROM DOS SHELL .............................................................. 16-33
Display of the drives .............................................................................................. 16-33
ACCESS TO A PART PROGRAM.................................................................................. 16-34
DOS REAL TIME ENVIRONMENT ................................................................................. 16-34
FUNCTION TABLES
FUNCTION TABLES: BYTE 0 - Reserved ............................................................ 17-1
FUNCTION TABLES: BYTE 1 - Reserved ............................................................ 17-2
FUNCTION TABLES: BYTE 2 - Maintenance....................................................... 17-2
FUNCTION TABLES: BYTE 3 - Directory Protection............................................ 17-3
ERROR MESSAGES
USER INTERFACE ERRORS ......................................................................................... A-2
PART PROGRAM ERROR MESSAGES ........................................................................ A-5
TABLE EDITOR ERRORS .............................................................................................. A-6
DOS SHELL ERROR MESSAGES ................................................................................. A-11
SECURITY ERRORS....................................................................................................... A-13
EMERGENCY MESSAGES............................................................................................. A-15
MESSAGES FOR D.S.I. ANOMALIES............................................................................ A-17
MESSAGES ON FASTWIRE ANOMALIES .................................................................... A-17
RESERVED MESSAGES ................................................................................................ A-17
HARDWARE DIAGNOSTICS ERRORS ......................................................................... A-18
Base unit (main CPU) ............................................................................................ A-18
Other boards .......................................................................................................... A-19
SOFTWARE DIAGNOSTICS ERRORS .......................................................................... A-21
Operating system ................................................................................................... A-21
Software Configuration Errors................................................................................ A-23
APPLICATION ERRORS................................................................................................. A-27
EDITOR ERRORS ........................................................................................................... A-28
ERROR FROM PERIPHERALS ...................................................................................... A-31
ERRORS COMMON TO ALL OPERATOR PANELS..................................................... A-32
CONFIGURATOR ERROR MESSAGES OF NETWORKS ............................................ A-34
ERROR MESSAGES DURING NETWORK BOOTSTRAP ............................................ A-36
END INDEX
INTRODUCTION
10 Series is a family of state-of-the-art controls capable of meeting a vast range of standard and
non standard application requirements: milling machines, grinding machines, wood-, glass- and
marble-working machines, oxygen cutters, etc. The upper segment in 10 Series can control up to
32 digital axes.
10 Series systems are the result of the most advanced technologies (32 bit microprocessor,
surface mounting, etc.). The powerful multi-task, real time, event driven, operating system is
enhanced by an open hardware and software architecture that permits MTB's to personalise the
application by incorporating custom-specific packages. Access to the sophisticated NC functions is
provided by an easy-to-use user interface that can be tailored to the MTB requirements.
Processes
The word "process" usually refers to the management of a machine tool: control of the machine
axes, execution of machining programs, activation and control of the machine logic, etc. More in
general, the notion of process may include any auxiliary task supporting the operation of the main
machine: tool change, part loading/unloading, statistic calculations, report production, etc.
Multiprocess capabilities are among the major assets of 10 Series CNC, which can manage up to
twenty processes. When synchronised, processes can be managed faster and more flexibly than
with separate control systems.
HARDWARE STRUCTURE
The hardware structure of 10 Series systems is made up of different modules that can be
combined to satisfy the application requeriments.
Central Unit
The central unit may be of the monoboard type, i.e all in one board, or consist of a rack that
accomodates all of the electronic boards:
In addition, the system may include a series of optional modules picked up from the following list:
• one or more Pilot Panel operator consoles connected to the Central Unit
• a teach pendant connected to the central unit via the serial line
• up to two electronic handwheels connected to the encoder inputs available on the axes board
• local and remote I/O modules:
All the I/O modules and the operator consoles are connected to the central unit over an optical fiber
ring that protects the system against the electrical noise produced by the machine tool.
The I/O ring may include up to 1000 I/O points.
For more information about the system modules and how to connect them, please refer to the 10
Series Product Specifications and to the 10 Series Family Installation Guide.
From release sw 5.1.2, the INTERBUS connecting system may be used. Up to 2048 inputs and
2048 outputs may be managed on this system.
The figure that follows shows an example of how to connect the various 10 Series system
modules.
Operator Panel
The Operator Panel or front panel is the interface between the system and the operator.
− BLink
− OPLink
− WinLink
In all versions, the Operator Panel comprises a screen with a liquid crystal display, a USA-ASCII
standard keyboard separate from the monitor to increase the ergonomics of the system and 7
softkeys. It uses the latest Man-Machine interface techniques in a simple, friendly manner and its
main functions are:
Is the basic version to be used with an external Operator Console, available with a 10.4” TFT
colour screen.
The WinLink front panel, shown in the diagram below, consists of a 10.4" o 12.1” TFT monitor,
alphanumeric keyboard, built-in mouse and built-in PC board (with its own HDU and 3.5" floppy
disk drive).
It has no RESET, START or STOP key.
It has a button ("yellow key") which is used for switching the monitor and keyboard from the NC
environment to the PC environment, and vice versa.
This front panel enables the monitor and keyboard to be shared by the NC and PC environments,
which remain completely separate.
On the built-in PC, you can use Windows applications that communicate with the NC using the Mini
DNC Ethernet option supplied with the dynamic library (DLL) developed for Windows.
MOUSE
YELLOW BUTTON
ALPHANUMERIC
KEYBOARD
WINMEDIA
General
The WinMedia Operator Panel is a front-end module for use by the operators of the CNC to which
it is connected via the Ethernet line.
The panel can be supplemented with a keyboard connected directly to it and with an operator
console connected to a bus line extraneous to the module (communication bus lines such as
FastWire/CanOpen). The figure below shows a front view of the panel with the keyboard and the
console.
Main characteristics of the panel
LCD 15”
CDU FDU
USB
T. PAD
22 mm diameter 16 mm diameter
custom operator 12 custom operators
4 M5 threaded pins
ATTENTION: when the FDU and CD-
ROM options are present, it is
necessary to ensure an obstruction-
free area, on the respective side, of
140 mm, to provide sufficient room to
introduce the floppy/compact disks
(zone marked with *).
USB
USB
Ethernet VGA
Riser Card
Mass storage
Mass storage by means of an HDU with a capacity of 20 and more Gbytes, mounted inside the
module.
FDU peripheral
The module uses an integrated FDU peripheral, fitted to the left part of the panel (option).
CD-ROM peripheral
The module has an integrated CD-ROM peripheral, fitted to the right part of the panel (option).
Keyboard connection
The keyboard is connected by means of a special Mini Din connector on the back of the module.
Mouse connection
The mouse is connected by means of a special Mini Din connector on the back of the module.
Ethernet connection
The Ethernet connection of the module to an external unit or a network is by means of a special
connector on the back. To connect the module to a PC or other similar units you need a crossover
cable, to connect it to a HUB you need a straight cable (see the Connectors/Cables section).
Riser Card
A Riser Card fitted to the special PISA connector makes available a PCI/ISA expansion connector
on the back.
External connections
Back
Com1, Com3, Com4 RS232
Com2 RS232/RS422/RS485 (configurable)
Parallel port
LAN (Ethernet)
Keyboard (6-pin Mini DIN)
Mouse (6-pin Mini DIN)
Display screen (15-pin) Not used
USB, USB (two ports)
AC Pwr in Module power supply
Front
USB (one port)
Keyboard
The keyboard has a standard Windows PC configuration with 83 short-stroke keys of silicone
rubber and a built-in mouse pad with right and left mouse keys. The two (independent) sections are
connected to the WinMedia module by means of two cables ending with Mini DIN connectors. PS2
standard communication protocol.
Touch Pad
Mouse Keyboard
WinMedia keyboard
Operator Console
Specification
The Operator Console is recognised by the NC as an I/O module managed through the FastWire
or CanOpen line and it includes:
22 diameter
custom operator
(yellow badge for 12 16mm diameter
emergency button) custom operators
CONN. ALIM.
MODULE POWER
24 V OUT
CONN. ALIM.
SW2 SW1 POWER
OUT 24V
CONN. SUPPLY CONN.
MODULO
12 OPERATORI
12 16mm DIAMETER CUSTOM
CUSTOM OPERATORS
DIAMETRO 16 mm
“BUS” LED
LED "BUS" “RUN” LED
LED "RUN"
“FAULT”
LED LED
"FAULT"
22mm DIAMETER
OPERATORE CUSTOM
CUSTOM
CONN.I/O 24V
FASTWIRE
CONN. LINEALINE
FASTCONN.
WIRE CUSTOM OPERATOR
DIAMETRO 22 mm
24V I/O CONN.
CUSTOM
CanOpen LINE
CONNECTOR
& NETWORK
CONN.
SIDE LINEA CanOpen
POWER CONN.POWER
MODULE ALIM.
E ALIM. LATO RETE
SW2 SW1 SUPPLY SUPPLY CONN.
MODULO
12OPERATORI
12 16mm DIAMETER CUSTOM16
CUSTOM DIAMETRO OPERATORS
mm
“BUS” LED
LED "BUS" “RUN” LED
LED "RUN"
“FAULT” LED
LED "FAULT"
22mm DIAMETER
OPERATORE CUSTOM
CUSTOM CUSTOM OPERATOR
DIAMETRO 22 mm
CONN. I/O 24V
24V I/O CONN.
CUSTOM
SOFTWARE STRUCTURE
The figure that follows illustrates the software structure. Note that the Event-Driven Real-Time
Multi-Task IntePprocess Communications software (IPC) overlaps the basic operating system that
manages communications with the operator panel. IPC also supervises and synchronises
communications between the five software partitions.
Communications with
Operator Panel
Operating System
IPC (Interprocess Communication)
Serial
DOS Mini
Table PLUS Graphic Digitizing
AMP Graphic DNC
Editor Editor Editor Option
Interface
Ethernet
SOFTPIT.DRW
Machine Logic Interface: Executes the OEM-developed interfaces between the NC and the MT.
Utilities: Includes a series of packages aimed at the end user, the MTB or the
technical assistance engineer. Some are described later in the
manual, others are optional (purchased separately).
Real-time DOS Interface: Is the 10 Series "aperture" to OEM for the building of personalised
applications.
These applications can use all the 10 Series resources (axes, logic,
human interface, etc.), as well as those of the Operating System
(realtime, multitask, etc.).
Utilities
A utility is a standard or optional program addressed to various users levels (end user, MTB,
technical assistance engineer, etc.). The 10 Series Utilities partition includes:
Table Editor Permits to key in, display and edit the parameters that define the
following features:
− origins
− tools
− tool offsets
− tool tables
− tool magazines
− tool data base
The Table Editor includes the Editor Configurator Table, which permits to
personalise the contents and the layout of the tables displayed by the
system. For details, refer to Chapters 7 and 8.
Graphic Editor This option permits to write programs using graphic menus. The Graphic
Editor can be broken down into two utilities:
For more information about this option, refer to the 10 Series CNC
Graphic Editor Manual.
Digitizing This option permits to program complex profiles (such as those including
spline curves) using points captured with different methods. Digitizing
methods include manual moves, probing cycles and keyboard entries.
Points can also be uploaded from an external computer.
For more information about this option, refer to the 10 Series CNC
DIGICAD User Manual.
AMP The Adjustable Machine Parameters (AMP) permits the user to tailor the
10 Series control to the system applications.
The following is a list of configurable system parameters:
For more information about this option, refer to the 10 Series AMP
Software Characterization Manual.
DOS Graphic Interface This option permits the user to customise the machine by writing
application programs in C language and using the DOS Graphic Interface
libraries. For more information about this option, refer to the 10 Series
CNC DOS Graphic Interface Manual.
MINI DNC This option permits network connection of 10 Series systems and a PC
for exchanging files (part programs, etc.) and for communication between
processes ("task to task").
There are two types of connections:
For more information about this option, refer to the MINI DNC
Serial/Ethernet Manual.
In addition to the options listed and displayed in the figure, 10 Series systems offer other options
now listed below:
Tool Management Manages the flow of tool information between the Tool Magazine and the
shop floor, and the operations for moving the tools in the machine.
For more information about this option, refer to the 10 Series CNC Tool
Magazine Option.
Electronic Cam This option permits to define a master axis and a slave using the
positioning values stored in predifined tables. The master/slave pair
sampling tick can be much smaller than that available with ordinary
programming and calculation methods.
System History This standard feature permits to store in a file all the diagnostic
messages sent by the system when erroneous operations are performed
or a mulfunctioning occurs. Messages are complete with date and time.
This file is of considerable importance for troubleshooting and diagnostic
purposes.
END OF CHAPTER
SYSTEM POWER UP
The system is powered up when power is supplied to the central unit and the front panel. To do this
you must typically operate the machine main power switch.
Since most of the system software is stored in the hard disk, at power up the system automatically
loads the NC management software in the system memory.
DIAGNOSTIC SCREENS
At power up the system also launches a diagnostics of the system hardware and software
modules. The diagnostic sequence is as follows:
On the intelligent front panel (in systems equipped with this model of front
panel), the messages displayed on the screens may vary.
CAUTION
For a list of all error messages for this type of operator panel, see the
relevant section of Appendix A.
10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
A "LED" Area
B Percentage of Loaded Software
C Message Area
A "LED" Area: this area displays 5 or 6 boxes, each one of which represents a diagnostic LED.
The name of the label indicates the device tested by the diagnostic routine. The boxes are
displayed in green when the modules pass the test. They are displayed in red when a failure
occurs. In this case, a fixed label indicates a locking error, whereas a blinking label indicates a
non-locking error. The error will be further described in the data logger display area.
B Percentage of Loaded Software: as the software is loaded in the system memory during
initialisation, the color bar displayed in this area shows the loaded percentage.
C Data Logger Display: this area displays the test results. The layout of a typical message line is
as follows:
test results
test description
message code
tested device
Tested Device is the acronym of the device, typically the label displayed on the diagnostic
"LED" area.
Message Code is the acronym of the diagnostic message. It is made up of two letters and
three digits. In the standard front panel this acronym corresponds to the
message code listed in Appendix A. Note that this appendix also provides
the description of the failure and the remedial action.
Test Description provides a short description of the test (if passed) or an error message when
an error has been detected.
WARNING the device has not passed the test but the error is not a
locking one. When this occurs, the LED is displayed in red
with a blinking label. The WARNING message is written in
white letters on a red background.
FAILED the device has not passed the test and the relevant LED is
red.
In general only one FAILED message is displayed when a locking error occurs. On the contrary,
when more than one WARNING must be displayed, the following string appears:
When this message appears, the test stops. To display all the messages that cannot be
accomodated in the message area it is necessary to press the [Arrow Up/Down] arrow keys. To
resume the test press [Enter].
Modules
The LED labels and the messages displayed in the Data Logger Display vary with the type of
tested module.
As a result various possible conditions may be displayed sequentially while the relevant module is
tested:
On the new 10/110 controls of the 10 Series, the initial diagnostic phase in which the basic
hardware components are tested is displayed in a different format typical of the diagnostic
messages displayed on standard personal computers.
IMPORTANT The minimum bootstrap is activated by holding down the [F1] button when
switching the system on.
The system will be brought up with the EMERGENCY DIAGNOSTIC
screen:
IMPORTANT
If the front panel is WinLink type, first press the "yellow button" when
switching on and then, after switching video and keyboard to NC
environment, press [F1].
The system will be brought up with the EMERGENCY DIAGNOSTIC
screen:
• AMP
This softkey grants access to the AMP utility for system characterisation. The functions of this
utility are described in the Characterisation Manual.
• PLUS
Grants access to the PLUS environment for development of the machine logic programs. For
further details, read the PLUS manuals.
• VARIABLE RESET
With this utility, the dual port memory areas present in the system can be initialised, saved in a
file and restored from a file. This topic is discussed in the Characterisation Manual.
• SYSTEM HISTORY
This softkey grants access to the utility for display/printing/deleting of the history log of errors
and system messages displayed during operation of the machine. This file has a fixed size,
which means that beyond a certain number of messages, new incoming reports will involve the
oldest reports being pushed out.
• HELP
Displays the on-line help window.
• DOS SHELL
This softkey grants access to the DOS SHELL utility.
This utility permits execution of commands for control of the files in the drives acknowledged by
the system (local or remote). Further information on this utility may be found in this manual.
• SECURITY
Manages the system security levels at the different user levels. Further information on this utility
may be found in this manual.
• TABLE EDITOR
This utility grants management of the system tables; further information on this utility may be
found in the 10 Series CNC user manual.
• PERIPHERALS
Permits selection of the output port for the system printer or for use in the DOS environment.
• LANGUAGES
This is a utility permitting personalization of the national language of the mesages displayed in
the HELP, SOFTKEY, etc. Further information on this utility may be found in the
Characterisation Manual.
• COMPILER
Allows compiling and linking of source files written in C or ASSEMBLER.
• UTILITY
Permits execution of what is specified in file E:UTY\AUTOEMG.BAT or in file
A:\AUTOEMG.BAT, present on a diskette.
This is a utility permitting execution of programs for Hard Disk compacting, system scanning in
search for "viruses", or other programs selected by the OEM.
File E:\UTY\AUTOEMG.BAT (or a copy on diskette) must be modified for use of the utilities the
OEM wishes to execute, the file itself presents an example of the typical structure to follow.
DIAGNOSTIC MESSAGES
As mentioned previously, the messages on the diagnostic screens vary according to the type of
module being tested.
The messages about optional devices display the REPORT label in the result area, whereas actual
test results may be indicated by PASSED, FAILED or WARNING..
IMPORTANT
In the WinLink front panel it must be recalled that on bootstrap of the full
system (NC and WinLink), the default video is that of the integrated PC and
the diagnostic will also be the PC diagnostic; the NC diagnostic will be
visible only following a switch of operating environment on pressing the
"yellow button".
An example of the sequence of PASSED or REPORT messages that may be displayed during the
test carried out on the modules of a 10 Series system (except for the 10/110 model).
The BD acronym given in the table does not identify a single message but, rather, a tested group,
i.e. CPU, RAM, etc.
PASSED Tests
DOS BD104 Remove the diskette and strike any key REPORT
DOS BD106 Insert release floppy n. 1 and reboot the control REPORT
This message appears while the system is loading the SW
release from a diskette.
(*) Acronyms HD061-063 refer to a whole series of boards and devices. For example, in HD061
the message may refer to AXIS 1, AXIS 2, etc. rather than to PLUS.
Error messages
Locking (FAILED) and non-locking (WARNING) error messages and remedial actions are
described in Appendix A.
END OF CHAPTER
The user interface is the means by which the operator communicates with the system. The screen
provides the operator with visual system information, while the operator uses the keyboard and the
pushbuttons available on the front panel for entering parameters, instructions and commands.
KEYBOARD
Function keys
[F1] - [F3] These function keys are not used; they are reserved for use by OEM operators.
[F11] - [F12] These function keys are not used; they are reserved for use by OEM operators
(on the WinLink front panel).
Alphanumeric Section
This section of the keyboard consists of 89 keys which may be identified in three areas of the
figure: the function keys, the typewriter section and the numeric keypad, which are used for
entering data, moving the cursor and scrolling through video screens. The following keys perform a
particular function in the alphanumeric section:
The [Arrow Up/Down] [Arrow Left/Right] keys move the cursor in the
direction indicated by the arrow. They may be used in input boxes,
utilities, editing operations and for selecting axes in manual movements.
The [Return] key is used for moving the cursor from one field to
another in input boxes, tables, etc.
The [Enter] key is used for confirming input boxes and, more generally,
data entered on the keyboard.
The [Pg Up] and [Pg Dn] keys are used for scrolling through help
pages on the screen, program listings in the line editor and table data in
the Table Editor. In general, they are used for scrolling through a list of
items when the list is longer than the video screen on which it is
displayed.
The [Home] key is used for moving the cursor to the start of the
programs directory or, when pressed together with [Ctrl], to the start of
the program listing.
The [End] key is used for moving the cursor to the end of the programs
directory or, when pressed together with [Ctrl], to the end of the
program listing.
The [Esc] key clears the input box without saving any changes made
The [Ins] key is used for switching from overwrite to insert typing mode
or vice versa
The [Back Space] key deletes the first character to the left of the
cursor.
The [Clear Msg] key removes the following types of messages from the
screen::
- PLUS messages
- process (*) and emergency (*) messages
(*)for these environments, the function of the Clear Msg key may be
configured (see the documentation of the "LANGUAGES" package).
The [Clear Line] key deletes the contents of the manual data entry line
on which the cursor is positioned.
The [Caps Lock] key changes the typing mode from capital to small
letters and vice versa.
The [Shift] key, when pressed together with a key, is used for
performing the upper-case functions indicated at the top of the
associated key.
The [Alt], [Ctrl], [Pause] [Break], [Print] keys are not used; they are reserved for use by OEM
operators.
Function keys [F4] to [F10] situated at the bottom of the operator panel are reserved for softkeys
and fixed keys.
The five softkeys enable the user to send commands to the 10 Series CNC system. Their function
is determined by the software in each individual case through a series of menus. The menus have
a hierarchical structure and are displayed on the bottom three lines of the screen. The active line of
a menu establishes the current functions of the softkeys.
Fixed Keys
The fixed keys are located on either side of the softkeys and have the following functions:
Key [F4]
The left fixed key always takes you back to the main menu and
displays the main screen, thus facilitating access to the machining
environment.
Key [F10]
The right fixed key is used for changing the active line of the
softkeys by moving the blue bar vertically through the three lines of
softkeys.
Special keys
yellow button This button on the WinLink front panel is used to switch video and keyboard
from the integrated PC to the NC and vice versa, without affecting any ongoing
operations on the two systems.
keys P1÷ P6 These 6 function keys present on the WinLink and OPLink front panel are at the
operator's disposal for customising the functions.
• On the WinLink front panel, these keys and their LED's may ONLY be
IMPORTANT controlled from the PC side.
• On the OPLink front panel, these keys and their LED's may be controlled
by the machine logic (OEM SOFTKEY tasks)
CONTROL BUTTONS
The three control buttons perform the following functions:
The RESET button aborts the part program being executed and any
active function.
The CYCLE START button starts executing the part program and
enables the axis homing cycle and the execution of manual
movements.
More detailed information on each key will be provided in this manual as it is mentioned in the
descriptions of the single operations.
VIDEO
10 Series systems use the video for visualising information about system operation and functions,
requesting parameters or instructions, etc.
The video is a 12" color screen with 640 x 480 resolution. It can display up to 25 80-character lines.
Screen lines are partitioned as follows:
Displayed information may occupy the whole data area of the screen or just a quadrant of it. Each
quadrant is made up of 10 39-character lines. A quadrant may be enlarged to occupy the whole
screen by means of the ENLARGE softkey, as shown in the figure below. The enlarging procedure
will be described later in this chapter.
The table below lists the video pages managed by the system. The first three and the last six are
standard; the others can be configured in the AMP environment from standard quadrants, special
screens created by the logic, or customised screens written through the ASSET utility.
Supplementary screens 1 through 5 are configurable, whereas Logic quadrants 1 through 4 can be
customised and subsequently managed as configurable screens
Video Description
type
① Main process screen
① Main logic screen
① Axes coordinates in large scale
① Logic screen 1
① Logic screen 2
① Logic screen 3
① Logic screen 4
① Supplementary screen 1
① Supplementary screen 2
① Supplementary screen 3
① Supplementary screen 4
① Supplementary screen 5
¼ Logic quadrant 1
¼ Logic quadrant 2
¼ Logic quadrant 3
¼ Logic quadrant 4
¼ System status quadrant
¼ Axes coordinates quadrant
¼ Part program display quadrant
¼ Process status quadrant
¼ Programmed code status quadrant
¼ Axes offset parameters quadrant
The screens displayed by the system may accomodate overlapping windows that provide system
messages or additional information on request. These windows will be discussed later in this
chapter.
The sections that follow describe the main system screens. Other screens, such as the Editor
screens or the various Tables, will be discussed in the chapters dedicated to the relevant
environments.
Main screen
This screen is normally displayed during cycle execution. It provides the end user with information
about the machining environment. This information is partitioned into five areas, as shown in the
figure below:
S: 100.000 F: 1000.000
C RAP: 0.0000 ACT : Txx.xx
112.5% 75.000 100.0% 900.000 100.0% xxxxxx
NXT: Txx.xx
G: 00 80 99 40 27 90 71 17 94
97
d: 0.000000
M: xx xx xx xx
JOG: 0.00000 Z: 0.000000
This area is made up the first two screen lines. It provides information about the control status.
PROCESS This field visualises the number of the currently controlled process.
CONTROLLED
CAPS ON This field indicates whether the input characters will be upper cases
caps off (CAPS ON) or lower cases (caps off). To toggle between these two
options press [CAPS LOCK].
SCREEN 1 OF 4 This field indicates the quadrant number in the sequence configured in
AMP.
TIME This field specifies the current time in hours, minutes and seconds.
PROC: 1 IDLE This field visualises the status of the currently selected process. The
status may vary according to the operation mode (MANUAL or AUTO):
some statuses are only allowed in one mode, whereas others are
compatible with both modes:
IDLE (auto/manual)
HRUN (auto/manual)
RUNH (auto/manual)
HOLD (manual)
CYCLE STOP (auto)
RUN (manual)
IN CYCLE (auto)
RESET (auto/manual)
WAIT (auto)
INPUT (auto) - with the ASSET option
ERROR (auto/manual)
EMERG (auto/manual)
For further information about this topic, refer to the "System set-up"
section later in this chapter.
AUTO This field displays the current operation mode (AUTO or MANUAL).
Each mode permits to select a series of sub-modes.
The table that follows shows each mode with its relevant process statuses, sub-modes and
options.
This area, which visualises the axes coordinates, is illustrated in the figure below. The axes in the
example are the first two axes from the Main Screen figure on page 3-8. The area can display as
many as 9 axes.
p rogra mmed
axis na me typ e of axis c oord in ate unit of mea sure c oord inate
mirror ma c hining
WORK This field specifies which axes parameters are displayed in real-time. The
field name can be selected by pressing the POS DISPLAY softkey. The
possible options are:
[mm] Displays the current unit of measure for the selected process. It may be mm
or inches.
PROGRAMMED Is the last programmed or input axis coordinate. It can have as many as 10
digits with the configured format.
ORIGIN Number and type of origin associated to the axes. This field can display the
following words:
This area supplies general machining information such as spindle speed, feedrate, rapid, active G
codes, etc. expressed in the current unit of measure (mm/inches), which is also displayed on the
video screen, and are updated at each G70/G71 variation. The meaning of the sample fields
illustrated on page 3-8 is as follows:
When the spindle speed override function is active, the field name is
displayed in reverse.
RAP: 0.00000 Depending on the selected mode, this area displays rapid or manual
100.0% xxxxxx rate information:
RAP: this label is displayed when the system is in AUTO mode. In
manual mode this label will be MAN.
(0.0000) manual (MAN) or rapid (AUTO) rate in 5.5 format.
(100.00%) manual or rapid speed override.
(xxxxxx) current manual or rapid rate in 5.5. format.
When the rapid rate override function is active, the field name is
displayed in reverse.
G: 00 80 99 40 27
90 71 17
94 97
Active G codes: this field displays an active G code for each of the
configured modal groups. For further information about this topic refer to
the Programming Manual.
M: xx xx xx xx
Active M codes: this field displays an active M code for each of the
configured modal groups. For further information about this topic refer to
the Programming Manual.
JOG: 0.00000 Value of the increment defined for manual incremental moves.
ACT: Txx.xx Number of the tool mounted on the spindle and of the active offset
associated to it.
The T word, which identifies the tool, is followed by two numerical
codes separated by a point. The code to left of the point is the tool
number. The code to right of the point is the tool offset number.
NXT: Txx.xx Number of the next tool to be mounted on the spindle and of the
active offset associated to it.
The T word, which identifies the tool, is followed by two numerical
codes separated by a point. The code to left of the point is the tool
number. The code to right of the point is the tool offset number.
Z: 0.000000 This field displays the length offset applied to the active tool axis,
which is typically the spindle axis. It is calculated by multiplying the
value written in the tool offsets table by the configured direction with
the opposite sign.
Each part program block will occupy one or two rows according to its length.The sequence is the
following: the part program block that has been run, the running one highlighted in reverse, then
the block that hasn't been run yet.
The part program instructions will slide upwards as they will be run.
The following figure shows a possible example of a running part program visualization:
IMPORTANT If the control manages more than 6 configured axes, 7-n lines will be reserved
for displaying program blocks. n is any number of axes greater than 6.
In case of nine configured axes, for the part program run block only the first
row is reserved, therefore the longest blocks of 80 characters are truncated.
The meaning of the parameters displayed in the program blocks is explained in the Programming
Manual. The contents of the first display line are as follows:
PROGRAMS The first name on the line is the main program name. Subsequent names
are subroutine names. Though a program or subroutine name can be up to
48 characters long, only the first 12 characters will be displayed on this line.
When a subroutine becomes active, its name is displayed after the name of
the calling program or subroutine. This means that the first displayed
subroutine has the lowest nesting level.
This screen displays some axes parameters using a large video font, which permits the operator to
read the axes coordinates from a certain distance. It is a full screen that can be invoked by
pressing the NEXT DISPLAY softkey. The layout of this screen is as follows:
Parameters are displayed in the current unit of measure (mm/inches), which depends on whether
G70 or G71 is active.
PROCESS: 1
[mm] MACHINE
S : 0.000
S% : 100.0%
L X -175.34096
F : 1000.00000
MY 27.08432 F% : 62.5%
Z 0.00000 RAP : 1000.00000
A 0.00000 RAP% : 125.0%
The left hand side of the screen is made up of 6 lines, in which the same parameters shown on the
first two columns of the axes data area of the main screen are displayed in a large font. The
meaning of these parameters is discussed in the "Main Screen" section.
type of axis
unit of measure
coordinate
axis name
mirror machining
marker
The right hand half of the screen displays the following information:
S Is the spindle speed or the constant surface speed (CSS) in 6.3 format. CSS is
used when an open loop is programmed.
RAP Depending on the selected mode (AUTO or MANUAL) this area displays the
following information:
RAP this label indicates that the system is in AUTO mode. The field displays
the rapid rate.
MAN this label indicates that the system is in MANUAL mode. The field
displays the manual rate.
RAP % This field is related to the preceding one and its label varies accordingly.
When the system is in AUTO mode (RAP%) the field displays the percentage
rapid override.
When the system is in MANUAL mode (MAN%) the field displays the percentage
manual override.
NOTE:
S, F and MAN/RAP are displayed in reverse when the relevant function is active.
10 Series offers the application designer the possibility to personalise screen pages to satisfy
specific application needs. These screens can be created during system configuration by arranging
the pre-defined system and logic elementary quadrants in non-standard layouts.
Each configurable screen has four 10x39 quadrants. Elementary quadrants may be enlarged to
occupy the full screen by pressing the ENLARGE softkey (refer to the 'Enlarging an elementary
quadrant' section). The figure below shows a typical four quadrant screen.
NOTE:
Distances are displayed in the unit of measure --mm or inches-- selected for the process
associated to the elementary quadrant. The unit of measure will remain visualised and will be
updated each time the system shifts between G70 and G71.
The screens that visualise the Realtime data (axes position, feed…) are updated only if the
information to visualise concern the selected process.
Example:
If in the small screen the axes of process 2 and the controlled process is number 1, the quote
WORK (ABSOLUTE,MACHINE..) will not be updated in Realtime, but only when in process 2 some
significative variations take place (es.end block execution…)
Here is a description of the pre-defined elementary quadrants that can be used for customising
video screens.
EXECUTING Process in execution. In AUTO mode this field displays the first 12 characters of
the name of the part program in execution. In MANUAL mode this field may
display the HOME, JOG INCR, JOG RETURN or HANDWHEEL submodes.
This quadrant provides the current machine coordinates and the programmed coordinates
calculated by the control.
[mm] PROCESS: 1
X 10.00000 10.00000
Y 20.00000 20.00000
Z 3.00000 3.00000
AXIS Displays up to 6 axes. To make a manual move select the axis with the
[up/down arrow keys].Locked axes are marked by the L word, whereas
mirroring axes are marked by the M word.
WORK Specifies the type of data displayed for each axis. The labels of this field, which
can be selected by pressing the POS DISPLAY softkey, are: WORK,
MACHINE, TO GO, ERROR or ABSOLUTE.
Axes coordinates are displayed in the 7.3, 6.4, 5.5 or 5.3 format, according to
the AMP configuration. They are expressed in the current measuring unit of the
process, which also appears on display.
PROGRAMMED Last programmed or input axis coordinate. It is a 10 digit number in the 7.3, 6.4
or 5.5 format.
S Spindle speed in 6.3 format. The field shows the unit of measure followed by
the current spindle speed (or the constant surface speed --CSS-- programmed
for an open loop control). The unit of measure may be:
JOG INC Actual increment for jog moves expressed in 5.5 format.
This quadrant displays information about the state of the part program in execution.
N6X10Y20
N7G1Z-.2F2000
N8G1X340
N9G72
N10X324Y50
N11G1Z-.2
N12X329
PROGRAM This field displays the first 12 characters of the name of the part
program in execution (A program name can be up to 48 characters
long).
ACTIVE SUBPROGRAM Displays the name of the current subroutine, which is the one
having the lowest nesting level. Although a program name can be
up to 48 characters long, only the first 12 are displayed.
NOTE:
The part program blocks that are longer than 40 characters are truncated.
AUTO Current mode (AUTO or MANUAL). Displayed data vary with the selected
mode:
When the feedrate override function is active, the label of this field is
displayed in reverse.
When the manual or rapid rate override function is active, the label of this
field is displayed in reverse.
When the spindle speed override function is active, the label of this field is
displayed in reverse.
PROGRAM This field displays the first 12 characters of the name of the part program in
execution (A program name can be up to 48 characters long).
SUB-PROG Displays the name of the current subroutine, which is the one having the
lowest nesting level. Although a program name can be up to 48 characters
long, only the first 12 are displayed.
RPT Specifies the repeat level for the main program and the subroutines.
This quadrant provides information about the T, G and M codes written in the part program.
PROCESS: 1
G: 00 80 99 40 27 90
71 17 94 97
T Information about T codes is arranged on two lines, one for the current tool and
one for the subsequent tool, as shown in the figure below:
M Active M code for each modal group. Modal groups must be defined during
process configuration.
[mm] PROCESS: 1
X 1 T
Y 2 I 60.0
ROTATION :
XY-26.000
AXIS Axis name. This field may display up to 6 axes associated to the process.
ORIGIN Displays the origin types associated to the axes. The words in this field may be:
ROTATION Displays the axes of the interpolation plane and the rotation angle formed by them.
These elementary quadrants may be defined by the OEM operator and are handled by the
machine logic. They can be customised through the PLUS logic or the ASSET language and then
incorporated to configurable 4-quadrant screens similar to the ones described in the previous
section.
Selecting a screen
When the NEXT DISPLAY softkey is pressed, the video screens are displayed in the sequence
established by the OEM during system configuration. This sequence can be repeated on a cyclic
basis.
Each of the quadrants in a configurable screen can be enlarged to full screen size. The procedure
is as follows:
1. Select the configurable screen that includes the quadrant by pressing the NEXT DISPLAY
softkey as many times as necessary.
2. Select the elementary quadrant with the [PgUp] or [PgDn] keys. The background of a selected
quadrant becomes light. [PgUp] makes the light background move from quadrant to quadrant
counterclockwise, whereas [PgDn] makes the light background move from quadrant to
quadrant clockwise.
3. Press ENLARGE.
If ENLARGE is not pressed in a few seconds, the quadrant background turns dark again and the
quadrant cannot be enlarged.
NOTES:
• When the quadrant is enlarged using the ENLARGE key all the lower cases will be converted to
upper cases.
• The ENLARGE function is not available for PLUS quadrants.
By pressing the PART PROGRAM softkey it is possible to display the directory of programs,
whose layout is as follows:
PROGRAMNAME:
This screen permits to select a part program that can be used in the following operations:
• writing or editing (by means of the Line Editor or the Graphic Editor)
• program management
• activation/de-activation.
NOTE:
For a complete description, see the chapter 10 "Part Program File Manager".
In addition to the data provided by the main screen and the configurable pages, the operator can
request, display or receive further information on additional windows. These windows may
temporarily overlap the current display page or open on a reserved area. In some cases they are
used by the system for visualising messages for the operator.
STATUS LINE
SYSTEM AND PART PROGRAM WINDOW PLUS MESSAGES WINDOW
10 Series permits to visualise as many as six additional windows. If opened simulataneously, the
system applies a priority rule, i.e. the top priority window will cover all the others. System, part
program and PLUS message windows are not assigned a priority level because they are displayed
on a reserved area.
The table below lists the additional windows arranged on a priority basis.
1 Small Help window This window may be opened with the HELP softkey when
a data entry window is active. It provides information
about the data entry window.
2 Data entry window The system opens this window for the operator to write,
edit or confirm parameters. Data entry windows may
have differnt sizes, dending on the number of
parameters.
3 Full Help window This 20x40 window can be opened with the HELP softkey
when no data entry window is active. (Otherwise, only a
small Help window can be activated).
4 Manual Data Input line This 128 line is used for writing program blocks on the
keyboard.
5 PLUS message window This window is not subject to the priority rule. It is a
39 character field used by the system for displaying
PLUS messages.
6 System and part program This window is not subject to the priority rule. It is a
message window 39 character field used by the system for displaying
system and part program messages.
Certain PLUS warnings and error messages are displayed on the PLUS window. Other PLUS logic
messages appear on the LOGIC MAN screen (if configured).
Process or PLUS error messages may be displayed even when softkeys such as EDIT are active.
Data entry operations must be performed exclusively within a data entry window. These windows,
which may be invoked by pressing a softkey, are the only tool the operator can use for entering
data in the system.
Each window is made up of fields that contain parameters, file names, device names, etc. When
filling in these fields you must follow a series of rules that apply to all data enty windows.
In long real fields the allowed format is a number having up to 10 digts plus the sign and the
decimal point.
This long real format is not the same as the long real format used in program blocks (refer to the
Programming Manual). If the long real format is assigned to the data entry window by the program
and overflows the window field, an E will be displayed to indicate the error condition.
NOTE:
Numerical parameter values are expressed in the default unit of measure configured for the
process in AMP. This unit of measure is also displayed on the window.
When the window appears, the cursor is on the most right character of the field. Input characters
are displayed as the cursor moves to the left. To make an entry you must use the following function
keys:
KEY FUNCTION
Moves the cursor to the right or to the left inside the field.
A data entry window can be aborted at any moment with [Esc] or [Enter].
NOTE:
The contents of the data entry window can also be confirmed by pressing the softkey that invoked
the window. Data entry windows having multiple pages may be confirmed by pressing [PgUp] or
[PgDn].
SOFTKEYS
There are 5 function keys ([F5] ÷ [F9]) located at the bottom of the operator panel which are used
for performing functions directly. The functions depend on the menus displayed at the bottom of the
screen just above the softkeys (see the figures of the operator panels in the "Operator Panel"
section of chapter 1).
Each menu is made up of three softkey lines. The functions associated to the softkeys at any one
time are those of the active menu line. This line is highlighted by the cyan bar, which can be shifted
cyclically from line to line by pressing the fixed key to the right of the softkeys. When a menu is
displayed for the first time the active line is the middle one.
This key permits to return to the previous softkey menu. Press it to fastly
return to the machining environment and display the main screen. The
current task is temporarily suspended but remains active.
This key permits to move the highlighting bar from one softkey menu line to
the next.
The color of the softkey label varies according to the softkey status:
YELLOW the softkey has been pressed or is lit to indicate a certain mode.
Softkey-driven menus are organized hierarchically, i.e. a softkey may invoke a sub-menu, some of
whose softkeys may invoke other sub-menus, and so on. The complete softkey tree is shown in the
figure that follows:
PP. MANAGEMENT
At power up the system visualises the main softkey menu, which allows access to all of the system
resources.
With the exception of the Diagnostics, Part Program and Utility menus discussed later in this
chapter, the first softkey line in the machining environment remains unchanged even when other
submenus are invoked. The first softkey line permits to select general visualisation features, as
shown in the figure below:
The sections that follow provide a short description of the functions available with the first two
submenu levels. The third level is analysed in the context of the relevant operating procedures.
Main menu
POS DISPLAY This softkey permits to select the type of visualised data for the axes
configured in the process. Allowed options are: ABSOLUTE, MACHINE,
WORK, TO GO, ERROR.
NEXT DISPLAY This softkey displays the next video page in the current sequence.
SELECT PROCESS Through an input window, this softkey allows to select one of the
processes configured in AMP.
SELECT PROCESS
Process number:
ENLARGE This softkey enlarges the quadrant to full screen size (21 lines x 80
columns). For more information about the procedure, please refer to the
"Enlarging an elementary quadrant" section in this chapter.
Auto
This menu, which can be invoked with the AUTO softkey, offers the following commands:
MDI Opens a data entry window for an MDI (Manual Data Input) operation
such as writing a program block from the keyboard. Press [Enter] to
confirm the input block. Press CYCLE START to execute the block if the
process is in IDLE state.
BLK/BLK Selects block by block execution mode. To execute the selected block
press CYCLE START.
BLOCK MODIFY Permits to edit the current program block. This softkey is enabled only
after a part program has been selected and the MDI mode is active.
MACHINE PLOT This softkey enables an application that graphically visualises the tool
path during the machining cycle. For more information about this
application refer to chapter 12 “Machine Plot”.
DRY RUN Enables/disable the DRY RUN feature on the active program.
XXXXXXXX + Applies the feedrate, spindle speed or rapid override percentage selected
with the OVERRIDE SEL. softkey.
Each time you press this softkey the programmed increment is applied
to the feedrate, spindle speed or rapid.
XXXXXXXX - Applies the feedrate, spindle speed or rapid override percentage selected
with the OVERRIDE SEL. softkey.
Each time you press this softkey the programmed decrement is applied
to the feedrate, spindle speed or rapid.
NOTE:
XXXXXXXX + and XXXXXXXX - change according to the name shown in the table below
depending on the type of override desired. Changeover from one quantity to the next is performed
cyclically each time the OVERRIDE SEL softkey is pressed:
XXXXXXXX + XXXXXXXX -
FEEDRATE + FEEDRATE -
SPND OVER + SPND OVER -
RAPID OVER + RAPID OVER -
STRING SEARCH Searches for a string of characters in the current part program. When this
softkey is pressed the system opens a data entry window for the operator
to key in the string. This softkey is enabled only after a part program has
been selected.
EXEC FROM:TO This softkey selects the start and end blocks for partial exceution of the
program selected.
This softkey is enabled only after a part program has been selected.
Manual
This menu, which can be invoked with the MANUAL softkey, offers the following options:
HOME Enables axes homing. To start homing the selected axis it is necessary to
press the CYCLE START pushbutton.
JOG INCR Enables incremental manual moves. To move the selected axis by an
increment press the CYCLE START pushbutton. See chapter 6 “Axes
Jogging and Stop Functions” for more details.
JOG RETURN Enables return to the profile after a manual move. See chapter 6 “Axes
Jogging and Stop Functions” for more details.
MANUAL SETUP Opens a data entry window for defining the jog increment and the jog
return mode. On special occasions it also permits to remove the tool from
the part (see chapter 6 “Axes Jogging and Stop Functions”).
XXXXXXXX + Applies the feedrate, spindle speed or rapid override percentage selected
with the OVERRIDE SEL. softkey.
Each time you press this softkey the programmed increment is applied
to the feedrate, spindle speed or rapid.
XXXXXXXX - Applies the feedrate, spindle speed or rapid override percentage selected
with the OVERRIDE SEL. softkey.
Each time you press this softkey the programmed decrement is applied
to the feedrate, spindle speed or rapid.
NOTE:
XXXXXXXX + and XXXXXXXX - change according to the name shown in the table below
depending on the type of override desired. Changeover from one quantity to the next is performed
cyclically each time the OVERRIDE SEL softkey is pressed:
XXXXXXXX + XXXXXXXX -
FEEDRATE + FEEDRATE -
SPND OVER + SPND OVER -
RAPID OVER + RAPID OVER -
JOG DIR Selects the jogging direction. When this softkey is pressed the + or - sign
appear on the label and the axis jogging direction changes accordingly.
SET ORIG./TOOL This softkey has two functions: it sets the origins and presets the tool.
TOOL function:
Opens a data entry window for defining the axis name and entering the
tool tip coordinate. This function applies a new tool length to the tool
length offset of the current tool.
Part Program
This menu, which is enabled by the PART PROGRAM softkey, permits to access the part program
environment and enables the relevant softkeys.
Variables
This menu is enabled by the VARIABLES softkey. It offers softkeys dedicated to visualisation and
editing of several classes of variables. For more information about system parameters and
variables refer to the "Programming Manual".
SN VARIABLES Opens a data entry window for defining Long Real (SN) system variables.
USER VARIABLES Opens a data entry window for defining the user variables defined during
the characterisation. These variables are listed in a single group even
when different variable names have been defined. At the end of the list
the system requests the name of the variable to be visualised.
FIND PAGE/IND Opens a data entry window for the page number and the index of the
variable on which the cursor must be positioned.
SUBSTITUTE Writes in the selected field of the data entry window the value of the last
expression calculated with EVALUATE.
SC VARIABLES Opens a data entry window for Character (SC) system variables.
OEM
The menu activated by the OEM softkey permits to access and enable the softkeys defined by the
application designer. The names of these softkeys may be configured in the AMP and therefore is
application-specific.
Machine Set-Up
The menu activted by the MACHINE SET-UP softkey permits to access a submenu of parameters
and softkeys that define the machine functions.
The DYNAMIC PARAMS softkey opens a data entry window similar to the one below:
DYNAMIC PARAMETERS
ENABLE VFF(Y/N) Enables/disables the servo algorithm with velocity feed forward.
When the algorithm is enabled, the tracking error will be closed on zero
(consistent with the gain of the servo loop configured in AMP) to reduce
the profile shaping error to the minimum.
When the algorithm is disabled, the axes are controlled with tracking error
only.
DYNAMIC LIMITS Opens a data entry window for defining the dynamic limits of the machine
in a contouring operation.
PROGRAM SET-UP Opens a data entry window permitting configuration of some parameters
conditioning the part program execution mode:
− Block delete
− Optional stop
− Feedrate bypass
− Rapid rate control
− Rotation
− Stock allowance
PROBE SET-UP Opens a data entry window for setting all the probing parameters.
TIME/DATE SET Opens a data entry window for setting the time with hh/mm/ss format and
the date with yy/mm/dd format.
Tables
The menu opened by the TABLES softkey permits to access the Table Editor and enables its
softkeys. See chapter 7 “Using Tables” for more information about this option.
BACKUP MEMORY Makes a backup copy on the hard disk of the tables resident in the dual
port memory.
RESTORE MEMORY Restores the backup copy of the tables to the dual port memory.
MAGAZINE (Option) Permits to manage the Tool Magazine option. For more
information about the Tool Magazine please refer to the specific
documentation.
HELP Displays the Help page associated to the current data entry window or
softkey menu.
ORIGIN Permits to access and treat the contents of the Origins Table.
TOOL DATA BASE Permits to access and edit the Tool Data Base Table, which can be
enabled only with the Tool Magazine option.
SELECT MAGAZINE Permits to select the Tool Magazine. For more information about this
option refer to its documentation.
USER TABLE Permits to configure and treat the contents of the User Table. See
chapter 8 “Table Editor Configurator” for details.
EXIT Exits from the Table Editor and returns to the main softkey menu.
Diagnostics
The menu enabled by the DIAGNOSTICS softkey permits access to the diagnostic functions.
HELP
SECURITY SYSTEM HISTORY DSI SRV CHAN SERVO MONITOR
SYSTEM SHUT DOWN
HELP Opens a Help page associated to the current data entry window or
softkey menu.
SYSTEM HISTORY Enables the video screen the list of the last 200 system messages (errors
and service messages) displayed by the system in the chronological
sequence in which they occurred.
DSI SRV CHAN Enables the utility for the D.S.I axes parameter configuration.
SERVO MONITOR Permits to access the system Servo Monitor, a utility that can be broken
down into two main functions:
SYSTEM SHUT DOWN This function is used to restart or shut down the system in a controlled
manner, closing currently open files and applications.
Utility
This menu is enabled by the UTILITY softkey. It permits to access the OEM environment and
enables the relevant softkeys.
AMP Permits to access the AMP environment, which is used for system
configuration.
PLUS Permits to access the PLUS environment, which is used for developing
the machine logic.
DOS SHELL Permits the OEM to handle files in the DOS environment.
HELP Opens a Help page associated to the current data entry window or
softkey menu.
OPERATOR CONSOLE
The Operator Console provides the operator with three control buttons for executing the CYCLE
START, CYCLE STOP and RESET commands, and a group of buttons and/or selectors for
changing the speeds of the axes and selecting the operating modes of the system.
If a system with a WinLink and/or BLink operator panel is used, an external Operator Console or
Pilot Panel is essential while the OPLink operator panel has a built-in Operator Console.
Nearly all the controls on the operator console duplicate functions performed by following specific
operating procedures in which the softkeys are used.
If an external operator console is installed, it must be defined by means of the machine logic
whether the commands executed on the pilot panel are to replace the equivalent system functions
completely (most common case) or whether they may be carried out in parallel. In the latter case,
measures must be taken to ensure that conflicting commands are not executed at the same time.
If the console built into the OPLink operator panel is used, the system automatically controls the
commands in parallel.
As illustrated in the figure, on the right-hand side of the OPLink operator panel there are operator
console keys and the START, HOLD and RESET buttons, that is, the control buttons described in
the "Control Buttons" section at the start of this chapter.
A description of the keys and functions of the operator console built into the OPLink operator panel
is provided below.
Enables the axis homing cycle (HOME softkey). When the CYCLE
START button is pressed, the homing procedure is executed on the
selected axis (see chapter 5 "Establishing Origins and Homing the
Axes").
Home
Speed change
Increment change
Key for selecting AUTOMATIC operating mode (AUTO softkey on the main menu).
When this key is pressed, the system automatically activates automatic execution of the
selected part program: all the blocks in the part program are executed without interruption. A
description of the keys for selecting the other execution modes and other functions of this
environment is provided below. For further details on this environment, see chapter 11 "Part
Program Execution" of this manual.
Opens the MDI input box for insertion of a program block from the
keyboard (MDI softkey). Execution of the block inserted starts when
the CYCLE START button is pressed, having confirmed the block by
MDI pressing the Enter key.
Percentage change in the feed rate set in the part program with the
[F] operator (FEEDRATE + and FEEDRATE - softkeys). When the [+]
and [-] keys are pressed alternately, the programmed feed rate value
is increased or decreased by 12.5%.
Percentage change in the spindle speed set in the part program with
the [S] operator (SPND OVER + and SPND OVER - softkeys). When
the [+] and [-] keys are pressed alternately, the programmed spindle
speed value is increased or decreased by 5%.
The following buttons are present on the right-hand side of the pilot panel
RESET button
The functions performed by these three buttons are described in the "Control Buttons" section at
the start of this chapter.
The commands associated with the pilot panel selectors are described below.
Speed
Controls the spindle speed override percentage and is
equivalent to the OVERRIDE SEL and SPND OVER+ / SPND
OVER- sequence. Spindle speed override percentages range
from 75% to 125% of the programmed value.
Feed
This selector controls the feedrate override percentage and is
equivalent to the OVERRIDE SEL and FEEDRATE+ /
FEEDRATE- sequence. The variations posible range from 0 to
125% of the programmed feed rate.
Jog Increment
Selects an increment for each manual incremental move.
Jog
This selector determines speed and direction of the selected
axis manual movements for the MANUAL JOG and JOG INCR
functions.
If RAPID OVERRIDE CONTROL is enabled (in AMP
environment or in PROGRAM SET-UP), the selector can be
turned in the positive direction to limit rapid override
percentage in steps of 100, 50, 20, 5, 1 and 0 percent.
Mode
This selector permits setting of certain operating modes which,
when there is no operator console, are activated by the
softkeys of the same name. These modes are:
• MDI
Opens a data entry window for manual data inputs. This
selection can be enabled in AUTO mode..
• AUTO
Selects Auto mode.
• BLK/BLK
Selects block by block program execution.
• MANUAL JOG MODE
Enables axis jogging in the direction established with the
Jog Direction selector. When you press CYCLE START the
axis starts moving in the selected direction. The move lasts
as long as CYCLE START is pressed.
• JOG INCREMENT MODE
Enables incremental axis jogging in the direction
established with the Jog Direction selector. If [A] and the
increment value have been specified in the SELECT field of
the MANUAL SETUP window, when you press CYCLE
START the axis moves in the selected direction by the
specified increment. If [M] has been specified in the
MANUAL SETUP window it is necessary to press CYCLE
START until the increment has been completed. (The axis
will stop as soon as CYCLE START is released).
• JOG RETURN MODE
Returns the axis to the profile after a manual move. For
more details about this procedure refer to Chapter 6.
• HOME
Enables the homing procedure. Press CYCLE START to
start the homing sequence for the selected axis.
• HPG
Enables the logic to handle the handwheel.
On the right hand side of the console we find the following buttons:
RESET button
The functions of these three buttons have been described in paragraph “Control buttons” at the
beginning of this chapter.
To the left of the reset button we find six more controls for the selection of execution modes.
Press the [CYCLE START] key to run the single block selected.
Opens the MDI input windows to enable the user to enter a program
block from the keyboard (MDI softkey). The execution of the chosen
block is started by pressing the [CYCLE START] key after confirming
the command by pressing Enter
As in the case of the MANUAL softkey in the main menu, when this
key is pressed the system activates the continuous jogging function
automatically. Keys (JOG INCR and HOME) which are used to impart
jogging commands and control other functions associated with jogging
are described below. For more detailed information on jogging, see
chapter 6 of this Manual, “Axes Jogging and Stop Functions”.
Enables the axis homing cycle (AXIS HOMING softkey). Pressing the
[CYCLE START] key starts the homing procedure for the axis selected
(see Chapter 5 “Establishing Origins and Homing the Axes”).
We describe below the controls associated with the selectors equipping the WinMedia Operator
Console.
Speed
This selector increases/decreases the % variation in spindle
speed. It performs the same functions as the SEL.OVERRIDE
and % ROT MANDR+/% ROT MANDR- softkey sequence.
The admissible variation range is from 75% to 125% of the
programmed value.
Feed
This selector increases/decreases the % variation in axis feed
rate. It performs the same functions as the SEL.OVERRIDE
and FEEDRATE+/FEEDRATE- softkey sequence.
The admissible variation range is from 0% to 125% of the feed
rate.
Jog
This selector determines the jogging speed and direction of
the selected axis for the JOG and JOG INCR MANUAL
functions.
If the RAPID OVERRIDE CONTROL function is enabled (in
either the AMP or the PROGRAM SET-UP environment) it
also makes it possible to increase/decrease the RAPID rate in
percentage terms.
END OF CHAPTER
The procedure for setting system variables and parameters may be broken down into two stages:
• General configuration: In this stage the system characteristics, i.e. number and type of axes,
functions, programming codes, etc., are configured. These parameters must be set by the
application designer in the AMP environment and in general cannot be altered from other
environments. For a thorough description of the configuration procedure please refer to the
Characterization Manual.
• Configuration of specific variables and parameters: In this stage the contents of the
variables and the values of the parameters used in a given part program must be defined. The
default values or the ranges of some variables, such as user and PLUS, may be set in the
general configuration. The contents of any variable may be altered from keyboard or from part
program, as illustrated later in this chapter.
Local variables are stored in a local memory area of the system and may be "seen" only
by the part program in execution. These variables are of two types: E
variables and USER variables
System variables these variables are stored in the system dual port memory and may be
"seen" by the part program in execution and by any other active process.
This class includes three types of variables: System Numbers (SN),
System Characters (SC) and PLUS variables.
For more information on local and system variables and how to program them refer to the
"Programming Manual".
To access the environment in which variables may be set, visualised or edited, press the
VARIABLES softkey in the main menu.
E variables
E variables (# parameters) are local variables that may have predefined values when used in a
part program. Default values for some E parameters are defined during system configuration and
become effective at power up.
The E VARIABLES softkey permits to visualise and modify the values of an E variable to suit
specific programming needs. Modified values are used by the system instead of default settings.
When you press the E VARIABLES softkey, the following data entry window is displayed:
To modify an E variable declared in the configuration, move the cursor to the variable value, delete
it with [Backspace] and key in the new value. After making all the necessary modifications, press
[Enter] or E VARIABLES to confirm them.
IMPORTANT If power is removed from the system the values assigned to E parameters
in this window will be lost.
User variables
User variables may be defined by the user in the AMP environment. They are of two types:
If no user variable has been configured in AMP, the USER VARIABLES softkey in the VARIABLES
menu will not be active. When you press the USER VARIABLES softkey the system displays the
following data entry window listing the configured user variables with their types.
S: 100.000 F: 1000.000
112.5% 75.000 100.0% 900.000
G: 00 80 99 40 27 90 71 17 94 97
M: xx xx xx xx
Long Real (LR) variables are managed with the same procedure as E parameters.
Character (CH) variables are managed with the same procedure as System Character (SC)
variables. More information about SC variables is provided later in this chapter.
H variables
H variables are read-only local variables used by the system paramacros and cannot be modified
manually. To visualise the contents of the H variables in a data entry window press H
VARIABLES. To browse through the data entry window, press [PgUp] or [PgDn]. If no paramacro
has been configured in AMP the H VARIABLES softkey will be disabled.
SN variables
System Number (SN) variables are system variables with predifined values that may be used in a
part program. These values are stored in the dual port memory and remain unchanged until they
are reassigned.
The SN VARIABLES softkey permits to visualise or reassign the current values of the SN variables
according to specific program needs. When you press the SN VARIABLES softkey the following
data entry window is displayed:
SC variables
System Character (SC) variables are system variables with predifined values that may be used in a
part program. These values are stored in the dual port memory and remain unchanged until they
are reassigned.
The SC VARIABLES softkey permits to visualise or reassign the current SC variables to suit
specific program needs. When you press the SC VARIABLES softkey the following data entry
window is displayed:
This tables shows 100 3-digit character variables. Variables are divided into 10 strings, each of
which occupies a line of the table. The first column specifies the start adress of the string. The last
column displays a string of ASCII characters.
0000 000 000 000 000 000 000 000 000 000 000 ". . . . . . . . . . . . ."
To assign an SC variable it is necessary to first define the start address and then specify the ASCII
string. The procedure is as follows:
Example:
To assign the "COOLANT" value to the SC that starts from address 53 the procedure is as follows:
SC VARIABLES
0000 000 000 000 000 000 000 000 000 000 000 ". . . . . . . . . . . . . ."
0010 000 000 000 000 000 000 000 000 000 000 ". . . . . . . . . . . . . ."
0020 000 000 000 000 000 000 000 000 000 000 ". . . . . . . . . . . . . ."
0030 000 000 000 000 000 000 000 000 000 000 ". . . . . . . . . . . . . ."
0040 000 000 000 000 000 000 000 000 000 000 ". . . . . . . . . . . . . ."
0050 000 000 000 000 000 000 000 000 000 000 ". . . . . . . . . . . . . ."
2. Key in 53, press [Tab], and then key in the following sequence (including the quotes):
"C" Tab "O" Tab "O" Tab "L" Tab "A" Tab "N" Tab "T"
SC VARIABLES
0000 000 000 000 000 000 000 000 000 000 000 ". . . . . . . . . . . . . ."
0010 000 000 000 000 000 000 000 000 000 000 ". . . . . . . . . . . . . ."
0020 000 000 000 000 000 000 000 000 000 000 ". . . . . . . . . . . . . ."
0030 000 000 000 000 000 000 000 000 000 000 ". . . . . . . . . . . . . ."
0040 000 000 000 000 000 000 000 000 000 000 ". . . . . . . . . . . . . ."
0050 000 000 000 000 000 000 000 000 000 000 ". . . . . . . . . . . . . ."
Address: 0053 Value: "C" "O" "O" "L""A" "N" "T" Page 1 of 2
SC VARIABLES
0000 000 000 000 000 000 000 000 000 000 000 ". . . . . . . . . . . . . ."
0010 000 000 000 000 000 000 000 000 000 000 ". . . . . . . . . . . . . ."
0020 000 000 000 000 000 000 000 000 000 000 ". . . . . . . . . . . . . ."
0030 000 000 000 000 000 000 000 000 000 000 ". . . . . . . . . . . . . ."
0040 000 000 000 000 000 000 000 000 000 000 ". . . . . . . . . . . . . ."
0050 000 000 000 067 079 079 076 065 078 084 ". . . COOLANT "
Address: 0053 Value: "C" "O" "O" "L""A" "N" "T" Page 1 of 2
Note that from address 53 onwards each column displays the numerical ASCII code of a
character, whereas the string appears on the most right column. An alternative method for
writing this sequence would have been entering the following values in step 2:
067 Tab 079 Tab 079 Tab 075 Tab 065 Tab 078 Tab 084
PLUS variables
PLUS variables are system variables defined by the user in the AMP environment that remain
stored in the PLUS dual port memory. These variables can be used for reading or writing
operations.
If no PLUS variable has been configured, the PLUS VARIABLES softkey in the VARIABLES
menu is disabled. When you press the PLUS VARIABLES softkey the following data entry window
is displayed:
S: 100.000 F: 1000.000
112.5% 75.000 100.0% 900.000
G: 00 80 99 40 27 90 71 17 94 97
M: xx xx xx xx
This window permits to read or write the value of a variable as illustrated in the previous section.
The FIND PAGE/IND softkey facilitates the seach for the index of a variable or a page in a data
entry window when it contains too many system variables to use [PgUp] and [PgDn]. When you
press FIND PAGE/IND the following page appears:
FIND PAGE/INDEX
Variable Index : 1
Page Number : 0
In some cases you must calculate the value of a variable before writing it in the data entry window.
To make these calculations without closing the windows you can use the following softkeys:
EVALUATE and SUBSTITUTE. The procedure is as follows:
EXPRESSION EVALUATE
2. Key in the mathematical expression to be calculated (algebric or trig functions are allowed). For
more information about formulas and syntactic rules, refer to the "Programming Manual". Press
[Return] to visualise and save the result. Press [Esc] to close the EVALUATE window.
IMPORTANT If you press EVALUATE again at this point the result will be cleared.
The result of the calculation may be written in any type of variable with the following procedure:
1. Select the data entry window that corresponds to the type of variable.
2. Position the cursor on the desired variable and press SUBSTITUTE. The contents of the
EVALUATE data entry window will be assigned to the variable replacing the previous value.
Machine parameters are variables that affect system operation. The user can access and modify
the following 10 Series machine parameters:
To access these parameters press the MACHINE SET-UP softkey, which displays the following
submenu:
The sections that follow describe each parameter with the procedure for setting or altering its
value.
To open a data entry window it is necessary to press the corresponding softkey. To confirm a
modification either re-press the softkey or press [Enter]. To close the window without saving the
modifications press [Esc] .
Dynamic Params
The DYNAMIC PARAMS softkey opens a data entry window similar to the one below:
DYNAMIC PARAMETERS
trajectory
trajectory
trajectory
trajectory
SPINDLE LIMIT (RPM) Is the maximum spindle speed expressed in rpm when the speed of
the tool cutter is programmed in mm/min or inch/min. The allowed
range is from 0 to 99999,9999 rpm. The default value is 0 RPM.
% TAP RETRACT FEED Tapping retract speed. Specifies the percentage of the feedrate
applied to the retract phase of the tapping cycle. The allowed range is
from 0 to 125%. The default value is 100%.
Dynamic limits
ENABLE LOOK-AHEAD (Y/N) Automatic deceleration on bevels. It may have the following
values:
MAXIMUM DEVIATION ANGLE (MDA) Is the maximum angle deviation of the axis for which
G27 is active. The selected angle is the operating limit for G27.
If the angle deviation is greater than this limit, the path will be
executed in G29 or in point to point.
VELOCITY FACTOR (VEF) permits to regulate axes velocity on bevels in G27. Small
VEF values permit to obtain considerable velocity reductions.
To obtain further information about DLA, MDA and VEF refer to the 10 Series Programming
Manual.
Program SET-UP
The PROGRAM SET-UP softkey opens a data entry window permitting configuration of some
parameters conditioning the part program execution mode:
− Block delete
− Optional stop
− Feedrate bypass
− Rapid rate control
− Rotation
− Stock allowance
And for each axis configured, the following parameters may be configured:
− Stand still
− Mirror modes
− Scale
− Scale factor
Block Retrace
The softkey is enabled only if a program is selected and if the CYCLE STOP pushbutton is pressed
during execution.
Probe parameters
These parameters are used by the system during a probing cycle. When you press the PROBE
SET-UP softkey, the following data entry window is displayed:
The values displayed in the PROBE SETUP window are expressed in the default unit configured in
AMP (mm or inch). This unit is shown in the window between square brackets.
APPROACH TOLERANCE Is the distance from the nominal probing point. The probe arrives at
this distance moving at the rapid rate and then starts the probing
cycle at the feedrate programmed in the MEASURING FEED field.
SAFETY TOLERANCE This value must be set in order to preserve the probe. The probe
stops if it does not touch the machined part within this tolerance.
Axes Reference
With the REF softkey the axes may be referred to the current position. The procedure is as follows:
1. Select the axes to be referred in the data entry window with the [Up/Down Arrow keys].
IMPORTANT Unlike the HOME cycle, referring the axes with the REF softkey is a logical
operation. Therefore, the NULL OFFSET and HOME POSITION parameters
configured in AMP for each axis are ignored. Also, the operating limits are
referred to the point on which the axes were when the REF procedure was
closed with [Y].
Accuracy
CIRCLE ENDPOINT TOLERANCE (CET) Establishes a tolerance interval for the difference
between the start and the final radius of a circle arc.
ULL CIRCLE THRESHOLD (FCT) Establishes a threshold for the distance between the
first and the last point of a circle arc. If this distance is smaller
than FCT, the circle arc is closed.
ARC MODALITY (ARM) Selects a normalisation mode for the arc programmed
with the coordinates of the center (I, J) and the last point in
order to make the arc geometrically congruent. Allowed
values are 0, 1, 2, and 3.
Time/date
The TIME/DATE softkey permits the machine date and time to be set.
END OF CHAPTER
GENERAL
The reference points that permit to calculate the workpiece coordinates can be established on the
machine tool. These points are illustrated in the figure below:
ZERO MICROSWITC H
ABSOLUTE ORIG IN
HOME PO SITION
NULL O FFSET
The ABSOLUTE ZERO of an axis coincides with its zero microswitch. The position of the zero
microswitch is read by the control during the homing procedure described later in this chapter.
The NULL OFFSET position is defined during configuration with respect to the absolute zero. It is
normally very near the zero microswitch and serves for correcting the zero microswitch position.
The HOME position is defined during configuration with respect to the NULL OFFSET. It is
normally at the centre of the table and represents the MACHINE ZERO.
ABSOLUTE ORIGINS must be defined by the programmer and serve as reference points for
workpiece and machining coordinates. ABSOLUTE ORIGINS are referenced to the MACHINE
ZERO.
NOTE:
If the HOME position has not been defined, the MACHINE ZERO coincides with the NULL
OFFSET or, if this is also missing, with the NULL OFFSET. NULL OFFSET and HOME POSITION
values must be specified for each axis in AMP.
Homing an axis means making it touch the switch that marks the beginning of its travel.
An axis may be homed in Manual or in Auto mode. Both procedures are described in the sections
that follows.
Manual Homing
1. Select the desired axis by moving the selection bar with the [Up/Down Arrow keys].
2. Press the JOG DIR (+/-) softkey to select the direction in which the axis will move away from
the current position.
3. Press the HOME softkey.
4. Press CYCLE START and keep it pressed until the axis has been homed. The axis will
automatically move towards the zero switch that defines its absolute zero point.
5. Repeat steps 1 through 4 for all the other axes.
Automatic Homing
1. Select the desired axis by moving the selection bar with the [Up/Down Arrow keys].
2. Press the HOME softkey.
3. Press CYCLE START and keep it pressed until the axis has been homed.
4. Repeat steps 1 through 3 for all the other axes.
In both cases the axis moves automatically towards the zero switch and from here either to the
zero position or to the NULL OFFSET position (if the null offset parameter has been configured).
After an axis has been correctly homed, the following message is displayed:
IMPORTANT When the axis is homed in manual mode the CYCLE START pushbutton
must not be released until the axis reaches the zero microswitch. If CYCLE
START is released before homing has been completed, the axis will
decelerate to a complete stop. To resume homing, press CYCLE START
again and keep it pressed until the axis arrives to the zero microswitch.
NOTE:
• If Manual homing mode has been configured in AMP and the direction of motion selected in
step 2 is different from that configured in AMP, the axis will not move and the following message
will be displayed:
NC108 Home and jog direction not congruent
Select the correct direction and repeat the homing procedure.
DEFINING ORIGINS
Workpiece or machining coordinates can be referenced to a point located inside or outside the
part. This point is known as origin or part zero. In some cases, however, part of the coordinates
may be referenced to other points. The system is able to handle up to three different origins, thus
eliminating the need to convert the coordinates to a single reference point.
Absolute These origins are referenced to the machine zero (Home Position) and are
origins stored in the Origins Table. During execution an absolute origin may be
(part zero) invoked at any time by writing its number in the program, after which all of the
coordinates will be referenced to this new origin. The system permits to define
up to 10 origins per process.
Temporary These origins are referenced to an absolute origin and may be defined and
origins enabled from the program by means of the UTO instruction. They are not
stored in the Origins Table and remain active until a new temporary origin is
programmed (with an UTO), an absolute origin is invoked (with an UAO), or
the control is reset. For more information about these origins, refer to the
Programming Manual.
Incremental These origins are referenced to the currently active origin and may be defined
origins and enabled directly from the program with an UIO instruction. An incremental
origin remains active until a new incremental, absolute or temporary origin is
invoked or until the control is reset. For more information about these origins,
refer to the Programming Manual.
Prior to starting a new execution cycle on the machine it is necessary to establish the absolute
origins. Each absolute origin is determined by writing in the Origins Table the distance from the
origin point to the HOME POSITION. The procedure is as follows:
1. Home the axes using the procedure described earlier in this chapter.
2. Jog the axes to the point at which the absolute origin must be located (see Chapter 6 for Axes
jogging).
3. Press the SET ORIG./TOOL softkey in the MANUAL menu. The following data entry window will
be displayed:
ORIGIN/TOOL PRESET
SELECT (Origin/Tool) :
NUMBER : 1
4. Press [O] to select origin presetting. Then move the cursor to the next data entry field and key
in the origin number. Press [Enter] to confirm the entries. The following data entry window will
be displayed:
ORIGIN PRESET
ORIGIN NUMBER : 1
AXIS VALUE
X Y
Z
NOTE:
This data entry window lists the axis names configured in AMP for the current process. In the
example it has been assumed that the configured axes are X, Y and Z.
5. Key in the absolute origin offsets for X and Y. If the absolute origin coincides with the point in
which the axes have been positioned, key in a 0 offset for X and Y.
The control calculates the absolute origin coordinates referenced to the HOME POSITION (and,
therefore, to the zero microswitch) and stores them in the origins table. To visualise this table, use
the Table Editor tool described later in this chapter.
An origin becomes active when the control reads the relevant UAO program instruction.
Examples:
The figures below illustrate how to define absolute origins.
Y
Y MACHINED PART
HOME POSITION
2) Absolute origin offset by a given value, i.e. absolute origin moved from the current axes
position.
Y Y
MACHINED PART
ORIGIN
X Y AXES POSITION
HOME POSITION X
To this purpose, a special set of offsets must be defined. For more information about these offsets,
refer to Chapter 9 "Tool management".
According to the location of the reference point, there are two methods for defining the absolute
origin of the spindle axis:
To determine the axis zero when a tool is mounted on the spindle use this procedure:
1. Home the spindle axis with the procedure described earlier in this chapter.
2. Press the AUTO softkey and then press MDI to select MDI mode.
3. Enable the desired machining tool with the relevant offset by entering their codes (for example,
T123.5M6), press [Enter] to confirm them and press CYCLE START.
4. Jog the spindle axis until the tool tip touches a known point.
5. Press the SET ORIG./TOOL softkey in the MANUAL menu. The following data entry window
will appear:
ORIGIN/TOOL PRESET
SELECT (Origin/Tool) :
NUMBER : 1
6. Press [O] to select origin presetting. Then move the cursor to the next data entry field and key
in the origin number. Press [Enter] to confirm the entries. The following data entry window will
be displayed:
ORIGIN PRESET
ORIGIN NUMBER : 1
AXIS VALUE
X Y
Z
Key in the distance of the tool tip from the part zero on the spindle axis (Z).
To define the part zero when no tool is mounted on the spindle, use this procedure:
1. Take the spindle axis to the HOME POSITION with the procedure described earlier in this
chapter.
2. Disable the current spindle axis offset. For example, key in T0M6 in MDI.
3. Measure the distance from the spindle nose to the reference point selected on the part.
4. Press the SET ORIG./TOOL softkey in the MANUAL menu. The following data entry window
will be displayed:
ORIGIN/TOOL PRESET
SELECT (Origin/Tool) :
NUMBER : 1
5. Press [O] to select origin presetting. Then move the cursor to the next data entry field and key
in the origin number. Press [Enter] to confirm the entries. The following data entry window will
be displayed:
ORIGIN PRESET
ORIGIN NUMBER : 1
AXIS VALUE
X Y
Z
6. Move the cursor to the Z axis and key in the measured distance with its sign.
Diameter axes must be homed before machining starts. The homing procedure is as follows:
1. Position the spindle axis on a hole to be reamed by inputting the hole coordinates.
2. Select the diameter axis (for example, U) by moving the selection bar with the [Up/Down
Arrow keys].
3. Home the diameter axis with the above described automatic or manual procedures (HOME and
CYCLE START, or JOG DIR +/-, HOME and CYCLE START).
4. Key in an instruction block programming hole reaming with the hole coordinates. For example :
G81 .. R .. Z .. F .. S .. M13
Then press CYCLE START.
5. If the hole is executed properly, move the tool away from it without moving the U axis.
6. Measure the hole dimensions accurately. In the example, the diameter measures 98.73 mm.
7. Define the origin of the diameter axis by writing the measured value with a negative sign (in the
example, U = -98.73) in the ORIGIN PRESET data entry window.
If during the machining cycle the tool is found to be too worn out for the configured tolerance, the
diameter axis value (U in our example) may be updated in the ORIGIN PRESET data entry window
by writing the exact diameter of the last machined hole with a negative sign. For example, if the
diameter of the last machined hole is 119.95, key in the following: U -119.95
END OF CHAPTER
JOG
• continuous jog
• incremental jog
To perform a jog move, press the MANUAL softkey. The following menu will be displayed:
This menu includes all the softkeys that permit to carry out manual moves and related operations.
In the sections that follow we assume that you have displayed this menu before starting a jogging
move.
NOTE:
When the MANUAL softkey is pressed, the control defaults to continuous jog mode.
The selected axis for the motion will be emphasized by a selection bar; besides the axis name will
be contained in square brackets.
Example:
[x]
Continuous Jog
This mode permits to jog the axes continuously in the selected direction at the selected rate. The
procedure is as follows:
1. Select the desired axis by moving the selection bar with the arrow keys.
2. Select the jog direction by pressing the Jog DIR softkey. The softkey label will change
according to the selection (JOG DIR -, JOG DIR +).
3. Select the jog rate and the override percentage as described in the "Feedrate Override" section
of this chapter.
4. Press CYCLE START to start jogging the axis. The axis will continue to move at the selected
rate in the desired direction as long as CYCLE START is kept pressed.
Incremental Jog
This mode permits to jog the axes by a given increment in the selected direction at the selected
rate. The procedure is as follows:
1. Select the desired axis by moving the selection bar with the arrow keys.
2. Select the jog direction by pressing the JOG DIR softkey. The softkey label will change
according to the selection (JOG DIR -, JOG DIR +).
3. Select the jog rate and the override percentage as described in the "Feedrate Override" section
of this chapter.
4. Select the increment with the MANUAL SET-UP softkey (refer to the "Jog Increment" section
later in this chapter). If this step is omitted, the system will apply the current increment, i.e. the
latest selected one.
5. Press JOG INCR and then the CYCLE START softkey.
Depending on the JOG INCR selection in the MANUAL SET-UP data entry window, there are two
possible incremental jog modes:
Manual: keep CYCLE START depressed until the move has been completed. If CYCLE START is
released before the end of the move, the axis will decelerate to a stop. To complete the move,
press CYCLE START again and keep it pressed until the move has been terminated.
Automatic: this mode permits to release CYCLE START before the move has been completed
without stopping the axis.
Prior to starting an incremental jog it is necessary to define the jog type and the increment. To
make these selections, press the MANUAL SET-UP softkey.
INCREMENT VALUE key in the manual increment value in this field. This value will also be
displayed in the JOG field of the main video screen.
MODE select the JOG RETURN or JOG INCR mode, which can be automatic
[A] or manual [M]. For more details about JOG RETURN, see later in this
chapter.
TOOL DIRECTION this parameter is used for removing the tool from the part in special cases
(see "Removing the tool after an emergency" later in this chapter).
To confirm the entries press the MANUAL SET UP softkey or the [Enter] key.
FEEDRATE OVERRIDE
The maximum jog rate defined in the configuration may be altered with the following procedure:
1. Press OVERRIDE SEL until the first two softkeys on the third line display the following labels:
FEEDMAN + and FEEDMAN -.
2. Press FEEDMAN + or FEEDMAN - to increment or decrement the configured rate. Each time
one of these softkeys is depressed, a 12.5% increment or decrement will be applied to the
configured value. Feedrate override percentages range from 0% through 100%.
Example:
If the maximum configured feedrate is 2000 MMPM (millimetres per minute) and a 50% feedrate
decrement is applied, the actual jog rate will be 1000 MMPM.
To alter the jog increment selected in the MANUAL SETUP window use this procedure:
1. Press OVERRIDE SEL until the first two softkeys on the third line display the following labels:
FEEDMAN + and FEEDMAN -.
2. Press JOG INCR + or JOG INCR - to increment or decrement the jog increment value.
The allowed JOG INCR values are shown in the table below:
mm inch
0,0001 0,00001
0,001 0,0001
0,01 0,001
0,1 0,01
1,0 0,1
10,0 1
Before OVERRIDE SEL is pressed, the JOG INCR value is the one written in the MANUAL SET
UP window (see earlier in this Chapter). As the OVERRIDE SEL softkey is pressed, JOG INCR
returns to the value it had the last time the OVERRIDE SEL softkey was pressed. This value
will be one of the above listed increments and can therefore be very different from the one
written in the MANUAL SET-UP window.
Each time JOG INCR+ or JOG INCR- is pressed, the increment/decrement listed in the table is
applied to the JOG value.
It is possible to interrupt machining during part program execution by pressing the CYCLE STOP
pushbutton. This puts the system on hold and permits to jog the axes away from the profile.
Part program execution can be resumed according to one of the following three procedures:
1. Moving the axes back to the position on the profile they occupied before program execution
was halted.
Proceed as follows:
a) Select the axis to be returned to the profile.
b) Select the axis feedrate percentage desired.
c) Press the JOG RETURN softkey and then the [CYCLE START] button.
• if JOG RETURN is in "Manual" mode, keep [CYCLE START] pressed until the "AXIS ON
PROFILE" message appears; this tells you that the axis return move has been completed.
• if the JOG RETURN is in "AUTO" mode, just press [CYCLE START] once. The system will
automatically move back to the profile ALL the axes previously displaced by following the
same trajectory in space in the reverse direction, so as to avoid obstructions. To abort
automatic return to the profile press [CYCLE STOP].
2. Moving the axes back to the final point of the profile interruption entity
Proceed as follows:
a) From the MANUAL SET-UP Data Entry window activate the “SKIP JOG RETURN” option by
entering “Y” and confirm with [Enter].
b) Quit the HOLD status by pressing [CYCLE STOP].
c) Resume program execution by pressing [CYCLE START]. At this point, the axes will
perform a linear movement from their current position to the final point of the movement
interrupted by pressing [CYCLE STOP]. At the end of this positioning process, program
execution will be resumed automatically.
The programmed spindle speed can be altered during execution with the following procedure:
1. Press OVERRIDE SEL until the first two softkeys on the third line display the following labels:
SPND OVER + and SPND OVER -.
2. Press SPND OVER + or SPND OVER - to increment or decrement the programmed spindle
speed. Each time one of these softkeys is depressed, a 12.5% increment or decrement will be
applied to the programmed value. Spindle speed override percentages range from 75% through
125%.
Example:
If the maximum programmed spindle speed is 1500 RPM and a 80% feedrate decrement is
applied, the actual spindle speed will be 1200 RPM.
STOP FUNCTIONS
There are various ways of stopping program execution and machine operation: Reset, Hold,
Emergency Stop, Active Reset.
Reset
The reset function permits to:
To resume program execution press the CYCLE START pushbutton. Execution will restart from
the beginning of the program.
IMPORTANT Depending on how the machine logic has been programmed, it will give
some of its typical stop commands (such as spindle stop, coolant off, etc.)
when it receives the reset command.
Hold
The hold function permits to:
To resume execution press the CYCLE STOP pushbutton again to exit the hold condition and then
press CYCLE START. Execution will restart from the point at which the CYCLE STOP command
was given.
If manual moves have been performed after pressing CYCLE STOP, it is necessary to re-position
the axes on the profile before resuming automatic execution. To do this, use the above described
procedure.
EMERGENCY STOP
The EMERGENCY STOP pushbutton stops power supply to the system. It is not available on the
control panel but is included in the machine logic and in the MTB panel.
ACTIVE RESET
This command is available only in the PLUS logic program. It can be used after a cycle stop in
order to clear either the remaining portion of the current motion block or the subsequent part
program blocks.
To allow automatic active reset, with PLUS the ACTIVE RESET function is available on an external
pushbutton or on the machine devices. For example, when the microphone detects the contact
between the tool and the part.
During motion block execution, the ACTIVE RESET command is allowed if the system is on HOLD.
In addition, the interrupt move must be point to point (G29) with linear (G1) or circular (G2, G3)
interpolation. When an ACTIVE RESET is given, the system:
b) searches the subsequent program block for execution. This block will be calculated from the
current position.
c) executes assignment blocks, three-letter code instructions, branching instructions, etc. during
the search.
d) after the subsequent move has been terminated, the ACTIVE RESET function is reset and the
system does not re-launch the part program.
When a part program is selected, the ACTIVE RESET command is allowed if the system is in IDLE
status. In this case the system responds with steps b through d.
If an ACTIVE RESET command is given when the system is neither on HOLD nor in IDLE status,
the following error message will be displayed: "Command not congruent with the system status".
ACTIVE RESET can be given in AUTO, MDI and BLK/BLK. If the control is in any other mode, the
following message will appear: "Bad selected mode".
If MDI (Manual Data Input) mode is active, ACTIVE RESET will reset only the interrupted move. All
the instructions that have not been transferred to PLUS will be lost.
If ACTIVE RESET is allowed but the interrupted block is not a point to point move with linear or
circular interpolation, the "Active reset not permitted" message will be displayed. If the interrupted
block has been stopped at interpolation end, the ACTIVE RESET command will be ignored.
The subsequent block must be a linear move (G1); if it is not, the "Active reset not permitted" error
message will be displayed. If the subsequent block is a contouring move (G27/G28), the ACTIVE
RESET function will be allowed but the new block will be executed as a point to point move.
All the M, T, S and logic functions that are programmed in the interrupted block or in subsequent
blocks and have not been transferred to PLUS will be lost.
The new block calculated by the ACTIVE RESET command contains the coordinates of the axes
programmed in the subsequent block.
If the ACTIVE RESET command has been executed successfully, the system switches from HOLD
to HOLD RUN (HRUN). The red LED turns off and the system awaits a CYCLE START command.
If an ACTIVE RESET function generates an error (for example, if the cycle start coordinate
coincides with the subsequent motion block) the system remains on HOLD (red LED ON) but part
program execution does not resume when you give a CYCLE START command. All the
subsequent ACTIVE RESET functions will be allowed and the error will be removed.
Since during an active reset the system reads and executes part program blocks, some of the
errors displayed may be numerical control errors. However, the "End of file" message is not an
error but a signal. When this message occurs, the system status does not shift to HRUN and
CYCLE START permits to execute the block that has been restored after one or several ACTIVE
RESET commands.
When the active reset function is not accepted by the system, further active request commands
shall be taken to refer to the following blocks and, in the absence of errors, the active reset function
for such blocks shall be accepted.
The block-end M functions programmed in the interrupted block will be "forgotten" after an active
reset. Execution of the subsequent block will start when the CYCLE START command is given. If
other ACTIVE RESET commands are given, the M codes programmed in these blocks will also be
ignored.
G29 G01 X100 M05 Active reset to X=50 (M05 will be ignored)
G01 Y100 M06 Active reset (M06 will be ignored)
G01 M03 Y100 M05 Cycle start :
1. M03
2. Move to X50 Y100
3. M05
An ACTIVE RESET function accepted by the system will enable the subsequent block. This can be
observed on the display, where the enabled block will appear in reverse mode.
Example 1
40
HOLD, active reset
new path
original path
100 X
X10 Y40
Y20 Active reset during execution of this block
X100 Y30 X100 at the end of this block
Example 2
new path
programmed path
100 X
X10 Y40
X50 Y10 Active reset during execution of this block
X100 Y30 Y30 X100 at the end of this block.
This machine has three normal axes (X, Y and Z) and two rotary axes that incline the spindle
carrier head.
When an emergency stop occurs, it sometimes happens that the tool remains inside the part. To
remove the tool from the part after the machine has been re-powered up, the system must offer
you the possibility to move the spindle in the tool direction.
10 Series CNC generates this move automatically, by introducing a virtual axis assigned to a name
written in AMP. The moves of this virtual axis cause linear axes to move, so that the tool moves in
the linear axes direction, i.e. in the direction indicated by the position of the rotary axes.
For the system to generate the virtual axis you must set a parameter in the data entry window
opened by the MANUAL SETUP softkey.
1. After the system has been re-powered up press MANUAL and MANUAL SETUP. The following
data entry window will appear:
2. Write [Y] in the TOOL DIRECTION field (in all other cases TOOL DIRECTION must be set to
[N]). Press [Enter] to confirm the entry. There are three possible cases:
a) The rotary axes are not referenced and the interrupt occurred during a cycle that included a
TCP instruction.
b) The rotary axes are not referenced and the interrupt occurred during a cycle that did not
include a TCP instruction.
In this case the SET ROTARY AXIS POSITION window appears but the displayed values
are not valid and the axes coordinates must be keyed in by the operator.
c) The rotary axes are referenced and the interrupt occurred during a cycle that did not include
a TCP instruction.
In this case, the SET ROTARY AXIS POSITION window does not appear because the tool
direction is the same as the rotary axes direction.
3. In cases A and B press [Enter] or the MANUAL SETUP softkey.
Now the system will generate a virtual axis that has the same direction as the tool and can be
jogged or moved with part program instructions.
NOTE:
If only one of the rotary axes is referenced, the system displays the non-referenced axis coordinate
and responds as shown in the previous section.
END OF CHAPTER
10 Series CNC handles a great number of parameters. To facilitate operation, this information is
organized in tables, which are resident in the dual port memory and can therefore be seen both by
the system software and the machine logic (PLUS). These tables remain stored in the dual port
memory after power has been removed from the system.
• Origins Table
• Tools Table
• Tool Offsets Table
• User Tables
• Tool Data Base
• Magazine (optional).
Each of these tables is described later in this chapter. The tables are managed by the Table Editor,
a utility that also allows editing of the tables stored on the hard disk. Here are some of the editing
operations available with the Table Editor:
The Tool Data Base resides in the hard disk and contains general tool information that can be used
for making graphic verifications as well as for compiling the Tool Table.
10 Series tables are described in the sections that follow. All of them can be configured and
customised by means of the User Configuration Interface. The video pages, the softkeys and the
data entry windows of this interface are described in detail in Chapter 8, to which reference should
be made.
WHAT IS A TABLE?
A table is a set of records, each of which consists of a series of fields. Records correspond to the
table lines, whereas fields correspond to the table columns. Tables provide an economical way of
visualising and accessing large amounts of information.
Because of space restrictions, the fields visualised on one table line are only part of the information
stored in that table.
For example, each record of the Tools Table corresponds to a tool whereas the visualized fields
are only part of the tool parameters handled by the table. To visualise all of the tool parameters it is
necessary to select the desired tool and them press the EDIT softkey as shown in the figure below:
Field Table
Record
Record EDIT
Fields
The rotary axes are not referenced and the interrupt occurred during a cycle that included a TCP
instructionWhen you open a table (refer to the "Opening a Table" section), the first 10 records and
the main fields defined with the Configurator will be displayed.
To enable the Table Editor press the TABLES softkey in the main menu. The main Editor screen
will appear:
Measurement unit : Mm
Data set :
Increment : 0.00000
B Selected Table :
Sort selected page :
Current process : 1
Current magazine : 1
A status line
B status window
Data set: is the selected storage area. It can be Memory (for the dual port memory)
or the name of the file that contains the table).
Increment: is the current increment defined with the SET INCR softkey for the table
environment.
Current magazine: is the number of the active tool magazine (if present).
The meaning of the softkeys available with the main editor screen is shown in the table below:
SOFTKEY FUNCTION
BACKUP MEMORY makes a backup copy on the hard disk of all the tables stored in
the dual port memory.
RESTORE MEMORY restores the backup copy of all the tables stored in the dual port
memory.
HELP displays the on line help page that corresponds to the current
data entry window or softkey menu.
TOOL allows access to the Tools Table for data entry or modification.
OFFSET allows access to the Tool Offsets Table for data entry or
modification.
USER allows access to the User Table for data entry or modification.
ORIGIN allows access to the Origins Table for data entry or modification.
SELECT PROCESS selects the process to which the origins apply. Origins tables are
process-specific. All the other tables are shared by the various
processes. In other words, each process has its own Origins
Table, which is invoked when the process is selected.
SELECT MAGAZINE selects the magazine to which the Tools Table applies (optional).
EXIT allows to quit the Table Editor and return to the main softkey
menu.
Directory Window
After selecting the Table Editor with the TABLES softkey and invoking the process with the
SELECT PROCESS softkey, any the following softkeys permit to visualise the Directory Window of
the Tools Table: BACKUP MEMORY, RESTORE MEMORY, MAGAZINE, TOOL, OFFSET,
USER, ORIGIN.
MEMORY
TOOL1 030500 15/11/93 08:35:00
TOOL2 030500 18/12/93 10:15:00
The possible choices are the tables resident in the dual port memory (visualised as MEMORY) or a
table resident in the hard disk (visualised with its name).
SOFTKEY FUNCTION
LOAD MEMORY loads the specified table from the hard disk into the dual port memory.
SAVE MEMORY saves the table resident in the dual port memory.
TOOL DATA BASE picks up data about the specified tool from the Tool Data Base (valid only
for the Tools Table during the Editing phase).
HELP visualises the on-line help page for the current data entry window or
softkey menu.
INSERT (active in the Tools Table and the Tool Data Base) permits to insert a new
tool in the Tools Table or the Tool Data Base.
EDIT opens a data entry window containing all the records in a table for editing
purposes.
DELETE cancels the selected record from the Tools Table or the Tool Data Base. In
the Tool Offsets, Users or Origins tables it sets the fields of the selected
records to zero.
FIND searches for the element specified in the first column in the table. To shift
to another type of element, press the SORT softkey.
SORT permits to arrange the columns of the selected table in a given order.
MULTI CUTTER (available only in the Tools Table and the Tool Data Base) permits to define
multicutter tools with up to 3 cutters.
ADD INCR each time this key is pressed the selected increment is added to the
current field of the visualised table.
SUB INCR each time this key is pressed the selected increment is subtracted from the
current field of the visualised table.
SOFTKEY FUNCTION
EXIT quits the current table and returns to the main Table Editor menu.
KEY FUNCTION
permits to quit the Edit mode and return to the current table without saving
the alterations. Also permits to quit the Directory window and return to the
main Editor page.
Opening a Table
To open a table use this procedure:
1. Press the TABLES softkey from the main menu. The main Table Editor video page will be
displayed.
2. Select the desired table (Tools Table, Tool Offsets Table, User Table, Origins Table) by
pressing the relevant softkey. The Directory window will appear. Select a table by moving the
selection bar with the cursor keys or key in the table name in the data entry field.
MEMORY
TOOL1 030500 15/11/93 08:35:00
TOOL2 030500 18/12/93 10:15:00
• To open a table resident in the dual port memory move the bar to MEMORY.
• To open a table resident in the hard disk select a table from the directory by moving the
selection bar with the cursor keys or key in the table name in the data entry field. If the input
table name does not exist a new table will be created.
Loading a Table
To load into the dual port memory a table that resides in the hard disk use this procedure:
1. Open the table by pressing the relevant softkey (TOOL, ORIGIN, etc.) and select MEMORY
from the directory window.
2. Press LOAD MEMORY. The directory window will be displayed.
3. Select the name of the desired table from the directory by moving the selection bar with the
cursor keys or key in the table name in the data entry field
4. Press [Enter].
5. The system prompts for confirmation that the file selected is to be loaded; if the answer is [N],
the table is not loaded. For an affirmative answer, on the other hand, the system behaves
differently depending on whether or not the magazines option is present:
• If the magazines option is missing and the answer to the prompt is [Y] the table is loaded
immediately.
• If the magazines option is present and the answer to the prompt is [Y], the data entry
window LOAD POCKETS is opened, and the table is opened after the fields of this window
are filled in:
LOAD POCKETS
Magazine on file :
The MAGAZINE ON FILE field represents the number of the active magazine, whereas LOAD
POCKETS is for selection of whether or not the pockets recorded in the file are to be loaded.
Altering a Table
To alter the contents of a table resident in the dual port memory use this procedure:
Fill in and modify the window fields with the same procedures as any other data entry window.
Then:
• Press [Enter] to confirm the input data and close the data entry window.
• Press [Esc] to close the data entry window without saving the alterations. Use this mode when
the table is opened for visualization purposes only.
To modify a table resident in the hard disk, write the table name in Step 1.
The contents of a field can be modified by applying a positive or negative increment. The
procedure is as follows:
1. To set the increment value, press the SET INCR softkey. The following data entry window will
be displayed:
If the selected record has never been invoked before, most parameters in the window are set to
zero. To alter the displayed value key in the new figures and press [Enter] to confirm them. For
further information on how to make these alterations, refer to the description of the table later in
this chapter.
The records in the Tools Table and the Tool Data Base are not numbered. They are identified by
the code assigned to the tool. This means that it is not possible to select a record from one of these
tables unless it has been previously associated to a tool.
To insert a new tool code in the Tools Table and the Tool Data Base, use this procedure:
1. Press the TABLES softkey and then press TOOL or TOOL DATA BASE to select the table.
2. Press INSERT. A data entry window will be displayed containing all the parameters handled by
the table. All of the numerical values will be 0. For details, refer to the "Tools Table" and "Tool
Data Base" sections later in this chapter.
3. Key in the desired tool code and the parameters associated to it and press [Enter]. The data
entry window will be closed and the new code will be included in the table.
1. Open the table by pressing the TABLES softkey followed by the softkey of the table to be
altered.
2. Position the selection bar on the record to be canceled.
3. Press DELETE. In the Tools Table or the Tool Data Base the record will be suppressed. In all
the other tables the parameters will be set to zero.
Saving a Table
The following procedure permits to save on the hard disk a table resident in the dual port memory:
1. Open the table by pressing the relevant softkey (TOOL, ORIGIN, etc.) and select MEMORY
from the directory window.
2. Press the SAVE MEMORY softkey. The directory data entry window will be displayed.
3. Key in a file name to create a new file or select a name from the directory window to overwrite
an old file.
4. Press [Enter].
5. If the file already exists, a request for confirmation will be displayed. Press Y to save the table
and N to abort the procedure without saving the table.
This procedure can also be used for creating in the dual port memory a new table based on an old
one.
The new file will be saved in the E:\TBL directory with the typical table extension (.TOL, .OFS,
.USR, .ORG). From this directory it can be copied to a floppy disk with DOS SHELL.
Printing a Table
When a printer is connected to the control CPU it is possible to print the table.
NOTE:
This feature is available only when the table is open.
PRINT TABLE
4. Key in the name of the printing device: LPT1, LPT2, LPT3 or PRN.
5. Press [Enter].
NOTE:
The SORT option is available only if the table is open.
1. Press the SORT softkey. The following data entry window will be displayed (the example refers
to the Tool Table):
SORT CRITERIA
NOTE:
This option is available only if the table is open.
Search element :
2. Press [Enter].
Press METRIC/INCHES to automatically convert all the parameters into the alternative measuring
unit. The current measuring system is displayed on the status window.
Table Backup
All the tables resident in the dual port memory, i.e. Origins, Tools, Tool Offsets, User, Tool Data
Base and Magazine, can be backed up on the hard disk.
1. Press BACKUP MEMORY. The system displays the directory window with the existing backup
copies.
2. The backup copy can overwrite an old file or be saved under a new name:
• To overwrite an old backup copy, select the old name from the directory window. A prompt
for confirmation will be displayed. Press [Y] to overwrite the old backup copy or [N] to abort
the procedure without making the backup copy.
• To make a new backup copy key in the new name in the data entry window. In this case no
confirmation prompts are displayed.
3. Press [Enter].
The backup copy can be used for tool management. For example, to tables stored in the dual port
memory can be duplicated on the hard disk, modified and saved with a different name. This
permits to have two different tool management routines on the same support.
Backup files are saved in the E:\TBL directory with the .IMA extension. From this directory they can
be copied into a diskette by means of the DOS SHELL.
Restoring Tables
The following procedure permits to recopy into the dual port memory a backup file resident in the
hard disk:
1. Press the RESTORE MEMORY softkey. The system displays the directory window listing all the
backup copies..
2. Position the selection bar on the desired backup copy.
3. Press [Enter].
4. The system displays a confirmation prompt. Press [Y] to restore the copy or [N] to abort the
procedure.
When a backup file is restored the tables currently residing in the dual
WARNING
port memory will be lost.
IMPORTANT
With this editor it is not possible to delete tables on disk.
This operation may be executed with the "Reset Tables" utility described
in the "AMP software characterization" manual.
ORIGINS TABLE
The Origins Table is exclusive of each process, whereas the remaining tables are common to all
the processes. For each configured process it is possible to define up to 10 origins.
To enable an origin from the part program write the UAO code followed by the number of the origin
associated to that process. To disable an origin write the UAO code followed by 0. When you open
the Origins Table (refer to the "Opening a Table" section in this chapter), the system visualises the
following page:
Measurement unit : Mm
Data set : MEMORY
Increment : 0.00000
Selected Table : ORIGIN
Sort selected page : 1 of 1
Current process : 1
Current magazine : 1
The highlighting bar is on the first origin, which displays the values of five different axes. To alter
the coordinates of the axes that define an origin, select the origin with the bar and press the EDIT
softkey. The system will open the following data entry window (see the "Modifying a Table" section
in this chapter):
Measurement unit : Mm
Axis X Origin value : 118.32000 Data set : MEMORY
Axis Y Origin value : 093.67000 Increment : 0.00000
Axis Z Origin value : 037.90000 Selected Table : ORIGIN
Sort selected page : 1 of 1
Current process : 1
Current magazine : 1
The data entry window visualises the origins that are associated to the axes defined for the
selected process.
TOOLS TABLE
The Tools Table provides information about the tools mounted on the spindle, such as tool
position, tool offset, etc.
A tools table can define up to 250 tools, which is also the maximum number of tools controlled by
the system.
When you open a Tools Table (refer to the "Opening a Table" section in this chapter) the following
screen is displayed:
Measurement unit : Mm
Data set : MEMORY
Increment : 0.00000
Selected Table : TOOL
Sort selected page : 1 of 1
Current process : 1
Current magazine : 1
The selection bar is on the first table record. The table columns display only some of the tool
parameters. To alter all the tool parameters, select the tool with the bar and press the EDIT
softkey. The complete set of tool parameters will be displayed as follows:
Tool code is a 12 digit without sign that identifies the tool. Some of the digits may be
used for identifying the tool family.
Tool pocket is a number between 1 and 255 that identifies the tool position in the
magazine. 0 indicates that the tool is not in the magazine. If the
magazine option is present, the system performs a series of verifications
on this parameter (refer to the documentation of the magazine option). If
the magazine is not present no verifications will be made.
Random class is a number that specifies the class of the tool in the magazine, i.e.
whether it occupies a random or a non-random position, and the number
of magazine positions occupied by the tool, i.e. 1, 2 or 3. Allowed values
are as follows:
For more information about the magazine option refer to the specific
documentation.
Life type is a number that specifies the unit of measure applied to the tool life. It
can be:
Tool status is a number that specifies the current tool status. It can be:
Tool position is a number that specifies the current tool position. It can be:
Initial life is a number with 5.5 format that specifies the initial tool life. It may be
expressed in meters, feet, minutes or cycles, depending on the setting of
the Life type parameter. If the tool life is not controlled, this parameter
must be set to 0.
Actual life is a number with 5.5 format that specifies the current tool life. It may be
expressed in meters, feet, minutes or cycles, depending on the setting of
the Life type parameter. This value is decremented by the Tool Magazine
option while the tool is used in a machining cycle. When it is 0 the tool is
considered out of life (value 3 of the Tool status field).
Offset number is the number of the record associated to the tool, which corresponds to a
record in the relevant table. It is an integer between 1 and 300. If it is set
to 0 the tool is not associated to any offset.
Max requalif length 1 is the maximum value for the Curr. requalif. length 1 parameter. It is 0
when this limit does not exist.
Curr. requalif. length 1 is the current requalification value applied to the Length 1 parameter. The
sum of both values is the current tool length.
Length 2 has the same meaning as the Length 1 parameter but is applied to
another axis. It is normally not used in milling machines and machining
centers, but may be necessary in lathes, where tool variation affects two
axes, typically X and Z.
Max requalif length 2 has the same meaning as Max requalif length 1 but is applied to the
second axis.
Curr. requalif. length 2 has the same meaning as Curr. requalif length 1 but is applied to the
second axis.
Diameter is the nominal value of the tool diameter . It requires that a tool
Orientation value is defined.
Orientation is the orientation of the tool tip with respect to the interpolation plane. It
can be a number from 0 to 8 as shown in the figure below:
For milling machines the allowed value is 0. For lathes and grinding
machines values range from 1 to 8.
IMPORTANT
If a tool offset is altered in the Tools Table, it will be also automatically
updated in the Tool Offsets Table.
• when the tool coordinates defined before actually mounting the tool on the machine must be
altered to suit variations or fixture changes.
• when the tool has worn out or has been sharpened.
The Tool Offsets Table includes all the parameters (length, diameter, etc.) of the tools mounted on
the machine. Each Tool Offsets Table has 300 offsets, which can be associated to the tools is
various ways.
When you open a Tools Table (refer to the "Opening a Table" section in this chapter), the following
screen is displayed:
Measurement unit : Mm
Data set : MEMORY
Increment : 0.00000
Selected Table : OFFSET
Sort selected page : 1 of 30
Current process : 1
Current magazine : 1
The selection bar is positioned on the first record. The columns of the table visualise the current
lengths (nominal length + current requalification). To alter a tool offset parameter, select it with the
bar and press the EDIT softkey. All the parameters managed by the table will be displayed.
Measurement unit : Mm
Length 1 : 18.50000 Data set : MEMORY
Max requalif length 1 : 15.00000 Increment : 0.00000
Curr requalif length 1 : 7.50000 Selected Table : OFFSET
Length 2 : 33.65000 Sort selected page : 1 of 30
Max requalif length 2 : 10.00000 Current process : 1
Curr requalif length 2 : 2.35000 Current magazine : 1
Diameter : 18.00000
Curr requalif diameter : 12.00000
Orientation : 0 Curr. length 2 Curr Diameter Orient
Max requalif length 1 is the maximum limit for the offset specified by the Curr. requalif. length 1
parameter. If it is set to 0 no limit exists.
Curr. requalif. length 1 is the current requalification value applied to the nominal Length 1
parameter. The result of this sum is the current tool length.
Length 2 has the same meaning as Length 1, but is applied to another axis. It is
not normally used for mills and machining centers but applies to lathes, in
which the tool variation affects two axes (typically X and Z).
Max requalif length 2 has the same meaning as Max requalif length 1 but applies to the second
axis.
Curr. requalif. length 2 has the same meaning as Curr. requalif length 1 but applies to the
second axis.
Diameter is the nominal value of the tool diameter. It must be used in association
with the tool orientation.
Curr requalif diameter is added to the nominal value specified by the Diameter parameter.
Orientation is the orientation of the tool tip with respect to the interpolation plane. It
can vary from 0 to 8 as shown in the figure below:
Values from 1 to 8 are used for lathes and grinding machines. For milling
machines the value is always 0.
Each tool must have its own tool offset but the same offset may be apllied to different tools.
The parameter that links a given offset to a tool is the Offset number in the Tools Table. This
parameter specifies the number of the Offsets Table record in which the offset is stored. For
example, if 114 is the Offset number that corresponds to tool code 145, it means that the length or
diameter of tool 145 will vary according to the contents of record 114.
IMPORTANT
If the parameters stored in the Tool Offsets Table are modified, the new
offset values will be automatically updated in the records of the Tools Table
that are associated to the modified tools.
The TOOL DATA BASE can be used for storing the parameters that describe the tools mounted on
the shop magazine. These parameters can be transfered to the Tools Table when the tools are
used in a given machining cycle. For more information about this topic, refer to the 'Tool Magazine'
documentation.
When the TOOL DATA BASE softkey is pressed, the following screen appears:
Measurement unit : Mm
Data set : TOOLDBASE
Increment : 0.00000
Selected Table : DATABASE
Sort selected page : 1 of 1
Current process : 1
Current magazine : 1
The selection bar is positioned on the first record. The columns of the table visualise the most
important parameters. To alter a family of tools select it with the bar and press the EDIT softkey. To
create a new family of tools press the INSERT softkey. All the parameters will be displayed in a
specific data entry window (refer to the "Modifying a Table" section in this chapter).
Measurement unit : Mm
Tool code : 1 Data set : TOOLDBASE
Random class : 1 Increment : 0.00000
Life type : 3 Selected Table : DATABASE
Initial life : 10.00000 Sort selected page : 1 of 1
User variable 1 : 0.00000 Current process : 1
User variable 2 : 0.00000 Current magazine : 1
User variable 3 : 0.00000
User variable 4 : 0.00000
Length 1 : 36.00000 Length 1 Length 2 Diameter
Length 2 : 54.00000
Diameter : 10.00000 36.00000 54.00000 10.00000
Graphic class : 3 24.00000 9.00000 25.00000
Description : Tool 01 26.00000 45.00000 32.00000
57.00000 25.00000 18.00000
32.00000 12.00000 27.00000
Tool code is a 12 digit without sign that identifies the tool. Some of the digits may be
used for identifying the tool family.
Random class is a number that specifies the class of the tool in the magazine, i.e.
whether it occupies a random or a non-random position, and the number
of magazine positions occupied by the tool, i.e. 1, 2 or 3. Allowed values
are as follows:
0 tool not in the magazine
1 tool occupying 1 non-random position
2 tool occupying 2 non-random positions (the one defined by the tool
pocket field and the preceding one)
3 tool occupying 2 non-random positions (the one defined by the tool
pocket field and the subsequent one)
4 tool occupying 3 non-random positions (the one defined by the tool
pocket field plus the subsequent and the preceding ones)
5 tool occupying only one random position
6 tool occupying 2 random positions (the one defined by the tool pocket
field and the preceding one)
7 tool occupying 2 random positions (the one defined by the tool pocket
field and the subsequent one)
8 tool occupying 3 random positions (the one defined by the tool pocket
field plus the subsequent and the preceding ones)
NOTE:
For further details, see the magazine option documentation.
Life type is a number that specifies the unit of measure applied to the tool life. It
can be:
0 tool life disabled
1 tool life measured in meters/feet
2 tool life measured in minutes
3 tool life measured in cycles
Initial life is a number with 5.5 format that specifies the initial tool life. It may be
expressed in meters, feet, minutes or cycles, depending on the setting of
the Life type parameter. If the tool life is not controlled, this parameter
must be set to 0.
Length 2 has the same meaning as the Length 1 parameter but is applied to
another axis. It is normally not used in milling machines and machining
centers, but may be necessary in lathes, where tool variation affects two
axes, typically X and Z.
Diameter is the nominal value of the tool diameter and is normally used in milling
machines and machining centers rather than in lathes. It requires that a
tool Orientation value is defined.
Graphic class specifies the tool graphic class for the Graphic Verification option.
The allowed values are:
0 no graphic class
1 Slot/End milling
2 Drilling
3 Spot drilling
4 Boring bar
5 Facing
6 Dovetail
7 Concave milling
8 Probing
9 Convex milling
IMPORTANT
When the part program Graphic Verification option is not present, the
SHAPE softkey is not enabled.
MAGAZINE TABLE
The Magazine Table is similar to the Tools and Tool Data Base tables. Most of its parameters are
also common to the other two. For more information about the parameters that are specific of the
Magazine Table, refer to the documentation of the Magazine option.
USER TABLE
The User Table is made up of 100 application-specific records, each of which has 4 use variables.
When you open a User Table (refer to the "Opening a Table" section in this chapter), the following
page appears:
Measurement unit : Mm
Data set : MEMORY
Increment : 0.00000
Selected Table : USER
Sort selected page : 1 of 10
Current process : 1
Current magazine : 1
The selection bar is positioned on the first record, which corresponds to the first set of user
variables. To alter the value of a variable, select the record with the bar and press the EDIT
softkey. Variables are displayed in a dedicated window. For more information about them, refer to
the Programming Manual.
NOTE:
The contents of the User Table can be easily customised. While in most tables it is possible to
change the softkeys, the help messages and the sequence in which fields are displayed and/or
printed, in the User Table it is also possible to reconfigure the table layout, size, variable format
and structure, number of pages, etc. For the details, see Chapter 8.
Measurement unit : Mm
Variable 1 : 26.00000 Data set : MEMORY
Variable 2 : 89.00000 Increment : 0.00000
Variable 3 : 13.00000 Selected Table : USER
Variable 4 : 0.00000 Sort selected page : 1 of 10
Current process : 1
Current magazine : 1
END OF CHAPTER
GENERAL
The Table Editor described in chapter 7 can be customised to suit various application
requirements. Although personalisation is typically carried out during system installation, it can be
altered at any one moment.
Alterations to the Table Editor must be carried out by qualified personnel that is well acquainted
with both the system features and the impact of these changes upon the system.
This chapter describes the procedures for configuring and customising the video screens, the
softkeys and the data entry windows managed by the Table Editor.
• Tools table
• Tool Offsets table
• User table
• Origins table
• Magazines table
• Tool Data Base table
In addition, the configurator permits to set up a series of axis parameters for the version released
with offline applications (execution on PC).
CONFIGURATOR SCREENS
The Table Editor configurator has two video pages: a main screen and a configuration screen.
Each of them has its own set of softkeys.
The main screen consists of a set of softkeys, whereas the configuration screen varies with the
type of table to be edited or the function to be performed.
To access the configuration environment it is necessary to press the TABLE softkey from the
Table Editor main menu.
In the sections that follow it has been assumed that the system is displaying the above screen.
Configurator screen
To enable any configuration environment press the relevant softkey: TOOL CFG, OFFSET CFG,
USER CFG, ORIGIN CFG, DATA BASE CFG or MAGAZINE CFG. The system will display the
Configurator screen:
The window displayed in the data area of the screen varies according to the selected table. The
above table, for example, is a User Table. Data entry windows in the Table Configurator are similar
to those displayed in the Table Editor environment but display different parameters. For example,
the User Table in the Table Editor displays only a column of variables (Variables 1 through 4) with
the relevant numerical parameter, whereas the User Table in the Table Configurator displays the
PLUS name of the variable (first column) and the format (D for double) but not the value.
The sections that follow show each of the tables as they appear in the Table Configurator
environment. To see how the same table is displayed in the Table Editor environment refer to
Chapter 9 of this manual.
Tools Table
Origins Table
Magazine Table
As we have explained before, most of the paremeters displayed in these data entry windows are
the same as in the relevant Table Editor windows. Additional information provided by the
configurator tables includes the name by which a variable or field is known in the PLUS
environment (most left column) and the variable format.
SOFTKEYS
SOFTKEY FUNCTION
LOAD Permits to load the configuration file. Opens a data entry window for
writing data associated to this file.
SAVE Permits to save a configuration file. Opens a data entry window for
writing data associated to this file.
MAGAZINE CFG Permits to open a submenu with the softkeys that configure the
Magazine Table.
HELP Visualises an on-line help page related to the active data entry
window or to the general menu of the active video page.
TOOL CFG Visualises a video screen with the softkeys for parameter setting and
the data entry window with the current Tools Table configuration.
OFFSET CFG Visualises a video screen with the softkeys for parameter setting and
the data entry window with the current Tool Offsets Table
configuration.
USER CFG Visualises a video screen with the softkeys for parameter setting and
the data entry window with the current User Table configuration.
ORIGIN CFG Visualises a video screen with the softkeys for parameter setting and
the data entry window with the current Origins Table configuration.
DATA BASE CFG Visualises a video screen with the softkeys for parameter setting and
the data entry window with the current Tools Data Base Table
configuration.
AXIS CFG Permits to set up axes parameters for the version released with the
OFFLINE application that can be executed on a PC. In 10 Series
systems the configuration is enabled with the data read by the
control and this softkey is disabled. When you press this softkey on
the PC the screen visualises a data entry window for writing the
relevant data.
TOOL 2CFG Used for modifying the additional tool table.
RESET CONFIG Restores the default configuration. Opens a data entry window for
confirming the RESET function.
EXIT Permits to exit from the Configurator environment. A data entry
window is displayed for the operator to confirm whether or not the
altered configuration must be saved.
SOFTKEY FUNCTION
PRINT CFG Permits to configure the printing grid and position the printing fields.
Displays all the fields included in the current table highlighting those
that are printable at that moment. Also displays the current printer
configuration.
DB UNLINK This softkey is active only when the Tools Table is linked to the Tools
Data Base Table. It permits to unlink a Tools Table field from the
Tools Data Base Table. Before pressing the DB UNLINK softkey
position the cursor on the desired Tools Table field. As you press DB
UNLINK the system visualises a Data Base Table in which the
ACTUAL LINK section specifies the linked field. To confirm the
selection press [Enter] or re-press DB UNLINK.
DB LINK This softkey is active only when the Tools Table is linked to the Tools
Data Base Table. It permits to link a Tools Table field to a field in the
Tools Data Base Table. Before pressing the DB LINK softkey
position the cursor on the desired Tools Table field. Then press DB
LINK and move the cursor to the desired Data Base Table field. To
confirm the link press [Enter] or re-press DB LINK.
HELP Displays an on-line help page associated to the current data entry
window, menu or video page. While the help page is active, printing
configuration and sorting are not allowed, and no data can be written
in the data entry windows.
REMOVE Permits to remove a field from the printing and sorting layout.
Position the cursor on the field with the arrow keys and press
[Return] or [Enter] to remove it.
FIELD CFG Permits to configure the fields of the selected table. Before pressing
FIELD CFG position the cursor on the desired field. This opens a
data entry window that lists all the configurable field parameters.
HELP CFG Permits to define the help messages associated to the selected field.
Before pressing HELP CFG position the cursor on the desired field.
This opens a data entry window in which the message can be written.
SOFT KEY CFG Permits to alter the label of the softkey associated to the selected
table. If the label field is left empty, the relevant softkey will not
appear in the Table Editor menu. When you press SOFT KEY CFG
the system opens a data entry window for writing the label name.
SOFTKEY FUNCTION
INSERT Permits to insert a new field or move an existing field in the printing
configuration or the table layout.
By moving the cursor with the arrow keys it is possible to visualise
the position of each field in the layout. Press [Enter] or [Return] to
confirm the field to be inserted, which will be highlighted in yellow in
the menu window.
Use the arrow keys to move the field to the desired position and
press [Enter] or [Return] to confirm it. The inserted field will be
highlighted in white.
SORT CFG Permits to define the sorting number (max 6) and the relevant label.
When this softkey is pressed the screen displays a data entry window
for writing the parameters that will be configured with the SORT EDIT
softkey. The maximum sorting number for all of the tables is 15.
SORT EDIT Permits to configure the parameters that have been previously
selected with SORT CFG. All the fields handled by the selected table
are displayed in the screen; the sorted fields and the column headers
will be highlighted in white.
Before pressing this softkey, press SORT CFG and select the
desired sorting number.
EXIT Closes the configurator screen and returns to the main configurator
menu.
Press the LOAD softkey in the main menu. The system visualises two windows: one lists the
configuration files stored in the system memory; the other can be used for writing the name of the
desired configuration file.
Size is the size of the configuration file. It is a fixed value (47026 bytes).
To load a configuration stored in the system hard disk, select the file name with the [Up/Down
Arrows] on the most left window or key in the file name in the Enter filename: field of the LOAD
CONFIGURATION data entry window.
Press [Enter] or the LOAD softkey to load the file or [Esc] to abort the operation. In the first case
the system will prompt the operator for confirmation.
SAVING A CONFIGURATION
To save an altered or a new configuration press the SAVE softkey in the main menu.
When you press SAVE the system opens a data entry window that lists the configuration file stored
in the system:
To save a configuration stored in the system hard disk, select the file name with the [Up/Down
Arrow keys] on the most left window or key in the file name in the Enter filename: field of the
SAVE CONFIGURATION data entry window.
Press [Enter] or the SAVE softkey to save the file or [Esc] to abort the operation. In the first case
the system will prompt the operator for confirmation.
The RESET CONFIG permits to restore the default Table Editor configuration. When you press
RESET CONFIG on the main menu the following data entry window appears:
RESET CONFIGURATION
Key in [Y] and press [Enter] or RESET CONFIG to restore the default Table Editor.
IMPORTANT In order not to lose the current configuration, make sure you save it before
restoring the default one.
AXES CONFIGURATION
If the Table Editor is installed in a PC under an offline application and not on the 10 Series system,
certain axes and process parameters can be configured on the PC.
On the 10 Series Configurator parameters are loaded directly by the system and the AXIS CFG
softkey is not available.
To configure the axes press AXIS CFG from the main menu. The following data entry window will
appear:
AXIS CONFIGURATION
Process : x Type : x
Axis/Type
Process: This field is used for writing the process name. The system can support as many
as twenty-four simultaneous processes. To configure them you can browse
through the relevant data entry windows with [PgUp] and [PgDn].
0 undefined
1 milling
2 turning
3 grinding.
Axis/Type: These columns make it possible to define the axis name and type. Allowed values
are as follows:
N Normal
R Rotary
S Spindle
CONFIGURING A TABLE
The procedure for table configuration is similar for all the tables managed by the system except for
the Tools Table, in which the TOOL CFG softkey opens the following data entry window:
TABLE MANAGEMENT
This window prompts the operator to define which tables or functions are to be accessed. If the
answer is [N] the relevant softkey will be disabled from the Table Editor. For example, if you write
an [N] in the Magazine access field, the Tool Magazine will not be linked to the Tools Table and
the SELECT MAGAZINE softkey will be inactive (black).
Database access: From the Tools Table it is possible to access the Tools Data Base Table
for loading preconfigured tool types.
PLUS compatibility, Magazine access and Multicut management affect the position of the fields
and the relevant PLUS addresses in the internal Tools Table, as shown in the figure below:
Field bits
N° Form 63 47 31 15 Symbolic Name
48 32 16 0
1 (T) Tool code TCODE
2 (S) Magaz/pocket TOOLPOS
3 (S) Random class TFAMCOL
4 (S) Life type/rand. TOOLTYPE
5 (S) Tool status TSTATUS
6 (S) Tool position TCNTRL
7 (D) Initial life MAXLIFE
8 (D) Actual life REMLIFE
9 (D) User variable 1 TUSER1
10 (D) User variable 2 TUSER2
11 (D) User variable 3 TUSER3
12 (D) User variable 4 TUSER4
13 (S) Offset number TOLOFNR
In particular, the fields affected by these parameters are 2 (POCKET), 3 (TFAMCOL), 4 (TCLASS)
and 6 (TCNTRL). In standard mode, PLUS accesses these fields as illustrated in the figure below,
which shows each bit in the field:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
2 Tool
pos.
Magazine N° Pocket N° TOOLPOS
3 TFAMCOL
4 Life type Random class TOOLTYPE
If you write PLUS compatibility [Y] the fields will be addressed as indicated in the table regardless
of the settings for Magazine access and Multicut management. The same addressing mode can be
obtained with PLUS compatibility [N] and Magazine access [Y].
If PLUS compatibility is [N] and Magazine access is [N], the access mode depends on how
Multicut management is set:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
2 Pocket TOOLPOS
3 TFAMCOL
4 Life type Random class TOOLTYPE
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
2 Pocket TOOLPOS
3 Random class TFAMCOL
4 Life type TOOLTYPE
Key in [Y] or [N] in the Table Management data entry window and press TOOL CFG or [Enter]
for confirmation.
As for the remaining tables, the configuration softkey permits direct access to the above described
configuration screen. In this screen it is possible to alter the description of a variable by simply
positioning the cursor on the desired variable with the arrow keys, deleting the existing text and
writing the new description.
IMPORTANT TABLE MANAGEMENT assignments are significant only if they are made
during the initial configuration stage.
If previously configured table files are used, and the TABLE MANAGEMENT
fields are subsequently assigned values that are different from the original
ones, visualised or printed table data may acquire a different meaning. For
example, if Magazine access is set to [N] and tables for various magazines
are prepared, the tools in those magazines will be concentrated under a
single item, i.e. the notion of magazine will be lost.
Configuring fields
Each table field may be personalised with a series of parameters that vary according to the field
type (double or other). These parameters are listed in two different data entry windows, one for
each field type, that are displayed when FIELD CFG is pressed.
1. With the main video screen on display press the desired table configuration softkey: TOOL
CFG, OFFSET CFG, USER CFG, MAGAZINE CFG, ORIGIN CFG or DATABASE CFG. If
TOOL CFG is selected, press it again to confirm the links.
2. Press the FIELD CFG softkey. Depending on the type of field, one of the following data entry
windows will be displayed:
Double fields
Double fields are marked with a (D) in the data entry window:
Enable (Y/N) :
Input field (Y/N) :
Metric/Inch (Y/N) :
Set Incr (Y/N) :
Conversion (Y/N) :
Signed (Y/N) :
Integers :
Decimals :
Min Value :
Max Value :
Enable (Y/N) :
Input field (Y/N) :
Conversion (Y/N) :
Signed (Y/N) :
Length :
Min Value :
Max Value :
Set incr (Y/N): Permits to enable or disable the field increment/decrement function.
With [Y] the value written in the table field will be incremented or
decremented by a given amount each time the ADD INCR or SUB INCR
softkeys are pressed. With [N] these two softkeys do not affect the value
written in the field.
Conversion (Y/N): The meaning of this field depends on the format. In addition, it is
significant only for the fields listed in the tables below:
Short fields:
Defines whether mnemonic or numerical information will be displayed or
printed.
For example, if the Random field has been set to 1, it may be displayed/
printed mnemonically as FIXED or numerically as 1.
The table that follows lists the mnemonic information that will be
displayed/printed in each parameter according to the numerical value.
For more information about this topic refer to the Tool Management
Option Manual.
Double fields:
Defines the type of displayed or printed value for tool lengths and
diameters, as shown in the table below:
Signed [Y/N]: Specifies whether or not the field must include the sign.
Integers: Defines the number of integer digits to be written in the field value.
Decimals: Defines the number of decimal digits to be written in the field value.
If the number of decimals is less than the configured value, the remaining
IMPORTANT decimals can be used for accomodating integers as long as the total number
of digits remains constant.
For example, if the configured format is 5.5, the following formats are also
legal: 6.4, 7.3, 8.2, 9.1 or 10.0. On the contrary, formats like 4.6, etc. are
illegal.
For example, if the system has been set for 5 integers and 5 decimals, and
only 3 decimals are configured in this environment, the exceeding decimals
are lost and the system accuracy can be affected. In the opposite case no
problems occur.
Length: Defines the field length in number of digits. It does not apply to double
fields.
Min Value: Specifies the minimal value that can be written in a field without
generating an error. This value must conform to the format defined with
the Integers and Decimals fields.
Max Value: Specifies the maximum value that can be written in a field without
generating an error. This value must conform to the format defined with
the Integers and Decimals fields.
The procedure that follows describes how to select the fields that can be imported to the Tools
Table. Linked fields are marked by a >> to the right of the format (C, S, D, T). For further
information on how to import data refer to Chapter 9, "Tool Management".
Field links can be established only between the Tools and Tools Data Base Tables. To enable a
link, enter [Y] in the Database access field of the TABLE MANAGEMENT data entry window. Then
follow these steps:
4. With the arrow keys select the Tools Data Base fields to be linked to the Tools Table and press
[Enter] or DB LINK to establish the link.
NOTE:
Linkable fields must have the same format: short (S), double (D), etc. Unless User variable fields
are used, it is recommended to establish a link between fields bearing the same name.
1. Press the TOOL CFG twice to display the Tools Table screen.
2. Select the fields to be unlinked from the window that lists all the fields in the Tools Data Base
Table. Linked fields are marked with a ">>" to the right of the field format. In addition, when a
field is selected, the name of the linked field or "none" are displayed in the ACTUAL LINK
window to indicate whether or not a link exists.
The type of data to be displayed on a table must be selected directly in the Table Editor (refer to
Chapter 7). The Configurator permits to establish the type of parameter that appears in each
column and the sequence in which columns are displayed.
To modify or define a display sequence it is necessary to use the SORT CFG and SORT EDIT
softkeys in the following procedure:
SORT CONFIGURATION
4. To modify the items in a sorting criteria, select it with the arrow keys and edit the text. To define
a new criteria move the cursor to one of the free fields and key in the new text. To delete a
sorting criteria select it with the arrow keys and cancel the text.
5. To modify or add sorting criteria press the SORT EDIT softkey. The following screen will be
displayed:
The upper window lists all the fields available in the selected table highlighting the active ones.
The lower window is divided into two lines: the upper line displays the field headers and the lower
line displays the current field settings.
MODIFY
Tool code Poket Status Position Offset Record
xxxxxxxx xxxx +xxxxxx +xxxxxx xxxxxx xxxxxx
To alter the name of a table header position the cursor on the relevant field. The alteration may be
made in insert (INSERT) or overwrite (MODIFY) mode. To switch between INSERT and MODIFY
press [Ins.] To delete a text press [Delete] or [Backspace].
IMPORTANT Since there is no predefined link between headers and data, the user must
check that parameters are displayed in the table under the correct header.
NOTES:
Each sorting criteria must include at least two fields. The table will be arranged starting from the
most left field in the data area.
To substitute a field for another it is necessary to first delete the existing field with the REMOVE
procedure and then add the new one with the INSERT procedure.
After making all the necessary alterations press SORT EDIT again to return to the screen that
originally displayed with the SORT CFG softkey. To exit from this screen press the SORT CFG
softkey again or press [Enter].
MODIFY
Tool code Start life Curr.Lght 1 Curr.Lght 1 Variable 1 Pocket Random
record Actual life Max requal.1 Max requal.1 Variable 2 offset Status
Diameter Curr.requal.1 Curr.requal.1 Variable 3 Posit. Type
Requal diam. Orientation Variable 4
↑ HEADER ↑ ↓ BODY ↓
The upper window lists the fields available with the selected table and highlights the printable ones.
The lower window is split in two areas separated by the HEADER/BODY line: the header area and
the data area. This window lists the current printing configuration, with the headers and the
parameters that will be printed on each page.
The header area is made up of four lines. It displays the headers printed on top of each page,
which identify the parameters printed on the page body.
To alter the header of a column position the cursor on the header and select the writing mode,
INSERT or MODIFY (overwrite). To toggle between both modes press [Ins]. To cancel a portion of
text press [Delete] or [Backspace].
The data area of the lower window displays the values of the field selected and positioned by the
user.
IMPORTANT The following ASCII characters are not allowed in header names:
IMPORTANT Since there is no predefined link between headers and data, the user must
check that parameters are printed in the table under the correct header.
To move the cursor between the HEADER and BODY areas use [PgDn] and [PgUp].
To substitute a field for another it is necessary to first delete the existing field with the REMOVE
procedure and then add the new one with the INSERT procedure.
After making all the necessary alterations press PRINT CFG to return to the configuration screen.
CONFIGURING HELP
The Table Configurator permits to customise the help messages associated to each table field.
The customised message can be added to the standard field description or be overwritten and
replace it altogether.
1. Press the configuration softkey to open the data entry window of the desired table, move the
cursor to the field whose help must be edited and press HELP CFG. The following data entry
window will appear:
(FIELD NAME)
2. Key in the new help message and press HELP CFG again to return to the table configuration
screen.
CONFIGURING SOFTKEYS
With the Table Configurator it is possible to alter the labels of the softkeys displayed with the Editor
tables. For example, to rename the TOOL softkey from the Tools Table follow these steps:
1. With the main configuration screen displayed press the TOOL CFG softkey twice. The tools
data entry window will be displayed.
2. Press SOFT KEY CFG. The following data entry window will be displayed:
EXTRA CONFIGURATION
3. The cursor is positioned on the first character. The new label may be overwritten on the old one.
4. After making all the necessary alterations, press [Enter] or re-press SOFT KEY CFG to
confirm them and return to the configurator screen.
After completing or altering the configuration, press the EXIT softkey. The following data entry
window will be displayed:
EXIT
Press [Y] to confirm the alterations. The system will display a series of messages that show the
update in progress. When the update is completed the system returns to the initial Configurator
screen.
Press [N] to return to the initial Configurator screen without saving the new configuration.
Standard with 10 Series controls is a dedicated utility that permits to handle User Tables with
higher customisation levels than the ordinary Table Editor.
To access this environment press the USER TABLE softkey in the Table Editor.
If user tables have already been configured, when you press USER TABLE the first user table will
be displayed. Otherwise, the video data area will be void. The layout of the first user table is shown
in the figure below:
Field 1 : xxxxx.xxxxx
Field 2 : xxxxx.xxxxx
WINDOW RESERVED FOR
Field 3 : xxxxx.xxxxx
HELP MESSAGES
Field 4 : xxxxx.xxxxx
Field 5 : xxxxx.xxxxx
Field 6 : xxxxx.xxxxx
This screen consists of 14 fields and an area dedicated to context-sensitive help. The screen
layout permits to display the Help message associated to a field without covering the remaining
fields. To display the Help message for a given field select the field and press the HELP softkey.
SOFTKEY FUNCTION
SETUP Enables another screen with a submenu of softkeys that permit to configure the
tables, fields, softkeys, and help messages described later in this section.
LOAD MEMORY Permits to load the contents of a User Table from a file. It operates like the
equivalent softkey described in the general User Table environment.
NOTE:
With this softkey it is possible to load the contents of the active table and not
those of all the tables.
SAVE MEMORY Permits to save the contents of a User Table in a file. It operates like the
equivalent softkey described in the general User Table environment.
NOTE:
With this softkey it is possible to save the contents of the active table and not
those of all the tables..
PRINT Permits to print the contents of a User Table from a file. It operates like the
equivalent softkey described in the general User Table environment.
HELP Permits to open the context-sensitive help window associated to the selected
field, data entry window or softkey.
TABLE X SFK These eight softkeys can be customised. They permit to open the User Tables
(max. 8) in which user data can be organised.
When you press a softkey other than the one associated to the currently
displayed table, the system closes the table confirming all the parameter
modifications and opens the table associated to the pressed softkey.
EXIT Closes the current table confirming all the modifications and returns to the video
that occupied the screen before USER TABLE was pressed.
If no user table has been configured, when you press USER TABLE the system will display an
empty screen and only SETUP and EXIT will be active.
The [UP/Down arrows] [Left/Right Arrows] keys permit to move the cursor
inside an field or from field to field.
The [Return] key permits to move the cursor from one field to the next inside the
displayed table.
The [Enter] permits to confirm the modifications made to the current data enry
window. If a table is made of several pages, [Enter] permits to move from one
page to the next. An alternative method for displaying the next page is re-pressing
the softkey associated to the table.
[PgUp] and [PgDn] permits to move from page to page within the current table.
Since a screen can display as many as 14 fields, the table data will be subdivided
and arranged in various pages.
When you press the SETUP softkey, a screen similar to the one on the following page appears.
This page is a new softkey menu and lists the eight possible user tables configurable with this
utility. In fact, whereas in the normal Table Editor (see Chapter 7), the 400 user variables were
located in a single table divided into 4 groups with 100 records, with this configurator they may be
divided into a maximum of eight tables, access to which is provided by the softkeys seen above.
Significance of the columns of the table on this page is illustrated in the drawing following the
figure. Further details on the information contained in this list will provided later.
HELP MESSAGES
Table Softkey ID Start End
SOFTKEY FUNCTION
LOAD Permits to load a User Table configuration. It operates like the equivalent
softkey available with the Table Editor.
SAVE Permits to save a User Table configuration. It operates like the equivalent
softkey available with the Table Editor.
EDIT Permits to edit the table selected from the visualised directory. It opens a data
entry window for the operator to key in the softkey label and the indexes of the
first and last variable in that table.
DELETE Deletes the selected table from the configuration. When you press this softkey a
request for confirmation is displayed.
TABLE CONFIG Permits to configure the fields of the selected table by modifying the default
values. When you press this softkey the system displays a video screen (similar
to the one displayed by the USER TABLE softkey and reproduced earlier in this
section) whose fields can be selected and edited. In this environment the FIELD
CONFIG and HELP CONFIG softkeys are active.
FIELD CONFIG This softkey is active only in conjunction with the data entry window displayed
with the TABLE CONFIG softkey. Before pressing FIELD CONFIG it is
necessary to select the field to be configured. In turn, FIELD CONFIG opens
another data entry window for the operator to define the characteristics of the
field to be configured.
HELP CONFIG This softkey is active only in conjunction with the data entry window displayed
with the TABLE CONFIG softkey. Before pressing HELP CONFIG it is
necessary to select the field to be associated to the help message. In turn,
HELP CONFIG opens another data entry window for the operator to key in the
help message (up to 9 36-character lines).
COPY Copies the selected table into an empty one. When COPY is pressed the
system visualises a data entry window for the operator to key in the destination
table number. If the dimensions of the source and the destination tables are not
the same, the copy will be carried out but the characterisation parameters will
be truncated or completed.
If the table configurator is active, i.e. if the TABLE CONFIG softkey has been
pressed, COPY permits to copy the contents of a field into another.
EXIT Pemits to exit from the SETUP environment saving the configuration.
Configuring a table
To configure a User Table follow these steps:
1. Press the TABLES and USER TABLE softkeys from the main screen. If user tables have
already been configured, the first User Table Manager screen will be displayed. Otherwise, the
video data area will be void.
Field 1 : xxxxx.xxxxx
Field 2 : xxxxx.xxxxx
WINDOW RESERVED FOR
Field 3 : xxxxx.xxxxx
HELP MESSAGES
Field 4 : xxxxx.xxxxx
Field 5 : xxxxx.xxxxx
Field 6 : xxxxx.xxxxx
2. Press the SETUP softkey. The following screen will be displayed, which lists the eight
configurable tables with the selection bar positioned on the first one. If no tables have been
configured, the columns Softkey ID, Start and End will be void.
3. Move the selection bar to the desired table with the arrow keys and press the EDIT softkey to
select it. The following data entry window will appear:
EDIT TABLE
Softkey :
Start variable :
End Variable :
Reset (Y/N) : Y
Softkey This string may have as many as 14 characters. It is the label to be applied to
the softkey associated to the selected table. This label will appear on the main
User Table Manager screen (TABLE X SFK).
Start variable Is the index of the first variable associated to the table.
End variable Is the index of the last variable associated to the table.
Reset (Y/N) Enter [Y] to delete the existing configuration written in this table. Enter [N] to
retain this configuration.
4. Key in the requested data. To move from one field to the next press [Return] or an arrow key.
When the table is complete, press [Enter] to return to the previous video screen, whose
columns will show the new data.
IMPORTANT Tables cannot be overlapped, i.e. a variable may be displayed only in one
table. Check that the End variable of one table is smaller than the Start
variable of the next.
1. Select the desired table by moving the selection bar with the arrows and press the TABLE
CONFIG softkey.
2. Move the selection bar to the desired field. If the field does not appear on the first page, press
[PgUp] or [PgDn] to display other pages. Overwrite the new field name on the old one.
3. Press the FIELD CONFIG softkey. The following data entry window will be displayed:
EDIT FIELD
Field Name :
Sign :
Integers :
Decimals :
Min value :
Max value :
Field name This string appears on the Field x column and cannot be altered in this data
entry window.
Sign Enter [Y] to write a number with sign in this field. Enter [N] to write a number
without sign.
Integers It is a number from 1 through 5 that specifies the length of the integer part of
the variable.
Decimals It is a number from 0 through 5 that specifies the length of the integer part of
the variable.
Min value Is the minimum variable value.
Max value Is the maximum variable value.
IMPORTANT If the number of decimals is less than the configured value, the remaining
decimals can be used for accomodating integers as long as the total
number of digits remains constant.
For example, if the configured format is 5.5, the following formats are
also legal: 6.4, 7.3, 8.2, 9.1 or 10.0. On the contrary, formats like 4.6, etc.
are illegal.
4. Key in the requested data. To move from one field to the next press [Return] or an arrow key.
When the table is complete, press [Enter] to return to the previous video screen.
Copying a table
1. Display the directory of source tables with the SETUP sofkey and move the cursor to the line of
the desired sourrce table.
2. Press the COPY softkey. The directory of destination tables will appear to the right of the
source tables, as shown in the figure below:
3. Use the [Up/Down Arrow keys] to move the selection bar to the name of the destination table
and press [Enter] or COPY. After the contents of the source table will be copied into the
destination directory the system will return to the previous screen.
If the number of variables in the source table is smaller than that of the destination table,
overflowing variables will be truncated. If the number of variables in the source table is greater than
that of the destination table, overflowing fields will remain unchanged or void.
To copy the contents of a table field into another field of the same table the table must be in the
configuration environment and the TABLE CONFIG softkey must have been pressed. The
procedure is as follows:
VARIABLE COPY
3. Key in the source variable number and press [Enter] or COPY. The data entry window will be
closed and the contents of the destination variable will be identical to those of the source
variable.
Field x
3. Key in the desired message. When the line reaches the border of the window close it with
[Return] or with the [Down Arrow]. To create a new paragraph press [Return], not [Enter].
4. When the message is complete, press [Enter] or HELP CONFIG to confirm it and return to the
previous screen.
PRINT TABLE
END OF CHAPTER
GENERAL
Tool Management is a series of procedures that permit to define the tool parameters stored in the
Tools, Tool Offsets and Tool Data Base tables.
One of the fundamental parameters for the tools, Presetting, is described in this chapter which also
describes how the system manages multiple cutter tools and transfers information from the Tool
Data Base into the Tools and Tool Offsets table.
The procedures that permit to manage tool parameters listed in the offsets table are as follows
(see Chapter 7):
TOOL PRESETTING
Tool presetting is measuring the tool length and storing it in the Tool Offsets table.
NOTE:
The procedures described in this section are based on use of the Table Editor.
This chapter deals with presetting; for more information about the Table Editor, see Chapter 7.
Tool presetting may be performed in two ways:
1. Open the Tool Offsets table as shown in the "Opening a Table" section in Chapter 7.
2. Select the desired offset with the selction bar.
3. Press the EDIT softkey. The following screen will be displayed:
Measurement unit : Mm
Length 1 : 26.00000 Data set : MEMORY
Max requalif length 1 : 12.00000 Increment : 0.00000
Curr requalif length 1 : 9.00000 Selected Table : OFFSET
Length 2 : 10.00000 Sort selected page : 1 of 30
Max requalif length 2 : 36.00000 Current process : 1
Curr requalif length 2 : 10.00000 Current magazine : 1
Diameter : 30.00000
Curr requalif diameter : 25.00000
Orientation : 0
h2 Curr Diameter Orient
The parameters of the selected tool offset appear on the data entry window.
SPINDLE AXE
SPINDLE TIP
REFERENCE POINT
1. Press the AUTO softkey and then MDI to select MDI mode.
2. Key in the following instruction Tn.0M6 to enable the tool (n is the tool number) and press [ ]
[Enter] to confirm it.
3. Press CYCLE START to execute the instruction.
4. Jog manually the spindle axis until it skims the tip of the reference tool.
5. Press SET ORIG./TOOL in the MANUAL menu. The system displays the following:
6. Press [T] to select TOOL PRESET, move the cursor to the next field of the data entry window
and key in the tool name. Press [Enter] to confirm the entry. The following data entry window
will be displayed:
TOOL PRESET
OFFSET NUMBER : 1
REFERENCE AXIS :
TOOLTIP POSITION
Tooltip position measured distance from the spindle "nose" to the fixed reference point
(Tool Tip position field).
1. Define the tool by writing the characteristics of the main cutter as shown in chapter 7 ("Writing a
Record in a Table" section).
2. Select the tool defined in the Tools Table with the selection bar and press the MULTI CUTTER
softkey. The following data entry window will appear in the Tools Table:
Tool pocket, Random class and Tool position cannot be edited in this window because they belong
to the main cutter. In the Tools table the multiple cutter tool is displayed on as many lines as are
the cutters. All lines are assigned to the same tool code.
If the tool is multi cutter type and one of the cutters is deleted, the whole
multiple cutter will be deleted.
WARNING
Transfering tool data between the Tool Data Base and the Tool Table
If the operator loads a new tool in the tool magazine of the CNC machine for machining
requirements, complex measuring operations may be avoided simply by retrieving and loading the
data for that tool from the Data Base. The operator can still choose to load or modify the data in
question manually.
The paragraphs that follow illustrate how to enter the data for a tool not present in the magazine
and also how to restore the original data (the data in the Data Base) of a tool already in the tool
magazine.
Entry of data fora new tool in the Tool Table (retrieved from Data Base)
1. Open the tool table in which the tool data must be added. To do this:
2. Press the INSERT softkey to open a data entry window, all of whose fields will be either void or
set to zero, except for Random class , whose default value is 1.
3. Key in the new tool code in the Tool code field. It can be the same code assigned to the tool in
the Tool Data Base or another code chosen by the user.
4. Key in the the tool code number associated to the new tool in the offset number field. If you
leave the default value ( 0 ), the following parameters will not be imported from the Tool Data
Base: length 1, length 2 and diameter.
If the offset number is not 0, the parameters associated to the offset, i.e.
IMPORTANT length 1, length 2 and diameter, will replace those assigned to the same tool
number in the Tool Offsets table.
The other parameters stored in the Tools Offset table, i.e. Max requalif length
1, Curr requalif length 1, Max requalif length 2, Curr requalif length 2 and Curr
requalif diameter retain the values they had before the new tool was imported.
5. Press the TOOL DATA BASE softkey. The following data entry window will be displayed. The
tool identification number provided by the system is the Tool Code specified in Step 3.
6. Key in the identification number of the tool to be imported as was specified in Step 3 or, if it is
the same as in the Tool Data Base, confirm it.
7. Press [Enter] or TOOL DATA BASE. The tool parameters will be recopied in the Tools Table.
The new tool will be added on the first free record. If no free records are available, the new tool
will be added after the last record of the Tools Table.
Overwriting the data of a tool already in the Tool Table with the Data Base
data
IMPORTANT The tool offset parameters associated to that Tool Code through the Offset
number will also be altered. These parameters are: length 1, length 2 e
diameter.
To leave these parameters unchanged, modify again the Offset number. Write
any offset number or 0 if no alteration is needed.
The other parameters stored in the Tool Offsets table, i.e. Max requalif length
1, Curr requalif length 1, Max requalif length 2, Curr requalif length 2 and Curr
requalif diameter, retain the values they had before the alteration.
3. Press the TOOL DATA BASE softkey. The following data entry window will be displayed. The
tool identification number provided by the system is the Tool Code specified in Step 2.
4. Key in the identification number stored in the Tool Data Base that corresponds to the
characteristics to be altered in the selected tool.
5. Press [Enter] or TOOL DATA BASE. The tool parameters will be overwritten on the same
record of the Tools Table.
END OF CHAPTER
The 10 Series CNC has an environment for management of the files of part programs, organized in
directories.
Main screen
When the PART PROGRAM softkey is pressed, the environment main screen is displayed:
C)
PROGRAM NAME: D)
The screen is divided into 5 functional areas (marked with the letters A÷E in the figure); the letters
will be used later in this chapter to refer to these areas.
The Part Program directories configured in AMP may be selected by pressing the SELECT DIR
softkey; the files present in the directory, identified by the logic name defined in AMP, appear in the
window (C).
By pressing the SELECT DIR softkey, all the Part Program directories configured in AMP ar
selected cyclically.
A desired program is selected by moving the cursor (light blue coloured bar) with [Up\Down Arrow
keys] ; the file currently selected appears in window (D).
Keys [Home] and [End] respectively select the first and last program of the window.
NOTE:
Pressing [Control] [D] resets the contents of this list.
SOFTKEYS
The softkeys of the part program file manager screen page (E) are as follows:
• The COPY, DELETE, RENAME, EDIT, ACTIVATE softkeys produce the following action on the
file indicated in the data entry (D):
COPY Copies the part program file into another file with a different name.
RENAME Renames the file.
DELETE Deletes the file.
EDIT Activates the editor on the file. If the file specified in the input line does
not exist, the system will create one with that name.
ACTIVATE Permits activation of the part program file. Activation of one program
results in de-activation of an already active one, where applicable.
PP MANAGEMENT This softkey is only present if part programs with logic directories are
used (see the SW characterisation manual - AMP).
• The DEACTIVATE softkey de-activates a currently active program.
• The PROG UTILITY softkey activates a user utility acting on part programs; it must be declared
in AMP (see the SW characterisation manual - AMP).
• The SELECT DIR softkey displays in areas (B) and (C) a list of all the files in the current
directory.
Repeated pressing of this softkey automatically displays the files in the other directories on the
system.
To restore display of (B) and (C) press [Esc].
• Softkey DIRECTORY displays in areas (B) and (C) a list of all the files in the directory specified
in the data entry opened when this softkey is pressed.
The name of the directory must be given in its standard DOS format, also including the device
(examples: E:\FILE, E:\FILE\*.PRO, E:\FILE\PIPPO?.*).
To restore display of (B) and (C) press [Esc].
NOTE:
The maximum number of files that a directory can hold is 300; if a DOS directory contains more
than 300 files, only the first 300 will be displayed, subdirectories included.
LINE EDITOR
Line Editor is a utility that permits to write and edit part programs. You can use the Line Editor to
write programs in standard ISO language (RS 274 code). You can also use the Line Editor in
conjunction with the Profile Editor to also program profiles in geometric language.
This section describes the Line Editor screen and softkeys, as well as the operations that can be
performed in this environment.
The Line Editor is activated by pressing the EDIT softkey in part program file manager
environment.
G1X5Y20F1000
Y75
C X34.78967Y100
X95
Y80
X50
G3Y66.587I50J73F1000
G1X95
Y19.999
D G3X26I93J57F100
G1X150
Y57.987
SOFTKEY FUNCTION
CONFIG Modifies the Editor configuration (see the 10 Series CNC - Graphic
Editor manual).
CYCLE MODIFY Enables the Cycle Editor, a utility that permits to modify fixed cycle
parameters. It is active only if the Graphic Editor option has been
configured and the file is not profile type (without extension .DFP) - (see
the 10 Series CNC - Graphic Editor manual).
CUT&PASTE Selects a group of lines for copying, cutting, moving, pasting, etc.
HELP Displays information about the active softkey menu or an open data
entry window.
DEL-LINE Deletes the block displayed on the editing line. The parameters of the
deleted block remain on the old line but can be deleted by pressing
DEL-LINE twice. After being deleted from the old line these parameters
can no longer be retrieved with the OLD-LINE softkey.
OLD-LINE Retrieves a block that has been cancelled from the editing line by
pressing DEL-LINE once. The retrieved block is the original one, i.e. all
the alterations will be lost.
SEARCH Permits a search for strings or block numbers. The system displays a
data entry window prompting for the desired block number or string.
INCLUDE Inserts all the blocks of a file in a predefined point of the current file.
SEQUENCE Numbers a list of part program blocks in the desired sequence. When
SEQUENCE is pressed the system displays a data entry window
prompting for the initial number and the numbering pitch (only enabled
on files without extension .DFP).
GEOMETRY Displays the Profile Editor video panel for definition of geometric profiles.
This softkey is enabled only of the Profile Editor is enabled and the file
has extension .DFP (see the 10 Series CNC - Graphic Editor manual).
CYCLE Displays the video panel for canned cycle definition. Active only of the
Cycle Editor is configured and if the file does not have extension .DFP
(see the 10 Series CNC - Graphic Editor manual).
EXIT Quits the Line Editor. It opens a data entry window with a prompt to save
the file.
To create a new part program, key in a non-existing program name in the data entry (D) of the part
program file manager screen (page 10-1) and then press EDIT.
Example:
The editor screen page is now displayed (page 10-4), with areas (B), (C) and (D) empty.
Key in the program name, which is an ASCII string of up to 48 characters plus 3 characters for the
extension. The extension is mandatory for profile files (DFP) and will be used by the Profile Editor.
The part program is displayed in sections B C and D of the Line Editor video panel.
From this point on, the Editor operations described on the following pages are enabled.
In this case, display of the part program in the Editor video panel is preceded by the message:
The part program will be opened in read only and any editing perfromed on it will not be saved.
Line overflow
A part program block can have as many as 126 characters, but the maximum length of the editing
line field is 79 characters. To move the cursor inside the block use the [Right/Left Arrow keys].
If you key in a block on the editing line and the cursor reaches the last position (column 80), it is
always possible to add characters beyond this point. With each new character the block displayed
on the editing line will move to the left by one position.
Cursor
The cursor is a blinking block that can be moved inside the editing line with the [Left/Right Arrow
keys]. It remains on the first position to the right of the last inserted character and always operates
in 'insert' mode.
The [Up/Down Arrow keys] permit scrolling of a file up or down on screen, whereas the editing
line remains in a fixed position.
When the file scrolls on the display, the editing line displays the previous or next block depending
on whether the file is scrolling down or up.
moves the cursor to the left on the editing line by one character.
moves the cursor to the right on the editing line by one character.
scrolls the displayed file downwards; the editing line will display the
previous part program block.
scrolls the displayed file upwards; the editing line will display the
subsequent part program block.
moves the cursor to the first program character and displays the
first program block on the editing line.
moves the cursor to the last program character and displays the
last program block on the editing line.
opens a new line on the editing line moving the currently displayed
block upwards. Confirms the data written in a data entry window.
splits the block displayed on the editing line from the current
position of the cursor. All the characters to the right of the cursor
will be transferred to the subsequent line. If the cursor is on the first
character, this key opens a new line that precedes the block
displayed on the editing line.
New characters can only be written on the editing line as the cursor is always positioned on it. An
inserted block must be confirmed with [Enter] or [Return], which causes the cursor to moves to a
new editing line.
When a new line is selected with the [Up/Down Arrow keys], the empty lines are automatically
removed. Empty lines are also automatically removed when you quit the Editor.
Program blocks can be edited only when they are on the editing line and must therefore be moved
to this line with the [Up/Down Arrow keys], before being altered. The [Left/Right Arrow keys]
permit to move the cursor within the editing line, whereas [BackSpace] deletes the characters to
the left of the cursor (refer to the "Line Editor function keys" section in this chapter).
1. if the new line must be written after the block displayed on the editing line, press [Return] or
[Enter] with the cursor on any position.
2. if the new line must be written before the block displayed on the editing line, press [End] with
the cursor positioned on the first block character.
IMPORTANT If the cursor is on any other position, when you press [End] the block will
be split. To restore it, press OLD-LINE immediately afterwards.
Deleting lines
Part program blocks may be deleted with the DEL-LINE softkey, which has two different functions
depending on the number of times it is pressed.
If you press DEL-LINE once, the block is deleted but can be retrieved with OLD-LINE. If you press
DEL-LINE twice, the block is deleted irreversibly and cannot be retrieved. In both cases, DEL-LINE
permits to delete the block displayed on the editing line.
PRESS EFFECT
DEL-LINE once the block displayed on the editing line is deleted and the editing line
appears empty. To retrieve the deleted block, press OLD-LINE.
DEL-LINE twice the block displayed on the editing line is deleted, the editing line displays
the subsequent program block, and the empty line is removed. OLD-
LINE does not permit to retrieve the deleted block.
IMPORTANT Pressing DEL-LINE once and then moving the cursor with the [Up/Down
Arrow keys] is equivalent to pressing DEL-LINE twice.
1. Take the block to be deleted to the editing line with the [Up/Down Arrow keys].
2. Press DEL-LINE twice.
IMPORTANT If the block to be deleted is the last block in the file, press DEL-LINE once
and then press [Up Arrow].
Retrieving lines
• retrieving the original version of the block displayed and modified on the editing line.
• retrieving the block deleted from the editing line. This is possible only if DEL-LINE has been
pressed only once.
• for reconstructing an orginal block that was split by pressing the [End] key with the cursor
located inside the block.
To retrieve the original block displayed on the first line (or on the first two lines), use this procedure:
The contents of the old block line will be copied to the editing line.
Configuration Editor
Keystroke :20
Cycle screen 1 :
Cycle screen 2 :
Cycle screen 3 :
Geometry type : GEOMIL
1 of 3
Cycle screen 1÷3 Name of the screen files for the cycle editor.
see the 10 Series CNC - Graphic Editor manual)
Geometry type Name of the screen file for the geometry editor.
(see the 10 Series CNC - Graphic Editor manual)
Orientation 1
Tolerance :0.00100
Incremental center :N
Unit (0) mm (1)inch :0
2 of 3
Significance of the fields in the AXIS CONFIGURATION data entry is as follows (see the 10 Series
CNC - Graphic Editor manual):
Axis name: X Name of the axis of abscissas. This name will replace the X axis in the
translated part program.
N = normal
D = diametral
R = radial
Minval Lower limit of first axis for graphic scale declaration. This field may
contain values between -999999.999 and +999999.999; the distance
between the value set as Minval and the value set for Maxval must be
≥ 0.06.
Maxval Upper limit of first axis for graphic scale declaration. This field may
contain values between -999999.999 and +999999.999; the distance
between the value set as Maxval and the value set for Minval must be
≥ 0.06.
Axis name: Y Name of the axis of ordinates. This name will replace the Y axis in the
translated part program.
1 2 3 4
Incremental center If the declaration is [Y], the ISO program is translated with the
incremental circle center, otherwise ([N]) it is translated with absolute
dimensions.
Axis1 X X
Axis2 Y Y
Axis3 Z Z
Axis4
Axis5
Axis6
Axis7
Axis8
3 of 3
The fields in the CYCLE PARAMETERS data entry establish the symbolic names for the
machine's physical axes (see the 10 Series CNC - Graphic Editor manual).
NOTE:
Valid names for axes are as follows: X,Y,Z,A,B,C,U,V,W,P,Q,D.
START NUMBER : 1
INCREMENT : 1
2. Key in the first block number. The maximum allowed value is 999000.
3. Key in the increment. The maximum allowed value is 200.
4. Press [Enter] or the SEQUENCE softkey to confirm these entries.
To move the cursor from one field to the next press [Return]. If the increment is zero, the part
program will not be numbered. If a zero increment is given to a numbered program, the block
numbers will be removed.
The SEARCH softkey permits to search for strings and/or block numbers.
1. Press SEARCH. The system displays the following data entry window for the operator to write
the desired string or block number:
CHARACTER STRING : 0
LINE NUMBER :
2. To move the cursor from the Line number field to the Character string field press [Return].
3. Depending on the object of your search, you may key in:
• a string up to 12 characters in length. Press [Enter] and then [Up Arrow] or [Down Arrow]
to search for the string upwards or downwards. The searched string will be displayed on the
editing line.
• a line number having up to 6 digits. Press [Enter] to confirm it. The searched line will be
displayed on the editing line.
NOTE:
By line number is meant the number displayed in the status line (top left on the line editor
screen page)and not a number given with the SEQUENCE function.
In a line number search, if the number searched for is greater than the last program block number,
the last block will be displayed in the editing line.
IMPORTANT To quit the search after the item has been found, press the SEARCH
softkey again.
If the desired string is not found, an error message will be displayed. If both a string and a block
number have been written in the data entry window, the system will search for the block number
only.
ENABLED DISABLED
Start select End select
Help Deselect
Exit Delete
Search Copy
Move
NOTE:
This video screen is similar to the one you open with the Line Editor.
SOFTKEY FUNCTION
START SELECT Marks the current line as the first line of the program section to be
selected for cut&paste purposes. The section may be selected with
[Up Arrow], [Down Arrow], [PgUp] and [PgDn]. The current line/s
is/are highlighted in yellow.
Once trhe selection has been made, the system disables START
SELECT and enables END SELECT and DESELECT.
END SELECT Marks the current line as the last line of the program section to be
selected for cut&paste purposes. The section remains highlighted in
yellow.
Once the selection has been made, the system disables END
SELECT and enables DELETE, COPY and MOVE.
SEARCH Softkey with the same functionality as the one in the Line Editor main
video panel.
It is always enabled and does not alter the status of other softkeys.
DELETE Deletes the selection confirmed with the data entry. The deleted
section cannot be restored.
After the selection has been deleted, DELETE returns to the initial
status
COPY Copies the selected block to the current cursor position. After this
operation the selection is lost and the block may not be used again.
Status of the softkeys is not modified.
SOFTKEY FUNCTION
MOVE Moves the block selected to the current cursor position. After this
operation the selection is lost and the block may not be used again.
After the section is deselected, this softkey returns to the initial status.
HELP Displays the HELP page(s) describing all the features available on this
screen page.
EXIT Returns to the Line Editor main screen. Any still active selection is lost.
The INCLUDE softkey permits to paste various modules into the current part program. The insert
is always pasted after the block displayed on the editing line.
1. Display on the editing line the block after which the program must be inserted.
2. Press the INCLUDE softkey. The following will be displayed:
FILE NAME :
3. Key in the name of the part program to be inserted and press [Enter].
2. Key in
Both responses permit to quit the Editor and return to the directory of programs.
END OF CHAPTER
These parameters are listed on a data entry window that can be displayed by pressing the
PROGRAM SET-UP softkey in the menu associated with the MACHINE SET-UP softkey.
BLOCK DELETE (Y/N) enables/disables execution of slashed blocks. Enter [Y] to disable
slashed block execution (This is equivalent to programming DSB = 1).
FEEDRATE BYPASS enables/disables the bypassing of the rapid rate with G1, G2 or G3.
(Y/N)
At power up the default mode is [N]. Resetting the system changes
this field to [N].
RAPID OVERRIDE enables/disables rapid override control with the softkeys RAPID OVER
CONTROL (Y/N) + and RAPID OVER - from the AUTO menu.
HORIZONTAL AXIS define the machining plane. It is equivalent to programming the G16
code in a block.
VERTICAL AXIS At power up or after a reset this field displays the selection made in
AMP: G17, G18 or G19.
ROTATION ANGLE defines a rotation angle expressed in degrees for the machining plane.
A positive angle determines a CCW rotation. Unlike programming with
the three-letter instruction (ROT, angle), this rotation angle is not
canceled by a reset.
STOCK ALLOWANCE defines the stock allowance to be applied to the tool radius when
calculating the tool path with tool offset (G41 - G42). It is equivalent to
programming the MSA block.
LOCKED (Y/N) enables/disables physical axis motion. When you write [Y] the system
executes the part program without physically moving the axes.
SCALE (Y/N) enables/disables the scale factor associated to the specified axis.
SCALE FACTOR defines the scale factor applied to the specified axis. It is equivalent to
programming the (SCF, axis name, scale factor) block.
• Auto
• Semiauto (block by block)
These operations must be carried out before selecting the execution mode. The procedure is as
follows:
1. Press the PART PROGRAM softkey in order to enter the Part Program File Manager
environment.
2. Select a part program for execution as described in Chapter 10.
3. Press the ACTIVATE softkey. A [Y] will appear on the A column to the left of the selected
program name.
Automatic execution
This mode permits to execute all the blocks in a program without interruptions. To execute the
program in auto mode, use this procedure:
The selected part program will be executed from the first to the last block.
This mode permits to execute one part program block at a time. The procedure is as follows:
To alter the sequence of block execution or bypass one or several blocks, use the arrow keys to
position the cursor to the desired block.
To close block-by-block execution, press BLK/BLK again. The disabled softkey is white.
Multiblock retrace
This function permits to retrace a series of programmed blocks by moving the axes backwards
along the executed profile. Depending on the parameter configured in AMP, the number of
retraceable blocks varies from 1 through 64.
1. Press the CYCLE STOP pushbutton to stop the axes and MACHINE SET-UP from the main
menu.
2. From MACHINE SET-UP, press the BLOCK RETRACE softkey, enter [Y] in the ENABLE field
of the data entry window and confirm it with Enter.
3. Press the CYCLE START pushbutton. The axes will move backwards in the selected mode:
• In BLK/BLK mode the profile will be retraced one block at a time each time the CYCLE
START pushbutton is pressed.
• In AUTO mode the system will retrace the last n blocks in the profile. n is the number of
blocks configured in AMP.
To interrupt a retrace move, press CYCLE STOP. At this point you can either resume the retrace
move or invert the direction of motion. To resume retracing, press CYCLE START.
To invert the direction of motion use this procedure:
1. Press BLOCK RETRACE, enter [N] in the ENABLE field of the data entry window and enter
[Y] in the EMIT AUXIL FUNCT field if you want the auxiliary functions to be emitted during the
forward stage of the BLOCK RETRACE move, or enter [N] if you do not want the auxiliary
functions to be emitted. Then confirm with [ENTER].
2. Press the CYCLE START button. The axes will move in the mode selected at the previous step.
NOTES:
• During part program execution in AUTO mode the BLOCK RETRACE function can be
performed in BLK/BLK mode. Part program execution will be resumed automatically when the
profile has been retraced and the axes have returned to their stop point.
• When the BLOCK RETRACE function is active the axes move in point-to-point mode (G29) in
the backwords retrace, while in the forwards trace they are executed according to the
programmed modality (G27,G28,G29).
• In BLOCK RETRACE mode, the control unit performs the motion blocks only and, on request,
the emission of auxiliary functions; assignment blocks are ignored.
• The emission of auxiliary functions during the BLOCK RETRACE forward move can also be
enabled by assigning the MBA process variable.
MBA = 1, emission is enabled
MBA = 0, emission is disabled
• When the BLOCK RETRACE function is active the feedrate can be altered with the FEEDRATE
OVERRIDE function (see later in this chapter).
The system permits to execute blocks entered from keyboard (MDI) both when a part program is
active and when no part program is selected.
Block
To input other blocks for execution repeat steps 3 and 4. To cancel the contents of the MDI line
press the [Clear line] key. To disable MDI mode, press MDI again. This softkey will return white.
Using the [Up Arrow] and [Down Arrow] keys with the MDI input window active, the last MDI
blocks set are reactivated and can be executed again by pressing the CYCLE START button.
While the system is executing a part program it is possible to execute blocks in MDI mode. The
input block does not affect the active part program and is not retained in the system memory.
1. Press the MDI softkey to enable manual data input mode. The system displays a window for the
operator to key in the desired block. If the program has not been stopped with the BLK/BLK
softkey, the system will stop after executing all the pre-analysed blocks.
2. Write the block to be executed in the data entry window and press [Enter] to confirm it.
3. Press CYCLE START to execute the confirmed block.
To input other blocks for execution repeat steps 3 and 4. To cancel the contents of the MDI line
press the CLEAR LINE key. To disable MDI mode, press MDI again. This softkey will return white.
To restore automatic part program execution press CYCLE START. To resume block-by-block
execution re-press BLK/BLK and then press CYCLE START.
IMPORTANT If MDI is pressed during automatic execution, the system executes all the
preanalysed blocks and then stops. After MDI execution, return to auto or
block-by-block mode and press CYCLE START.
This function makes it possible to run in MDI mode the paramacros called implicitly by the S,T,M,
auxiliary functions, which must have been configured beforehand as paramacros.
For information on how to configure and program these functions as paramacros, see the AMP
Manual and the Programming Manual.
To run a paramacro in MDI mode, proceed as follows:
1. Activate the auxiliary function in MDI mode, as described in points 1 and 2 of the previous
paragraph. This displays the name of the corresponding paramacro in the list of active
programs.
2. Deactivate the MDI mode by pressing the MDI softkey again.
3. Press the [CYCLE START] button to execute the paramacro.
At the end of the execution, the paramacro is closed and the system returns to MDI mode.
NOTE:
If you try to activate the same paramacro several times, the error message “programme already
selected” (error 149) appears.
When part program blocks are numbered the system can execute the part of program delimited by
two block numbers.
EXECUTE
TO BLOCK NUMBER: N
Part program blocks can be altered and executed from the keyboard. These alterations do not
affect the original programmed block and are not saved in the active program.
NOTE:
This procedure is not applicable when tool offset is active (G41, G42).
When the system is in block-by-block mode the [Up/Down Arrow keys] permit to scroll the part
program listing backwards or forwards.
To return the cursor to the block programmed after the last executed block, press HOME.
Execution may now be resumed from this point.
The following procedure permits to search for a string of characters in an active program.
1. Press the STRING SEARCH softkey in the AUTO menu. The system displays a data entry
window for inputting the desired ASCII string.
2. Input the ASCII string.
3. Press STRING SEARCH or [Enter] to confirm the string.
4. Press the [Up Arrow key] to search for the string upwards or [Down Arrow] to start a search
downwards.
If the string is not found after searching in a given direction, one of the following error messages
appears: "End of File" or "Beginning of File".
The feedrate value to be used in the program is specified by the F value parameter. To alter this
value without modifying the program use this procedure:
1. From the AUTO menu, press the OVERRIDE SEL softkey until the labels of first two softkeys
on the third line are FEEDRATE + and FEEDRATE -.
Example:
If the programmed feedrate value is 2000 MMPM (mm per minute) and a 50% variation is applied,
the actual feedrate will be 1000 MMPM.
The spindle speed value to be used in the program is specified by the S value parameter. To alter
this value without modifying the program use this procedure:
1. From the AUTO menu, press the OVERRIDE SEL softkey until the labels of first two softkeys
on the third line are SPND OVER + and SPND OVER -.
Example:
If the programmed spindle speed is 1500 RPM and a 50% variation is applied, the actual spindle
speed will be 750 RPM.
The rapid is configured in AMP. To alter this value use this procedure:
1. From the AUTO menu, press the OVERRIDE SEL softkey until the labels of first two softkeys
on the third line are RAPID OVER + and RAPID OVER -.
2. Press RAPID OVER + or RAPID OVER - to increment/decrement the configured rapid. Each
time one of these softkeys is pressed a 12,5% increment/decrement is applied. Allowed
increments/decrements range from 0% to 125% of the configured value.
Example:
If the configured rapid is 3000 MMPM (millimeters per minute) and a 50% variation is applied, the
actual rapid will be 1500 MMPM.
This feature is activated by pressing the DRY RUN softkey in the AUTO menu.
With DRY RUN active, it is also possible to verify program correctness graphically by way of the
MACHINE PLOT utility.
For further details about use of MACHINE PLOT, see chapter 12.
MEMORY SEARCHING
Memory searching means searching for the interruption block and subsequently resume the
interrupted cycle automatically or searching for a pre-set block where to start machining.
The parameters which identify univocal an executing cycle are stored and continuously updated
during the execution of the program.
According to these parameters it is possible to carry out an automatic searching.
• Automatic memory searching for the interruption block (due to switch-off or reset of the
machine)
• Memory searching for a pre-set block.
Automatic searching
To search automatically for the block which interrupted the part program, proceed as follows:
Before exiting the MEMORY SEARCH mode, it is possible to continue the searching up to another
block resetting the number by means of the EXEC FROM:TO softkey and pressing CYCLE START
again
1. Press CYCLE START: the system send auxiliary functions to the machine logic and enters
HOLD status. Auxiliary functions are sent also in SEARCHING mode provided that the logic has
been adequately pre-set.
2. Position axes on the programmed dimensions reversing on the profile (JOG RETURN softkey,
MANUAL mode).
3. Select again AUTOMATIC OR SEMIAUTOMATIC mode.
4. Press HOLD to exit from HOLD status.
5. Press CYCLE START to restore the working cycle.
Searching mode
• When using multiprocess systems, memory searching can be accomplished on the first four
processes only.
• When an interrupted cycle is restored automatically, the program is restarted from the beginning
of the block where the interruption took place. When a cycle is restored from a pre-set block, it
is restarted from the block next to the one searched.
• Automatically resuming the search, if the position of the start of the search is changed, for
example, switching to BLK/BLK and using the arrow keys or setting the starting block only in
the data entry EXEC FROM:TO:, the search starts from the new position and ends when the
system has executed the number of blocks stored throughout the machining phase.
The same thing happens when a search is carried out for a set block if the TO block is not
specified.
• Automatic searching is only possible provided the relevant configuration (AMP) is abilitated. It
can only be used when machining is executed at the beginning of the part program. Similarly, if
during a working cycle MDI-blocks are executed, memory searching subsequently run on that
part program would not work.
• When machine is switched off, modified data from PROGRAM SET UP or from other data
entries are erased.
• When searching, variable allocation blocks are always executed.
• Searching is not operating properly when part program makes use of variables written or read
from logic or from other environment.
• Following are listed the strings that can and can not be used within a part program in order to
execute a memory searching:
Besides the following tracing cycles are not accepted:G72, G73, G74.
END OF CHAPTER
LAYOUT OF CHAPTER
Machine Plot is a utility permitting graphic display of the part profile; there are two different modes
possible:
This chapter is divided into two parts; in the first part, operation of the utility is described in axes
connected mode; the second part deals with operation with axes disconnected (Dry Run mode).
For details on this three-letter code and how to use it, see the 10 Series Programming Manual.
When the Machine Plot utility has already been activated through the softkeys, programming
instruction UGS has no effect (the parameters set manually remain valid). On the other hand, if the
utility is started from the part program, operation may be interrupted manually at any time and the
parameters altered at will. In other words, the manual setting always has precedence.
NOTE:
The smaller the tick, the higher the calculation time.
The user interface consists of a specific video page and a menu of softkeys, with which to
configure and activate the features of the utility.
Y
xxx.xx
xxx.xx
-xxx.xx +xxx.xx X
CONFIG HELP
PLOT CHECK CLEAR SCREEN ZOOM DIMENSION
EXIT
The data area provides general information that recurs on every video page; in addition, the
following specific items are included:
Axes coordinates While the system processes a given point this window displays
the point coordinates for the axes configured in the data entry
window opened with the CONFIG softkey.
Part program block This line displays the part program block in execution.
Path display area This area displays two cartesian axes whose orientation is
configurable. They appear together with the following
MACHINE PLOT configuration parameters:
− axes names
− minimum and maximum coordinates
SOFTKEY FUNCTION
CONFIG Opens a data entry window that permits to set all the MACHINE PLOT
parameters: visualisation mode, axes names, axes orientation, axes limits,
sampling tick, etc.
CHECK Displays the last 16,000 points stored in the plotting buffer. If the configured
visualisation mode is 2D graphics with programmed and actual tool path, the
programmed path will be displayed in white and the actual path will be
displayed in red.
ZOOM Permits to enlarge a desired portion of the path. The first time you press this
key the system displays a window in which you can set the zoom scale. This
window can be moved to the desired profile portion with the [+]and [-] keys. If
you press ZOOM again the window will be enlarged to full screen size. The
coordinates on the axes are the limits of the previous window.
DIMENSION When you press this softkey, a cross shaped cursor appears in the centre of
the screen and its coordinates are displayed in the top right corner.
The arrow keys may be used to move the cross to any point of the profile.
Each time an arrow key is pressed, there is a movement of one step; dimension
of the step can be adjusted by pressing [+]and [-].
CONFIG HELP
PLOT CHECK CLEAR SCREEN ZOOM DIMENSION
EXIT
Sampling tick This is the sampling tick used by the system for reading profile points. It
must be equal to or a multiple of the system tick and is expressed in
milliseconds.
The allowed value is an integer from 2 to 65535.
If the selected value is too small (less than 8 milliseconds), the drawing
time can be longer than the actual machining time.
Process number Is the number of the visualised process. It may range from 1 and the
highest number of process configurations.
Horizontal axis name Is the name of the axis to be used as abscissa of the graphics. It normally
coincides with the X axis but may be any other configured axis.
Allowed axes names are: [X], [Y], [Z], [A], [B], [C], [D], [P], [Q], [W], [V],
[U] (capitals).
Vertical axis name Is the name of the axis to be used as ordinate of the graphics. It normally
coincides with the Y axis but may be any other configured axis.
Allowed axes names are: [X], [Y], [Z], [A], [B], [C], [D], [P], [Q], [W], [V],
[U] (capitals).
Third axis name Is the name of the third axis for 3D graphics. It normally coincides with
the Z axis but may be any other configured axis.
Allowed axes names are: [X], [Y], [Z], [A], [B], [C], [D], [P], [Q], [W], [V],
[U] (capitals).
Axes orientation This parameter defines the orientation of the visualised axes. Allowed
values are illustrated in the figure below:
1 2
3 4
Plot type (1/2/3) Defines the visualisation mode. Allowed options are as follows:
If Plot type is [2], both paths will be visualised only if the verification is
enabled with the CHECK softkey. If plotting rather than verification has
been enabled (by pressing PLOT rather than CHECK) only the
programmed path will be visualised. Further information about graphics
verification is provided later in this chapter.
IMPORTANT When MACHINE PLOT is invoked from part program with the UGS code,
Plot Type is always 1.
After all the parameters on this page have been set, press [PgDn] to display the second page.
The complete second page illustrated in the figure below appears in case of 3D visualisation. If 2D
visualisation has been selected, angle parameters α and β will not be included in the list of
parameters, and the icon showing a system of cartesian axes used for 3D axes orientation will not
be displayed on the lower left corner of the screen.
0.00000
Y
0.00000
α = 0.00000
β = 0.00000
α
β
0.00000 0.00000
X
0.00000 0.00000
CONFIG HELP
PLOT CHECK CLEAR SCREEN ZOOM DIMENSION
EXIT
Min. abscissa (X) This coordinate appears next to the axes origin. It is the
minimum abscissa displayed in the graphic and is expressed
in the unit configured for that process (mm or inches).
The allowed value ranges from -99999.99999 to
+99999.99999.
Max. abscissa (X) This coordinate appears on the right hand end of the
abscissa. It is the maximum abscissa displayed in the
graphic and is expressed in the unit configured for that
process (mm or inches).
The allowed value ranges from -99999.99999 to
+99999.99999.
Max. ordinate (Y) This coordinate appears next to the axes origin. It is the
ordinate abscissa displayed in the graphic and is expressed
in the unit configured for that process (mm or inches).
The allowed value ranges from -99999.99999 to
+99999.99999.
Max. ordinate (Y) This coordinate appears on the upper end of the ordinate
axis. It is the minimum ordinate displayed in the graphic and
is expressed in the unit configured for that process (mm or
inches).
The allowed value ranges from -99999.99999 to
+99999.99999.
Min. vertical coordinate (Z) It is the minimum vertical coordinate displayed in the
graphic and is expressed in the unit configured for that
process (mm or inches).
The allowed value ranges from -99999.99999 to
+99999.99999.
Max. vertical coordinate (Z) It is the maximum vertical coordinate displayed in the
graphic and is expressed in the unit configured for that
process (mm or inches).
The allowed value ranges from -99999.99999 to
+99999.99999.
Prior to establishing maximum and minimum limits you must decide whether to visualise the whole
of the profile or just part of it.
In the first case minimum and maximum limits must be greater than or equal to the minimum or
maximum coordinates reached by the machining process.
After writing all of the parameters press [Enter] or CONFIG to close the window.
The coordinates displayed on the upper right corner vary as the cycle proceeds. The line displayed
above the ordinate axis shows the program block in execution.
To interrupt the drawing at any moment press PLOT. When the process stops the last executed
part program block will be displayed.
The number of visualised points is inversely proportional to the Sampling tick configured in the
MACHINE PLOT window: the smaller the tick the higher the number of points. The Sampling tick
also affects the velocity at which the graphics is displayed. If the tick is tool small, the graphics may
terminate after the cycle.
The ideal solution is to assign the same value to both cycle and MACHINE PLOT ticks. In certain
simulations, however, it may be preferable to use different values.
Y
55.000
0.000
0.000 60.000 X
CONFIG HELP
PLOT CHECK CLEAR SCREEN ZOOM DIMENSION
EXIT
When you press PLOT with Plot type 1 or 2 the system displays only the programmed path. To
also visualise the actual machining path follow these steps:
1. Run an ordinary path visualisation with the procedure described in the previous section.
2. When the whole cycle or the part of the profile to be monitored is completed press CHECK.
The system will display the last 16,000 processed points stored in the plotting buffer or, if the actual
number of processed points is less than 16,000, the complete profile that was executed before the
interruption occurred.
With Plot type 2 the actual profile and the programmed profile will be displayed in different colours.
However, both profiles tend to overlap, thus making it difficult to tell which points belong to each of
them.
The programmed path will be displayed with white colour points while the actual profile will be
displayed in red
Since a greater variance between both profiles can improve resolution but also generate a servo
error, in this case it is advisable to use the Zoom option.
The Sampling tick affects the velocity and resolution of both graphics.
ZOOM
This extremely powerful option may be used to enlarge the selected portion of the profile, better
illustrating the deviations between programmed and actual profiles. Successive zooms are also
possible
The ZOOM softkey is enabled with Plot type 1 and is used for graphic verifications with Plot type 2.
When you press ZOOM the following window appears:
N52X25Y34 Z:
Y
55.000
0.000
0.000 60.000 X
CONFIG HELP
PLOT CHECK CLEAR SCREEN ZOOM DIMENSION
EXIT
This window delimits the part of the profile that can be enlarged to full screen size. Press [+] or [-]
to enlarge or reduce the window. [+] enlarges the window but reduces resolution, whereas [-] has
the opposite effect.
To position the zoom window on other parts of the profile use the arrow keys.
After optimising the position and size of the window, press ZOOM again. The area delimited by the
window will be enlarged to full screen size as illustrated in the figure below:
N52X25Y34 Z:
Y
40.000
30.000
30.000 45.000 X
CONFIG HELP
PLOT CHECK CLEAR SCREEN ZOOM DIMENSION
EXIT
The coordinates displayed on each cartesian axis are the limits of the zoom window and permit
calculation of size of the enlarged area.
Depending on the configured tick, the profile may be a continuous line or an array of points. The
number of points in the profile also depends on the drawing velocity.
To further enlarge a portion of the zoomed profile, dimension and re-position the window and then
press ZOOM again.
Y
33.000
32.000
38.000 39.500 X
CONFIG HELP
PLOT CHECK CLEAR SCREEN ZOOM DIMENSION
EXIT
• the cross cursor and a window with the coordinates of its position are displayed.
• resolution is so high that the profile is displayed as a sequence of points rather than as a
continuous line (the axes coordinates tell you that the enlarged area measures 1 mmx1.5 mm).
• deceleration on the bevel is shown by a greater concentration of points on the vertical line.
• we assume that the profile was zoomed for verification with Plot type 2 mode and the points on
the vertical line are displayed in two different colors.
To move the cross to any point in the profile press the arrow keys. The cross moves step by step.
To increment and decrement the step press [+] and [-]. When you press [+] the step increases,
and the marker moves at a faster pace but with less accuracy. By pressing [-] you can obtain the
opposite effect.
This feature is activated ny pressing softkey DRY RUN in the AUTO menu. With DRY RUN active,
the part program is executed without any command being sent to the drives of the axes ('axes
disconnected') and to the machine logic (I/O inhibited).
The graphic utility is activated in the same way, from both the part program (three-letter code UGS)
and using the MACHINE PLOT softkey.
Even if used with DRY RUN active, some of the Machine Plot characteristics remain unaltered,
others differ slightly, while others may be configured differently with the CONFIG softkey.
The DRY RUN softkey is a toggle key, the feature being active when the softkey appears in
highlight colour.
The data area of the MACHINE PLOT page is initially empty. When visualisation of the path is
activated, the page layout will be as follows:
Y
xxx.xx
xxx.xx
-xxx.xx +xxx.xx X
CONFIG HELP
VERIFY CLEAR SCREEN EXAME GRAPHIC
EXIT
The data area provides general information that recurs on every video page; in addition, the
following specific items are included:
Axes coordinates This window displays the point coordinates calculated in part
program, referrred to the origin currently applied.
Part program block This line displays the part program block in execution.
Path display area This is the main area of the screen and displays two cartesian
axes whose orientation is configurable.
The dimensions of the axes are referred to the origin which is
applied at the time drawing the graph starts:
The softkeys in the MACHINE PLOT environment when used in dry run mode perform the
following functions:
SOFTKEY FUNCTION
CONFIG Opens an input window in which all the parameters available in dry run
mode can be configured.
VERIFY Permits visualisation of the path as the part program is being executed.
EXAME GRAPHIC Opens a submenu, in which the retrace and analysis functions available
for an executed path are available. The softkeys associated with the
submenu are REDRAW, ZOOM, CLEAR SCREEN, DIMENSION.
CONFIG HELP
PLOT CHECK CLEAR SCREEN ZOOM DIMENSION
EXIT
Horizontal axis name Is the name of the axis to be used as abscissa of the graphics. It normally
coincides with the X axis but may be any other configured axis.
Allowed axes names are: [X], [Y], [Z], [A], [B], [C], [D], [P], [Q], [W], [V],
[U] (capitals).
Vertical axis name Is the name of the axis to be used as ordinate of the graphics. It normally
coincides with the Y axis but may be any other configured axis.
Allowed axes names are: [X], [Y], [Z], [A], [B], [C], [D], [P], [Q], [W], [V],
[U] (capitals).
Third axis name Is the name of the third axis for 3D graphics. It normally coincides with
the Z axis but may be any other configured axis.
Allowed axes names are: [X], [Y], [Z], [A], [B], [C], [D], [P], [Q], [W], [V],
[U] (capitals).
Axes orientation This parameter defines the orientation of the visualised axes. Allowed
values are illustrated in the figure below:
1 2
3 4
Block display (Y/N) This parameter enables (or disables) visualisation of the part program
block currently being executed, in the window at the top left of the screen.
Tool colour trace Enables/disables a trace colour change on each tool change. This
(Y/N) functionality permits highlighting of the stretches of work performed with
the same tool.
There are 14 different trace colours available, used in rotation on each
tool change.
On programming of T0M6 (offload tool), the trace stays the same colour
as before.
After all the parameters on this page have been set, press [PgDn] to display the second page.
The complete second page illustrated in the figure below appears in case of 3D visualisation. If 2D
visualisation has been selected, angle parameters α and β will not be included in the list of
parameters, and the icon showing a system of cartesian axes used for 3D axes orientation will not
be displayed in the lower left corner of the screen.
0.00000
Y
0.00000
α = 0.00000
β = 0.00000
α
β
0.00000 0.00000
X
0.00000 0.00000
CONFIG HELP
VERIFY CLEAR SCREEN EXAME GRAPHIC
EXIT
NOTE:
This screen page is compiled in exactly the same way as described on page 12-5 in the section
related to the axes connected mode.
VERIFY
The VERIFY softkey permits graphic verification of a profile during part program execution with
axes disconnected.
This softkey is toggle type, each time it is pressed, it changes status, enabling/disabling drawing.
CLEAR SCREEN
Deletes the graphic drawn in the display area.
EXAME GRAPHIC
This softkey opens a submenu in which the executed path retrace and analysis functions are
available.
ZOOM Enlarges the selected portion of the graph; use of the ZOOM function is
illustrated on page 12-11.
DIMENSION Makes possible capture of the coordinates of the single points of the graphic
path; use of the DIMENSION function is illustrated on page 12-13.
END OF CHAPTER
DOS SHELL is a utility that permits to operate with the files resident in the hard disk, in the floppy
disk or in a remote unit. Typical DOS SHELL operations are: file copy, file delete, creation of a
directory, file print, etc.
DOS SHELL can manage any file recognised by the system. If the system has a stand-alone
configuration, DOS SHELL operates only with local disks, i.e. disks present in the system. If the
system is linked to a local area network, DOS SHELL operates both with local disks and with disks
resident in the network host. DOS SHELL can access remote disk units and printers only if one of
the following options is available: MINI-DNC, Ethernet or Serial.
DOS SHELL provides the user with a series of commands that permit to execute file management
operations. These commands can be enabled by means of the softkeys in the DOS SHELL menu.
They may request the user to input parameter values in specific data entry windows.
To launch DOS SHELL press the UTILITY softkey from the main menu and then the DOS SHELL
softkey. The DOS SHELL video page is shown in the figure below.
NOTE:
DOS SHELL can also be launched if the system has been started in emergency mode, i.e.by
keeping F1 pressed during bootstrap.
DRIVES CONFIGURATION
A: Local
E: Local
K: \\server\diskC
LPT1 Local
Some commands, such as COPY request to input two pathnames. If no directory has been
visualised with the DIRECTORY command, the default pathnames will be those of the last
executed command of the same type. If a directory has been visualised with the DIRECTORY
command, the default source pathnames will be the last visualised ones.
The pathnames must be written in full. For example, if the following directory tree resides in the A:
disk:
A:
A:\DIR 1\SUBD1|FIL1
A:\DIR1\SUBD2\FIL1
A:\DIR2\FILE
A:\FIL.DAT
\DIR1\SUBD1\FIL1
A:DIR2\FILE
A:FIL.DAT
NOTE:
The notions of source and destination pathname are discussed in the DIRECTORY section.
DISPLAYING A DIRECTORY
The DIRECTORY command permits to visualise a page that provides information about the files
stored in the specified directory as well as general information about the disk that accomodates
them. Files are listed in alphabetical order and can be selected by moving the selection bar with
the [Up/Down Arrows]. The selected file is also the current file and becomes the default source
file for file management commands such as COPY. A typical DOS SHELL directory is shown in the
picture below:
The file directory may occupy several pages. To visualise other pages, press these keys:
KEY FUNCTION
NOTE:
If a help or data entry window is active, [PgDn] and [PgUp] do not permit to select other directory
pages. You can use these keys for browsing through the help pages.
In the table that follows each command is listed under the relevant softkey name.
NAME FUNCTION
SHOW DRIVES permits to visualise information about the configured disk drives.
ABORT
The ABORT command forces the system to end the current COPY/PRINT session. The ABORT
softkey is enabled when COPY/PRINT is active.
BACKUP
The BACKUP command permits to make a backup copy of a file or group of files on a diskette.
This backup copy is fully compatible with the DOS 3.30a BACKUP format. BACKUP also permits
to format the diskette during the copy.
From: E:
From specifies the pathname of the file/s to be backed up. Characters "*" and "?"
are allowed.
Subdirectories request to make a backup copy of all the subdirectories in the specified
directory.
Format diskette request to format the diskette during the backup session. The only format
available with DOS SHELL is 1.44 MB HD..
Characteristics:
If the pathname specified in the From field terminates by a directory and the subdirectory field is to
[Y] this command will backup all the files in the directory plus all the files in all the subdirectories. If
the pathname specified in the From field terminates by a file or a group of files and the subdirectory
field is to [Y], this command will backup all the specified files and all the files having similar
characteristics stored in the subdirectories.
COPY
COPY FILE
From : E:\MYDIR\DEC\CNFG.ASC
To : a:\docum\*.*
From specifies the pathname of the file/s to be backed up. Characters "*" and "?"
are allowed.
To specifies the destination pathname to which the copy will be made. "*" and
"?" are not allowed except in the "*.*" sequence.
NOTE:
For further information about source and destination pathnames refer to the description of the
DIRECTORY command.
Characteristics:
If the current file or the pathname specified in the From field is a subdirectory, all the files in the
subdirectory will be duplicated.
When you press the COPY softkey, the ABORT softkey will also be enabled. The ABORT
command permits to interrupt a copy at any point in the session. The interruption occurs when the
ABORT request is given. Subsequent files will not be copied.
NOTE:
Do not use the COPY command to copy a part program between the floppy disk and the directory
of part programs (E:\UPP). Such copy can be obtained with the IMPORT/EXPORT command
available in the PP Management environment.
DELETE
DELETE FILE
Filename : E:\MYDIR\CHKUSE.DOC
File/Directory ? : F
Confirm delete ? : Y
Filename specifies the pathname of the file/files or the directory to be deleted. "*" and
"?" are allowed only in filenames.
Characteristics:
In the File/Directory field you must specify whether the pathname indicated in the Filename field
refers to a file, a group of files or a directory.
Since only empty directories can be deleted with this command, make sure all the files and/or
subdirectories have been deleted before making a request to delete a directory.
DIRECTORY
The DIRECTORY command permits to visualise the contents of the specified directory.
DIRECTORY
Path1 : E:\MYDIR
Path2 :
The data entry window for this command requests two pathnames. The first one (path1) is
mandatory whereas the second (path2) can be omitted. When you exit this data entry window, the
position of the cursor determines which directory will be displayed and which default pathname will
be used in the fields of the subsequent commands.
path1 is the pathname of the directory, the file or the group of files to be displayed. "*" and "?"
can be used for specifying a group of files. It is a mandatory field. If the cursor is on this
field when you exit the data entry window, the relevant directory will be displayed and
path1 will become the default source pathname. Also, if the path2 field is not empty, it will
become the default destination pathname.
path2 is the pathname of the directory, the file or the group of files to be displayed. "*" and "?"
can be used for specifying a group of files. It is an optional field. If the cursor is on this
field when you exit the data entry window, the relevant directory will be displayed and
path2 will become the default source pathname. Also, if the path1 field is not empty, it will
become the default destination pathname.
EDIT
The EDIT command permits to invoke a subset of the part program Line Editor for writing or editing
a text file.
LINE EDITOR
Filename : E:\MYDIR\BACKG.DOC
Filename specifies the pathname of the desired file. "*" and "?" are not allowed.
NOTE:
For more information about the Line Editor, refer to the "Line Editor" chapter.
EXIT
FORMAT
The FORMAT command permits to format 720 Kb double density (DD) or 1.44 Mb high density
(HD) 3.5" diskettes.
System specifies whether the diskette to be formatted will be used for duplicating the
DOS 3.30a system file.
Label permits to assign a label to the formatted diskette. The label will be
requested by the system after formatting has been completed.
HELP
The HELP command permits to display a window providing information about the current
procedure. A Help window may be invoked or closed at any moment.
Help information may be general or context-sensitive. At the general level it describes the functions
of the softkeys available in the current menu. Context-sensitive information provides the meaning
and allowed values of the parameters listed in the current data entry window.
Characteristics:
Context-sensitive information always refers to the field on which the cursor is positioned. When the
cursor is moved to another field, the contents of the help window are automatically updated.
By enabling/disabling the data entry window it is possible to automatically shift between the
context-sensitive and the general level.
To browse through a help window made up of several pages press [PgDn] and [PgUp]. To disable
the help window, press HELP.
MKDIR
The MKDIR command permits to create a directory or a subdirectory in the selected disk drive.
MAKE DIRECTORY
Path : e:\mydir\newdir
Path specifies the pathname of the directory or the subdirectory. "*" and "?" are not allowed. A
subdirectory must necessarily be included in an existing directory.
Default: last specified pathname for directory creation. No default pathname is displayed
for the first MKDIR command unless it has been preceded by a DIRECTORY
command.
The Print command permits to print text files using local or remote printers.
PRINT FILE
Filename : e:\mydir\newdir
Printer : LPT1
Filename specifies the file or the group of files to be printed. "*" and "?" are allowed.
Printer specifies the configured output printer (refer to the SHOW DRIVES command in
this chapter), which may be remote or local.
Characteristics:
If a remote print out has been requested but no remote printer is connected to the host, the system
will give no error message.
RENAME
The RENAME command permits to alter the name of a file or a directory. A file can be renamed
only in the directory to which it belongs.
RENAME FILE
Old name specifies the path of the file or the directory to be renamed. "*" and "?" are
allowed.
New name specifies the new name to be assigned to the specified file/directory. "*" and "?"
are not allowed.
RESTORE
The RESTORE command permits to retrieved file that have been previously backed up.
To : e:\mydir\newdir
Subdirectories ? : Y Confirmation for changed files ? : N
Subdirectories permits to restore all the subroutine branches with their files.
Confirmation for changed files specifies whether the system will send a confirmation request
before restoring those files that have been modified after the
back up. Enter [Y] to display such a request.
Characteristics:
The system prompts the operator to insert the diskettes in the correct sequence. If one of the
diskettes is missing, the restore session cannot be completed.
NOTE:
This command can restore backup copies produced with the system Backup function or with a
format compatible with DOS 3.30a BACKUP.
SHOW DRIVES
The SHOW DRIVES command permits to visualise information on the disk drives accessible to
DOS SHELL. When a SHOW DRIVES command is given, the last visualised directory is cleared
from the screen but all the selected files and source and destination pathnames will remain active.
A : Local
E : Local
K : \\server\diskC
LPT1 : Local
For each accessible drive SHOW DRIVES visualises a status window that provides the following
information:
DRIVE is a letter from A to Z that identifies the drive name. It must be quoted in the
pathnames associated to commands.
HOST PATH is a string that specifies whether the drive is local or remote. It may be:
NOTES:
• A remote printer is that connected to the host.
• A remote disk is the one resident in the hard disk of the local network host. Within the network
the host is identified through a logic name. Each drive shared by the systems connected over
the local network is associated to access permits that establish which operations are allowed to
each local system. If the command given by a networked local system is not allowed, (for
example, 'copy to a read-only remote disk') an error message will be displayed.
• The current networked drives are highlighted on the screen. To connect new drives, use the
MINI DNC, Ethernet or Serial option.
XCOPY
The XCOPY command permits to copy a directory tree complete with all its branches to any disk
drive accessible to DOS SHELL.
From : E:\MYDIR\*
To : a:\docum\*.*
Subdirectories? : Y Empty subdirs?: N Confirmation for each file?: N
From specifies the pathname of the source directory tree. "*" and "?" are
not allowed.
To specifies the destination pathname for the copy. "*" and "?" are not
allowed except for the "*.*" string.
Subdirectories specifies whether the subtree of the directory written in the from
field or just the files stored in in must be copied.
Empty subdirs specifies whether the existing empty directories must be copied.
Confirmation for each file specifies whether the system will send a confirmation request
before copying a file. Enter Y to display such a request.
Characteristics:
If the pathname specified in the From file ends by a directory, all the files in this directory will be
copied. If the subdirectories that make up the tree do not exist in the source drive, XCOPY will
create them.
NOTE:
Do not use the XCOPY command to copy a part program between the floppy disk and the directory
of part programs (E:\UPP). Such copy can be obtained with the IMPORT/EXPORT command
available in the PP Management environment.
END OF CHAPTER
10 Series CNC provides a set of security functions that restrict access to the system resources.
These functions are assigned to system users organised hierarchically according to three main
criteria:
• User levels
• Ability to use system functions
• Ability to install optional components
USER LEVELS
System users are distributed in seven hierarchical levels, each of which is assigned a specific set
of functions. User levels and their functions are shown in the table below:
0 R&D reserved
1 Osai reserved
Levels 0 and 1 are reserved for Osai and cannot be accessed by users not belonging to Osai.
Users in levels 2 through 6 do not belong to Osai but their ability to access the system resources is
restricted by a password.
A password is a string of 20 alphanumeric characters that can be defined and altered by users
located at different hierarchical levels. By defining his own password a user bars access to the
system by users at lower levels.
Each user has the ability to use the set of system functions typical of his level. The number and
type of functions assigned to one level can be defined by the user who occupies the lower level
and has greater hierarchical importance.
There is a specific procedure that permits to enable the user occupying one level to use a system
function.
System functions are grouped in ten classes. Each class may include as many as eight functions:
0 reserved
1 reserved
2 maintenance
3 directory protection
4 system tables protection
5 configuration
6 PLUS execution
7 part program development
8 execution of CNC functions
9 reserved for the OEM
Each class of functions is described by a byte whose bits correspond to the functions in the class.
A function is enabled when its bit is to 1 an is disabled when its bit is to 0. The ten bytes that
describe the functional classes and the meaning of each bit are listed in Appendix B.
The ability to access the functions in a given level can be pictured as a bit map.
When a release is installed for the first time, all the levels from 3 to 6 have the same bit map, i.e.
10 enable bits:
0 00000000 reserved
1 00000000 reserved
2 01111111 maintenance
3 10001110 directory protection
4 00001111 system tables protection
5 11110111 configuration
6 00011111 PLUS execution
7 00001111 part program development
8 00000111 execution of CNC functions
9 11111111 reserved for the OEM
Options purchased separately can be installed in the system at any time as long as the user is
granted the ability to install them. At Osai there are two ways of granting users permission to install
an option:
• providing the user with a control specific hardware key generated by Osai during system
production. The 'system' is a unit made up of a control plus its optional components.
• providing the user with a product key that permits him to install an option purchased after the
control.
The Security environment can be enabled by turning the control on in emergency status. It can also
be enabled when other processes are running on the system.
When the system is powered on in emergency status, i.e. keeping [F1] pressed, the following
submenu appears:
To enable the Security when a process is running on the system, press the DIAGNOSTICS softkey
from the main softkey menu. In this case, the following submenu appears:
HELP
SECURITY SYSTEM HISTORY SERVO MONITOR
From either submenu press the SECURITY softkey. The following page is displayed:
10 Series
Manufactured : xx/xx/xxxx
HELP
SET LEVEL SET PASSWORD SET SECURITY SHOW SECURITY PRODUCT INFO
PRODUCT KEY INSTALL SHOW OPTIONS SHOW FIXUPS EXIT
The sections that follow describe the softkeys available in the SECURITY environment.
SET LEVEL
This softkey permits to select a user level. When SET LEVEL is pressed the following data entry
window is displayed:
LEVEL :
PASSWORD :
The password does not appear on the display when user writes it on the field. If the password is
not correct an error message will be displayed.
To abort the operation press [Esc]. The system will return to the previous user level.
The ability to use the functions associated to a given user level remains active until a higher user
level is selected.
The user level is not altered if the system is reinitialised. This facilitates repetitive operations that
require frequent reinitialisation, such as development of the system logic.
IMPORTANT When a user selects a user level, he is enabled to use the functions
associated to both his level and the subsequent ones.
SET PASSWORD
This softkey permits to alter both the current password and the passwords assigned to upper
levels. It also permits to define a password for those levels that do not have any. When SET
PASSWORD is pressed the following data entry window appears:
NEW PASSWORD
level :
old password :
new password :
confirm :
level is the user level whose password is to be altered. The default level is that
selected with SET LEVEL. Allowed values must be greater than the current
level.
old password is the password displayed on the level field. If no password has been
defined for the selected level, press RETURN to skip this field.
The assigned password is not displayed in the data entry window. To abort the procedure without
altering the old password press [Esc].
Before starting this procedure the user must declare his own level by means of the SET LEVEL
softkey. After accessing his own level the user is in a position to alter the passwords of both his
own and the higher levels.
SET SECURITY
This softkey permits to alter the ability to use system functions by users having a higher
hierarchical level.
Before starting this procedure the user must declare his own level. When the SET SECURITY
keyboard is pressed the following data entry window appears:
selected level:
selected level is the user level whose ability to use system functions must be modified. It must
be higher than the current level.
Key in the level and press [Enter] to confirm it. The following bit map will be displayed:
default configured
byte: bit 7 ... 0 bit 7 ... 0
0: xxxxxxxx xxxxxxxx
1: xxxxxxxx xxxxxxxx
2: xxxxxxxx xxxxxxxx
3: xxxxxxxx xxxxxxxx
4: xxxxxxxx xxxxxxxx
5: xxxxxxxx xxxxxxxx
6: xxxxxxxx xxxxxxxx
7: xxxxxxxx xxxxxxxx
8: xxxxxxxx xxxxxxxx
9: xxxxxxxx xxxxxxxx
code is the code of the class of functions. It is also the number of the protection tables
listed in Appendix B.
default this 8-bit column shows the enabled functions that may be accessed by the upper
user level in each class. Bits can be written as 1 or 0.
configured this 8-bit column shows the enabled functions that may be accessed by the current
user level in each class. Bits can be written as 1 or 0.
A bit to 1 marks an enabled function. A bit to 0 marks a disabled function. The user can grant
access to the functions that are enabled in the default column.
The system filters the alterations made by the user to prevent him from making illegal
modifications. In particular, the system:
On-line help describing each bit (function) is provided for every class of functions.
To abort the procedure at any time without altering the current bit map press [Esc].
Example:
If you are a level 3 user and want to alter the access to the system by a user on level 4, follow
these steps:
1. Press SET LEVEL to declare your user level. At the system prompt key in your level and
password.
2. Press SET SECURITY. The system displays a data entry window with the user level (4) in the
selected level field. When you confirm this level, the bit maps of levels 3 (current) and 4 will be
displayed.
3. Let's assume that access to class 4 functions is to be modified and that the following bit map is
displayed for class 4 when you press SET SECURITY:
default configured
00001111 00001110
5. To check whether the system has accepted the alterations press SET SECURITY again, key in
your level (3) and confirm it. The following bit map will be displayed:
default configured
00001111 00001011 (originally the altered map was 00011011)
Note that the system has filtered the following modifications:
• The disabled function associated to bit 3 has also been disabled for level 4 (xxxxx0xx).
• The function associated to bit 1 has been re-enabled (xxxxxxx1). This occurs because the
bit is also enabled in the default map (level 3). However, the bit is not enabled on higher
levels. To enable the bit also on higher levels, press SET SECURITY.
• The request to enable the fifth bit (xxx1xxxx) has been denied because this bit is disabled in
the default map.
• The bit maps of the lower levels have not been modified.
SHOW SECURITY
Permits to display the bit map associated to the current level specified with SET LEVEL. When you
press SHOW SECURITY the following window appears:
default configured
byte bit 7 ... 0 bit 7 ... 0
0: xxxxxxxx xxxxxxxx
1: xxxxxxxx xxxxxxxx
2: xxxxxxxx xxxxxxxx
3: xxxxxxxx xxxxxxxx
4: xxxxxxxx xxxxxxxx
5: xxxxxxxx xxxxxxxx
6: xxxxxxxx xxxxxxxx
7: xxxxxxxx xxxxxxxx
8: xxxxxxxx xxxxxxxx
9: xxxxxxxx xxxxxxxx
The configured column shows the bit map of the current level, whereas the default column shows
the bit map of the higher level. These bit maps cannot be altered.
PRODUCT INFO
This softkey permits to visualise the configuration, release number and options of the 10 Series
CNC. It is available only if accessible to the current user level.
PRODUCT KEYS
This softkey permits to enable a user to install optional components on the 10 Series CNC. It is
available only if it is accessible to the current user level and the system is in emergency status.
When your press PRODUCT KEY the following data entry window is visualised:
Key 1 :
Key 2 :
Key 3 :
Key1 . . . key3 are three alphanumeric product keys. Each product key can be up to 20
characters long and is supplied in conjunction with the optional component.
Enter the product keys in the displayed sequence and press [Enter] to confirm it. If the product key
is correct the system enables the user to install the option.
INSTALL
This softkey permits to install software options on the 10 Series CNC. It is available only if it is
accessible to the current user level and the system is in emergency status.
1. Turn on the system in Emergency status (i.e. keeping [F1]. depressed). The following menu will
be displayed:
SHOW OPTION permits to visualise the list of files with the xxxxxxxx.0nn extension, which store
information about the optional software installed in the system.
SHOW FIXUPS permits to visualise the list of files with the yyyyyyyy.Fmm extension, which store
information about the optional software fixups (i.e. updates) installed in the system.
To display the information lines of a file in any of the lists position the cursor on the file name and
press [Enter].
Example:
a. Press SHOW OPTION to display the software options installed in the system:
INSTALLED OPTIONS
E660100.001
E390202.001
E700300.001
pag. # of #
If the list is made up of several pages, use [PgUp] and [PgDn] to display previous or
subsequent pages.
c. The information lines in the installed option (E390202.001) will be displayed. This option bears
the following code: E39 Rel. 2.02.
INSTALLED OPTIONS
E660100.001
E390202.001
E700300.001
Compatibility: ............
If the list is made up of several pages, use [PgUp] and [PgDn] to display previous or
subsequent pages.
d. Press [Enter] to close the second data entry window and [Esc] to close both of them.
e. Restart the procedure to visualise the contents of other files or press [Enter] again to close the
'INSTALLED OPTIONS' data entry window.
END OF CHAPTER
This chapter will deal with the first two procedures while for remote switching-on and network
configuration please see the CHAPTER "Ethernet Comunication" in this manual.
ACTIVATING PERIPHERALS
To activate peripherals press the UTILITY softkey and subsequently the PERIPHERALS softkey on
the viewed menu The following display will then come up.
NOTE:
PERIPHERALS can be activated even if the system is started in emergency mode (during
bootstrap press [F1] key).
INTERLNK
INTERLNK is a utility program supplied with the MS-DOS 6.22 operating system which allows to
connect the 10 Series system with another computer (or another 10 Series system) using a serial
port.
From one system it is possible to access data owned by the other system without using floppy
disks to copy files.
The system consists of a Client which sends commands out and a Server which is the unit
connected to the Client.
The Client makes use of the Server's disks while the Server displays the connection status
between the two systems and the comparison between local and remote disks.
When the systems are connected to Interlnk, Server's disks are displayed on the Client as
additional disks.
Configuration
Interlnk must be configured on the 10 Series system and on the unit to be connected (personal
computer or 10 Series system).
To activate Interlnk configurator, press the INTERLNK CFG softkey on the PERIPHERALS video
panel. The following input window will be displayed:
INTERLNK CONFIGURATOR
SELECTED PORT is the name of the serial port to be activated and used by Interlnk every time
the 10 Series System is operated
When the system will be subsequently operated, ACTIVE PORT will be equal to SELECTED
PORT.
Make sure that the serial port used by Interlnk does not come into conflict
CAUTION
with the serial ports defined in AMP (Hardware Configuration) or in other
options (serial MINI DNC, Remote Diagnostic); should the same port be
defined both in AMP and in Interlnk Cfg., when pressing the INTERLNK or
the INTERSVR softkey to operate the system, a display indicates that the
device is not available for use.
NOTE:
In case of remote access (read and/or write in) with Interlnk, the 10 Series System must be IDLE;
besides it is advisable to overload the system as little as possible to avoid affecting the current
communication.
INTERLNK (Client)
To start the Client, press the INTERLNK softkey on the PERIPHERALS menu. The status of the
local disks (and also of the remote disks if the Server has been started on the other system) will be
displayed giving the prompt for the DOS commands.
Should the Server not being activated on the other system, a message will be displayed to check
whether the cable on the selected serial port has been correctly connected and Intersrv is already
operating on the other system.
At the command prompt type in Interlnk, in order to check the status of the disks and of the
selected serial port.
Example: when Intersvr has been loaded on the computer and Interlnk on the 10 Series System
through the serial port 1, the following information will be displayed:
Port=Com(3F8)
The A, C e D remote disks of the computer Server can be accessed from 10 Series system at the
command prompt supplied by Interlnk using the identifiers G, H and I.
NOTE:
Re-direction of these disks is NOT visible inside the DOS SHELL program.
Once the connection to the Server is established, it is possible to use the following MS-DOS
commands:
CHKDKS FORMAT DEFRAG MIRROR
DISCOMP SYS DISKCOPY UNDELETE
FDISK UNFORMAT SCANDISK
Interlnk Client can be used from the 10 Series System both when it is in emergency mode
(pressing the [F1] key at the bootstrap) and when in running mode.
To exit Interlnk, it is necessary to type in EXIT at the DOS command prompt on the first Interlnk
video page thus returning to the PERIPHERALS video page.
INTERSVR (Server)
Pressing the INTERSVR softkey from the PERIPHERALS menu, Interlnk displays the status of the
local disks; a status bar at the bottom of the screen displays the connection status indicating the
serial port in use, the transfer rate (baud rate) and whether the Client is reading or writing in.
In case Interlnk has already been started on the other system (Client), the re-direction of the
remote disks, i.e. the ID to access the remote disks of the Server from the Client is displayed; when
the Client accesses a disk from the Server, an asterisk (*) next to the relevant ID is shown while
the status bar indicates the type of access (read or write in).
NOTE:
Intersvr could be activeted on 10 Series System only in Emergency mode (pressing [F1] at
bootstrap) ; in other cases the intersvr function is disabled.
When executing Itersvr on the 10 Series System, the following video page will be displayed:
A:
C: (10Mb)
D: (23Mb)
E: (16Mb)
F: (298Mb)
LPT1:
When connecting the other system (Client) to the 10 Series System through the serial port 1, the
re-direction of the Server remote disks will be also displayed; the page will be modified as follows:
A: Equals E:
C: (10Mb) Equals F:
D: (23Mb) Equals G:
E: (16Mb) Equals H:
F: (298Mb) Equals I:
LPT1: Not connected
NOTE:
Intersvr can be activated on the 10 Series System only when this is in emergency mode (i.e. after
pressing F1 at the bootstrap); when the system is in running mode, Intersvr is not available (the
relevant softkey is disabled).
Interlnk can be activated both as a Client and a Server on a Personal Computer connected to the
10 Series System.
Once the Server has been activated on the 10 Series System, it is possible to access the remote
disks of the Server.
NOTE:
Interlnk can be executed from the DOS shell of Microsoft Windows 3.1 or 3.11. Initiating the Client
from the DOS shell of Windows 95, the system indicates that it is exiting Windows and starting
DOS; when the Interlnk session is ended, the computer is restarted typing [EXIT] in.
To activate the Interlnk Server it is not necessary to modify the CONFIG.SYS file; just type in
INTERSVR at the prompt of the DOS commands.
As in the 10 Series version, Interlnk displays the status of the local disks; a status bar at the bottom
of the screen displays the status of connection and the serial port used by the Server, the transfer
rate (baud rate) and whether the Client is reading or writing in.
In case Interlnk has already been activated on the Client, the re-direction of the remote disks is
displayed, i.e. the ID's to access from the 10 Series to the remote disks of the Server; when the 10
Series access a disk from the Server, an asterisk (*) next to the relevant ID is displayed.
NOTE:
Intersvr can be executed from the MS-DOS shell of Microsoft Windows 3.1 or 3.11, however it is no
longer possible to go from this shell to the tasks of Microsoft Windows [ALT][TAB] is disabled).
Starting the Client from the DOS shell of Windows 95, the system indicates that it is exiting
Windows and starting DOS; when the Intersvr session is ended, the computer is restarted pressing
[ALT][F4].
For further information about Interlnk.exe, Interlnk and Intersvr refer to the MS-DOS guide or to the
PC-Help Guide where the MS-DOS 6.22 or subsequent versions are installed.
PRINT DEVICE
PRINT DEVICE allows to define the correct device to print locally.
To define the port to be used for printing, press the PRINT DEVICE softkey from the
PERIPHERALS video panel. The following input window will be displayed:
The herewith defined print port is used as local default port in some software packages having the
PRINT.
REMOTE BOOT
This softkey allows to enable or disable the connection to a remote controller of the CNC
bootstrap.
This function is available only when the CNC and the remote controller (Personal Computer) are
connected through the MINI DNC option and when the Remote Development kit option is installed
on the PC.
The softkey gives access to a data entry requiring two types of information:
REMOTE BOOTSTRAP
The first field allows to enable or disable the connection to the remote PC.
The second field indicates if during the bootstrap the PC has to wait for the connection to the
remote PC (synchronized=[Y]) or whether it can perform the bootstrap even without such
connection (synchronized=[N])
For a more detailed description of this function, refer to the CNC 10 Series Remote Development
kit manual.
END OF CHAPTER
INTRODUCTION
The communication channels of the CNC's have also followed the PC evolution. Today Ethernet
communication is a de-facto standard in factories. As RS 232 Ethernet defines an electric
communication standard but with the advantage that the transmission speeds are much higher:
instead of the 9600 bps for RS 2323 we have 10 million bps with Ethernet.
Therefore the users have increasingly been asking to connect also the CNC’s to the
factory’s Ethernet, in order to be able to easily exchange programs from the technical
department and production data between the other departments involved i.e. to exchange
data between the CNC’s and the PC’s.
As the OSAI CNC’s are based on standard PC architecture we were able to integrate the
Ethernet communication channel directly into the CNC thus implementing interesting
features which go beyond the original user requests.
When defining the specifications of network, OSAI adopted the standard NetBEUI
communications protocol for the 10 Series controllers which is available on all Windows PC’s
connected to the network and implemented the Client-Server architecture on the CNC. Therefore
you can share the CNC’s hard disks on the network and access the shared network devices on the
CNC. In other words, from the CNC the operator can access the program archives or tool data on a
central server or the technical department can transfer technology programs and machining data
from their PC’s to a CNC by simply dragging the files with the mouse from the local hard disk to the
shared one on the remote CNC. And that’s not all. In addition to the program transfer feature the 10
Series CNC offer an extensive functions library for Windows (DLL) and the relative extended
command set on NetBEUI level. This allows not only to acquire production data from the production
planning PC, but also to synchronise several CNC’s connected to the network via a cell or line
supervisor.
Therefore it can be safely stated that OSAI has exceeded the requests for connecting CNC’s to the
factory network by delivering solutions for building a distributed architecture of CNC’s
integrated in the factory network as native components and not as strange units interfaced to the
net via additional expensive and restricting hardware modules.
Connection of a numerical control Client to a Server PC offers access to the disks and to the
directories of the Server itself with the following advantages for the user:
1. Using files made available by the server as if they were local files installed on the machine. The
transfer of files from the server to the CNC is launched by the usual “FILE COPY” commands.
Copying files stored on the hard disks of the server to the local hard disk presents an
advantage, as you can maintain a centralised archive on the server.
The ability to copy the files memorized in the Server's hard disk to the local hard disk can be
very useful as the part programs are all contained in a central archive on the server
2. Executing technology programs residing on a dedicated remote server
In this case the maximum transfer rate of the Ethernet has to be carefully
evaluated so that the execution times and machining quality are not
WARNING jeopardised.
By using the network you can directly control from the PC the transfer of the various types of
file. This is very useful especially when various 10 Series Systems are connected to a single PC
Supervisor; further, if the remote IPC parameter (InterProcess Communication) is set "Y",
messages and commands can be exchanged between tasks that are resident on different
machines.
Communication works at a transmission speed of 10 Mbaud; the max. length of the cable between
two units is 185 m.
The PATHWORKS protocol is a sub-group of the DECNet PATHWORKS 4.0 for communication
with boards.
NOTE:
According to the manual the PC can be a normal personal computer or a WinLink Operator Panel.
For simplicity’s sake this manual always refers to these units as “PC’s” or “computers”.
Definitions
In the description of the network systems, their installation and configuration and their relative
functions, the following terms will be used:
Machine or terminal Term which identifies the calculator (PC or 10 Series System) to
which the network is connected.
Communication protocol Is the form which the nodes follow to exchange all the various
types of information that need to be sent on the network. Other
than the actual data, the exchanged information can be checksum
data to verify the exactness of the messages, specifications
relating to the sender and receiver, data identifying whether the
message belongs to a certain sequence of messages or session,
etc.
The nodes which need to exchange messages must adopt
identical communication protocols.
The most recent protocols are subdivided into 'levels' which define
the various types of information to be sent through the network.
Channel Is the set-up needed so that a node can present itself to the
relative network. This is composed of a hardware part, i.e. a board
or a serial connector provided with the relative cable, and a
software part, i.e. the protocol. A machine can be supplied with
more than one channel (connected to different networks), as long
as the various combinations of hardware and software (same or
different) are compatible and do not create problems either to the
machine or to the networks to which they are connected. A
machine with more than one channel is considered the node for
each channel: in this way it is possible to say that more than one
node can co-exist in a single machine.
NOTE:
At present, only one channel per machine (10 Series) can be installed on the computers.
Configuration or
plant supervisor This is a machine which can configure or monitor the CNC’s in the network. Its
software is therefore enhanced with some additional features.
Server A system is called the Server when it places all or part of its own local
resources (e.g. the hard disk or the printer) at the disposal of other users
connected to the network.
Client Is the definition used for the system which, on the network, makes use of the
resources offered by a Server. From the Client's point of view, the resources
made available by the Server are remote.
Master Is the node from which communication is begun, i.e. that from which a request
for connection is launched. It will maintain the denomination of Master for the
duration of the session. The Master always has the function of Client.
Slave Is the node which receives the communication launched by the Master. It will
maintain the status of Slave for the duration of the session. The Slave always
has the function of Server.
NOTE:
The 10 Series systems offer both the Master and Slave features at the same time.
Network topology
Seen graphically, the logical components can be represented as in the figure below, i.e.
components which are not yet correlated.
Segment 1
Segment 2
TOPO1ING.DRW
The two segments can lie on the same physical network or belong to different networks. To allow a
machine to communicate with the others, it is necessary for the communication channel it uses to
be defined (i.e. install the hardware, board or serial cable and the software), and to specify the
segment on which the channel will present itself. The channels therefore have the duty to connect
a machine to a segment. In order to be able to define a channel, it is therefore necessary to define
at least one machine and a segment first.
The configuration of the most simple network is one with two nodes (in our case a 10 Series
System and a PC) which communicate on the same segment as illustrated in the following figure in
which Machine 1 equipped with Channel 1 and Machine 2 equipped with Channel 2, both present
themselves on Segment 1. Obviously, other than the same hardware, the two channels must have
the same protocol. The Machine, with the relative Channel, represents the homonymous node.
Node 1 Node 2
Machine 1
Machine 2
Channel 1 Channel 2
TOPO4ING.DRW
Segment 1
For example it can be organised as shown in the figure which comprises three 10 Series systems
with the relative channels connected to a segment which also contains a PC which can function as
supervisor or server. The Supervisor is provided with a printer which can be placed at the disposal
of the network as a shared resource.
At present it is only possible to have one channel and one segment for
IMPORTANT each 10 Series node.
Channel 4
Segment 1 Node4
TOPO3ING.DRW
General view
In a network of 10 Series Systems, each machine is able to configure itself as a node in the
network and to memorize its own configuration locally.
At installation of the release a default configuration is loaded which you can then modify using the
network configurator (NET CONFIG softkey of PERIPHERALS).
Network configurator
The network configurator, which is started by pressing the NET CONFIG softkey, is a program
which permits definition of the configuration of each machine as a node in the network.
The configurator foresees an interface towards the user based on a menu of softkeys and input
windows which are very similar to those normally used on the system. These are subdivided by
function are active or not in accordance with the configuration level and of the model of the
machine to be configured.
− basic level
− advanced level
For each level a corresponding group of possible operations and information is supplied the user.
The results of the network configurator's work is a set of data inserted into a database, on each of
the machines which make up the network system, which is ready to start functioning when the
network itself is activated or rather, at the next bootstrap.
The functions offered by the network permit distribution of a system's resources, where each
machine is delegated a series of specific tasks, thus considerably facilitating the operator's job.
Further, with the possibility of future system enhancements, the objective of "distributed
architecture" becomes closer to being realized.
File Transfer
With the File Transfer function access and transfer of files by means of the network are allowed.
In File Transfer, the 10 Series System has access to the disks of the remote PC for reading and
copying operations as if they were local disks. In its own operating environment it is sufficient to
supply the names specified in configuration in order to obtain access.
Access to remote disks through the network can be obtained through the 10 Series System with
the following functions:
• UTILITY environment
− DOS SHELL (all foreseen functions)
− PP MANAGEMENT (for Import/Export of files)
− SERVO MONITOR (save/restore on remote disks)
− AMP (backup operations)
− Softkey OEM, DOS Graphic Interface option (in accordance with definitions)
− SYSTEM HISTORY (EXPORT)
For correct operation, the Server machine must have the disks and the printers defined as
'sharable services' whereas the Client machine must define the same objects as 'remote services'.
Server services
The server node can make disks and directories available by defining them as shared services.
They must be associated with:
• the name identifying them on the network (different Servers may define services with the same
name)
• the associated protections. This can be: R (read only), RW (read and write) and RWC (read,
write and create)
• a password (if required).
In order to obtain access to the services made available by the Server, a Client node must
configure the disks that it intends to use. Access will be identical to local type access. Configuration
of the remote services on the Client must include:
• the name with which the disk or directory will be known to the system (e.g. K:, R:, etc.)
• the name of the node on which they are defined
• the name of the service as defined by the Server
• a password (if required).
It is possible to add, delete or modify the configuration of a service at any time both on the Server
and on the Client. However it has to be kept in mind that only the configuration of a service as
Client can take immediate effect, whereas services configured as Server become available on the
10 Series systems only after the next initialisation of the system (switching it off and on).
The 10 Series System can access remote disks defined on the PC if:
• the network is suitably configured on both machines and the remote disks have been defined
• the network has been activated on both machines
The messages that are exchanged in this generic network have different forms in function of the
systems and environments generating them. Simplifying matters, the lay-outs possible in a point-to-
point network are as follows:
Communication through Asset instructions is based on using ‘normal’ commands on the 10 Series
control; these commands are made remote in configuration of the remote devices/environments
(see three-letter code DCC).
These instructions are a super-set of the normal part-program commands (see the “10 Series CNC
ASSET Language” manual).
Access is possible to remote processes and the Dual Port areas of remote systems.
Communication from the Dos Real Time environment is realized by directing the functions usually
available in local to the remote environments, using the same identifiers as configured for these
remote environments in the ‘Net Config’ (see the “10 Series CNC DOS Real Time Interface”
manual)
In order to communicate DLL NetBIOS/OSAI messages there has to be a controller interfaced to
the net: to it the OEM software can send messages and from it the response is received.
Actual transmission of the messages compiled by the OEM software is managed by NetBIOS1
NOTES:
• A Host system can be a Client of a 10 Series System (and operate in the file-transfer and task-
to-task modes simultaneously) and at the same time operate as Server after configuring shared
services.
• Configuration of the sharable and remote environments on 10 Series Systems is performed by
the network configurator; the 10 Series System can make its operating environments available
as servertype services. The following must be associated with each service (in the same way as
file services):
− the logic name it is known by in the network
− the protections: R (read only), RW (read and write) and RWE (read, write and execute)
− a password, where required.
• The environments can be configured on 10 Series Systems at any time: connection to a new
remote environment can be immediate (provided that this environment has already been made
available on the network), whereas definition of a new service for the network will have effect
only after the next time the 10 Series System is initialized.
• For configuration of the remote environments on Host, see the initialization sequence indicated
for the client session in Chapter 2, “OSAI Netbios” Manual 10 Series CNC Mini-DNC Ethernet
Library Functions.
1 NetBIOS
is the IBM standard protocol for network communications between Personal computers; there is a
vast range of publications on the matter, notably:
NOTE:
The NetBIOS and OSAI Netbios messages that can be used to exchange operating commands in
the network are documented in detail in chapter 2 Manual “10 Series CNC Mini-DNC Ethernet -
Library Functions” and in more general terms in Appendix A. Chapter 1 contains the DLL functions
for development of applications in the Windows environment.
Supplied with the DLL is the source code of an application provided by way of example only.
The application creates a user interface using the MDI mode.
USER INTERFACE
The communication environment's user interface serves for configuration of the environment itself
and for working on the network.
This means that a series of values must be introduced on given variables to which access is
obtained through a series of displays, softkeys and data entries which make up the network
configurator's user interface.
1. From the system's main screen or from emergency screen, press the PERIPHERALS softkey.
The following screen is obtained:
2. Press the NET CONFIG softkey. The main screen of the Network Configurator appears.
In the network configurator, a certain number of screens are foreseen which are briefly described
below. For more details, refer to the following paragraphs.
Main screen
This is the first screen displayed when the Network Configurator environment is entered and
changes according to the enabled configuration level.
The meaning of the fields and the columns contained in the screen are the following:
page 1 of 3
LEVEL HELP
SHARED ENV REMOTE ENV CHAN GENERAL ENVIR. CONNECT.
SERVER CLIENT SERVICES CONN. EXIT
The fields and the columns present in the screens shown above have the following meaning:
Current level Is the active configuration level in that moment. Two values are possible
which correspond to visualization of a greater or lesser amount of
information and the specific softkeys (and consequent commands) are
enabled. The possible levels are:
Basic: Is the lowest level which only enables visualization of
basic information but does not permit configuration
modification.
Advanced: Is the highest level in which all the foreseen functions are
enabled for system configuration.
Board Type: Is the type of physical communication means. Possible value is:
PCNET Integrated Ethernet on the OSAI system
Protocol Type: Is the type of protocol envisaged for that segment. It can assume the
following values:
PATHWORKS for the NETBIOS DIGITAL protocol
NETBEUI for the NETBIOS protocol for MS DOS/WINDOWS
environments
File Transfer: Indicates whether the file transfer function on that channel is enabled or
not. If [Y], the channel can effect file transfer, or rather that it is possible
to define Server and/or Client services. If [N], file transfer cannot be
carried out on that channel.
Remote IPC: Indicates whether the function of remote IPC for task-to-task activities is
enabled or not. For this software release it is always [N].
DISK1 F:\UPP R
DISK2 F:\NEWPP RW
K: DISKC PC1
page 2 of 3
LEVEL HELP
SHARED ENV REMOTE ENV CHAN GENERAL ENVIR. CONNECT.
SERVER CLIENT SERVICES CONN. EXIT
This screen is only present if Server and/or Client services have been defined on the channel.
Data concerning Offered service, Service path and Access identify services of the Server type
(configured on that channel with the SERVER softkey), which are present when the machine was
configured as Slave or Master/Slave. Details relating to Remote drive, Required service and Server
name identify services of the Client type (configured on that channel with the CLIENT softkey)
which are present when the machine was configured as Master or Master/Slave.
Offered service: Lists the names of all the services configured on the selected channel
with the SERVER softkey.
Service path: Is the path inside the Server which must be followed in order to reach the
corresponding service shown in the Offered service column. It coincides
with the DOS path.
Access: Identifies the type of access allowed for that service. The values
contained in this column have the following meaning:
R access is allowed for reading of the data contained in the service
W access is allowed for writing and modification of the data contained
in the service
C creation of files in the specified service is allowed (disk or directory).
Remote drive: Specifies the local name (on Client) of the remote drive, corresponding to
the service with its name in the Required service column, on the node
indicated in the Server name column. These services are defined with the
CLIENT softkey.
Required service: Is the name of the service, to which the Client wishes to have access, as
defined on the remote node.
Server name: Is the name of the node and therefore of the channel on which the
service requested resides.
In the example shown in the described screen display, the 10 Series system offers the network its
directories F:\UPP and F:\NEWPP, naming them DISK1 and DISK2. The host can gain access to
DISK1 for reading and to DISK2 for reading and up-dating, but it cannot create new files on the 10
Series.
Further, from this channel it is possible to gain access to a service on the host using drive K:.
Connection with the remote disk is active when the data line is highlighted.
61 PROCESS 1 RWE
. . . .
. . . .
Remote Environment Environment name Server Service name Type Access Filter
name
page 3 of 3
LEVEL HELP
SHARED ENV REMOTE ENV CHAN GENERAL ENVIR. CONNECT.
SERVER CLIENT SERVICES CONN. EXIT
The "Local environment" data define the "server environment" type services made available for the
network channel, whereas the "remote environment" data identify the "client environment" type
remote services that are to be accessed through the channel selected.
ENVIRONMENT
An "environment" is a set of tasks and system objects that combine to form an independent "virtual
machine" (stand-alone), able to communicate with other virtual machines through the exchange of
predefined messages and commands.
The 10 Series System internally comprises a number of environments, each with features of its
own (e.g. Numeric Control environment, Machine Logic environment, UTILITY environment, etc.).
This mechanism may be exploited for the transparent mode exchange of messages, in other words
for performance of the same operations between environments resident on different machines.
Again in this case the concepts of "client" and "server" are used for environments, in the same way
as for "client" and "server" files.
A "server" environment is a local environment on a machine at the disposal of the network, i.e. to
which the other machines are provided access through the network.
A "client" environment is an environment that does not exist on the machine in which it is defined,
but on a remote machine (where it must have been defined as "server environment"): messages for
a "client environment" are sent through the network to the remote environment and replies are
received from the latter as though it were a local environment (except for the delay caused by
transmission on the network).
Local environment Lists the ID's (in Hex) of all the environments made available by the
network and configured by means of the SHARED ENV softkey on the
channel selected.
Service name: The name by which the service of local "server environment" configured
is recognized on the network.
Type: This is a decimal value defined by the user, identifying type, i.e. the
features, of the environment.
Access: Identifies the type of access permitted for the environment. Significance
of the values in this column is as follows:
R: Read
W: Write
E: Execute
The "service name", "type" and "access" values are checked by the
remote machines at the time connection is requested.
Remote environment: The ID (in Hex) of the remote environment corresponding to the service
made available by the node indicated in the "server name" column with
the name in the "service name" column.
This value may be used by user application programs (e.g. Dos Real
Time).
Environment name: The mnemonic of the ID of the remote environment: may be used directly
(for example, in ASSET programs).
Server name: The name of the node (and therefore of the channel) on which the remote
service (environment) has been defined and resides.
Service name: The name of the service (environment) for which client type access is
required, as defined on the remote node.
Type: The type associated with the remote environment on the server.
Access: The type of access required for that service; is the same as, or a subset
of, the accesses defined on the server.
Filter: The ID (in Hex) of another environment designed to filter certain
commands and see if they can be executed by the remote environment; if
the value is zero, no filter is required.
Some softkeys can be active or not according to the configuration level selected as shown in the
two columns B (Basic) and A (Advanced).
LEVEL HELP
SHARED ENV REMOTE ENV CHAN GENERAL ENVIR. CONNECT.
SERVER CLIENT SERVICES CONN. EXIT
The following table summarizes the function of each of these softkeys. A detailed description
follows on the next pages:
Level
B A Softkey Meaning
❏ ❏ HELP This softkey opens a contextual help window which gives certain
practical information that depends on the activated softkey and
on eventual data entries opened.
❏ REMOTE ENV This softkey is used to configure the remote environments that
the channel wants to use; activated when the message
exchange features are configured (remote IPC=Y in the CHAN
GENERAL screen).
B A Softkey Meaning
There are two levels corresponding to different degrees of visualized data and above all,
differences in how the softkeys are enabled with consequent changes to the commands.
Basic: Is the lowest level which enables visualization of basic information but does not
permit configuration modifications.
Advanced: Is the highest level in which all the foreseen system configuration functions are
enabled and in particular, the ones which act on the network's structure.
Access to the Advanced level is conditioned by enabling SECURITY: the Advanced level is
enabled, if the 4th bit of byte 5 is set to 1.
7 6 5 4 3 2 1 0
Byte 5 1 1
- - CHANNEL CONFIGURATION - -
The fields contained in this data entry have the following meaning:
Channel name: Is the name of the selected channel. The name is an alphanumerical
string, with a maximum of 15 characters, which can coincide with the
name defined for the machine. With the PATHWORKS protocol, the
maximum string length is 6 characters.
The default value is NC 0001.
Board type: Is the type of network board used. It can only assume the value PCNET
which indicates the integrated OSAI network.
File transfer: Enables [Y] or does not enable [N] the file transfer function.
The default value is [Y].
Remote IPC: InterProcess Communication.
This field must be set [Y] when configuring task-to-task exchanges of
commands and messages.
The default value is [N].
Active channel: Enables or disables the channel at the next system initialization. Only if it
has been placed on [Y] will the network be activated after the next
initialization otherwise, even though the supplied information will be held
in the memory, the system will be isolated from the network itself.
The default value is [N].
Protocol type: Is the protocol used. Possible values are:
NETBEUI for the NETBIOS protocol used in the DOS and
Windows environments (default value)
PATHWORKS for DIGITAL’s Pathworks protocol
Address: Is the logical address of the node. This field is only valid, if the Pathworks
protocol is used.
The data introduced in this field must have the following format:
XX.YYYY
with:
XX that indicates the area (from 1 to 63)
YYYY that indicates the node (from 1 to 1023)
The default value 'NC0001' defined on all the 10 Series Systems must
therefore be modified if more than one of these systems are connected to the
host.
Configuration of the channel's parameters is only activated when the system on which the channel
resides is next bootstrapped.
In order to characterize Server type services, follow the procedure described below for each of
them:
1. Press the SERVER softkey. A data entry is opened which will have a similar appearance to the
one shown below:
- - SERVER RESOURCES - -
where:
- - SERVER RESOURCES - -
Access : Password :
Service path :
The fields to be completed in the two data entries shown above have the following meaning:
Access: Defines the type of access to be associated to that service. The letters to
be used in this field are:
R permits access to the service so that the data contained in it can be
read. This letter must always be present.
W permits access to the service so that the data contained in it can be
read or modified. This letter, when present, must always be
preceded by R (i.e. must be written RW).
C allows the user to create files in the specified shared directory. When
present, this letter must always be preceded by the other two
mentioned above, i.e. RWC must be written.
Password: (Optional). It is the key word which may be associated to the service.
With this password, the service will only be accessible to the user who
knows it. The password is made up of no more than eight letters,
numbers and/or punctuation marks but spaces are not accepted.
If this field is empty, no password will be associated to the service and if
one was defined previously it will be removed.
Service path: Is the full path of the directory to be shared.
5. Fill in all the fields in this data entry with the appropriate data or, if necessary, modify those
proposed. When this is done, confirm with the [Enter] key or the same SERVER softkey.
The procedure given above must be repeated for each of the services which the Server intends to
offer the network users.
On the 10 Series System, Server type services are either enabled or disabled as from the next
bootstrap of the system on which the channel resides.
Username XP9F01
Full Name none
Description none
Password none
Confirm Password none
User must change password not enabled
User cannot change password not enabled
Password never expires enabled
Account disabled not enabled
1. Press the CLIENT softkey. A data entry is opened similar to the one shown below:
- - REMOTE DEVICE - -
The meaning of each field contained in this data entry is the following:
Remote drive: Is the local name of the disk associated with the service (Service name)
belonging to a remote host or 10 Series system (Server name). It
consists of a letter from I to Z not followed by a colon (e.g. K).
Delete: This field serves to cancel the definition and the usage of a previously
defined service. For cancellation indicate [Y]. In the case of creation or
re-definition, indicate [N].
2. Type the name of the remote device and press the [Enter] key to confirm. A data entry window
similar to the one below will appear:
- - REMOTE DEVICE - -
The fields contained in the two data entries shown above have the following meaning:
Service name: Is the name of the service the Client wants to access which is
provided by a host computer or a 10 Series system connected to
the network.
Server name: Is the name of the channel on which the service reside (host
computer or 10 Series).
Password: (Optional). The password associated with the service to limit
access to authorized persons only. The password is made up of no
more than eight letters, numbers and/or punctuation marks, but
spaces are not accepted. It must coincide with the one specified in
the service definition of the service configuration data entry of the
Server on the remote machine.
Automatic connection: With this parameter it is possible to effect automatic connection of
the Client to the specified service. If [Y], connection will take
immediate effect. If [N], connection will have effect only from the
next system initialization.
In order for this to succeed, both the local channel and the one on
the host have to be active and the server must offer the service
currently requested.
3. Fill in the fields of this data entry with all the appropriate data. When complete, confirm the data
entered by pressing [Enter] or the CLIENT softkey again.
The procedure described above must be repeated for all the services on the host to which access
is required.
At this point the task-to-task communication feature between NC and PC becomes active. In the
case of task-to-task communication between NC’s the necessary parameters still have to be
configured using the softkeys SHARED ENV and REMOTE ENV.
The values entered in the two data entry windows will be available for the
IMPORTANT network following the next system bootstrap.
NOTE:
Deleting a service could also be occasioned by a physical problem in the network (e.g. cable
Service Name The name to be associated with the network sharable environment.
Range: from 0 to 8 alphanumeric characters (e.g. PROCESS1) and must
be unique on any one machine.
Type Value identifying the type of service, the predefined types being:
1 - Numeric control environment
2 - Machine logic environment
Range admitted: 0÷127
NOTE:
the value of this field is not controlled during this characterisation stage, but when a request for
connection is received from a remote system; this value must represent the type of service
connection is required to.
Example:
The ASSET environment on a remote system can connect to the service by specifying type (e.g.
2=machine logic).
To connect a remote environment (defined locally as shared), the REMOTE ENV data entry
windows must be compiled appropriately.
-- REMOTE ENVIRONMENT --
Delete: Type [Y] to remove access to the remote environment; type [N] to add or
modify access to a remote environment.
Cancellation, generation and modification are executed at the next
system bootstrap.
-- REMOTE ENVIRONMENT --
Environment name The name associated with the new remote environment, to be used, for
example, in an ASSET part program to specify the remote machine
connected.
This name must be unique inside the system.
Range of values: from 0 to 8 alphanumeric characters
Server name Name of the channel on which the environment is local.
Range of values: from 0 to 8 alphanumeric values
Service Name Name associated with the sharable environment as Service Name when
configured on its local channel.
The Server Name and Service Name provide unique identification of each
IMPORTANT environment available in the network.
Type The type of service; this parameter must be consistent with the value
declared in the sharable environment with the Type parameter on its
local channel.
Access The type of access required for the remote environment; must be the
same as, or a subset of, the value specified for the Access parameter
declared in configuration of the sharable environment.
Password Optional field.
If the password was specified in the sharable environment on its local
channel, this field must be compiled with the same string.
If no password was specified in the sharable environment, this field must
not be filled in either.
When the ENVIR. CONNECT softkey is pressed, the following window is displayed, in which the
environments to be connected will be displayed one after another:
NOTE:
This softkey re-initializes the connections stored.
If used when connections are already active and functioning, this operation first disconnects and
then reconnects the link. Therefore operations taking place between the environments are aborted.
When the SERVICES CONN. softkey is pressed, the following window is displayed, in which the
services to be connected are displayed one after another, e.g.:
NOTE:
This softkey re-initializes stored connections.
If used when connections are already active and functioning, this operation first disconnects and
then reconnects the link. Therefore operations running between the environments are aborted.
If during configuration the Active channel parameter has been set at [Y], the network is
automatically activated on the system as from the next start up (except for start up in emergency
status). If the network is not activated, check the above mentioned parameter in the configuration
environment (see Chapter 4 for details).
Loading of the network drivers is indicated on the 'CNC Software Diagnostic' screen during
initialization, by one of the following two messages:
When installing the driver you also have to configure the NETBIOS configuration protocol and MS
NETWORK.
After having enabled the network you can proceed to configure CLIENT SERVER services of the
PC and CNC’s connected to it by selecting the network icon on the Control Panel.
DOS SHELL is the utility in which the functions offered by the network are exploited most.
The resources offered the network by the Server and configured on the Client machine with their
ID's are seen by the 10 Series System as if they were own resources.
All the DOS SHELL commands react in the same way in relation to remote services and therefore
only a few examples are given below. For further details, please refer to the chapter concerning the
DOS SHELL in the 10 Series User Manual. In the descriptions which follow, it is presumed that the
user has already entered the DOS SHELL environment by means of the relative softkey.
On entering the DOS SHELL environment, (or, in this environment, on pressing the SHOW
DRIVES softkey), all the drives available to the system are visualized in a window with a similar
aspect to the one which follows.
A: Local
E: Local
K: \\PC1\DISKC
LPT1 Local
In the example, the drive K is a remote disk connected to the DISKC service of the PC1 Server.
To be executed, the part program must reside in the local hard disk. It is for this reason that it must
be 'imported' from the remote Server. It is also possible to transfer part programs from the 10
Series System to the Server with the Export command of PP MANAGEMENT or COPY of a PART
PROGRAM.
Here follows a brief description of the copy procedure of a part program to the NC.
1. Enter the part program management environment by pressing the PART PROGRAM softkey.
2. Press the COPY softkey.
3. In the input window which is opened, introduce the pathname of the file which is to be imported,
specifying the remote disk, and the name of the file of destination (local). Confirm with [Enter].
The access to the remote services is possible for all the DOS tasks definable in this partition and
also for the Utility environment.
Configuration of the services must be done by the network configurator. Enabling and disabling of
this services comes about in the standard way for the Utility environment, whereas for the DOS
tasks of the DOS Real Time environment they are effected by means of the E:\ABNET\DS_DRIVE
command.
This command must be repeated for each one of the DOS tasks that must gain access to this
services.
END OF CHAPTER
7 6 5 4 3 2 1 0 Bit
0 0 0 0 0 0 0 0
Reserved
Reserved
Reserved
Not defined
Not defined
Not defined
Not defined
Not defined
Description: These functions are reserved for project design by R&D. They do not provide
context-sensitive help and are indicated as 'reserved'. They cannot be accessed by
users occupying higher levels.
7 6 5 4 3 2 1 0 Bit
0 0 0 0 0 0 0 0
Not defined
Not defined
Not defined
Not defined
Not defined
Not defined
Not defined
Not defined
7 6 5 4 3 2 1 0 Bit
0 1 1 1 1 1 1 1
7 6 5 4 3 2 1 0 Bit
1 0 0 0 1 1 1 0
Not defined
Access to USER part programs
Access to SYSTEM part programs
Access to OEM part programs
Not defined
Not defined
Not defined
Enables paramacro display
7 6 5 4 3 2 1 0 Bit
0 0 0 0 1 1 1 1
7 6 5 4 3 2 1 0 Bit
1 1 1 1 0 1 1 1
Access to AMP
AMP parameter recalculation
Access to configuration utilities: TOOL
TABLE EDITOR, USER TABLE EDITOR,
LANGUAGES UTILITY, GRAPHIC EDITOR)
Not defined
Access to NETWORK CONFIGURATOR
intermediate level
Access to language selection
Enable DSI SRV CHAN
Enables advanced ODM functions
7 6 5 4 3 2 1 0 Bit
0 0 0 1 1 1 1 1
7 6 5 4 3 2 1 0 Bit
0 0 0 0 1 1 1 1
7 6 5 4 3 2 1 0 Bit
0 0 0 0 0 1 1 1
7 6 5 4 3 2 1 0 Bit
1 1 1 1 1 1 1 1
Description: This table is reserved for the OEM who can use the Operating System dedicated
function for managing the passwords of his own applications and utilities.
END OF CHAPTER
An error message is made up of a two-letter code that indicates the environment where the error
has been detected, a three-digit numerical code, and a string of characters that describes the error
condition. In this Appendix error messages have been classified according to the environment in
which they occur. Here is a list of the environments with their two-letter codes:
NOTES:
• Certain messages describe an action that is in progress or has been performed by the system
rather than an actual error.
• The error messages that occur during the system diagnostics (refer to Chapter 2) are displayed
in conjunction with the messages FAILED (for a locking error), WARNING (for a non-locking
error), and PASSED or REPORT (to indicate that the diagnosed part has passed the tests).
• Error messages are of critical importance to detect programming or operating errors as well as
machine failures. Before calling the Technical Assistance make a note of the following
information and be prepared to quote it:
− message code and text
− conditions in which the error was detected (start up diagnostics, machine status, etc.).
HI054 Axis not congruent Virtual axis ID not configured. To enable the Edit the part program name.
tool direction you must configure in AMP
the name and ID of the virtual axis
associated to the tool direction.
HI055 Driver not permitted You tried to access protected drives. --
HI056 Part program not Part program you tried to activate does not --
exists exist.
HI057 Error in message Error in visualization of messages coming --
visualization from processes.
HI058 Char not allowed for The pathnameset in data entry PATH --
directory names NAME contains characters not allowed.
HI059 Path name too long The pathnameset in data entry PATH --
NAME contains more than 30 characters.
HI060 Dos name too long DOS name is too long. --
HI061 Driver not ready or You tried to access a not configured or not --
not configured connected drive.
HI062 Wrong path name The pathname set in the data entry is Check the pathname validity, if not present,
wrong. insert it.
HI065 File protected or The file is protected or is already open. --
opened
HI066 File not found The file does not exist. Check the file name.
HI067 File delete failed Deleting operation failed. Check consistency of set data.
HI069 File rename failed Renaming operation failed. Check consistency of set data.
HI070 File copy failed File copy failed. Check consistency of set data.
HI071 Insufficient space on Space disk insufficient to complete the Increase the available space disk.
disk operation.
HI072 Process not Selected process has not been configured Configure process in AMP or rectify process
configured in AMP number
PP010 Char not allowed for The specified character is not allowed in a Check and correct the logical file name.
file names logical file name.
PP011 File can't be copied The destination file cannot have the same Check and correct the file of the destination
onto itself name as the source file. file.
PP012 The file doesn't exist The requested file does not exist. Check the file name.
PP013 Destination file can't The requested destination file cannot be Check the name or the protections of the
be opened opened. destination file
PP014 The source file The requested source file cannot be Check the name or the protections of the
cannot be opened opened. source file
PP015 The source file The requested source file cannot be closed. Contact the Technical Assistance service.
cannot be closed
PP016 Destination file The requested destination file cannot be Contact the Technical Assistance service.
cannot be closed closed.
PP017 String was not found The requested string has not been found. Check the string name.
PP018 End of search The search has been terminated. ---
PP019 Copy complete The copy has been terminated. ---
PP020 Import complete The import operation has been terminated. ---
PP021 Export complete The export operation has been terminated. ---
PP022 Print complete The printing session has been terminated. ---
PP026 Data Entry not Internal system error. Contact the Technical Assistance service
configured
PP028 Operation on file is Internal system error. Contact the Technical Assistance service
failed
PP029 Too many files in The number of files in the directory has Delete files from the directory.
directory reached the maximum limit. (For the limits
in each directory refer to Chapter 10).
PP030 Physical file does not The physical file associated to the part Press [Enter] to restore the directory and
exist. Enter restore program does not exist. delete the program or [Esc] to abort the
directory. Esc abort. operation.
PP042 Access denied to Access to the USER directory is not allowed Key in the correct password and repeat the
USER directory without using a password. operation.
PP043 Access denied to Access to the SYTEM directory is not Key in the correct password and repeat the
SYS directory allowed without using a password. operation.
PP044 Access denied to Access to the OEM is not allowed without Key in the correct password and repeat the
OEM directory using a password. operation.
PP050 Logical name tables The file that associates logical file names to Contact the Technical Assistance service.
doesn't exist part program names does not exist.
SECURITY ERRORS
PK014 Write file error This error indicates an unsuccesfull writing Reinstall the release and contact the Technical
operation of a Security file. Assistance service.
PK015 Seek error This message indicates a file positioning Reinstall the release and contact the Technical
error during a reading or writing operation. Assistance service.
PK016 SECURITY This error occurs when the password file Reinstall the release.
CORRUPTION: does not exist or its checksum is not
reinstall release correct.
PK017 Wrong password This error occurs when the confirmed Reinstall and confirm the new password.
confirmation password is different from the new one.
PK018 Invalid password This error occurs when the input password Rewrite the password.
for selecting a new security level or defining
a new password is different from the
confirmed one.
PK019 Level must be higher This error occurs when the security level Alter the current security level with the SET
than current selected in the SET SECURITY window is LEVEL function and select SET SECURITY
lower than the current one. again.
PK020 Wrong keys syntax This error occurs when the three product Rewrite the product keys.
keys defined in the PRODUCT KEYS data
entry window include illegal characters.
(Only capital alphanumeric characters are
allowed).
PK021 Wrong product keys This error occurs when the three product Rewrite the keys. If the error recurs contact the
keys written in the PRODUCT KEYS data Technical Assistance service.
entry window are not correct.
PK022 Security violation This error occurs after three consecutive Select the data entry window again and key in
erroneous passwords have been written in the correct passwords or product keys.
the SET LEVEL or SET PASSWORD data
entry windows or after three consecutive
erroneous product keys have been written
in the PRODUCT KEYS data entry window.
PK023 Security violation: This error occurs when the hardware Contact the Technical Assistance service.
turn system off product key is not correct.
PK024 Set not permitted for This error occurs when the operator tries to This operation is illegal.
this level modify the 0 level password.
EMERGENCY MESSAGES
RESERVED MESSAGES
The emergency messages coded from EE050 to EE054 are reserved.
Other boards
Operating system
OD113
NETWORK EMERGENCY MODE
This station is working as a Network Server.
Fig. 1
SD122 File not found The specified file does not exist. Re-create the PLUS environment or contact
the Technical Assistance service.
SD123 Path not found The specified patname does not exist. Re-create the PLUS environment or contact
the Technical Assistance service.
SD124 File format error (1) The file format is illegal or the file is corrupt. Re-create the PLUS environment or contact
the Technical Assistance service.
SD125 Program too large The program is too large. Reduce the file length and re-create the logic.
SD126 Timeout on Program download to board has reached Contact the Technical Assistance service.
download the timeout.
SD129 File format error (2) The file is corrupt or is not a .EXE file. Contact the Technical Assistance service.
SD130 Insufficient board There is not enough memory board to load Reduce the logic program length or contact the
memory for loading the program. Technical Assistance service.
SD141 PLUS board O.S. This error occurs during PLUS board Contact the Technical Assistance service.
configuration error configuration.
SD142 Insufficient memory There is not enough memory on the PLUS Reduce the logic program length or contact the
to run project board to load and handle the user logic. Technical Assistance service.
SD143 I/O ring: wrong The number of on-line devices is different Check configuration values and repeat the
number of devices than the configured one. operation.
SD144 I/O ring: wrong The device found in a ring position is Check configuration values and repeat the
module code different than the configured one. operation.
SD145 I/O ring: wrong The DIP switch configurable device number Check DIP switch settings and configuration
device number is different than the configured one. values and repeat the operation.
SD146 I/O ring: wrong slot The 1771 slot map (hardware structure) is Check the correspodence between actual and
map (1771) different than the configured one. configured module position and repeat the
operation.
SD147 I/O ring: unknown The I/O ring device is unknown to the Contact the Technical Assistance service.
device system or is inadequate for the 10 Series
ring. A hardware failure has been detected
on the I/O ring device.
SD148 I/O ring: TX/RX transmission over the ring is not Contact the Technical Assistance service.
communication error allowed: broken wire, device not working,
etc. Hardware error.
SD149 I/O ring: 1771 device The 1771 module cannot be managed by Contact the Technical Assistance service.
not manager by OS OS 8090. Hardware incompatibility.
8090
SD150 I/O Setup File Error File does not contain sections or Reformulate the Setup file as necessary.
parameters needed to configure the I/O’s.
SD159 Timeout on error The PLUS board does not provide an OK or Contact the Technical Assistance service.
management an error after the firmware or the logic have
been loaded.
APPLICATION ERRORS
EDITOR ERRORS
ED054 Invalid S. Value not allowed for the S parameter. Modify the S parameter value.
ED055 Invalid C. Value not allowed for the C parameter. Modify the C parameter value.
ED056 Invalid element. User element idetifier not known. Correct the error.
ED057 Not tangent element. During the search of the intersection of two Insert the solution identifier at the line end.
non-tangent elements, you must specify the
intersection number (S1, S2).
ED059 Incomplete line. The line is broken and does not contain all Insert the missing information.
the requested information.
ED060 No space in internal Not enough memory to complete the Reduce the elements number.
structures. required operation.
ED061 Profile not defined or Impossible to create an ISO file if the profile Define the profile if missing, correct the profile
wrong. has not been created or is wrong. if wrong or do not activate the ISO file creation.
ED062 Not enough memory. This message can indicate end of memory In the second case, no corrections are
if dinamic allocations or full internal areas possible.
are required.
In the first case, check if graphic packages
are not already used on the system.
ED063 No intersection. The two or more elements required to Replace one or more build elements or modify
create a new element do not intersect. their definition.
ED064 No coincidence The proposed elements cannot interact in Replace one or more build elements or modify
between elements. the proposed mode. their definition.
ED065 Circle internal or Internal or coincident circumference. Replace the build circumference or modify its
coincident. definition.
ED066 Point inside circle. Internal point of the circumference. Replace one or more entities for building the
current element or modify its definition.
ED067 Parallel lines. Lines that must intersect are instead Replace one or more creation lines or modify
parallel. their definition.
ED068 Wrong element. Not allowed element. Replace the current element
ED069 Points on same line. When creating a circumference using three Replace one or more points
points, these points cannot lie on the same
line.
ED071 Impossible radius. The specified joint cannot be realized. Depending on the circumstances, modify the
radius of the joint, or select other elements.
ED072 Element out of range. The drawing cannot be displayed, because Reduce the zoom.
a too high zoom has been used.
ED073 Check expression The value defined for the parameter does Modify the value introduced, or, if the field is
not verified. not follow the norms defined in the control optional, do not type any value.
files.
ED074 Error on default or Error in the default or control expression Modify the control file of the current cycle.
check expression. syntax.
ED075 No allowed solution. Entities you selected cannot be used for Replace one or more entities for creating the
creating a new element. element or modify their definition.
ED076 Impossible to enlarge It is not possible to enlarge the image on No action.
again. the displayed window, because the
maximum definition is already used.
ED077 Element defined after One of the entities used for creating the Move the definition of the new element after
current line. current element has been defined after the the line of the build element or viceversa or
current line. use another element you defined before.
FD004 Internal parallel port Parallel port internal error. Anomalia Contact the Technical Assistance service.
error hardware.
FD005 CPU (I80286) Serious error. CPU failure. Serious error Contact the Technical Assistance service.
hardware.
FD006 SHUTDOWN FAILED Serious error. Shutdown failure. Serious Contact the Technical Assistance service.
error hardware.
FD007 Protected mode Serious error. Anomaly during protected Contact the Technical Assistance service.
failed CPU initilisation. Serious hardware error.
FD009 NMI failed Serious error hardware. Contact the Technical Assistance service.
FD010 Interrupt controller Serious error. Interrupt controller internal Contact the Technical Assistance service.
failed error. Serious error hardware.
FD011 Interrupt controller Serious error. Interrupt controller internal Contact the Technical Assistance service.
failed failure. Serious error hardware.
FD012 Timer Sync failed Serious hardware error. Timer Contact the Technical Assistance service.
synchronisation internal failure.
FD013 DMA registers failed Serious hardware error. DMA register Contact the Technical Assistance service.
failure.
FD014 DMA controller failed Serious hardware error. DMA controller Contact the Technical Assistance service.
failure.
FD015 DM controller failed Serious hardware error. DM controller Contact the Technical Assistance service.
failure.
FD016 Speaker failure Serious hardware error. Speaker failure. Contact the Technical Assistance service.
FD018 BUS expansion not Serious hardware error. The expansion bus Contact the Technical Assistance service.
inserted has not been inserted.
FD019 Mouse present This message indicates that a mouse is ---
present (this peripheral is not allowed with
10 Series CNC).
FD020 Shutdown failed Serious hardware error. Failure during Contact the Technical Assistance service.
shutdown.
FD021 System anomaly Serious error software. System failure. Contact the Technical Assistance service.
FD022 Parity on mother Serious hardware error. Parity error on the Contact the Technical Assistance service.
board failed mother board.
FD023 Parity on expansion Serious hardware error. Parity error on the Contact the Technical Assistance service.
board failed expansion board.
FD024 Fatal error - Serious hardware error. The computer is Contact the Technical Assistance service.
Computer stopped locked.
FD025 Press F1 to continue Software failure. Contact the Technical Assistance service.
FD026 System anomaly Software error. System anomaly. Contact the Technical Assistance service.
FD027 Unrecoverable power Hardware anomaly. Non recoverable error Contact the Technical Assistance service.
up error at power up.
FD028 Coprocessor present This is not an error message. It indicates
that the front panel coprocessor is present. ---
FD029 Timer counting failed Serious hardware error. Timer counter Contact the Technical Assistance service.
failure.
FD030 System anomaly The eproms that contain the front panel Check the index of the eprom chips with the
firmware have not been detected by the front panel firmware and whether they have
BIOS. been mounted.
FD031 ROM BIOS checksum Checksum error on the eprom that contains Replace the eprom that contains the front
failed the front panel BIOS. panel BIOS.
FD032 ROM firmware The BIOS has detected a checksum error in Replace the eprom that contains the upper and
checksum failed the first 64K of the upper and lower front lower front panel firmware.
panel firmware.
FD033 System anomaly Software error. System anomaly. Contact the Technical Assistance service.
FD034 CMOS Timer error Hardware error. CMOS timer anomaly. Contact the Technical Assistance service.
FD035 System anomaly Software error. System anomaly. Contact the Technical Assistance service.
When exiting from the configuration environment with [Esc], the next network
activations may not be congruent with the values displayed by the configurator
because the entered data can be incomplete.
END OF APPENDIX
Code: 45004457K
Rev. 15
Phone: +39-0119899711
Web: www.osai.it
e-mail: [email protected]
[email protected]
SUMMARY OF CHANGES
General
INDEX Updated
CHAP. 2
page 13 Updated description: value of CRT
page 14 Added description of function: CRT
page 33 Added new function: XDA - Master/Slave Axes
page 58 Updated function table: MOV
page 59 Added new description: meaning of bit 4.
page 97 Added description of function: UPR
page 105 Added description: example 8
page 112 Added new function: UVA
page 123 Added description: Offset mode - Table. user 366
page 136 Updated description: Offset mode - Table. user 366
CHAP. 3
page 7 Added new function: TTR
CHAP. 4
page 16 Updated description of function: TPO
page 19 Updated description of drawings
page 20 Updated description of drawings
page 24 Added description: mode TPO=32
CHAP. 9
page 7 Added new functions: PMS – PMT - PMM
CHAP. 12
page 2 Added: CLD,CLT to CLS command
page 8 Added description of commands CLD and CLT
page 13 Added: example 6
CHAP. 13
page 9 Updated description
page 10 Updated description
page 11 Added new description: UVW Paraxial Compensation Factors
page 16 Added: UVW to Versor Programming
page 19 Added parameter: UVW and relative description
APP. B
page 13 Added code: NC149
page 23 Added codes: NC445-NC446-NC447-NC448-NC456-NC457-NC458
PREFACE
This manual describes the procedures used for writing part programs with the 10 Series CNC
system. It provides programmers with all the information they need for creating machine control
programs.
REFERENCES
The chapters in this manual are organised in sections. They describe the language elements
(commands and functions) used for managing a specific task, e.g. axis programming, tool
programming, probe management. Programming examples have been introduced in the command
description.
SUMMARY
6. Miscellaneous Functions
This chapter describes miscellaneous functions and provides a list of M functions with their
meaning and characteristics.
7. Parametric Programming
This chapter deals with special programming applications that use local and system variables.
8. Canned Cycles
This chapter provides a description of the canned cycles available with the control. The G codes
and extended commands used in this activity are provided with their characteristics. Several
examples complete the command description.
9. Paramacros
This chapter describes how paramacros can be used in programs.
10.Probing Cycles
This chapter provides a description of the probing cycles available with the control. The G
codes and extended commands involved in probe management are provided complete with
examples.
B. Error Messages
Appendix B provides a list of all the error messages that can occur during programming..
C. Error management
COMMANDS
Commands are dealt with in the chapters that describe the specific task. A common structure has
been adopted in the command description. For each command, the following information is
provided:
• Command name
• Command function
• Command syntax
• Parameters
• Characteristics and notes
• Examples
Where possible, examples consist of a portion of program and a diagram that shows how the
commands in that portion work.
Syntax conventions
SYMBOL MEANING
{} Braces enclose entries which may be repeated more than once. This could
also be described as a series of alternative entries, i.e. only one of these may
be entered. Alternative entries are separated by a (|). Do not enter the braces
in the command itself.
Key-words are written in bold. They must be entered exactly as they are represented in the syntax
description.
Parameters that must be passed with commands are indicated by a mnemonic written in italics.
Appropriate values must be entered in place of the mnemonic. Leading zeros can be omitted. For
example, you can program G00 as G, G01 as G1.
Example:
(SCF,[value])
SCF, the comma and parenthesis are key-words and must be written as described. value is a
parameter name and must be replaced by an appropriate value. The brackets indicate that value is
an optional value.
Warnings
For correct control operation, it is important to follow the information given in this manual. Take
particular care with topics bearing one of the mentions: WARNING, CAUTION or IMPORTANT,
which indicate the following types of information:
IMPORTANT Indicates information that must be followed carefully in order to ensure full
success of the application.
Terminology
Control Refers to the 10 Series numerical control unit comprising front panel unit and
basic unit.
Front Panel Is the interface module between machine and operator; it has a monitor on
which messages are output and a keyboard to input the data. It is connected to
the basic unit.
Basic Unit Is the hardware-software unit handling all the machine functions. It is connected
to the front panel and to the machine tool.
END OF PREFACE
INDEX
Syntax.............................................................................................................................. 2-33
Mode 0 ................................................................................................................... 2-34
Mode 2 ................................................................................................................... 2-36
Releasing the Slave(s) from the Master ................................................................ 2-39
Syntax.............................................................................................................................. 2-39
Defining/Changing the following ratio .................................................................... 2-40
Syntax.............................................................................................................................. 2-40
Activating the following function............................................................................. 2-41
Syntax.............................................................................................................................. 2-41
Deactivating the following function......................................................................... 2-42
Syntax.............................................................................................................................. 2-42
ORIGINS AND COORDINATE CONTROL CODES ....................................................... 2-43
G17 G18 G19 - Selecting the Interpolation Plane ................................................. 2-44
G16 - Defining the Interpolation Plane................................................................... 2-45
G27 G28 G29 - Defining the Dynamic Mode ......................................................... 2-46
AUTOMATIC DECELERATION ON BEVELS IN G27 MODE........................................ 2-51
DLA - Deceleration Look Ahead ............................................................................ 2-52
DYM - Dynamic Mode ............................................................................................ 2-53
MDA - Maximum Deceleration Angle..................................................................... 2-54
VEF - Velocity Factor ............................................................................................. 2-55
Jerk Limitation ........................................................................................................ 2-57
MOV - Enable Jerk Limitation ................................................................................ 2-58
Meaning of bits 0 – 3:........................................................................................ 2-58
Meaning of bit 4: ............................................................................................... 2-59
Meaning of bits 6 - 7: ........................................................................................ 2-60
JRK - Jerk Time Constant...................................................................................... 2-61
JRS - Jerk Smooth Constant ................................................................................. 2-62
ODH - Online Debug Help ..................................................................................... 2-64
MBA – MultiBlock retrace Auxiliary functions ........................................................ 2-66
REM – Automatic return to profile at end of move................................................. 2-67
IPB (DTL) - In Position Band.................................................................................. 2-68
G70 G71 - Measuring Units ................................................................................... 2-69
G90 G91 G79 - Absolute, Incremental and Zero Programming ............................ 2-70
G92 G98 G99 - Axis Presetting ............................................................................. 2-72
G04 G09 - Dynamic Mode Attributes ..................................................................... 2-73
t - Block Execution Time ........................................................................................ 2-74
DWT (TMR) - Dwell Time....................................................................................... 2-74
G93 - V/D Feedrate................................................................................................ 2-75
VFF - Velocity Feed Forward ................................................................................. 2-76
CODES THAT MODIFY THE AXES REFERENCE SYSTEM......................................... 2-77
SCF - Scale Factors............................................................................................... 2-78
MIR - Using Mirror Machining ................................................................................ 2-79
ROT (URT) - Interpolation Plane Rotation............................................................. 2-82
UAO - Using Absolute Origins ............................................................................... 2-85
UTO (UOT) - Using Temporary Origins ................................................................. 2-86
UIO - Using Incremental Origins ............................................................................ 2-88
RQO - Requalifying Origins ................................................................................... 2-90
OVERTRAVELS AND PROTECTED AREAS ................................................................ 2-91
SOL (DLO) - Software Overtravel Limits ............................................................... 2-92
DPA (DSA) - Define Protected Areas .................................................................... 2-93
PAE (ASC) - Protected Area Enable...................................................................... 2-95
PAD (DSC) - Protected Area Disable .................................................................... 2-95
VIRTUAL AXES MANAGEMENT.................................................................................... 2-96
Virtual Axes ............................................................................................................ 2-96
Virtual modes available on 10 Series CNC............................................................ 2-96
MISCELLANEOUS FUNCTIONS
Standard M functions ............................................................................................. 6-1
PARAMETRIC PROGRAMMING
LOCAL VARIABLES ....................................................................................................... 7-4
E Parameters ......................................................................................................... 7-4
! - User Variables ................................................................................................... 7-6
SYSTEM VARIABLES..................................................................................................... 7-8
SN - System Number ............................................................................................. 7-8
SC - System Character .......................................................................................... 7-9
TIM - System Timer................................................................................................ 7-11
@ - PLUS Variables ............................................................................................... 7-12
L Variables ............................................................................................................. 7-13
Multiple Assignments ............................................................................................. 7-14
CANNED CYCLES
CANNED CYCLES G8N .................................................................................................. 8-1
Canned Cycle Features ......................................................................................... 8-2
Canned Cycle Moves ............................................................................................. 8-3
G81 - Drilling Cycle ................................................................................................ 8-5
G82 - Spot Facing Cycle ........................................................................................ 8-7
G83 - Deep Drilling Cycle ...................................................................................... 8-9
DRP – G83 hole reworking distance...................................................................... 8-12
G84 - Tapping Cycle with no Transducer .............................................................. 8-13
G84 - Tapping Cycle with Transducer ................................................................... 8-16
G84 - Rigid tapping cycle with a transducer mounted on the spindle ................... 8-17
TRP (RMS) - Tapping Return Percentage............................................................. 8-18
G85 - Reaming Cycle (or Tapping by Tapmatic) ................................................... 8-19
G86 - Boring Cycle................................................................................................. 8-20
G89 - Boring Cycle with Spot Facing ..................................................................... 8-21
Using two R dimensions in a canned cycle ........................................................... 8-22
Updating Canned Cycle Dimensions ..................................................................... 8-23
Updating R dimensions (upper limit and lower limit) during execution.................. 8-24
PARAMACRO
Paramacro Definition.............................................................................................. 9-1
HC Parameters ...................................................................................................... 9-3
DAN - Define Axis Name ....................................................................................... 9-6
PMS – S as a paramacro ....................................................................................... 9-7
PMT – T as a paramacro ....................................................................................... 9-7
PMM – M as a paramacro...................................................................................... 9-7
PROBING CYCLES
MANAGING AN ELECTRONIC PROBE ........................................................................ 10-1
PRESETTING A PROBING CYCLE ............................................................................... 10-3
DPP (DPT) - Defining Probing Parameters ........................................................... 10-3
Dynamic Measurement of the Ball Diameter......................................................... 10-4
Probe Requalification ............................................................................................ 10-4
Dynamic Measurement of the Probe Length......................................................... 10-4
Probe Presetting .................................................................................................... 10-4
PROBING CYCLES......................................................................................................... 10-6
G72 - Point Measurement with Compensation...................................................... 10-7
G73 - Hole Probing Cycle...................................................................................... 10-9
G74 - Tool Requalification Cycle ........................................................................... 10-11
UPA (RTA) - Update Probe Abscissa.................................................................... 10-13
UPO (RTO) - Update Probe Ordinate ................................................................... 10-13
ERR - Managing Probing Errors............................................................................ 10-13
OPERATIONS WITH A NON-FIXED PROBE ................................................................ 10-14
Requalifying Origins by Probing Reference Surfaces ........................................... 10-14
Requalifying Origins by Centring on a Hole .......................................................... 10-16
Checking Diameters .............................................................................................. 10-16
Checking Plane Dimensions and Hole Depths ..................................................... 10-18
OPERATIONS THAT USE A FIXED PROBE ................................................................. 10-19
ERROR MESSAGES
Description of error messages and remedial actions ............................................ B-1
ERROR MANAGEMENT
GENERAL ........................................................................................................................ C-1
ERR - Enable/disables error management from part program .............................. C-2
Probing cycle errors ............................................................................................... C-3
Shared axes errors................................................................................................. C-4
END OF INDEX
10 Series part programs are written with a specific language defined by the ISO standard. This
chapter describes the language elements and discusses programming techniques and rules.
• 10 SERIES names are a maximum of 48 characters in length; they identify the programs stored
in the logic directories configured on the machine.
Logic directories are configured during the installation stage (PPDIR config - human interface
menu in AMP characterization).
• DOS names are a maximum of 8 characters in length, plus an extension and path where
applicable; they identify files resident in DOS type directories.
Mixed management of part programs is not allowed; in fact if a program is activated after being
called by a DOS type name, all it subroutines must be identified with DOS names.
Similarly, programs with 10 SERIES names can use only subroutines identified in the same way.
NOTE:
Part programs can also be resident on remote devices, defined in advance through the triliteral
GDV (see chap. 12).
Program Components
♦ Address
An address is a letter that identifies the type of instruction. For example, these are addresses:
G, X, Y, F
♦ Word
A word is an address followed by a numerical value. For example, these are words:
When you assign a numeric value to a word, no zeroes must preceed or follow the value. Insert
decimal values after the decimal point.
♦ Block
A program block comprises a set of words that identify an operation or a series of operations to
be performed. The maximum length of a block is 126 characters.
A technological program is a sequence of blocks that describe a machining operation.
Blocks
Blocks may include one or several fields.
When several fields are used in the same block, they must appear in the order shown in the
following table:
♦ Comment blocks
It can be inserted in any position within the current block. Any character after ";" is considered
as a comment.
♦ Block delete
The block delete field is optional. It allows the operator to choose whether to execute program
blocks that begin with the "/" character that are called slashed blocks.
Example:
/N100 G00 X100
The block shown in the example can be enabled or disabled using the PROGRAM SET UP
softkey, or typing the three-letter code DSB on the keyboard.
♦ Label
The label field is optional. It allows the programmer to assign a symbolic name to a block. A
label can have up to six alphanumeric characters which must be between quotes. In case of a
slashed block, the label must be inserted after the slash.
Example:
"START"
/"END"
When a label field is used in a 'GTO' command, the label defines the block that the control
should jump to.
♦ Sequence number
The "sequence number" field is optional. It allows the programmer to number each program
block. A sequence number begins with the letter N and is followed by up to six digits (N0-
N999999).
The sequence number must appear in front of the first operand and after the label.
Example:
N125 X0
"START" N125 X0
"END" N125 X0
♦ Synchronisation/asynchronisation
Characters & and # are used to override the default synchronisation/asynchronisation status.
For further information on synchronisation, see "Synchronisation and Program Execution".
Example:
#(GTO,START, @PL1=1)
Block Types
Four types of blocks can be used in a part program:
• Comment blocks
• Motion blocks
• Assignment blocks
• Three-letter command blocks
• Comment blocks
A comment block allows the programmer to insert free sentences in the program. These
sentences may describe the function to be executed or provide other pieces of information that
make the program more understandable and documented.
A comment block does not produce messages for the operator. The control ignores a comment
block during execution of the program.
The first character of a comment block must be a semicolon (;). The rest of the comment block
is a sequence of alphanumeric characters. For example:
A comment can be inserted not only in a single block, but also in other types of blocks after the
character ";".All characters after a ; considered as a comment. For example:
♦ Motion blocks
Motion blocks conform to ISO and ASCII standards for programming blocks. There is no
particular order for programming the components of a motion block.
Example:
G1 X500 Y20 F200
♦ Assignment blocks
Assignment blocks are used to write variables' values directly from the program. Several types
of assignments are possible as shown in the following table:
UGS UCG
CGS CLG
DGS DCG
RQT RQU
DPA DSA
PAE ASC
PAD DSC
DPP DPT
IPB DTL
ROT URT
SOL DLO
UTO UOT
TOU TOF
Programmable Functions
♦ Axis coordinates
Axis coordinates can be named with letters ABCUVWXYZPQD (according to the configuration
set in AMP) and can be programmed in the following ranges:
NOTE:
It is impossible to program coordinates in the +0.00001 range because 0.00001 is the minimum
value accepted by the control.
♦ R coordinate
In a circular interpolation (G02 G03) R represents the radius of the circle.
In a standard canned cycle (G81-G89), the R coordinate defines the initial position value and
retract value. This function is programmable in the following ranges:
NOTE:
It is impossible to program values in the +0.00001 range because 0.00001 is the minimum
value accepted by the control.
In a threading block (G33), the R coordinate represents the offset from the zero angular position
of the spindle for multi-start threads.
♦ I J coordinates
In circular interpolation (G02-G03), I and J specify the coordinates of the center of an arc. I
specifies the abscissa (typically X) and J the ordinate of the center (typically Y). I and J always
specify the center coordinates regardless of the active interpolation plane.
This function is programmable in the following ranges:
NOTE:
It is impossible to program values in the +0.00001 range because 0.00001 is the minimum
value accepted by the control.
When the values of the corresponding axis are expressed in diametrical units (according to the
configuration set in AMP), the values of the center coordinates (I and J) are also expressed in
diametrical units.
I and J coordinates are also used in the deep hole drilling cycle (G83).
In a threading block (G33), the I address defines the pitch variation for variable pitch threads:
I+ Increasing pitch
I- Decreasing pitch
♦ K function
In the deep hole drilling cycle (G83), K defines the incremental value to be applied to the
minimum depth value (J) in order to reduce the initial pitch depth (I).
This function is programmable in the following ranges:
NOTE:
It is impossible to program values in the +0.00001 range because 0.00001 is the minimum
value accepted by the control.
In a threading block (G33) or a tapping cycle (G84), K defines the thread pitch. In helical
interpolation (G02-G03), K defines the helix pitch.
♦ F and t function
The F function defines the axes feedrate. This function is programmable in the following range:
In G94, F function defines the feedrate in millimetres per minute (G71) or inches per minute
(G70).
A "t" value can be programmed in a block to specify the time in seconds needed to complete
the move defined in the block. In this case the block feedrate will be:
total distance 60
F= *
time
The F function is mandatory in the blocks when G93 is active and only affects that block.
In G95, F specifies the axes feedrate in millimetres per revolution (G71) or inches per revolution
of the spindle (G70).
♦ a Function
The a function defines the acceleration to use on the part program block and may be
programmed in the range:
The M address can activate various machine operations. The programmable range goes from 0
to 999. See Chapter 6 for further information about these functions.
♦ S function
The S function specifies the spindle rotation speed. It is programmable in the following range:
In G97, the S function defines spindle rotation speed expressed in revolutions per minute.
In G96, the S function defines the cutting surface speed expressed in metres per minute (G71)
or feet per minute (G70). The above cutting speed remains constant on the surface.
♦ T function
The T function defines the tool and tool offset needed for machining. It is programmable in the
0.0 to 999999999999.300 range. The 12 digits on the left of the decimal point represent the tool
identifier code and the three digits on the right represent the tool offset number.
♦ h functions
h functions permit to alter an offset during both continuous and point to point moves.
An h function must be programmed by itself in a block. Its value may range from 0 through 300
and may be either an integer or an E variable.
♦ G functions
G codes program machining preparatory functions for machining. The following section deal
with this codes.
G Codes
This section shows how to write preparatory G codes in part program blocks. A preparatory G code
is identified by the G address followed by one or two digits (G00-G99). At present, only some of the
100 possible G codes are available.
Paramacro subroutines can be called with a three-digit G code. This class of G codes is described
in Chapter 9. Three-digit G codes are classified as follows:
The G code must be programmed after the sequence number (if defined) and before any other
operand in the block. For example:
N100 G01 X0 - operand
It is possible to program several G codes in the same block, provided they are compatible with
each other. The table that follows defines compatibility between G codes. Zero indicates that the G
codes are compatible and can be programmed in the same block; 1 means that the G codes are
not compatible and cannot be programmed in the same block without generating an error.
Compatible G Codes
G 00 01 02 33 81 80 72 93 96 41 40 27 29 04 09 90 79 70 16 92
03 89 73 94 97 42 28 91 71 17 99
74 95 18
19
G00 1 1 1 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0 1 1
G01 1 1 1 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0 1 1
G02 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 1 1
G03 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 1 1
G04 0 0 0 1 1 0 1 0 0 0 0 1 0 1 1 0 0 0 1 1
G09 0 0 0 0 1 0 1 0 0 0 0 0 0 1 1 0 0 0 1 1
G16 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
G17 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
G18 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
G19 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
G27 0 0 0 0 1 0 1 0 0 0 0 1 1 1 0 0 0 0 1 1
G28 0 0 0 0 1 0 1 0 0 0 0 1 1 1 0 0 0 0 1 1
G29 0 0 0 0 1 0 1 0 0 0 0 1 1 0 0 0 0 0 1 1
G33 1 1 1 1 1 1 1 0 0 1 1 0 0 0 0 0 0 0 1 1
G40 0 0 0 1 1 1 1 0 0 1 1 0 0 0 0 0 1 0 1 1
G41 0 0 0 1 1 1 1 0 0 1 1 0 0 0 0 0 1 0 1 1
G42 0 0 0 1 1 1 1 0 0 1 1 0 0 0 0 0 1 0 1 1
G70 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 1 1
G71 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 1 1
G72 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
G73 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
G74 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
G79 0 0 0 0 1 1 1 0 0 1 1 0 0 0 0 1 1 0 1 1
G80 1 1 1 1 1 1 1 0 0 1 1 0 0 0 0 0 1 0 1 1
G81 0 0 1 1 1 1 1 0 0 1 1 1 1 1 1 0 1 0 1 1
G82 0 0 1 1 1 1 1 0 0 1 1 1 1 0 0 0 1 0 1 1
G83 0 0 1 1 1 1 1 0 0 1 1 1 1 0 0 0 1 0 1 1
G84 0 0 1 1 1 1 1 0 0 1 1 1 1 0 0 0 1 0 1 1
G85 0 0 1 1 1 1 1 0 0 1 1 1 1 0 0 0 1 0 1 1
G86 0 0 1 1 1 1 1 0 0 1 1 1 1 0 0 0 1 0 1 1
G89 0 0 1 1 1 1 1 0 0 1 1 1 1 0 0 0 1 0 1 1
G90 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 1 0 1 1
G91 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 1 0 1 1
G92 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
G93 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 1 1
G94 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 1 1
G95 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 1 1
G96 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 1 1
G97 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 1 1
G99 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
NOTE:
0 means compatible G codes
1 means incompatible G codes
The following table gives a summary of the G codes available in the control. This default
configuration can be modified through the AMP utility.
G code summary
• Axis moves
• M codes
• S codes
• T codes
A synchronisation block is taken into consideration and executed only after the motion block that
precedes it in the program is completed, that is after the axis move has been executed.
On there other hand, a non-synchronised block is executed as soon as it is read by the part
program interpreter, i.e. when perhaps the previous move is still in progress.
The advantage of asynchronous block execution is that variable assignments and complex
calculations can be made between moves. This allows to reduce waiting time between two motion
blocks caused by calculations.
Default Synchronisation
At power up, the following commands and codes are automatically synchronised:
• UDA, SCF, RQO, IPB, DLY, WOS, WAI, SND, GTA, REL, UPR, TCP, UVP, UVC
• G16, G17, G18, G19, G72, G73, G74
This default assignment can be changed. This means that the commands that are synchronised by
default at power-up can become asynchronous and that the commands that are not synchronised
by default at power-up can become synchronous. The next section explains how to override default
synchronisation.
NOTE:
Default synchronisation cannot be modified for GTA, UPR, TCP, UVP, and UVC instructions.
If the command is synchronised by default and the programmer wants it to be executed by the
interpreter as soon as it is read (asynchronous operation), an "&" must be programmed in the first
position of the block, immediately after the "n" number.
If the command is asynchronous and you wish to activate synchronous operation, the first
character in the block must be #.
Both # and & are active only in the block where they are programmed.
• A motion block will be loaded in the motion buffer queue. If the move is defined by a variable,
the stored move values stored are those of the variable. The buffer size is configurable from 2
to 128 blocks through AMP.
• An asynchronous assign or calculation block will be executed.
Three factors cause the part program interpreter to stop reading blocks:
• The motion buffer is full. When the active motion block is completed, the interpreter will read
another motion block and load it in the buffer queue.
• A non-motion block that contains a synchronised command or a code that forces
synchronisation is read. The interpreter does not start again until the last loaded motion block is
completed. At this point the block calling for synchronisation is executed and the interpreter
starts reading the following blocks.
• Error conditions
Sequence of execution
1. Diameter axes
2. Scale factors (SCF)
3. Measuring units (G70 G71)
4. Paraxial compensation ( u v w )
5. Inch/metric programming (G90 G91)
6. Mirror machining (MIR)
7. Plane rotation (ROT)
8. Origins (UAO UTO UIO G92)
The system will display an error if more than 12 integer digits are programmed.
If more than 9 decimal numbers are programmed, the system does not display any error but cuts
off the programmed number at the last allowed digit.
END OF CHAPTER
Basic movements can be defined with the motion G codes listed in the following table:
G CODE FUNCTION
G00 defines a linear movement at rapid feedrate that is simultaneous and coordinated for all the
axes programmed in the block.
Syntax
where:
G-codes Other G codes that are compatible with G00 (See "Compatible G codes" table in
Chapter 1).
axes Axis name followed by a numerical value. The numerical value can be programmed
directly with a decimal value or indirectly with an E parameter. Up to nine axes can be
written in a block.
offset Offset factors on the profile. For the X, Y, Z axes these factors are entered with u, v,
and w respectively. See "Paraxial compensation" in Chapter 4 for further information.
F Feedrate for coordinated moves. It is given with the F address followed by the
feedrate value. This parameter does not affect the move of the axes programmed in
the G00 block, but is retained for subsequent feedrate moves. The rapid feedrate
forced by G00 is a velocity along the vector of the axes programmed in the block. The
maximum rapid feedrate is defined during characterisation with the AMP utility.
G01 defines a linear move at machining feedrate that is simultaneous and coordinated on all the
axes programmed in the block.
Syntax
where:
G-codes Other G codes that are compatible with G01 (See "Compatible G codes" table in
Chapter 1).
axes Axis name followed by a numerical value. The numerical value can be programmed
directly with a decimal value or indirectly with an E parameter. Up to nine axes can be
written in a block.
offset Offset factors on the profile. These factors are entered for the X, Y, Z axes with the
characters u, v, w respectively. See "Paraxial compensation" in Chapter 4 for further
information.
F Feedrate used for the move. It is given with the F address followed by the feedrate
value. If omitted, the system will use the previously programmed feedrate. If no
feedrate has been programmed the control will generate an error.
Example:
This example shows how to program a G01 code.
Y Program:
40 N60 (UGS,X,-10,100,Y,-10,50)
N70 G0 X10 Y10
N80 G01 X90 Y40 F200
10
x
0
90
10
0
The circular move is performed at machining feedrate and is coordinated and simultaneous with all
the axes programmed in the block.
Syntax
where:
G-codes Other G codes that are compatible with G02 and G03 (See "Compatible G codes"
table in Chapter 1).
axes Axis name followed by a numerical value programmed directly with a decimal value or
indirectly with an E parameter.
If axes are not programmed in the block, the move is a complete circle in the active
interpolation plane.
I Abscissa of the circle centre. This is a value in millimetres that can be programmed
directly or indirectly with an E parameter. The abscissa is expressed as a diameter
unit when the corresponding axis is a diameter axis. No matter what interpolation
plane you are using, the symbol for the abscissa is always I.
J Ordinate of the circle centre. This is a value in millimetres that can be programmed
directly or indirectly with an E parameter. The ordinate is expressed as a diameter unit
when the corresponding axis is a diameter axis. No matter what interpolation plane
you are using, the symbol for the ordinate is always J.
NOTE: The parameter R cannot be used for arcs of 360 degrees..
R Circle radius alternative to the I and J coordinates. If the arc of a circle is less than or
equal to 180 degrees, the radius must be programmed with positive sign; if the arc of
a circle is greater than 180 degrees the radius must be programmed with negative
sign.
F Feedrate used for the move. It is given with the F address followed by the feedrate
value. If omitted, the system will use the programmed value. If no feedrate has been
programmed an error will occur.
Characteristics:
The maximum programmable arc is 360 degrees, i.e. a full circle. Before programming a circular
interpolation block, the interpolation plane must be defined with G16, G17, G18, G19. G17 is
automatically active after power up.
The coordinates of the start point (determined from the previous block), the end point and the
centre of the move must be calculated so that the difference between start and end radius is less
than the default value (0.01 mm or 0.00039 inches). If this difference is equal or greater than the
default value, the control displays an error message and the circular move is not performed.
Incremental programming (G91) can be used in conjunction with circular interpolation. With G91
the end point and the centre point of the circular move are referenced to the start point
programmed in the previous block.
The direction (CW or CCW) of a circular interpolation is defined by looking in the positive direction
of the axis that is perpendicular to the active interpolation plane.The following examples show the
directions for circular interpolation on the active planes.
G03
G02
XY
Y
G02
G02
G03
G03
Z
Y
ZX
X
Directions of a circular interpolation
Circular interpolation in absolute programming with the I and J coordinates of the centre of the
circle.
Y
G02
38
G03
20
X
46
64
28
0
Circular interpolation in absolute programming with the value R of the radius of the circle.
In circular interpolations, CET defines the tolerance for the variance between the starting and final
radiuses of the circle arc.
Syntax
CET=value
where:
Characteristics:
If the difference between starting and final radius is smaller than the tolerance but not zero, the
system normalises the circle data according to the values specified in CET and ARM.
If the difference is equal to or greater than the value assigned to CET, an error occurs and the
programmed final points will not be executed. In this case, you must either modify the program or
increase the CET tolerance.
The CET tolerance is always expressed in the characterised measuring unit (G70/G71 apply).
If the variance between programmed start and final radius is higher than the CET value, the circle
arc can be executed as follows:
Example:
CET=0.02 defines a 0.02 mm tolerance
In a circular interpolation, the FCT instruction defines a threshold for the distance between the first
and the last point in an arc. Within this distance the arc is considered a full circle.
Syntax
FCT=value
where:
Characteristics:
The FCT command allows to deal with inaccurate program data that would otherwise prevent the
system from forcing a complete circle. In other words, if the distance from the first to the last point
is less than FCT, the system uses the points as if they were overlapping and forces a full circle.
The FCT threshold is always expressed in the characterised measuring unit (G70/G71 apply).
Example:
G71
FCT=0.005
In this example, FCT defines a threshold 0.005 millimetres.
The ARM code defines the method with which the system normalises an arc (programmed with the
centre coordinates I and J, and a final point) in order to render it geometrically congruent.
An arc is normalised when the variance between initial and final radius is less than the
characterised accuracy tolerance or than the tolerance programmed with the CET command.
Before executing an arc, the system calculates the difference between initial and final radiuses.
• If the difference is zero, the control will execute the programmed arc without normalising it.
• If the difference is greater than the CET value, the control will stop without executing the move,
and display a profile error message.
• If the difference is less than the CET value, the control will execute the move normalising the
arc with the method specified by ARM.
• If the distance is less than the FCT threshold, the system will force the complete circle. For ISO
blocks with radius compensation, the system checks the difference twice: first on the base
profile without compensation (normalisation stage) and then on the compensated profile (motion
generation stage).
Syntax
ARM=arc mode
where:
arc mode Is the numerical value that defines the arc normalisation mode.
Valid values are:
Characteristics:
ARM=0
This is an arc through the initial and final programmed points whose centre is displaced within the
tolerance defined by CET. The arc is executed with averaged radius.
starting point
CET
averaged radius
C = programmed center
CS final point
C CET CS= displaced center
ARM=1
This is an arc through the programmed final point and the starting point displaced within the CET
tolerance. The arc is executed with final radius.
starting point
CET
final point
C C= programmed center
ARM=2
This is an arc whose centre is displaced irrespective of the tolerance defined with CET. In this case
the arc is executed with averaged radius.
CET
final point
C C= programmed center
CS = displaced center
CS
ARM=3
If the displacement of the centre arc is within the CET tolerance defined with CET, the arc centre
will be displaced and the arc will pass through the programmed starting and final points. If the
displacement of the centre is not within the CET tolerance, the arc will have the programmed
centre and pass through the displaced starting and final points (both points are displaced within the
CET/2 tolerance).
In this case the arc is executed with averaged radius.
A B
C = programmed center
CS = displaced center
starting point
averaged radius
arc with averaged
radius plus initial
and final steps
CET
CS
With ARM = 1 or ARM = 3 the resultant profile can show inaccuracies ("steps"):
IMPORTANT
With ARM = 1 there will be a step at circle start equal to the difference between
starting and final radiuses.
In case of ARM = 3 there will be a step both at circle arc start and end.
To prevent these steps from causing a servo error, we suggest that you program
a CET value smaller than the characterised servo error threshold.
Sintiaxi
CRT = value
where:
value Threshold radius below which the reduction has to be applied. The default value,
of 0 (zero), makes it possible to modulate the speed limitation due to centrifugal
acceleration.
CRK = value
where:
value is a constant for modulating the reduction in speed. The value set by default is 1.
Characteristics:
By assigning any value other than 0 to the variable CRT, the speed is reduced on all circular
elements with a smaller radius than the value set. The value assigned to the variable CRK enables
this reduction to be modulated. The speed is reduced as shown in the graph below, in which it is
assumed that the programmed speed Vp is equal to 1 and the variable CRT is equal to 1.
Vp = 1
Crk
0.5
0.606
1
2.718
2
0.135
0.018
Crt = 1 R
When CRT becomes 0, the CRK value (if other than zero) is used, in circular movements, in order
to recalculate processing speed. In circular movements, in fact, processing speed is generally
limited by the radius of the circumference (centrifugal acceleration) according to the following
relationship:
where a is the minimum acceleration between the two axes involved in the circular movement.
and therefore makes it possible to increase (CRK > 1.0) or decrease (CRK < 1.0) the limitation
associated with the centrifugal acceleration. With a value of 1.0 the standard calculation is
retained.
The values assigned to the variables CRT and CRK may be modified as follows
The values assigned to CRT are always expressed in the current unit of measurement of the
process (the G70/G71 functions are applied).
Helical Interpolation
G02 and G03 program a helical path in only one block. The system performs the helical path by
moving the plane axes in a circular interpolation while the axis that is perpendicular to the
interpolation plane moves linearly.
To program a helical path, simply add a depth coordinate and the helix pitch (K) to the parameters
specified in the circular interpolation block.
Syntax
where:
G-codes Other G codes that are compatible with G02 and G03 (See "Compatible G
codes" table in Chapter 1).
axes An axis letter followed by a numerical value programmed (either decimal value
or E parameter).
If no axes are programmed in the block, the move will generate a full circle on
the active interpolation plane.
I Abscissa of the circle centre. This is a value in millimetres (decimal number or E
parameter). The abscissa is expressed as a diameter unit when the
corresponding axis is a diameter axis. No matter what the interpolation plane,
the symbol for the abscissa is always I.
J Ordinate of the circle centre. This is a value in millimetres (decimal number or E
parameter). The ordinate is expressed as a diameter unit when the
corresponding axis is a diameter axis. No matter what the interpolation plane,
the symbol for the ordinate is always J.
R Circle radius. It is specified with the R address followed by a length value, and
is alternative to the I and J coordinates.
K Helix pitch. This parameter is specified with the K address followed by the pitch
value. It can be omitted if the helix depth is less than one pitch.
F Feedrate. It is specified by the F address followed by a value. If it is omitted, the
system will use the previously programmed feedrate. If no feedrate has been
programmed, the system will signal an error.
auxiliary Programmable M, S, and T functions. Up to four M functions, one S (spindle
speed) and one T (tool selection) can be programmed in the block.
Characteristics:
If the depth is not an integer number of pitches, i.e. if Z is not equal to n * K), the length of the circle
arc must be calculated with the decimal remainder of the pitch number. For example, if Z = 2.7 * K,
then the arc that must be programmed is 360 * (2.7 - 2) = 252 degrees.
Example:
G2 X . . Y. . Z . . I . . J . . K . . F. .
In this example, addresses X, Y, I, and J refer to circle programming; addresses Z and K refer to
helix programming and are respectively the depth and the helix pitch. The figure below shows the
typical dimensions of a helical interpolation.
Dimensions Helix
G33 defines a cylindrical, taper, or face threading movement with constant or variable pitch. The
threading move is synchronised to spindle rotation. The parameters programmed in the block
identify the type of thread.
Syntax
where:
K Thread pitch (mandatory). For variable pitch threads, K is the initial pitch.
I Pitch variation for variable pitch threading. For increasing pitch threading, I must
be positive; for decreasing pitch threading I must be negative.
Characteristics:
All these numerical values can be programmed directly with decimal numbers or indirectly with E
parameters.
In decreasing pitch threads, the initial pitch, the pitch variation, and the thread length must be
calculated so that the pitch is greater than zero before reaching the final coordinate. Use the
following formula:
I< K2
2 (Zf - Zi)
where:
I Is the maximum pitch variation
K Is the initial pitch
(Zf - Zi) Is the thread length.
During the threading cycle the control ignores the CYCLE STOP button and the
IMPORTANT FEEDRATE OVERRIDE selector/softkey, whereas the SPINDLE SPEED
OVERRIDE selector must be disabled by the machine logic.
VFF may be disabled with the dedicated softkey or with a VFF command.
The figures that follow illustrate examples of constant pitch threading. Note that the U axis is a
diameter axis.
Cylindrical threading
K2
Z-100
Conical threading
Z
U
Z-80
U40
Cylindrical-conical threading
The figures that follow illustrate variable pitch threading. Note that the U axis is a diameter axis.
U
4 Part program block: G33 U50 Z-40 K4 I1
5
Z
U
7
6
5
4
Multi-start threading
An R word in a G33 block makes the control start moving the axes from an angular position that
varies according to the programmed R value.
This permits to program the same start point for all threads, rather than move the start point of
each thread by a distance equal to the pitch divided by the number of starts.
Example:
Three-start threading
Rotary Axes
In the system characterisation, axes can be configured as rotary axes, i.e. a rotary table.
To program rotary axis moves simultaneous to and coordinated with the other axes programmed in
the same block:
• Always use decimal degrees (from +0.00001 to +99999.99999 degrees) starting from a pre-
selected origin.
• Select either the rapid rate (G00) or the feedrate (G01). In a rotary move rates are always
expressed in degrees per minute (dpm, F5.5 format). For example, with F75.5 the axis moves
at 75.5 dpm.
To perform milling operations on a circle with a rotary table, calculate the rotary rate with the
following formula.
F = 360 * A = 114,64 * A
pi D D
where:
F Is the rotary rate in dpm
A Is the linear rate on the arc in millimetres or inches per minute
D Is the diameter on which the milling operation is performed (in mm or inches).
To move rotary and linear axes simultaneously in the same block, you may calculate the feedrate
with one of the following formulas.
With G94:
F=A* X2+Y2+Z2+B2+C2
L
where:
F Is the feedrate
A Is the feedrate on the part (in mm/min or inches/min)
XYZBC Is the actual travel performed by each axis (in mm or inches for linear axes, in
degrees for rotary axes)
L Is the resultant path length (in mm or inches).
With G93:
F= A
X2 + Y2 + B2
where:
F Is the feedrate
A Is the desired feedrate (in mm/min or inches/min) on the part
X Is the X axis incremental distance
Y Is the Y axis incremental distance
B Is the B axis incremental distance
The control cannot calculate the desired tool feedrate directly because the radius is not
programmed. In these cases, the feedrate can be specified as inverse time with G93.
A block moving only the rotary axes generates an arc. If rotary and linear moves are combined, the
resulting path may be an Archimedean spiral, a cylindrical helix or more complex curves,
depending on the programmed number of linear axes.
Axes with rollover axis are rotary or linear axes whose position is controlled between zero and a
positive value configured in the rollover pitch parameter.
In the following description the axsi with rollover is rotary and has a 360 degree rollover pitch. We
assume that the axis position is controlled in the 0 to 359.9999 degree range. That is, when the
axis reaches 360 degrees, the displayed position rolls over to zero degrees.
An axis with rollover can be programmed in a block or in a MDI in two different modes:
incremental mode (G91) programs the move as increments in degrees from the current
axis position.
For example, let's assume that rotary axis B is positioned at 90 degrees and the following block is
written in the part program or in an MDI:
G90 B45
359.999
180
0
45
90
Clockwise Rotation
The B axis rotates by 315 degrees clockwise from the 90 degree position to reach the absolute
position of 45 degrees (the sign of the move is positive).
Now let's assume that the B rotary axis is at 90 degrees and, the following block is written in the
part program or in an MDI:
G90 B-0
90
Counter clockwise Rotation
The B axis rotates by 90 degrees counterclockwise to absolute position 0 degrees because the
sign of the move is negative.
The displayed position is beyond the programmed range when the programmed
IMPORTANT range is greater than +359.999 degrees.
For example, if the absolute zero position of the B rotary axis is 0 degrees and the following block
is written in the part program or in an MDI:
G91 B765
45
90
The B axis makes two complete clockwise revolutions plus 45 degrees (360 + 360 + 45 = 765).
Pseudo Axes
A pseudo axis is an auxiliary function that may be addressed as an axis and is handled by the
machine logic. The pseudo axis name can be any allowed axis name (X,Y,Z,A,B,C,U,V,W,P,Q,D).
In a part program block it is possible to program up to 3 pseudo axes but in the AMP it is possible
to configure up to 6 pseudo axes.
Diameter Axes
A reaming/facing head can be mounted on the spindle and controlled simultaneously with other
axes. By programming such an axis (typically a U axis) as a diameter, the following can be
obtained:
Programming a U (diameter) axis is similar to programming other linear axes; however, its
coordinates must be expressed in diameters. The measuring units can be inches or millimetres
according to the current mode ( G70/G71).
When the U axis is programmed in the same block as an X, Y or Z move, it is simultaneous with
and coordinated to the other axes. U axis moves can be performed at rapid rate (G00) or feedrate
(G01) with F in ipm or mmpm.
Before executing a profile with the U axis, the interpolation plane must be defined with the following
command:
G16 Z U
The order of Z and U in this command is critical, i.e. G16 UZ and G16 ZU define
IMPORTANT two different interpolation planes.
Example:
This is an example reaming/facing head used in a finishing operation.
The direction of the arcs programmed with G02/G03 or with the r address and the direction for
cutter diameter compensation (G41/G42) can be determined by looking at the profile on the Z-U
plane. Since negative diameters are usually not programmed, you must consider only the first two
quadrants of the plane.
It is possible to treat one or more axes as slaves or subordinate to another defined as the master.
In this way only the movements of the Master need be programmed as the movement of the slaves
is determined by those of the Master to which they are associated and by whether or not reverse
mirror movement has been applied.
Syntax
(UDA,master1/slave1[,master2/slave2,master3/slave3,master4/slave4])
(UDA)
where:
master1. . . master4 Are the master axis names (one ASCII character per axis). You can
program up to 4 master axes.
slave1. . . slave8 Are the slave axes names (one ASCII character per axis). You can
program a maximum of 8 slave axes per master.
no parameters (UDA) without parameters disables the dual axes mode (UDA)
Characteristics:
Dual axes management does not require any special setting in the system with AMP.
After an (UDA...) command, the positive operating limit is the minimum between the positive limit of the
master axis and the current position of the master plus the distance that may be covered by the slave
axis. In short:
In the case of a "mirror", the distance that may be covered by the slave refers to its negative limit, so it
will be:
The considerations made for the positive limit also apply to the negative limit:
When the (UDA...) command is executed, reference must be made both to the master axis and the
slave axes.
The RESET command does not cancel the association between the master and slave axes.
Dual axes may be used on rotated planes or in polar or cylindrical coordinates (UVP, UVC).
Dual axes, whether master or slave, must be defined on real axes and not virtual axes.
NOTE:
The names of masters and slaves must be separated by a / (slash).
To mirror the slave axis movement, you must program the - operator before the
IMPORTANT axis name. This rule does not apply to master axes.
Example:
(UDA,X/-U) U is slaved and mirrored to X
(UDA, A/B - CD) B, C, D are slaved to A and C is mirrored to A
It is possible to treat one or more axes as slaves or subordinate to another defined as the master.
In this way only the movements of the Master need be programmed as the movement of the slaves
is determined by those of the Master to which they are associated and by whether or not reverse
mirror movement has been applied. The movement of the master and slave axes can occur even if
the axes are not referenced.
Syntax
(SDA,master1/slave1[,master2/slave2,master3/slave3,master4/slave4])
(SDA)
where:
master1. . . master4 Are the master axis names (one ASCII character per axis). You can
program up to 4 master axes.
slave1. . . slave8 Are the slave axes names (one ASCII character per axis). You can
programa maximum of 8 slave axes per master.
no parameters (SDA) without parameters disables the special dual axes mode (SDA)
Characteristics:
After an (SDA...) command, the positive operating limit is the minimum between the positive limit of the
master axis and the current position of the master plus the distance that may be covered by the slave
axis. In short:
In the case of a "mirror", the distance that may be covered by the slave refers to its negative limit, so it
will be:
The considerations made for the positive limit also apply to the negative limit:
Upon activating the (SDA,...) command the master and the slaves need not be referenced.
The RESET command does not remove the master/slave association.
This allows one to perform the zero point micro-search cycle with dual movement active. In this
case performing the zero point micro-search cycle, the system simultaneously moves the
associated slaves. At the end of the search the master axis is referenced where as the slave axes
are not. In order to reference the slave axes they should be exchanged, one by one, with the
master axis by new SDA programming and the zero point micro-search cycle repeated for each
one of them, redefined as the master. The initialisation of the slaves is not however necessary if
one intends to program only the master with SDA active.
The use of the SDA function is recommended in cases where a zero point micro-search cycle is to
be performed following a shutdown of the system with the work still on the work-bench.
NOTE:
The names of masters and slaves must be separated by a / (slash).
To mirror the slave axis movement, you must program the - operator before
IMPORTANT the axis name. This rule does not apply to master axes.
Example:
(SDA,X/-U) U is slaved and mirrored to X
(SDA, A/B - CD) B, C, D are slaved to A and C is mirrored to A
Master/Slave Association
This instruction defines the association between a master axis and its slaves (up to 8 axes). It
does NOT activate the following function, whose activation is by means of a specific command.
This means that after this instruction a movement of the master does not bring about a movement
of the slave(s). After this instruction and until the slave is released from the master, slave
movements cannot be programmed.
Syntax
where:
master Is the name of the master axis and is denoted by a single ASCII character.
slave1…slave8 Are the names of the slave axes (each of them denoted by a single ASCII
character). You can program up to 8 slaves.
mode Defines the master axis following mode used by the slave(s). It can be:
ratio This is the master following ratio specified for the slave(s). It must be
viewed as a multiplication factor for the feedrate of the master or the
distance covered by it. If the value of this ratio is 1.0, the motion of the
master is reproduced exactly by the slave; if it is smaller than 1.0,
feedrate/distance are reduced, if it is greater than 1.0 they are increased.
This value can be preceded by a sign.
distance This is the distance to be covered by the slave to synchronise with the
motion of the master.
Characteristics:
The master axis can identify either an axis present in the process in which the XDA command is
activated or an axis which is not present; in the latter case, a “virtual” axis, having the name
specified, will be created; this axis will have the dynamic characteristics inherited from the slave
axes (the lowest values of feedrate, accelerations and jerk). This axis may be part of a
virtualisation (UPR, UDA,…) and also of a TCP. The operation of master axis Homing cannot be
performed.
At least one slave axis must be present in the process in which the XDA command is activated; it
can be a SHARED axis, i.e. an axis shared with the machine logic environment. In this connection,
the axis may continue to be moved by the machine logic even after the association with the master,
however it cannot be moved while it is following the master. It cannot be part of any virtualisation or
TCP.
Mode 0
In this mode, the slave axis follows the master proportionately to the value of the ratio (if the ratio =
1, the slave reproduces the movement of the master axis exactly), synchronisation is
instantaneous and the variation in the feedrate of the slave is “in steps”. Slave position and
feedrate values are calculated, instant by instant, according to the following formulas:
V V master
V slave
Activation =
Synchronisation
t0 t
If the speed specified for the slave axis as a result of the following command exceeds the
maximum admissible value for this axis, the system will reduce the feedrate requested accordingly
and will give out an emergency (servo error) message, in that the slave is unable to follow the
required position.
Mode 1
In this mode, the slave follows the feedrate of the master proportionately to the value of the ratio (if
the ratio = 1, the slave copies the movement of the master axis exactly); the synchronisation
depends on the dynamic characteristics of the slave axis and/or the distance parameter which
defines the synchronisation distance.
If the distance value = 0, the slave will synchronise with the master based on its maximum
acceleration and using linear ramps only.
V V master
Synchronisation
V slave
Activation
t0 t1 t
If the value is not 0, the slave will synchronise with the master based on an acceleration calculated
as a function of the synchronisation distance and using linear ramps only. The acceleration will be
calculated again with each sampling process based on the following formula
where the value of the distance is gradually reduced based on the distance covered during the
synchronisation stage. No check is made on the ensuing acceleration value, and therefore servo
errors may arise if the acceleration exceeds the maximum value that can be withstood by the axis.
V master
Synchronisation
V slave
Activation Distance
t0 t1 t
Once the synchronisation with the master has taken place, the slave will move according to this
formula:
The feedrate (Vslave) determined in this manner is “theoretical”, since it is necessary to determine
whether this request is compatible with the dynamic characteristics of the axis (maximum feedrate
and maximum acceleration). The moment the feedrate of the master varies, the slave will follow
this variation based on its acceleration value. If the feedrate requested of the slave exceeds its
maximum admissible feedrate, the system will reduce the feedrate requested accordingly. Hence,
the feedrate and acceleration values with which the slave has to be moved, Vslave i and Aslave i,
will be determined instant by instant. The position of the slave will therefore be calculated on the
basis of these values:
Mode 2
In this mode, the slave follows the position of the master proportionately to the value of the ratio (if
the ratio = 1 the slave reproduces exactly the movement of the master); synchronisation depends
on the dynamic characteristics of the slave axis and/or the distance parameter which defines the
synchronisation distance.
If the distance value is 0, the slave will synchronise with the master based on its maximum
acceleration and using linear ramps only.
V V master
Synchronisation
V slave
Activation
t0 t1 t
If the value of distance is not 0, the slave axis will synchronise with the master axis based on an
acceleration calculated as a function of the synchronisation distance and using linear ramps only.
The acceleration value will be calculated again with each sampling step according to this formula
where the value of the distance is gradually reduced based on the distance covered during the
synchronisation stage. No check is made on the ensuing acceleration value and therefore servo
error messages may be generated the moment the acceleration exceeds the maximum value that
the axis can withstand.
V master
Synchronisation
V slave
Activation Distance
t0 t1 t
Once the synchronisation with the master axis has occurred, the slave will move according to the
following formulas:
The position, PosSlave, and the feedrate, Vslave, determined in this manner should be rated as
“theoretical” values, since it is necessary to determine whether the values requested are
compatible with the dynamic characteristics of the axis (Maximum feedrate and maximum
acceleration). The moment the feedrate of the master varies, the slave will follow this variation
according to its own acceleration value. If the feedrate requested for the slave exceeds the
maximum value admissible for this axis, the system will reduce the feedrate accordingly. To this
end, the two values with which to move the slave, Vslave i and Aslave i will be calculated instant
by instant. The actual position of the slave axis will therefore be calculated on the basis of these
values:
The difference between the actual and the theoretical position of the axis is taken up by the slave
during its motion (even when the master has stopped moving) by moving, to the extent feasible, at
a rate higher than the theoretical value (Vslave).
Mode 3
In this mode, the slave follows the position and feedrate of the master proportionately to the value
of the ratio (if the ratio = 1, the slave reproduces exactly the movement of the master);
synchronisation depends on the dynamic characteristics of the slave.
V master
V slave
Activation =
Synchronisation Distance recovered
after synchronisation
Distance lost with Master
during acceleration
stage
t0 t
During the entire movement of the slave (i.e. both during and after the synchronisation stage), the
motion of the axis is according to the following formulas (always using linear ramps):
The position (PosSlave) and the feedrate (Vslave) determined in this manner should be rated as
“theoretical” values, in that it is necessary to determine whether these requests are compatible with
the dynamic characteristics of the axis (max admissible feedrate and max admissible acceleration).
The moment the feedrate of the master varies, the slave follows the variation according to its own
acceleration value. If the feedrate requested of the slave is higher than its maximum admissible
feedrate, the system reduces the feedrate requested accordingly. To this end, the two values with
which the axis is to be moved (Vslave i and Aslave i) will be calculated instant by instant. The
actual position of the slave will therefore be calculated on the basis of these values:
The difference between the actual and the theoretical position of the axis is taken up by the slave
during its motion (even when the master has stopped moving) by moving, to the extent feasible, at
a rate higher than the theoretical value (Vslave).
This instruction removes the association between the master and the slave(s). Following this
instruction it will be possible to program any movement of the slave axis.
Syntax
(XDA)
Syntax
where:
slave1…slave8 are the names of the slave axes (each of which is denoted by a single
ASCII character). You can program up to 8 slaves.
ratio This is the master following ratio specified for the slave(s). It must be
viewed as a multiplication factor for the feedrate of the master or the
distance covered by it. If the value of this ratio is 1.0, the motion of the
master is reproduced exactly by the slave; if it is smaller than 1.0,
feedrate/distance are reduced, if it is greater than 1.0 they are increased.
This value can be preceded by a sign.
Characteristics:
The command can be used both when a slave is already following the master axis (it then brings
about the release of the slave from the master and activates a new synchronisation stage using the
new following parameter) and when the following function is not active (the command activates the
following value to be used in the next movement stage).
If the uppercase syntax is used, the movement is stopped and the continuous command underway,
if any, is terminated. If the lowercase syntax is used, instead, a continuous mode command is
given out; at any rate, the axes are stopped at zero speed and after that are restarted immediately.
If you do not want the movement to stop, this can be accomplished by having the machine logic
execute a similar command.
Syntax
(XDA, 3, slave1[slave2[..]])
(xda, 3, slave1[slave2[..]])
where:
slave1…slave8 are the names of the slave axes (each of which is denoted by a single
ASCII character). You can program up to 8 slaves.
Characteristics:
If the uppercase syntax is used, the movement is stopped and the continuous command underway,
if any, is terminated. If the lowercase syntax is used, instead, a continuous mode command is
given out; at any rate, the axes are stopped at zero speed and are restarted immediately. If you do
not want the movement to stop, this can be accomplished by having the machine logic execute a
similar command.
Syntax
(XDA, 4, slave1[slave2[..]])
(xda, 4, slave1[slave2[..]])
where:
slave1…slave8 are the names of the slave axes (each of which is denoted by a single
ASCII character). You can program up to 8 slaves.
Characteristics:
The slave axis remains associated with the master, it just does not follow it any longer. Depending
on the “mode” parameter defined in the master/slave association command, either of the following
will occur:
If uppercase syntax is used, the movement is stopped and the continuous command underway, if
any, is terminated. If lowercase syntax is used, instead, a continuous mode command is given out;
at any rate, the axes are stopped at zero speed and are then restarted immediately. If you do not
want the movement to stop, this can be accomplished by having the machine logic execute a
similar command.
Example:
G CODE FUNCTION
NOTE:
The planes specified in G17, G18, G19 are valid if they have been configured in the following
sequence: X, Y and Z.
These G codes are used for defining the interpolation plane as described below:
Axes 1 (X), 2 (Y), and 3 (Z) are the first three axes declared in the AMP environment.
Syntax
G17
G18
G19
The syntax for each function is simply the G code by itself in one block without parameters or other
pieces of information.
Like G17, G18, and G19, G16 defines the abscissa and the ordinate of the interpolation plane but
is not linked to the first and second configured axes.
Syntax
where:
axis1 Is the name of the abscissa of the interpolation plane (typically X). It must be one of
the configured axes in the system.
axis2 Is the name of the ordinate of the interpolation plane (typically Y). It must be one of
the configured axes in the system.
Characteristics:
G16, G17, G18, G19 cannot be used if the following G codes are active:
Example:
G16 X A specifies the interpolation plane formed by axes X and A .
The G functions in this class define how the axis moves on the profile and positions at profile end.
These codes are always accepted by the control.
G27 Specifies a continuous move with automatic velocity reduction on bevels. At the
end of each element velocity is automatically calculated by the control and
optimised according to the profile shape. This calculation is based on DLA,
MDA and VEF values.
G28 Specifies a continuous move without automatic velocity reduction on bevels. At
the end of each element the velocity on the profile is equal to the programmed
feedrate.
G29 Specifies a point-to-point move that is independent from the programmed path
function (G01-G02-G03). At the end of each element the velocity on the profile
is 0.
Syntax
where:
G-codes Other G codes that are compatible with G27, G28 and G29 (See "Compatible G
codes" table in Chapter 1).
operands Any operand or code that can be used in a G function block.
Characteristics:
The following diagram shows how G27, G28 and G29 operate when the programmed feedrate is
constant throughout the profile.
FEED
G27
1 2 3 BLOCKS
G28
1 2 3 BLOCKS
G29
1 2 3 BLOCKS
The following diagram shows how G27, G28 and G29 operate when the programmed feedrate
varies through the profile.
G27
1 2 3 BLOCKS
G28
1 2 3 BLOCKS
G29
1 2 3 BLOCKS
1) Acceleration
3) Decelerated motion
G27 and G28 differ only in the step with decelerated motion.
Positioning at the machining rate (G1, G2, G3) is available in continuous mode (G27, G28 and
G29) whereas rapid positioning (G0) is always point to point, i.e. with deceleration down to null
velocity and accurate positioning regardless of the system status.
With G27-G28 (continuous mode) the control explores and executes the profile as if it were a
single block. For this reason, auxiliary functions M, S and T are not allowed within the profile
executed in G27-G28.
Continuous mode can be temporarily closed by a G00 move that is still part of the profile. The
allowed M, S and T functions may therefore be programmed in a block following G00.
NOTE:
The G code that has been configured in AMP (typically G27) is automatically selected at power-up
or after a reset.
Example:
This is a contouring example in continuous and point-to-point mode.
25.65 4
0 3
230 1 2
295 5
187
0
235
75
70.477
(UGS,X,-400,100,Y,-400,100)
N9 (DIS,"MILL DIA. 16")
N10 T4.4 M6 S800
1 N11 G X-235 Y-230 M13
N12 Z-10
2 N13 G27 G1 X75 F500 ;Continuous mode starts (G27)
3 N14 Y .
4 N15 G3 X-70.477 Y25.651 I J
5 N16 G1 X-187 Y-295
N17 G Z5 M5 ;Temporary shift to point to point mode
N18 (DIS,"MILL DIA. 28") ;for spindle stop, tool change and S functions
N19 T5.5 M6 S1200
N20 X.. Y.. M13
N21 Z-..
N22 G1 X.. Y.. ;Continuous mode restarts
IMPORTANT If G29 were programmed in block N17, continuous mode would stop and
subsequent moves in G1-G2-G3 would be performed in point-to-point mode.
(UGS,X,-400,100,Y,-400,100)
N9 (DIS, "MILL DIA. 16")
N10 T4.4 M6 S800
1 N11 G29 G X-235 Y-230 M13 ;Point-to-point operation starts
N12 Z-10
2 N13 G1 X75 F500 M5 ;Spindle stop
3 N14 Y S1200 M13 ;Spindle CW with coolant
4 N15 G3 X-70.477 Y25.651 I J
N16 DWT=2
5 N17 G1 G4 X-187 Y-295 ;Dwell at the end of the element
N18 G Z5 M5
N19 (DIS,"MILL DIA. 28")
N20 T5.5 M6 S1200
N21 G X.. Y.. M13
N22 Z-..
N23 G1 X.. Y..
During the first step the vector velocity is calculated with a formula based on profile variations. The
variation of the profile is associated to the angle formed by two subsequent moves.
The control compares the actual angle with the MDA value; if the angle is greater, the vector
velocity is put to zero as in G29 mode; otherwise, the control calculates for this bevel a velocity that
is based on the angle, MDA and VEF values.
The second step of the algorithm, called "look ahead", is optional. It can be enabled or disabled
according to the value of the DLA variable.
The "look ahead" step is an optimisation of the first step. In fact, in order to provide a correct stop
at the profile end, the calculated vector velocity is re-processed taking into account the total
distance to be covered in G27 mode and the acceleration configured for each axis.
The look ahead feature (G1 G27) does not handle feedrate override. In fact, at
IMPORTANT this stage a 100% feedrate is assumed. Higher feedrates may generate SERVO
ERRORS.
The DLA code enables/disables look ahead calculation in G27 dynamic mode. The control reads
the motion blocks that make up the profile and those that follow the block in execution in order to
recalculate the exit feedrate for the various blocks. It also calculates the deceleration on the bevels
according to the profile. If the profile includes sudden trajectory variations and there are not
enough block lengths to ensure appropriate deceleration, it is critical for the system to anticipate
these events so that velocities can be adjusted. The number of motion blocks the system can look
ahead after the current block can be specified in the characterisation. It ranges from 2 to 64 blocks.
Syntax
DLA=value
where:
NOTE:
If DLA=1 system block time increases because the control must execute a greater number of
calculations for each instruction. This results in greater accuracy.
It is advisable to set DLA=0 when it is clear that the programmed feedrate and the total distance to
be covered in continuous mode are such as to provide a good stop at the end of the profile.
With DLA=0 the control will consider only the deviations from the theoretical profile on bevels.
Characteristics:
The DYM defines the type of algorithm to use for calculating the velocity between one element and
the next with G27 active.
Syntax
DYM=value
where:
The standard Series 10 algorithm is based on precise mathematical formulas which assume a
linear response from the machine and that the dynamic parameters configured are always
applicable under any condition.
The algorithm already present in the 8600 series uses approximate formulas, therefore applying
greater restrictions on movement.
The alternative algorithm keeps into consideration the dynamic components (acceleration) that the
axes can bear when passing from one block to the other. In this way it recalculates the final speed
at of the first block in order to pass to the next one without excessive stress on the machine.
It is recommended that you verify the behaviour of both algorithms on the machine and then decide
which default algorithm best suits that particular machinery and that particular type of work.
Characteristics
The MDA code defines the maximum angular axis departure in which G27 is active. The selected
value (from 0 to 180 degrees) defines an angle that is the limit of G27 operation.
Syntax
MDA=value
where:
In order to alter the default value (MDA = 90 degrees) you may assign MDA in the configuration or
enter it through a specific data entry or a part program block.
The system forces the axis to decelerate to zero velocity when the direction is greater
IMPORTANT than the angle defined by the MDA value. The system calculates a deceleration ramp
for the programmed axis if the direction is less than or equal to the angle defined by
the MDA value.
Since the system calculates deceleration on bevels from the actual angle and the
MDA and VEF values, it is possible to alter velocity reduction by changing the MDA
value. Small values of MDA generate dramatic deceleration on bevels.
The system RESET restores the configured MDA value.
Examples:
DYM=0
MDA=90°
MDA=180°
DYM=1
MDA=1
MDA=2
The VEF code defines a velocity determining factor on bevels in the G27 mode. The velocity
calculated from the MDA value can be increased or decreased by changing the VEF value. Small
VEF values dramatically reduce velocity on bevels.
Syntax
VEF=value
where:
Characteristics:
The characteristics of the velocity calculation vary according to the value of the DYM variable.
DYM = 0
The following diagram shows different decelerations calculated by the system by varying the VEF
value and keeping the MDA value constant.
V
V
prog
VEF > 1
VEF = 1
VEF < 1
α MDA angle
where:
DYM = 1
The VEF code defines the maximum form error admissable on the bevel. If the value is 0, at the
end of each block the system deccelerates the axes to zero.
DYM = 2
The VEF value defines the maximum speed “step” for the axis in the passage from one block to the
next: for example if VEF=0.8 the axis will have a speed “step” of 1+0.8 of the acceleration of set
working acceleration.
The system will calculate the speed on the edges according to all the axes that are part of the
movement; each axis will have a different speed and the system will choose the minimum among
these.
IMPORTANT A system RESET restores the default value (0.8) only if DYM = 0.
Jerk Limitation
The speed diagrams shown in the previous sections show the continuity of the speed function V(t),
while the acceleration function a(t) has a step pattern. Depending on the characteristics of the
machine and the type of machining process, this may cause defects in the finish of the part.
This problem may be solved using an acceleration function a(t) with a continuous pattern.
The purpose of the "Jerk Limitation" function is to limit variations in acceleration, so as to control its
maximum value, resulting in smoother movement and, consequently, a better surface finish.
V(t)
The MOV code is used to define some characteristic of the movements management.
Syntax:
MOV = value
where:
0 1 2 3 4 5 6 7
Meaning of bits 0 – 3:
8 Jerk Limitation with non-linear ramps enabled and feed rate override managed as
a variation in ramp time (in practice, variation in accelerations).
12 Jerk Limitation with non-linear ramps enabled and feed rate override managed as
a distortion in the form of the ramp (in practice, almost complete maintenance of
accelerations).
Characteristics:
We recommend you use the value 8 for machines that typically run at 100% of the programmed
speed. The value 6 (12) is recommended during the tooling phase, when it is important to have an
immediate response to the feedrate override.
Linear ramps with or without Jerk Limitation work both on point to point movements (G29) and
continuous movements (G27, G28). This algorithm cannot however be enabled and disabled within
a continuous movement.
The default value of this variable is 0. Anyway the MOV variable can be configured in AMP. The
system RESET command restores the default value.
IMPORTANT When non linear ramps are activated with MOV=6 (12), feed rate override is
only active between 0 and 100% and values of over 100% cannot be
reached.
Meaning of bit 4:
Bit 4 (value 16): specifies the type of speed management mode to be adopted, with
UPR 2 or 6 active; if this bit = 0, standard management is maintained;
if this bit = 1, the rotating axes will use controlled speed diagrams.
In the former case, the positioning of the rotary axes conforms to the transformation requested by
the UPR, but the particular computation algorithms employed may cause appreciable showdowns.
In the latter case, slowdowns are eliminated, but the positioning of rotating axes may fail to
conform to the transformation requested by the UPR: in such cases, the axes will lag behind.
Meaning of bits 6 - 7:
Bit 6 (value 64) : defines that the feed rate programmed in a movement block refers to
linear axes. The programming of a rotary axis, in addition to the linear
axes, entails an automatic recalculation of the speed so that it
remains the same along the linear axes. The recalculation of the
speed is only applied if both the linear axes and the rotary axes are
present in a movement. It is not applied in the case of circular
movements (G2/G3) in which a rotary axis is part of the interpolation
plane.
Bit 7 (value 128): enables the VFF algorithm also for manual movements that are
normally executed using the “tracking error” algorithm only.
The value obtained from the setting of these bits is to be added to the one given in bits 0-3.
Example: if you want to use Jerk Limitation with non-linear ramps enabled and feed rates
managed as variations in the ramp time and, at the same time, have VFF enabled for
normal movements, the MOV variable must be set to the value 128 + 8 = 136.
IMPORTANT This feature must NOT be activated if speed programming is executed in G93 or
with t. In this case, the resulting machining time would not be correct..
The JRK code defines the acceleration management mode in non-linear ramps. It is used with
MOV=2 or 6. With MOV=8 or 12, the JRK value is calculated automatically by the system on the
basis of the dynamics set for each axis in AMP; hence the JRK used depends on the axes involved
in the single movement.
Syntax:
JRK = value
where:
value a numeric value greater than 0.5, which is used to define the acceleration
management mode in a non-linear ramp
Characteristics:
The default value is 1. The JRK value can be configured in AMP. The RESET command restores
the default value.
By setting JRK = 1, the acceleration ramp retains the values configured for axis accelerations.
Acceleration decreases with a value lower than 1, and increases with a value higher than 1.
v
v v
a a a
t t t
The JRS code defines the threshold value for limiting the speed with Jerk Limitation activated.
Sintyax:
JRS = value
where:
value is a a numeric value greater than 0, which used for defining a speed threshold below
which the speed is to be limited if the programmed speed cannot be reached.
Characteristics:
A characteristic of the lookhead algorithm for Jerk Limitation is that it avoids continuous
acceleration and deceleration that would cause oscillation in the movement of the axes. This could
happen if the if the programmed axes do not allow the speed set (Vi) to be reached.
To this aim, the speed diagram is "cut" as illustrated in the figure below:
Vi
V Vi
Eliminated
parts
Vi
To prevent the "cut" part from being too large and considerably increasing the machining times, a
threshold below which the speed is to be limited is defined.
This threshold is calculated as a function of the JRS parameter on the basis of the following rule:
Vmax The maximum speed value calculated by the algorithm on the movements taken into
consideration
Vmin The minimum speed value calculated on the movements taken into consideration.
If it is, the Vmax is set equal to Vmin, otherwise it is recalculated so that there is a section with a
constant speed in the upper part of the ramp.
IMPORTANT The default value is 1. The RESET command restores the default value.
This system variable allows to check whether the part program includes continuous moves (G28)
in which the velocities programmed on the profile are too high and may generate path errors.
Syntax
ODH=value
Characteristics:
To obtain reliable results from the use of ODH, the variable itself must be reset before it is used in
the part program: that is, ODH must be forced to zero before the blocks to be tested. This variable
is normally used when the Part Program is debugged: the system modifies the ODH variable when
it detects critical conditions.
Bit 0: Indicates that the queue of the elements processed continuously is too short. It occurs
when, in G28 (and in some cases in G27), the machining speed is too high with respect
to the value set in AMP as the number of blocks to be processed during continuous
motion. The possible solutions are to decrease the speed or increase the size of the
queue of precalculation elements.
Bit 1: Indicates an excessively high speed and occurs when there are too short elements in the
profile, which are skipped due to the excessively high speed. In this case, the machined
profile is deformed. The possible solutions are to reduce the speed, or to recalculate the
points in the program. To avoid profile deformation, we recommend that bit 0 (MOV = 1)
be activated in the MOV variable.
Bit 2: Occurs when an excessively high acceleration is requested in G26 with respect to the
one set, in moving on from one movement element to the next
Bit 3: Occurs when the system has forced a brake to avoid deforming the profile when it cannot
completely calculate the acceleration/deceleration ramps for the movement elements
analysed, during machining with non-linear ramps enabled.
Example:
........
........
ODH=0 ;the variable is taken to zero for velocity verification
G1G28F1000 ;continuous mode starts
........
........
........
........ ;continuous mode blocks
........
........
........
G29M5 ;continuous mode end
(GTO,KO,ODH=1) ;branches if ODH=1
(DIS;"VEL.WITHIN SYSTEM LIMITS")
(GTO,CONTINUES)
........
"KO"
(DIS,"VELOCITY TOO HIGH")
........
........
"CONTINUES"
The MBA (Boolean) variable makes it possible to enable/disable the auxiliary functions (M
functions) during Retrace operations:
Syntax:
MBA = value
Characteristics:
The emission of auxiliary functions is performed only during forward retrace
(see user manual)
value = 0 Emission disabled
value = 1 Emission enabled
After a reset, the variable is reset with the value configured in AMP.
IMPORTANT
Syntax:
REM = value
The IPB command lets you define the axes positioning tolerance.
Syntax
where:
axis1 . . axis9 Is an axis address and a numerical value. In the IPB command you can program
up to nine axes, each of which must be configured in the system. You should
program tolerance dimensions in the measuring unit (G70/G71) that is active when
the IPB command is executed.
Characteristics:
This value specifies the tolerance between the theoretical and the actual axis positions at motion
end. In G00 positioning mode, the axis must be within this tolerance before the next block is
executed.
If you program 0 in the IPB command, the control uses the default positioning tolerance specified in
the characterisation.
If no axes are specified, the control uses the positioning tolerance that is currently active for that
axis.
You cannot specify the same axis twice in one IPB command.
The IPB command causes an error when the following conditions/modes are active:
Before programming an IPB command you must disable these codes from program.
The programmed value overrides the one configured in AMP. A RESET does not
IMPORTANT restore the configured value.
Example:
(IPB, X 0.1, Y 0.05)
This block specifies a positioning tolerance of 0.1 for X and 0.05 for Y.
The G70 and G71 codes define the measuring unit used by the control.
Syntax
where:
G-codes Other G codes that are compatible with G70 and G71 (See "Compatible G codes"
table in Chapter 1).
Characteristics:
If neither G70 nor G71 is programmed, the system will assume the default measuring unit stored in
the system configuration (typically G71).
When the system switches from G71 to G70 or from G70 to G71 it also converts all position and
feedrate information into the relevant unit.
However, offset and origin tables are not automatically converted into the
IMPORTANT alternative unit when the system switches between G71 and G70.
Shifts between G70 and G71 do not affect the values read from probing cycles G72, G73 and G74.
These G codes define whether programming dimensions are absolute, incremental or referred to
the machine zero.
G90 Sets absolute programming, i.e. moves referred to the current origin (position to
move).
G91 Sets programming in the incremental system, i.e. moves referred to the position
reached with the previous move.
G79 Sets programming in absolute reference to home position. It is valid only in the block
in which it is programmed (distance to move).
Syntax
where:
G-codes Other G codes that are compatible with G90, G91 and G79 (See "Compatible G
codes" table in Chapter 1).
Characteristics:
If none of these codes is programmed, the default programming mode is absolute or G90, i.e.
coordinates referred to the programmed origin.
G90 and G91 are modal whereas G79 is not. After programming a block with G79, the control
restores the programming mode of the previous block.
Using characters >> a mixed incremental/absolute programming in the same block is also possible.
Characters >> positioned before the numeric value of an operand, indicate that it must be
considered as an incremental value and that it is valid for that operand only. Characters >> have a
meaning only if G90 absolute programming is active. They may be used for all operands on which
it is possible to use G91 function.
Example:
G90 G1 X + 80 Y >> + 35 Z-70
The value associated to Y must be considered as incremental.
Example:
This example shows how to use the different reference systems: absolute, incremental and HOME
position.
Absolute Origin 1
HOME
"HOME"
Position
Machine Zero
Program:
(UGS,1,X,-50,100,Y,50,100)
(UAO, 1) ;Enables absolute origin 1
N1 G X Y ;X and Y positioned to absolute origin 1 (assuming default
mode G90)
N2 X30 Y40 ;X and Y positioned to point 1
N3 G91 X50 Y25 ;Incremental mode positioning to point 2 ( X+50, Y+25 from
point 1)
N4 X-71 Y12 ;Incremental mode positioning to point 3 ( X-71, Y+12 from
point 2)
N5 G90 X110 Y35 ;Absolute mode positioning to point 4 ( X+110, Y+35 from
the origin)
N6 G79 X70 Y55 ;Positioning referred to home position on point 5 (X+70,
Y+55 from home position)
G92 and G98 represent an alternative method for introducing axis offsets. Since G92/G98 define
the reference position, they are used in a part program block by themselves. The difference
between the actual and the new position is stored in a separate G92/G98 offset register. In this
way, other active offsets such as tool offset and origins, will not be destroyed when a G92/G98
offset is introduced. The G99 code resets the G92/G98 code.
Syntax
G92 axes
G98 axes
where:
axes Is the number of axes ( 6 axes max.)
Characteristics:
G98 works the same way as G92, save that G92 does not take into account the MIRROR applied
to the programmed axes and G98 does.
Codes G92 and G98 are cancelled by the following functions:
• G99
• M2
• M30
• System reset
• PLUS
Active reset has no influence on a offset programmed with G92 or G98. The G92 or G98 offset
shifts the origin for a part program but does not cause any axis motion. When the axis value is
entered in a G92 or G98 block it becomes the current axis position.
Example:
........
Y ........
G0 X100 Y80
G92 X0 Y0
........
........
80
100 X
Syntax
where:
G-codes Other G codes that are compatible with G4, G9 (See "Compatible G codes" table in
Chapter 1).
Characteristics:
G04 causes a dwell at motion end in a block. The DWT command must be programmed in a block
that precedes G04. If no DWT is be programmed, the system assumes the characterised dwell.
G04 is allowed only when the control is in point-to-point (G29) and is valid only in the block in
which it is programmed. The value set in DWT may be expressed in seconds (G94 or G95 with G0
active) or revolutions (G95).
G09 forces a feedrate equal to zero at the end of the block in which it is programmed, but does not
vary the machining status of the profile in progress. G09 does not cause any change in the control
status and is valid only in the block in which it is programmed.
G4
DWT t
V
G9
Both in G93 and G94 it is possible to establish the block execution time by programming the t
function at the end of the block.
Example:
G1 X10 Y1 t6
Characteristics:
The t function is valid only for the block in which it is programmed. The time is expressed in
seconds and the control automatically calculates the feedrate at which the moves of the axes
programmed in the block will be executed.
The DWT command lets you assign a dwell time at block end. This dwell time is used by G04 and
canned cycle blocks.
Although the DWT command can be programmed anywhere in the part program, but must come
before any G04 or fixed cycle linked to it.
Syntax
DWT = value
where:
Example:
DWT = 12.5 assigns a dwell time of 12.5 seconds
E32 = 13.4 assigns the value 13.4 to the E32 variable
DWT = E32 assigns a dwell time of 13.4 seconds
G93 defines the axes feedrate (F) as the reciprocal of the time in minutes required to execute the
entity:
1
F = -----
T
Linear interpolation:
Feedrate
F = -------------
Distance
Circular interpolation:
Feedrate
F = --------------
Arc
where:
Example:
G93 G1 X. . Y. . F. .
X. . Y. . F. .
This command enables/disables VFF. Il VFF has an effect on the interlocking of the axes allowing
the speed to be controlled as well as the position.
Syntax
VFF=value
where:
NOTE:
The VFF default value, 1, is configured in AMP.
COMMAND FUNCTION
The SCF command assigns a scale factor to programmed axis dimensions. The control applies the
scale factors to the axes specified in the SCF command.
Syntax
where:
value Programs the scale factor. You can program the scale factor directly with a
decimal number or indirectly with an E parameter.
axis1 . . . axis9 Addresses of axes configured in the system and scale factor.
Characteristics:
You can specify up to nine axes in the SCF command. The control cancels scaling for axes that
are not specified in the command. A SCF command programmed without a scale factor or axes
cancels scaling for all axes.
Example:
.
.
.
(SCF, 3) Applies a scale factor of 3 to the programmed dimensions for all configured
axes.
.
.
(SCF, X2.5, Y3) Applies a scale factor of 2.5 to the programmed dimensions of the X axis and 3
to the Y axis and deactivates scaling for all other axes.
IMPORTANT The system RESET disables the scale factor for all axes
The MIR command reverses (mirrors) the programmed direction of motion for the axes you specify
in the command referred to the current origin.
Syntax
where:
Characteristics:
You can program up to nine axes in the MIR command. Program an axis only once per each MIR
command. If a given axis is not programmed in MIR, any mirror function for that axis will be turned
off.
If no axis is programmed in the MIR command, the mirror function will be reset for all configured
axes.
The control mirrors the programmed axis move with respect to the current origin, applying the
mirror function from the first motion block including that axis after the MIR command.
If you use plane rotation (ROT) in conjunction with the mirror (MIR) command, the control
processes them in the following order: MIR then ROT.
The system RESET disables the MIR command for all axes. It is equivalent to
IMPORTANT programming (MIR) without parameters.
Example 1:
The following example shows how mirror machining works.
(MIR,X) (MIR)
3 4 4 3
2 1 1 2
0 X
2 1 1 2
3 4 4 3
(MIR,X,Y) (MIR,Y)
. Mirroring not active. Moves occurring the first quadrant. Moves referred to
the current origin.
.
N24 (MIR,X) Mirroring active for the X axis only. Programmed +X moves generate a move
shown in the 2nd quadrant.
.
.
.
N42 (MIR, X, Y) Mirroring active for the X and Y axes. Result of programmed moves
. shown in the 3rd quadrant.
.
.
N84 (MIR, Y) Mirroring active for the Y axis and inactive for the X axis. Moves in the 4th
quadrant.
.
.
.
N99 (MIR) Mirroring inactive for all axes. Moves in the 1st quadrant.
Example 2:
This example shows how to use the MIR command. Also note the use of RPT and ERP.
90 40 40 90
Program:
ROT is a part program command that rotates the active interpolation plane by a programmed
angular value. The centre of rotation is the current origin. ROT can be activated through MDI or as
a part program code.
Syntax
(ROT, angle)
where:
angle Represents the value of an angle expressed in decimal degrees. You can program the
angle directly with a value numerical value or indirectly with an E parameter. Positive
angles are measured CCW from the abscissa of the current interpolation plane.
Negative angles are CW. If the angle is zero plane rotation is disabled.
Characteristics:
The control rotates programmed coordinates beginning with the first block after the ROT
command. Coordinates referred to the machine zero (G79) are not rotated.
If you use axes rotation (ROT) in conjunction with mirroring (MIR), the control performs them in the
following order: MIR first then ROT.
Example 1:
Y
30
50
100 X
Program:
(UTO, 1, X100, Y50) Activates absolute origin 1 with temporary origin (absolute offset)
X100 and Y50
(ROT, 30) Specifies 30 degree rotation CCW referred to temporary origin
.
. Moves in this portion of the program are referred to the temporary
origin and rotated 30 degrees CCW
(UAO, 1) Reactivates absolute origin 1
(ROT, 0) Deactivates rotation by specifying a 0 degree rotation around origin 1
Example 2:
70
25
25
10
20
40
55
22
30 X
Program:
Example 3:
This example shows how to use Plane Rotation (ROT) with Repeat (RPT) and Parametric
Programming.
Program:
The UAO commands lets you activate and use one of the absolute origins stored in memory.
Syntax
where:
Characteristics:
The UAO command allows up to nine axes. Only one absolute origin can be active at a time for a
specific axis.
When an axis is not specified in the UAO command, it continues to use its currently active absolute
origin. A UAO command programmed without axes (UAO, n) activates origin n for all axes. At
power-up, after a control reset, or with n=0 and no axes, all axes are referred to the home position.
If the program requires different origins for different axes, program a separate UAO command for
each origin required.
The origin values are automatically converted into and displayed in the unit of the current active
mode (G70/G71).
The origins are referred to the HOME position that has been characterised in AMP.
Example:
(UAO,1) Activates origin 1 for all axes.
.
. This portion of the program uses origin 1 for all axes.
.
(UAO, 2, X, Y) Activates absolute origin 2 for axes X and Y only.
(UAO, 3, Z) Activates origin 3 for the Z axis.
.
. This portion of the program uses origin 2 for X and Y, origin 3 for Z,
. and origin 1 for all other axes.
(UAO, 1) Reactivates origin 1 for all axes.
.
.
.
(UAO, 0) Reactivates Home position for all axes.
The UTO command temporarily increments the position of the specified absolute origin by a
programmed amount for each declared axis.
Syntax
where:
axis1,...axis9 Is an axis and a dimension. The control treats the dimension as an absolute
offset and adds it to the value of the absolute origin for that axis.
Characteristics:
You must declare at least one axis with a dimension in the UTO block but may declare up to nine
axes with dimensions. An axis can only be declared once in each UTO command.
The axis dimension in the UTO command must be programmed in the currently active measuring
unit (G70/ G71).
If an axis is omitted from in the UTO block, the current absolute origin for that axis stays active.
If a scale factor (SCF) is set, the control applies it to the UTO temporary origin.
Example 1:
Dimensions can be E parameters as shown in the block below:
(UTO,1,XE100)
Example 2:
Y Y
100
N20
100
N10
01
X
Y
Y
250
N30
50
X 02
N40 X
Program:
The UIO command causes an incremental shift of the currently active origin for each axis specified
in the command.
Syntax
where:
axis1,...axis9 Is an axis and a dimension. The control treats the dimension as an incremental
offset and adds it to the value of the current origin for that axis.
Characteristics:
You must declare at least one axis in the UIO command, but you may declare up to nine axes. An
axis can only be declared once in each UIO command.
The axis dimension in the UIO command must be programmed with the current measuring unit
(G70/ G71).
If an axis is omitted from in the UIO block, the current absolute origin for that axis stays active.
Once you activate an incremental origin for an axis it stays active until you:
• activate a new incremental origin for the axis with the UIO command
• activate an absolute origin with the UAO command
• perform a control reset.
If a scale factor (SCF) is set, the control applies it to a UIO incremental origin.
Example:
Program:
N65 (UIO, X20, Y20) Applies an incremental offset of X20 and Y20 from origin 1. Absolute
origin 0 for other axes remains in effect.
N121 (UIO, Y-40) Applies a Y-40 increment to the last origin. The X20 incremental origin
remains in effect.
N180 (UIO, X-45) Applies an X-45 increment to the last origin. The Y-40 incremental origin
remains in effect.
N230 (UIO, Y35) Applies a Y35 increment to the last origin. The X-45 increment remains in
effect.
The RQO command lets you requalify, i.e. update and modify, an absolute origin from program.
The RQO command modifies the specified origin by the specified amount for each axis you declare
in the block. The origin must be stored in the origins table.
Syntax
where:
n Defines the absolute origin number (1 to 10). The absolute origin must be
stored via softkey driven procedure. n can be programmed directly with a
positive integer number, or indirectly with an E parameter.
axis1,...axis9 Is an axis address and a dimension. The dimension is the increment added to
the specified absolute origin of the specified axis and can be programmed
directly with a decimal number, or indirectly with an E parameter.
Characteristics:
You must specify at least one axis and its dimension in the RQO command. Up to nine axes with
their dimensions can be programmed. Program a specific axis only once for each RQO command.
The dimensions specified in the RQO command must be in the default measuring unit. No scale
factor (SCF) must be applied to dimensions programmed in an RQO command.
The origin is requalified both in the origins file (so that the requalification becomes permanent) and
in memory (if the origin is active when the requalification is applied).
In the table of the origins the requalification values are applied in the unit of measure in which the
selected origin is expressed.
In the case of a diametrical axis, the requalification dimension must be programmed in radial terms,
since the dimension is an increment to be added to the value already present in the origin, which is
a radial value.
Example:
(RQO, 3, X (E31)) Modifies absolute origin no. 3 for axis X of the value contained in E31.
COMMAND FUNCTION
The SOL command defines axis travel limits measured from the current origin.
Syntax
(SOL,axis-name,lower-limit,upper-limit)
where:
axis-name Is the name of the axis whose travel limits must be defined.
upper-limit Is a dimension for the upper limit. It must be greater than the lower limit.
Characteristics:
If the programmed software travel ends exceed the limits specified in AMP, the control signals an
error.
Software overtravels must be programmed in the measuring unit (G70/G71) that is active when you
program the SOL command. Active scale factors (SCF) are applied to the travel limits.
Example:
Y
Program:
200
300
300
0
Syntax
(DPA, n,axis-name1,lower-limit1,upper-limit1,axis-name2,lower-limit2,upper-limit2 )
where:
Characteristics:
Before beginning a programmed move with linear or circular interpolation, the control checks if the
move enters a "protected area".
In a program you can define up to three protected areas for the machine tool. Each area is referred
to the origin that is active when the DPA command is specified.
Example:
area 1
area 2
100
50
0 0
50 X
100
200
450
300
100
Program:
Syntax
(PAE, n)
where:
n Is the number of a protected area defined with the previous DPA command (1-3
range).
Example:
(PAE,2) enables area 2 control
Syntax
(PAD, n)
where:
Example:
(PAD,3) disables control on area 3.
Virtual Axes
Virtual axes are declared in the configuration but are not associated to any physical parameter (for
further information, refer to the AMP Manual).
When virtual axes are disabled the system forces the default plane configured in
AMP as interpolation plane.
COMMAND FUNCTION
UPR (USE PLANE ROTATED) allows definition of a system of three virtual axes translated and
rotated.
Syntax
where:
• 10 = global, type 0
The characteristics are similar to those of type 0, but the programmed
rotation remains active even with subsequent non global UPR’s.
• 12 = global, type 2
The characteristics are similar to those of type 2, but the programmed
rotation remains active even with subsequent non global UPR’s.
• 14 = global, type 4
The characteristics are similar to those of type 4, but the programmed
rotation remains active even with subsequent non global UPR’s.
• 16 = global, type 6
The characteristics are similar to those of type 6, but the programmed
rotation remains active even with subsequent non global UPR’s.
• 99
without any further parameter, disables all active UPR modes, including
global rototranslation.
af1af2af3 Names of the three physical axes to be handled in virtual mode (e. g. XYZ).
rot1,rot2,rot3 Rotation angles expressed in degrees. Direction is selected with the right hand
rule, which is discussed in the next section.
q1,q2,q3 These parameters allow the origin of the reference system to determine the
origin of the reference system:
• In an absolute rotation, q1, q2 and q3 are the co-ordinates of the system
origin. They are relative to the origin that was active when UPR was
programmed.
• In an incremental rotation, q1, q2 and q3 are the increments applied to the
current origin. The new system origin is the result of adding these
increments to the co-ordinates of the current one.
• If these parameters are not specified, the origin of the reference system
coincides with that of the current origin.
no parameters (UPR) without parameters disables the UPR mode, leaving the global mode
only, if present.
If no global rotation has been programmed, commands (UPR) and (UPR,99)
are equivalent.
lower case If the three-letter block is programmed in lower case, the angles and/or origins
programming can be disabled using the UPR algorithm without exiting from the
(UPR) "CONTINUOUS MOVEMENT" mode.
The lower case three-letter block (upr,...... must only be used to alter the
parameters of the (UPR, ...) programmed in advance.
The axis sequence cannot be altered.
A global type rotation cannot be programmed.
To select the direction of rotation of the system of virtual axes you must apply the right hand rule.
+Y
+v
+Z
+u
+X
+w
Characteristics:
UPR allows programming of any machine function in a space that has been rotated by the
specified angle with respect to the machine tool Cartesian system.
This lets you program the profile in the normal Cartesian space (XYZ) and then have 10 Series
recalculate the axes moves according to the virtual planes resulting from rotation.
By programming a global UPR you can apply an initial rototranslation to serve as a term of
reference for all subsequent UPR’s. This makes it possible to perform the same part program,
which, in its turn, may contain other geometric transformation instructions, even when the part to
be processed is, for instance, fastened to the bench by brackets set along different directions.
The activation of a global type UPR is not rated as a previous UPR for purposes of incremental or
lowercase programming.
The activation of a global type UPR cancels any previous virtualisation, resulting in the reset of any
displacements.
When a UPR type 2, 3, 4 or 6 is used, or any of the corresponding global type UPR’s are used, the
system needs the machine characteristics, which must be entered in the TCP table according to
the rules established by the TCP itself. This feature is separate form TCP, or rather, it can work
whether TCP is active or not. When UPR and (TCP, 5) are active simultaneously, the movement of
the axes will influence the movement of the virtual axes.
With modes 2 and 3, the tool axis, once identified by the programming of the rotating axes, takes
on the same position within the virtual reference system as it has in the reference system identified
by the Cartesian system.
Modes 4 and 6 and the corresponding global type modes determine the new rotation plane based
on tool direction (i.e. based on the positions of the rotary axes). On the new plane, supposing the
programming UPR, 4, XYZ, UVW ..., the W axis will coincide with the direction of the tool, the U
axis will lie on the original XY plane and, consequently, the V axis will be based on the rule that
determines the Cartesian axes.
V
W
Y U
By means of angles rot1, rot2 and rot3, the UVW axes determined in this way may be further
rotated; an increase (see type 1 or 3) will be applied to the new axes.
When a global UPR is programmed, the values of rot1, rot2, rot3 must be
IMPORTANT
between –90° and +90°.
For angles outside this range, when passing from one virtualisation to
another, the algorithm generating the rotary axis position could generate
unwanted rotations (unwanted, but still congruent with the position of the
tool).
The UPR is insensitive to the DAN: the axes to be specified in the UPR are
IMPORTANT
the names of the physical and virtual axes desired, regardless of any DAN
commands executed previously.
Rotation modes:
The three-axis cartesian system rotates sequentially by the programmed angles. This means that:
A) The af1 af2 af3 system of coordinates rotates by a rot1 angle around the af1 axis
B) The new av1' av2' av3' system of coordinates, which results from the above described
rotation, rotates by a rot2 angle around the av2' axis
C) The av1" av2" av3" system of coordinates, which results from the rotations described in
A) and B), rotates by a rot3 angle around the av3' axis
After these three operations have been completed, the virtual axes of the resulting system will be
av1 av2 av3.
Since steps A) B) and C) are carried out sequentially, the order in which
IMPORTANT angles and axes are programmed in the block is critical.
Using UPR
In the following examples it is supposed that the the three-axis cartesian system XYZ is the
reference system.
In the examples 1, 2, 3, 4, 5 the reference system origin coincides with the origin in use at the time
of programming UPR.
Example 1:
.
.
GXYZ
(UPR,0,XYZ,UVW,30,45,60) The UVW system may be obtained by:
G1F5400
U100.4V9.12 W-70 A) rotating by 30 degrees the XYZ system around
. the X axis
U70.345 W-20
. B) rotating the U'V'W' system resulting from A) by
. 45 degrees around V'
.
. C) rotating the U''V''W'' resulting from A) and B)
. by 60 degrees around W''
G16UV
G02 U100 V70 R15
G1 U120 W10
.
.
(UPR)
X1 Z4.9
.
Example 2:
.
.
.
GXYZ20
(UPR,0,XYZ,UVW,10,0,80) The UVW system may be obtained by:
G1F4000
U50 V70 A) rotating the XYZ system by 10 degrees around
. the X axis.
U90
V80 W60 B) rotating the U'V'W' system resulting from A)
. by 80 degrees around the W' axis
.
(UPR)
.
.
.
Example 3:
.
.
.
GXYZ20
(UPR,0,ZYX,ABC,80,0,10) The ABC system may be obtained by:
G1F3000
A50 B70 A) rotating the XYZ system by 80 degrees around
. the Z axis
A90
B80 C60 B) rotating the A'B'C' system resulting from A)
. by 10 degrees around the C' axis
.
(UPR)
.
.
The UVW virtual system discussed in Example 2) is different from the ABC
IMPORTANT system in Example 3).
Example 4:
.
.
.
(UPR,0,ZYX,WVU,0,50,60) The WVU system may be obtained by:
U90V30
W10 A) rotating the XYZ system by 50 degrees around
. the Y axis.
.
. B) rotating the W'V'U' system resulting from A)
. by 60 degrees around the U' axis
(UPR)
.
.
.
Example 5:
.
.
GXYZ
(UPR,0,XYZ,UVW,30,0,0) The UVW system may be obtained by rotating the
XYZ system by 30 degrees around the X axis
G16 UV
G1 F1000 U50 V0
V30
.
.
U25 V35 The UVW system resulting from the previous
(UPR,1,XYZ,UVW,60,0,0) rotation rotates by another 60 degrees around U
U30 V20
.
.
(UPR)
GX10 Y25
.
.
Example 6:
Example 7:
. The UVW system may be obtained by:
.
GXYZ A) rotating the XYZ system by 30 degrees
(UPR,0,XYZ,UVW,30,45,60,10.8,20,-30.2) around the X axis.
G1F500
U100.4 V9.12 W-70 B) rotating the U'V'W' system resulting from
U70.345 W-20 A) by 45 degrees around V'.
.
. C) rotating the U''V''W'' resulting from A) and
. B) by 60 degrees around W''
.
. The origin of the reference system coincides with the
point whose coordinates are X10.8, Y20, Z-30.2
.
(UPR,1,XYZ,UVW,10,0,0,3,8,5) The UVW system resulting from C) rotates by
U120 V30 another 10 degrees around U.
. The origin of the reference system coincides with the
. point whose coordinates are X13.8, Y28, Z-25.2
.
(UPR)
GX70.5 Y10 Z25
.
.
Example 8:
In this case, we want to apply an initial rotation, say of 90° around the Z axis, to the part program
discussed in example 2:
Syntax
(UVP,af1af2,av1av2,r)
(UVP)
where:
Characteristics:
This virtual mode permits to move an X linear axis and a C rotary axis by programming their
coordinates in a UV cartesian plan. The (U,V) coordinates of any point on the virtual plane are
translated into the (X,C) coordinates of the physical axis.
To avoid the rotary axis is requested to exceed the rapid feed, the r parameter
IMPORTANT must be programmed bear in mind the F programmed feed.
F 360
r= ∗
Vmax 2 π
where:
r = minimum radius
F = programmed feed (mm/min or inch/min)
Vmax = rotary axis rapid speed
Whether to the r parameter is attributed a negative value, the feed limitation is executed
dinamically, in such a way to allow high feeds in working point that are quite far from the working
centre.
Example 1:
E0=110*180/(3.14159*800) 5 V
T1.1M6
S1000M3
GC0X50Y0 20
(UVP,XC,UV,E0)
3
G16 UV
G1G42U20VF110
V20 0
r3 U
U-15
b5
V-20
20
5
r5 20
U0
G40G2U20V0I20J-20 15 20
(UVP)
GX50 0
Example 2:
T1.1M6 V
S2000M3F300 35
GC0X80Y0-Z-5
(UVP,XC,UV,10)
r25
G16UV
p1=U20V0 c1
l1=p1,a90 l1
r3
r4
c1=I0J35r-25 p1 0 U
I2=U-15V0,a90 r3
l3=U0V-20,a0 l2
c2=I25J-30r-25 r3
r5
G21G42p1 20
r2
5
l1 l3
r3 30
c1
15
20
25
0
r4
l2
r5
l3
r3
c2
r3
l1
p1
G20G40
(UVP)
GX80
The UVC command (USE VIRTUAL CYLINDRICAL) permits to program cylindrical coordinates.
Syntax
(UVC,af1,av1,r)
(UVC)
where:
Characteristics:
This mode permits to move a Y linear axis and a B rotary axis by programming their coordinates on
a WY plane. While the moves of virtual Y coincide with those of physical Y, each move of W
corresponds to a circle arc, which is a function of the cylinder radius and must be translated into an
angular move of the B physical axis.
Example:
Y r25
45°
l3 60
c2 c2
45
5
r2
l2
35
5
r2
20 P1 l1 l1 20
3
r1
c1 c4 P1
0 0 W
140.71
180
220
377
80
0
cam radius = 60
The UVA (USE VIRTUAL ANGULAR) command makes it possible to program non orthogonal axes
by treating them as if they were orthogonal.
Syntax
(UVA,af1af2,av1av2,a)
(UVA)
where:
af1 is the name of the first physical linear axis (e.g. X)
af2 is the name of the second physical linear axis (e.g. Y)
av1 is the name of the virtual abscissa axis (e.g. U)
av2 is the name of the virtual ordinate axis (e.g. V)
a is the angle, in degrees, subtended by two positive semi-axes of the physical
linear axes
no parameters (UVA) without parameters disables the UVA mode.
Characteristics:
This type of virtualisation is used when you want to move two linear X Y axes that are not mutually
orthogonal by programming the coordinates on a virtual orthogonal UV plane. The U axis, the
abscissa of the new pair of axes, will be coaxial with axis X, whereas axis V will be perpendicular to
U, forming an angle of 90°- with axis Y.
The origin of UV will coincide with the origin of XY. The position of a generic point P with
coordinates (U,V) in the virtual plane is translated into the (X,Y) coordinates of the physical axes.
While the movements of U coincide with those of the corresponding physical axis (X), every
movement of V is translated into an interpolated movement of X and Y.
a X
Z U
View of the XY plane and the corresponding UV plane
Values of a of 0° and 180° are not permissible, as this would entail two
linear physical axes arranged parallel to one another.
Example 1:
N1 T1.1M6 V
N2 S1000M3
N3 GX0Y0 N7
N4 (UVA,XY,UV,45) 30
N5 G1U20VF110
N6 V30 N8 N6
N7 U0 N9
N8 V0 10
N9 U-10V10 -1 0 0 20 U
N10 (UVA) N5
N11 GX50
TCP - Tool Center Point for machines with "Double Twist" head
This feature permits to refer the programs of a 5-axis machine (with 3 linear + 2 rotary axes) to the
tool tip rather than to the center of rotation of the axes (or the head center).
The position controlled by the system depends on position of the rotary axes and on the geometric
characteristics of the head.
The algorithm may be activated by simply programming the TCP three letter code in a block;
If the three-letter code is programmed in lower case (tcp,n), some of the parameters can be altered
without disabling the TCP algorithm and without exiting from"CONTINUOUS MOVEMENT" mode.
The lower case three-letter code must only be used to alter the parameters of the (TCP,n)
programmed previously, and the n parameter must be the same as specified earlier; furthermore,
(tcp,n) must not be used in mode n=5.
Syntax
(TCP[,n])
(tcp,[n])
where:
n Offset mode code (1÷5); the various modes are shown in the pages that follow.
Characteristics:
In the TCP block you must also write information about the current tools. The system may handle a
head simultaneously mounting as many as four different tools.
Configuration parameters must be assigned after the head has been positioned at the angles
shown in figure 2.1. These parameters are included in the user table. There are three tools you can
use for entering data in the user table: the user table editor, the specific machine logic functions, or
the L variables in the program. Also you may upload the predefined configuration files available
with the SETUP utility of the USER TABLE EDITOR.
NOTE:
• For more information about user table management from PLUS refer to the description of
$TBLPUTD and $TBLGETD functions in the PLUS Library Manual.
• To access the user table from the TABLE EDITOR environment refer to the User Manual.
Active tool holder ¹ 387 Record 97 - Var 3 L386 Active tool holder number 1÷4. 1,
2,
3,
5
Parameter A c 388 Record 97 - Var 4 L387 Specifies the distance --with sign and 1,
(figures 2.2 e 2.3) expressed in mm-- between the rotation 2,
axis of the horizontal head and the 5
parallel plane supporting the rotation axis
of the vertical head.
Horizontal head 389 Record 98 - Var 1 L388 It is the offset --expressed in degrees-- to 1,
offsetc be applied to the horizontal head axis so 2,
that the plane that supports the tool 3,
coincides with the YZ plane of the 4,
machine. 5
To calculate this offset value, rotate the
horizontal axis until the plane that
supports the tool coincides with the YZ
plane of the machine, and then direct the
vertical head towards Y- with a positive
head move.
Then pick up the displayed coordinate,
multiply it by the rotation coefficient of the
horizontal head (Horizontal head rotation
coefficient) and change the sign of the
result.
Horizontal head 390 Record 98 - Var 2 L389 Defines horizontal head rotation as seen 1,
rotation c from above. Allowed values for positive 2,
(figure 2.3) programming are as follows: 3,
+1 for clockwise rotation 4,
- 1 for counter clockwise rotation. 5
Vertical head 391 Record 98 - Var 3 L390 Defines vertical head rotation as seen 1,
rotationc from the left hand side. Allowed values for 2,
(figure 2.2) positive programming are as follows: 3,
+1 for clockwise rotation 4,
- 1 for counter clockwise rotation. 5
c
Parameter alterable in continuous through lower case programming (tcp,n).
c
Parameter alterable in continuous through lower case programming (tcp,n).
Tool holder 1
Tool holder 2
Tool holder 3
Tool holder 4
c
Parameter alterable in continuous through lower case programming (tcp,n).
The figures that follow illustrate the offset characterization parameters applicable to a machine.
The machine is seen from above, from the front and from the side.
+Z
Horizontal head
rotation angle
+B Vertical head
rotation angle
+C
-X Controlled point +X
-Z
90°
180° 0°
Tool radius offset angle
270°
Horizontal head
rotation angle
clockwise
counterclockwise
vertical head
rotation angle
clockwise
counterclockwise
Horizontal head
rotation angle
Controlled point
Dynamics
c
Parameter alterable in continuous through lower case programming (tcp,n).
Dynamics (continued)
Dynamics (continued)
NOTE:
Since part programs are typically referred
to the tool tip, program block control is
also referred to the tool tip. Real time
control is referred to the center of rotation
of the axes. When the system detects
that the point is beyond the configured
limit, it gives an error signal and locks the
axes motion with deceleration.
NOTE:
In the above tables distances are expressed in mm. They must be intended in the configured
length unit.
The following figures illustrate significance of the TCP parameters used for management of
spherical and toroidal tools; the abbreviation U.T. indicates the corresponding number in the User
Table.
0°
Angle α
(U.T. 359)
90° Corner radius
(U.T. 358)
Angle α
(T.U. 359)
Radius (U.T. 399)
Lenght
0° (U.T. 386)
Corner radius
(U.T. 358)
90°
• Mode 1 (TCP,1)
With (TCP,1) programmed coordinates are referred to the part. This mode is recommended when
the profile must be executed with both linear (1÷3) and rotary (1÷2) axes, the tool is expected to
remain permanently in contact with the machining surface, and the linear axes coordinates are
referred to the part.
To keep the tool tip on the profile defined by the linear axes, the system offsets displacements by
automatically adjusting the position of the three linear axes to the rotary axes.
• Mode 3 (TCP,1)
This mode permits to use CAD programs in which the tool length, radius, corner radius and contact
angles are different from the ones with which the program (machine coordinates) was generated.
Tool length and diameter variances must be input via machine logic (refer to the $TCPWRT
instruction in the PLUS Library Manual).
As with (TCP,1) in order to keep the tool tip on the profile defined by the linear axes, the system
offsets displacements due to variations of length, radii and contact angles by automatically
adjusting the position of the three linear axes to the rotary axes.
Programmed
profile
Programmed
profile
• Mode 2 (TCP,2)
In addition to (TCP,1) features, Mode 2 incorporates a move of the horizontal rotary axis so that its
inclination remains constant throughout the profile defined by the first two linear axes configured in
the TCP table.
• between two elements, to allow for rotation on bevels. In this case, the horizontal rotary axis
moves either between the end of an element and the start of the subsequent one, or while the
subsequent element is executed (refer to the Threshold Angle parameter).
• on a circular element, to keep inclination constant throughout the element. In this case the
element and the horizontal rotary axis move will occur simultaneously.
These rules apply to all the elements in the profile except for the first one. In fact, the first element
is seen as the profile start point even when it is circular and therefore involves no rotary axis move.
The system will start generating the horizontal rotary axis move from the second element.
• Mode 4 (TCP,4)
(TCP,4) permits the inclination of the horizontal rotary axis to remain constant throughout the
profile defined by the first two linear axes configured in the TCP table.
The horizontal rotary axis is adjusted continuously, i.e. between each pair of interpolated points
rather than between two elements as in (TCP,2).
For this reason the profile must not be discontinuous. If it is, a "SERVO ERROR" may occur.
• Mode 5 (TCP,5)
This mode permits to execute moves in the tool direction.
When (TCP,5) is active the system generates a virtual axis whose name has been configured in
AMP ( VIRTUAL AXES section of the process configuration).
The virtual axis move generates a move of the linear axes in which the tool displaces in its
direction, i.e. in the direc(TCP,5) may be programmed both separately or in conjunction with the
other axes, in which case (TCP,5) features add to (TCP,1) features. may be moved manually.
Mode 5 may be used for drilling inclined holes. Also, it may be used for removing the tool from the
part when a failure interrupts the machining cycle. When this oxccurs, we may have three different
cases:
A) (TCP,5) is enabled, the rotary axes are not homed, and the interruption occurred during a
cycle using any TCP mode.
In this case the system automatically selects the tool direction according to the position of the
rotary axes before the failure. The same may occur after power off, because the rotary axes
position is stored in the permanent memory. The values that determine the rotary axes position
may be altered via machine logic by means of the MANUAL SETUP data entry or the
$TCPWRT function. In particular, $TCPWRT permits to alter the direction in which the tool will
be extracted.
B) (TCP,5) is enabled, the rotary axes are not homed, and the interruption occurred during a
cycle not using TCP.
In this case the system must be given the tool direction, i.e. the position of the rotary axes,
because the stored values may not be significant. The rotary axes position may be input via
machine logic by means of the MANUAL SETUP data entry or the $TCPWRT function.
NOTE:
For more information about the MANUAL SETUP data entry or the $TCPWRT function please refer
to the PLUS Library Manual and the User Manual.
NOTE:
In all TCP modes, the machine logic may send to the interpolator in real time any variance of tool
length and tool radius, or of the corner radius, as well of the angles formed between the tool center
and the contact point (parameters 386, 399, 400, 358 and 359 in the User Table).
This permits to offset tool wear during machining (refer to the description of the $TCPWRT function
in the PLUS Library Manual).
In all the modes of use of TCP described above, in addition to the axis positions, it is also possible
to program the "m" and "n" parameters, significance of which is as follows:
m angle subtended between the tool center and the point of contact of the tool
with the piece (coincides with U.T. parameter 400) - see figures 2.1, 2.5 and
2.6.
n angle of contact between cutting corner and piece (coincides with parameter
359) see figures 2.5 and 2.6.
By programming these parameters (enabled by setting U.T. variable 359 to 1), you can vary the
point of contact between tool and piece from one block to the next.
Example:
(12,20)
(12,12)
(0,0) (10,10)
G1X10Y0m270
(TCP,1)
G1XY
X10Y10
G3X12Y12|10J12m180
G1X12Y20
(TCP)
In all the modes of use of TCP described above, in addition to the axis positions, it is also possible
to program the "m", "n" and "o" parameters, which represent the 3 components of the normal
vector on the profile to be machined.
By programming these parameters (enabled by setting U.T. variable 360 to 2), you can vary the
point of contact between tool and piece from one block to the next and obtain tool diameter offset
from the resulting vector.
The parameters m, n, o and i, j and k must be programmed in alphabetical order (e.g. mno, mo, no,
ijk, ik, etc are correct; nmo, on, om, jik, ki, etc. are incorrect).
Example:
m..n..o ;initial value of vector
(TCP),.... ;TCP activation
X..Y..Z.. AB m..n..o..
X..Y..Z.. AB m..n..o..
X..Z.. m..n..o..
A..B.. m..n..o..
X..Y..
.
.
.
TCP
Corner radius
(U.T. 358)
[m, n, o]
This feature permits programming of a 5-axis machine (with 3 linear + 2 rotary axes) irrespective of
tool orientation and type (spherical or toroidal). The position controlled by the system is that of the
point of attachment of the tool in the spindle (see figures 2.7 and 2.8).
The algorithm may be activated simply by programming the TCP code in a block; it is disabled by
programming (TCP) or by giving a RESET command.
Syntax
(TCP[,n])
where:
n Offset mode code (1, 3, 5); the various modes are illustrated in the pages that follow.
Characteristics:
In the TCP block you must also write information about the current tools: these tools must be
inserted in the "User Table" - abbreviated U.T.
There are three tools you can use for entering data in the user table: the user table editor, the
specific machine logic functions, or the L variables in the program.
Also you may upload the predefined configuration files available with the SETUP utility of the
USER TABLE EDITOR.
NOTES:
• For more information about user table management from PLUS refer to the description of
$TBLPUTD and $TBLGETD functions in the PLUS Library Manual.
• To access the user table from the TABLE EDITOR environment refer to the User Manual.
The following figures illustrate significance of the TCP parameters used for management of
spherical and toroidal tools; the abbreviation U.T. indicates the corresponding number in the User
Table.
Controlled point
Corner radius
(U.T. 358)
Controlled point
Corner radius
(U.T. 358)
Dynamics
Programming
With this type of TCP, for all the modes described below, both direction (orientation) of the tool and
normal direction on the surface to be machined must be defined.
Two vectors are associated with each point programmed, one normal on the surface being
machined (parameters m,n,o) and one representing the tool direction (parameters i,j,k).
The parameters m, n, o and i, j and k must be programmed in alphabetical order (e.g. mno, mo, no,
ijk, ik, etc are correct; nmo, on, om, jik, ki, etc. are incorrect).
[i,j,k]
[m,n,o]
Z Y
Syntax
[XYZ] [AB] [m n o] [i j k]
where:
Characteristics:
All the parameters are optional; if none are programmed, the previous programming values are
reconfirmed.
Before activation of TCP, initial position of the two vectors must be defined, by programming values
for them (this block does not cause any movement).
With TCP active, it is not possible to program m n o and i j k without a movement of the axes
XYZAB; furthermore, the vector the define must not be null ([0,0,0]).
NOTE:
The RESET command resets the axes.
Example:
m..n..o.. i..j..k.. ;initial value of vectors
(TCP,....) ;TCP activation
X..Y..Z.. A..B.. m..n..o.. i..j..k.
X..Y..Z.. A..B.. m..n..o..
X..Z.. m..n..o.. i..j..k.
A..B.. m..n..o..
X..Y.. i..j..k.
.
.
.
.
(TCP)
[i, j, k]
Controlled point
ht )
Le . 386
ng
T
(U.
)
99
.T.3
s (U
diu
Ra
Corner radius
[m, n, o] (U.T. 358)
• Mode 1 (TCP,1)
With (TCP,1) programmed coordinates are referred to the part.
This mode must be used when the profile must be executed with both linear (1÷3) and rotary (1÷2)
axes, the tool is expected to remain permanently in contact with the machining surface, and the
linear axes coordinates are referred to the part.
To keep the tool tip on the profile defined by the linear axes, the system offsets displacements by
automatically adjusting the position of the three linear axes to the rotary axes.
• Mode 3 (TCP,3)
This mode permits to use CAD programs in which the tool length, radius and corner radius are
different from the ones with which the program (machine coordinates) was generated.
Tool length, radius and corner radius variances must be input via machine logic (refer to the
$TCPWRT instruction in the PLUS Library Manual).
As with (TCP,1) in order to keep the tool tip on the profile defined by the linear axes, the system
offsets displacements due to variations of length and radii by automatically adjusting the position of
the three linear axes to the rotary axes.
Programmed
profile
• Mode 5 (TCP,5)
This mode permits to execute moves in the tool direction.
When (TCP,5) is active the system generates a virtual axis whose name has been configured in
AMP ( VIRTUAL AXES section of the process configuration).
The virtual axis move generates a move of the linear axes in which the tool displaces in its
direction, i.e. in the direction indicated by the vector [i,j,k].
(TCP,5) may be programmed both separately or in conjunction with the other axes, in which case
(TCP,5) features add to (TCP,1) features. The move may also be made manually.
NOTE:
For more information about the MANUAL SETUP data entry or the $TCPWRT function please refer
to the PLUS Library Manual and the User Manual.
TCP - Tool Center Point for machines with fixed tool and rotary
table
This performance allow an easy programming on machines in which the tool is in a fixed position
and the part moves by means of three axes, two linear ones and a rotary one solid to the linear
ones. The system identifies in real time, according to the rotary axis position, the points that the
axes must reach to satisfy the programmed profile. It is also possible to make the system calculate
the rotary axis position and therefore to define the plane profile defined by the two linear axes. The
activation of this algorithm is carried out directly in the program by means of the three-letters TCP.
Syntax
(TCP[,n])
where:
Characteristics:
The TCP algorithm needs, for its functioning, of some information relative to the used tool, which
have to be inserted into the “User Table” - abbr..U.T.
The “User Table” compilation may be executed by means of the proper editor, or by the machine
logic (by means of proper logic functions), or also from part program by means of L variables.
It is possible to use a system configuration already pre-arranged contained in the files chargeable
by means of "SETUP" of USER TABLE EDITOR.
NOTE:
For further information relative to the use of the “User Table” read the functions description from
PLUS $TBLPUTD and $TBLGETD in the manual of PLUS library.
To use the same table from TABLE EDITOR environment see the User manual.
TCP Table for machines with fixed tool and rotary table
Tool holder 1
Tool holder 2
Tool holder 3
Tool holder 4
Dynamics
Dynamics (continued)
Dynamics (continued)
NOTE:
Since part programs are typically referred
to the tool tip, program block control is
also referred to the tool tip. Real time
control is referred to the center of rotation
of the axes. When the system detects
that the point is beyond the configured
limit, it gives an error signal and locks the
axes motion with deceleration.
NOTE:
In the above tables distances are expressed in mm. They must be intended in the configured
length unit.
Programming
The rotary table virtualization allows the programming of machines with tool in fixed position and
the part moving by means of three axes, two linear ones and one rotary solid to the two linear
ones. It is activated by commands (TCP, 1) or (TCP, 2).
By programming (TCP, 2) the automatic insertion of rotary axis is obtained. (TCP, 1) and (TCP, 2)
performances and characteristics described for 5-axis machines are valid also for this kind of
compensation.
For a correct programming on rotary table machines, the following must be taken into
consideration:
a) the system considers to have, at the end of the homing cycle, coincident tool tip and table
centre. In case this situation does not happen, the values representing the distance of the tool
centre from the tool tip must be defined in the TCP table (T.U.369 e T.U. 370)
b) the profile must be defined as regards an origin coincident with the table centre, therefore, as
described in the previous point, if table centre and tool tip do not coincide, the origin must be
defined with the two values of abscissa and ordinate equal to the phase displacement defined in
the TCT table (T.U. 369 e T.U. 370).
Example:
A
= 10 mm
TABLE IN POSITION 0
T.U. 369
A T.U. 370
X
TOOL IN POSITION 0
T.U. 369 = - 40 Distance, as regards X, of the table centre from the tool tip
T.U. 370 = + 110 Distance, as regards Y, of the table centre from the tool tip
ORIGIN 1 (POINT O) X-40 Y+110
(UOT,1,X-70,Y-70) ; POINT A
GX-10Y-10
(TCP,2)
G1 Y0 F2000
X+140
Y+130
G3 X0 Y130 I70 J90
G1Y-10
(TCP)
TCP on multi-processor
The TCP feature is now extended to 4 processes, each process will use a setup area of its own in
the User tables as shown in the table below.
END OF CHAPTER
This chapter explains how to program tools and tool offsets. All the functions described in this
chapter must be handled by the machine logic.
The system integrator develops the interface between the control and the
machine tool, as well as the application-specific T and M functions and also of
the code requalifying functioning and the presetting: RQT and RQP.
WARNING
For more information about these T functions you must refer to the machine
tool documentation provided by the machine manufacturer.
The T address defines the tool and the tool offset used in a given machining process.
Syntax
where:
tool is the tool number. This can be programmed explicitly (with an integer) or implicitly
with a local or system variable.
Characteristics:
Allowed values for both parameters ranges from 0.0 to 999999999999.300. The meaning of the 15
digits is as follows:
999999999999.300
tool number
Examples:
The following examples show different ways of programming tools and offsets.
T1 Selects tool 1 and the tool offset defined in the tool table.
The T address defines the tools to be used simultaneously for a given machining process.
Sintax
T [master] [.] [tool offset] [/{slave l] [first_slave, last slave]l {variable, num_variables}}]
where:
master Is the number of the tool. This can be an integer or a local or system
variable between 0 and 999999999999.
tool offset Is the number of the tool offset associated with the master tool. This can be
an integer or a local or system variable between 0 and 300.
slave Is the number of the tool. This can be an integer or a local or system
variable.
first_slave Is a tool number representing the first of a series of tools. This can be an
integer or a local or system variable.
last_slave Is a tool number representing the last of a series of tools. This can be an
integer or a local or system variable.
Characteristics:
The management of tools associated with the T code is handled by the logic of the machines to
which the values of the programmed tools are sent..
The programmable values for the slave tool codes vary from 0 to 65535. The maximum number of
slave tools which can be simultaneously programmed is 60.
As you can see from the T code sintax, the list of tools to be used can be specified in three
different formats:
1. Single Format
Examples:
T1.2/ 50 tools 1, 50
offset 2
T1.2 /20,33,45,46 tools 1,20,33,45,46
offset 2
2. Numerical Sequence Format
This simplifies programming of multiple tools by using sequential code.
Examples:
T1.3 /[ 30, 35 ] equivalent to T1.3 /30,31,32,33,34,35
T1.3 /[ 56, 51 ] equivalent to T1.3 /56,55,54,53,52,51
T1.3 /[ 50, 52 ], [ 10,13 ] equivalent to T1.3 /50,51,52,10,11,12,13
As you can see, the starting tool number can be > or < the final tool number. In the first instance
the tools codes are considered in ascending order and in the second instance they are considered
in descending order.
Example:
E0 = 1, 30, 45 load in E0, E1, E2 the values 1, 30, 45
T1.2 /{ E0, 3 } equivalent to T1.2 /E0, E1, E2 & to T1.2 /1, 30, 45
Example:
E0 = 29, 56 load in E0, E1 the values 29, 56
SN6 = 2 load in SN6 the value 2
T1.3 /[ 7, 10 ], 15, { E0, SN6 } equivalent to T1.3 /7,8,9,10,15,29,56
h address
The h address permits to apply a tool offset both in point-to-point (G29) and in continuous (G27-
G28) modes.
Syntax
h [tool offset]
where:
tool offset is the tool offset number. It can be an integer or a local or system variable between
zero and 300.
Characteristics:
An "h" address disables the active offsets programmed with a "T" command.
The axes to which tool offset is applied are those programmed in a "T tool.offset" command.
The offset values are applied to the axes when the system reads the "h" address in the part
program. The "h" address must not be synchronised either with the logic or with the axes moves.
If “h” is not synchronized, it is displayed when it is read by the part program and
IMPORTANT not when it is implemented.
The same occurs in the case of synchronous uses of “h”, as in G96. In this case,
the application of “h” must be synchronized with “#” for the spindle revolutions to
function correctly.
If you program "h" without tool offset or with tool offset=0, the value programmed with the previous
"h tool offset" command. This value may be re-established with a RESET command.
IMPORTANT The machine logic decides whether or not to apply offset values after a RESET.
The use of "h" and T for offsets in the same part program can cause problems if it
IMPORTANT is not handled correctly by the machine logic. It is recommended that only one of
these modes be used at the same time.
The offset values programmed with h address are usually displayed in the field reserved for the T
address.
The offset table fields from which offset values are read are as follows:
Example 1:
.....
.....
.....
T[n].x programs a tool and a tool offset
.....
.....
hy cancels the x tool offset and enables the y tool offset
.....
.....
Example 2:
.....
.....
.....
hy enables y tool offset
.....
.....
T[n].x cancels the y tool offset enabled by h
.....
.....
Example 3:
.....
.....
.....
hx
.....
.....
hy cancels the programmed x tool offset and enables y
.....
This process variable makes it possible to enable the management of the tool corner radius when
using spherical or toroidal tools.
Syntax
TTR = value
where:
NOTE
The moment the tool corner radius management is enabled, the length 2 field (+ requalification
length and max. length) is used by the system to define the tool tip radius. In this connection, the
length is no longer applied as a length corrector.
The tool corner radius is used only within the TCP and the HSM for programming a T or an h.
This command makes it possible to associate the length offset values contained in the offset table
to the machine axes.
Syntax
where:
axis name1 name of the axis associated to length offset 1 in the offsets table. If the "-" sign is
written before the name, the offset value is used with the inverse sign.
axis name2 name of the axis associated to length offset 2 in the offsets table. If the "-" sign is
written before the name, the offset value is used with the inverse sign.
Characteristics:
The default association between length offsets and characterised axes is made in the AXIS
GENERAL INFO page of the AMP utility.
This association can be changed with the AXO command.
The preset values introduced in the offset tables always have a positive sign. The AXO command
enables these values to be associated with axes bearing negative signs.
The following are two examples of length offset values applied with and without AXO commands:
Example 1:
.
.
.
N1 T1.4 M6 activates length 1 of offset 4 on the axis associated to length 1 in the offset
characterisation phase.
.
N100 T0 M6 disables the length offset value applied to the axis.
Example 2:
.
.
.
N1 (AXO,-X,Z) associates X to length offset 1 with negative sign and Z to length offset 2
. with positive sign
.
N50 T1.4 M6 applies length offset values 1 and 2 from offset 4 to axes X and Z as defined
in the AXO command. Length offset 1 will be applied to the X axis with
negative sign.
N100 T0 M6 disables the length offset applied to axes X and Z.
The system RESET command or the selection of a new part program re-establish
IMPORTANT the axis/offset default association characterised with AMP.
The RQT command requalifies the length and diameter dimensions memorised in the offset tables.
Syntax
(RQT,tool,offset [,L..][,l..][,d..])
where:
offset Is the number of the offset to be requalified. The offset number is a value between 1
and 300.
Characteristics:
You must specify the length and diameter increments in the RQT command with the measuring
unit configured in the system (inches or millimetres, G70/G71). These values cannot be associated
to a scale factor (SCF).
Examples:
(RQT,10,1,L E40,d E41) This block requalifies tool 10, offset 1. The length 1 increment is
contained in E40 and the diameter increment is contained in E41.
(RQT,10,1,L E50,l E51) This block requalifies tool 10, offset 1. The length 1 increment is
contained in E50 and the length 2 increment is contained in E51.
The RQP command requalifies and presets a specific tool offset according to programmed length
and diameter dimensions. When the control executes this command, it writes the corresponding
dimensions in the tool offset table by adding the specified length and diameter values. All the offset
values are reset.
Syntax
where:
offset Is the number of the offset to preset. It is a value between 1 and 300. The upper limit
of the offset number depends on the number of records in the tool offset file.
Characteristics:
You must specify the values of length and diameter increments in the RQP command with the
measuring unit configured in he system (inches or millimetres, with G70/G71). These values
cannot be associated to a scale factor (SCF).
Examples:
(RQP,10,1,L E40 ,d E41) This block presets offset 1 of tool 10. The value of length 1 is contained
in E40 and the value of diameter is contained in E41.
Syntax
(TOU,tool)
where:
tool is the number of the tool number to be declared expired. It can be a local or a system
variable
Example:
(TOU,5) ;Declares tool 5 in the tool table expired
E1=10 ;
(TOU,10) ;Declares tool 10 in the tool table expired
The LOA command allows dual port loading of the disk-resident table.
Syntax
where:
table name it is the file name of the table to be dual port loaded.
extension it is the extension of the file name and refers to the type of table to be loaded:
.TOL table of tools
.OFS table of adapters
.SPN table of spindles (for the WOOD option)
.ORG table of origins
.USR table of user variable
.MAG table of magazines
When there is no extension, the table referred to is the one pertaining to the
Electronic Cam option (for description see relevant manual).
When tool and adapter have been associated in the loading of the tools table, also
the relevant strings are loaded automatically.
The name of the table with its extension may also be defined by means of the
variable SC.
par 2 It is considered only when loading the table tools together with the parameter par 1
and indicates whether the pocket values of the tools table need to be updated.
par 2 = 0 no pocket update
par 2 = 1 pocket update
When no parameter is available, 0 is chosen by default.
Characteristics:
The LOA command enables a dual port loading of the tables previously saved on file by TABLE
EDITOR.
The names for the relevant extensions which identify the type of table are given by default and can
be different if modified through the SET UP utility of TABLE EDITOR.
When using the magazines, the operation "pocket initialization" is to be accomplished by TABLE
EDITOR. Such operation is necessary each time tables referred to magazines featuring different
pockets are loaded or after reset of the dual port memory.
Examples:
(LOA, NEW_TOOL.MAG ) loads the magazine table named NEW_TOOL.
(LOA, DRILL_T.TOL, 1, 1) loads the DRILL_IT tools table relevant to magazine 1 and updates
the pocket field of each tool.
END OF CHAPTER
Cutter diameter compensation is based on the tool geometry. Since the typical tool section is a
circle, the correction is applied to the tool diameter.
Programmed path
Compensated path
When cutter diameter compensation is active, the tool is positioned on the intersection or tangency
point of the two geometrical elements translated by the cutter radius.
G41 Enables cutter diameter compensation when the tool travels left of the profile
G42 Enables cutter diameter compensation with the tool travels right of the profile
Syntax
where:
G-codes Other G codes that are compatible with G41, G42 and G40 (see “Compatible G
codes” table in Chapter 1).
On the first point in the profile, cutter diameter compensation is perpendicular to the first linear or
circular move programmed after G41 or G42 on the active plane.
20
0
50
45
G41
G42
15
0
Program:
33.541
Y
31.622
0
G41 35
G42
40
35
25
0 0
Program:
When cutter diameter compensation is active, the control displays an error signal if:
Inside a profile compensated with G41 or G42 you can program up to two consecutive movements
of axes that are not on the interpolation plane.
The function is programmed through the TPO system variable and may be customised to specific
application requirements through the TPT system variable.
• automatic “reduction” of the tool path on corners between two linear or circular blocks
• infeed/exit tangent to profile (on a circle arc).
IMPORTANT TPO and TPT are discussed in detail later in this chapter.
• if TPO is not active (standard offset mode), the move programmed by G40 is still considered
offset;
• if TPO is active, the move programmed by G40 is considered as the exit move from the offset.
Program:
G42
15
0
x
50
0
Program:
Program:
Program:
If your release is earlier than 3.0 you must check whether G40 is
programmed in your old part programs. When TPO is active, G40 exits from
cutter diameter compensation somewhat differently.
WARNING
If you program a block including only G40 (i.e. not associated to any final
point), you will obtain the same result you would with standard diameter
compensation (TPO=0).
Prior to writing a program read this section and the descriptions of TPO and
TPT carefully.
Type of compensation change (on the intersection or with an additional connection block) depends
on type of the previous movements and of the subsequent movement. The different possibilities
are discussed in the following pages:
In changing from G41 to G42, the control generates two points, which shall be called point 1 and
point 2.
• Point 1 is the final position of the tool before compensation type change.
• Point 2 is the desired starting position for the first block using the changed compensation
direction.
The control automatically generates the movement block connecting point 1 with point 2:
point 1
Compensated
r
Programmed in G41 G42
point 2
Points 1 and 2
Compensated
r
r r
Compensated
path N10
N11
Programmed
path N12
G41
G42
r r
point 1
point 2
If the 10 Series finds a point of intersection, it modifies the final point of the original compensated
tool path whereas the starting point of the new compensated tool path will coincide with the
intersection (see figure below).
r G42 r
Programmed
Programmed G41 path
in G42
+ +
Compensated Compensated
path path
Intersection
Intersection
Compensated
path r
in G41
r
Programmed
path
G42
Intersection
However, cases may arise in which there is no intersection between the tool paths; in these cases,
when changing from G41 to G42 (or vice versa) the system behaves as illustrated in the figures
that follow.
• Point 1 is the final position of the tool before the change of compensation type
• Point 2 is the desired position for start of the first block using the changed compensation
direction.
The control automatically generates the movement block connecting point 1 with point 2:
Point 1
Compensated
path r2 r1
r1
Programmed G42
in G41
Point 2
Point 2
r1 r2
Programmed r1
in G41
G42
Compensated
path Point 1
Compensated
path
r
Programmed
in G41 G42 +
Point 1
r
Point 2
When machining convex profiles, you may want a circular radius between geometric elements.
Syntax
r value
where:
value The radius to be programmed. For clockwise moves program a negative radius; for
counter clockwise moves program a positive value.
Example:
2 2
1 1
By programming a value without a sign after the b address you can insert a bevel rather than a
radius between two linear or circular motion blocks that generate intersecting paths.
Syntax
b value
where:
• Bevel between two linear profiles: b is the distance from the generated final
point to the theoretical intersection point between the extended profile segments.
• Bevel between a linear and circular profile: b is the distance from the theoretical
intersection point between the extension of the linear profile to the tangent of the
circular profile
• Bevel between two circular profiles: b is the distance to the theoretical
intersection point between the extensions of the tangents to the circular profiles
Examples:
FINAL POINT Bevel between two linear blocks
GENERATED FINAL POINT
BLOCK 2 b PROGRAMMED
b Programming example:
.
FINAL POIN .
MODIFIED
N10 G1 X10 Y100 ;block 1
N11 b3
N12 X-100 ;block 2
.
.
BLOCK 1
Programming example:
BLOCK 1
tangent on final point
of block 1
.
N10 GXY
BLOCK 2
N11 G42
final point
N12 G1X10Y70F1000
modified N14 G2X70Y20R50 ;block 1
N16 b10
N18 G1X150Y90 ;block 2
final point
b generated
N20 G40
.
b .
final point
.
programmed
FINAL POINT
PROGRAMMED
b
TANGENT ON
b THE CIRCULAR
BLOCK' S
STARTING POINT
FINAL POINT
MODIFIED
FINAL POINT
GENERATED
BLOCK 1 BLOCK 2
Programming example:
.
N20 G42
N22 GXY
N24 G1X40Y40F1000 ;block 1
N26 b10
N28 G2X80Y5R70 ;block 2
N30 G40
.
.
BLOCK 1
tangent on final
point of block 1
tangent on startting
point of block 2
b b
BLOCK 2
final point
programmed
Programming example
.
.
N10 G42
N20 GX10Y60
N30 G2X50Y40R50F1000 ;block 1
N40 b5
N50 G2X100Y5050R30 ;block 2
.
.
TPO (Tool Path Optimisation) allows to optimise the tool path when G41 or G42 are active. The
algorithm automatically introduces circular interpolations at profile start and end, and radiuses on
the profile bevels.
Syntax
TPO = n
where:
Bit 0 1 2 3 4 5 6 7
Characteristics:
A block programming the TPO=1 instruction activates the tool optimisation algorithm. Depending
on the profile, the algorithm automatically introduces from 1 to 3 optimisation moves.
At power up the system is enabled with the TPO mode configured in AMP. This
IMPORTANT optimisation mode may be altered from the program.
RESET restores the mode configured in AMP.
The activation of bit 5 works only if bit 0 is enabled too, i.e. when you want to
IMPORTANT introduce a circular radius in lieu of a linear one, set TPO = 33.
Furthermore, if bit 5 has been set too (TPO=33), then, provided that the conditions for corner
optimisation are met, through the introduction of linear movements a circular radius is introduced,
having its centre at the intersection of the two non-compensated elements and a radius
corresponding to tool radius.
A) Right angle-right angle with angle of deviation between 90° and 180° (90° < α Ù 180° ).
B) Circle-right angle, right angle-circle, circle-circle with angle of deviation between 0° and
180° (0° < α Ù 180°).
If a bevel (b) or a radius (r) is programmed between the elements described at points A) and B),
the algorithm is not applied.
Example:
GENERATED
BLOCK
G41 G41 r
r
r r
G42
r G42 r
r r
r=tool radius
GENERATED
G41 BLOCK
r
r
G42
r
r
r=tool radius
Note that in the above examples the TPT threshold has been ignored, as if
IMPORTANT TPT=0.
If a threshold distance from the corner is programmed instead (TPT other
than zero), the afore-mentioned circular radius will have its centre translated
according to the same calculation criteria as are used for linear radiuses,
and the radius will be reduced accordingly.
G41
G41
α=180
α = 0 °÷ 1 8 0 °
G41
In these examples the algorithm recalculates the profile and introduces from 1 to 3 optimisation
moves between bevels.
Movement generated
by the algorithm with
1) Line - line TPO = 1 The algorithm generates
1 move
with TPO = 33
Movements generated
by the algorithm with
TPO = 1
2) Line - circle The algorithm generates
2 moves
with TPO = 33
Movements generated
by the algorithm with
3) Circle - line TPO = 1 The algorithm generates
2 moves
with TPO = 33
Movements generated
by the algorithm
4) Circle - circle ith The algorithm generates
3 moves
with TPO = 1
with TPO = 33
• TPO=2 mode
TPO=2 enables an infeed/exit algorithm that keeps the tool tangent to the profile by introducing
circular elements at profile start and end.
At profile infeed the algorithm generates a circle between the first point of the offset profile (P1) and
the preceding point (P0). The first point is the one programmed in the G41 or G42 block.
Example:
.....
X80 Y70 ;P0
G41 X100 Y100 ;P1
X140 ;P2
..... ;etc.
At profile exit the algorithm generates a circle between the last point of the offset profile (P99) and
the last point of the exit element in the profile. The exit element is programmed in the G40 block.
Example:
.....
G41 X100 Y100 ;P1
.....
.....
.....
X170 Y160 ;P99
G40 X180 Y185 ;P100
..... ;etc.
.....
• TPO=3 mode
TPO=3 simultaneously enables TPO=1 and TPO=2 algorithms, which allows to introduce both
radiuses between elements and circular moves at profile start and end.
The rules defined for TPO=1 and TPO=2 also apply to TPO=3.
Example 1:
Y
52,5
50
circular moves at profile end
45
42,5
40
35
30
25
20
G41
15
G42
10
5
circular moves at profile start
5 10 15 20 25 30 35 40 45 50 X
32,5
Example 2:
Y
50
45
40
35
30
25
20
15
G41
10
5
circular move at profile end circular move at profile start
0
-20 -10 0 10 20 X
• TPO=4 mode
The TPO=4 mode activates the profile inversion algorithm.
This feature permits machining of a profile starting from the last movement, and finishing on the
first (reverse machining).
TPO=8 and TPO=16 modes activate the algorithm that keeps the machining speed in G41/G42
constant. In particular, the speed of contact between the tool and the part is kept constant, varying the
feed rate with reference to the centre of the tool.
This variation is a function of the tool radius and is only applied to circular movements. It will produce
an increase or decrease in the feed rate with reference to the centre of the tool depending on whether
the radius of the circle moved by the centre of the tool is greater or less than the radius of the
programmed circle. The feed rate is increased by setting bit 3 of variable TPO (TPO=8) while it is
decreased by setting bit 4 (TPO=16).
Bits 3 and 4 of TPO may be set together and even at the same time as all the other bits of the same
variable to enable the corresponding features.
• TPO=32 mode
Is the same as having programmed TPO = 0.
This is so because the activation of bevel optimisation through the introduction of a circular radius
requires the prior programming of TPO = 1. If bit 0 = 0 and bit 5 = 1 (TPO=32), the optimisation
algorithm by means of circular radiuses is not enabled.
This instruction specifies a threshold for bevels during tool path optimisation when TPO=1.
Syntax
TPT = value
where:
value Threshold expressed in the default unit of measure (mm/inch). It represents the
distance between the tool cutter and the bevel generated by the programmed profile.
It can also be configured in AMP.
Example:
r G41 r G41
Treshold value
Programmed with TPT
Characteristics:
The threshold programmed with TPT will be ignored by the system if it takes the mill centre beyond
the theoretical point obtained through standard tool diameter compensation (G41/G42 without TPO
programming).
In this case the TPO algorithm will be temporarily disabled, G41/G42 will be applied without TPO
and there will be no error signal.
Example:
Normal deviation from
TPO algoritm
the bevel in G41
disabled (max. TPT)
r G41
u v w - Paraxial Compensation
When compensation factors u,v,w are programmed in a block, the axes position to a point whose
coordinates are equal to the programmed coordinates plus the product of the cutter radius by the
compensation factor (u, v, w):
When factors u,v,w are negative, they must be followed by a minus sign. If they are positive, the
plus sign can be omitted.
In order to determine the value and the sign you must consider paraxial factors u,v,w respectively
as the X, Y, Z coordinates of the profile vertex corrected by a unit. X, Y and Z are referred to a
system of cartesian axes that are parallel to the axes of a machine whose origin is represented by
the point to be compensated.
programmed profile
The unit vector represents a cutter radius offset that is one unit long; the control, the increments of
translation are the product of the u,v,w values multiplied by the cutter radius.
• straight line segments parallel to the axes or forming an angle with the axes
• straight line segments and arcs tangent to the straight lines
• tangent arcs (provided they are still tangent to one another after they have been translated on a
parallel path).
The u,v,w factors are only valid in the block in which they are programmed. They are used by the
control only if they are associated to the corresponding coordinates:
Example1:
Program:
N5 T1.01 M6 S. . F. .
N6 G X Y30
N7 G1 Y10 v1
N8 X40 u-1
N9 Y30
N10 G X. . Y. .
Example 2:
Program:
N13 G X Y
N14 Y10 v-1
N15 X40 u1
N16 Y30
N17 G X. . Y. .
Example 3:
Program:
N13 G X Y
N14 G1 Z-10
N15 X-20 Y-20 u1 v1
N16 X20 u-1
N17 Y20 v-1
N18 X-20 u1
N19 Y-20 v1
N20 G X Y
Example 4:
Program:
Example 5:
Program:
N12 . . .
N13 G X-30 Y
N14 G1 Y20 v-1
N15 X30
N16 Y-20 v1
N17 X-30
N18 . . .
Example 6:
Y
Program:
25
30
The MSA command defines the value of the machining stock allowance along the profile. It is used
in roughing and pre-finishing cycles. MSA can be programmed in a block, assigned in an MDI or
entered via softkey.
Syntax
MSA = value
where:
Characteristic:
The system uses the programmed MSA to calculate the offset value to be applied to the profile
when cutter diameter compensation (G41 or G42) is active.
The offset value is the sum of the tool radius and the MSA.
Example:
MSA = 0.5 Assigns a 0.5 machining allowance
E30 = 1.5
MSA = E30 Assigns a 1.5 machining allowance
The graphic tools (e.g. the Graphic Editor option) translate the drawing of the part to be machined
into a technological program written in elementary ISO language.
One of the main characteristics of this feature is that the profiles for machining are seen as
subprograms.
These profiles must be defined on a plane (e.g. XY) and can only contain the G operators for
movement type (G1, G2, G3).
In all cases, approach with compensation is scheduled on the first point of the profile (first
block of program with abscissa/ordinate movements).
• The profile must be described in full in a subroutine, indicated previously by profile name.
• The profile shall be considered closed if the first point described in the part program subroutine
coincides with the last.
• Radius correction (offset_mode) will be activated automatically on the first block of the
subroutine and de-activated on the last block.
• The blocks of the subroutine must be exclusively ISO type, programming of the following is
allowed:
− Axis names [dimensions]
− G movement functions (G1, G2, G3 with possibly their operands)
− Three-letter commands in general shall NOT be taken into consideration (during the profile
analysis stage), especially any commands that could modify the description of the profile
(origins, mirror, scale factor).
NOTE:
Failure to respect these indications may lead to incorrect interpretation of the profile described in
the subroutine.
Syntax
where:
profile_name An ASCII string representing the name of the part program that the profile is
described in.
E-par The variable in which the coordinates of the approach point calculated by
the system will be loaded:
index → abscissa
index+1 → ordinate
NOTES:
• The distance between the external approach point to the profile and the machining starting point
is determed on the basis of the value in system variable MSA.
• Activation is possible of a feature that inverts direction of motion of the profile using system
variable TPO (TPO=4 profile inversion)
For further details of the TPO coding values see page 4-17.
approach_type=0
G42
circular linear
approach approach
Perpendicular approach to profile
safety
distance
approach point
approach_type=1
safety distance
approach_type=2
G42
safety distance
approach_type=3
approach_type=1
(tangent)
G42
approach_type=0
safety distance (perpendicular)
Syntax
where:
profile_name An ASCII string representing the name of the part program the profile is
described in.
Characteristics:
The point of exit off the profile is determined by considering a value, seen as the safety distance.
This value, associated with the exit point type, determines position on the plane of the exit point
taken from system variable MSA.
NOTE:
Activation is possible of a feature that inverts direction of motion of the profile using system
variable TPO (TPO=4 profile inversion active).
For further details of the TPO coding values see page 4-17.
END OF CHAPTER
SPINDLE FUNCTIONS
With G96/G97 the S address programs the spindle speed in rpm or as constant surface feedrate.
In addition, several M functions affect the spindle on/off state, range, etc.
Syntax
where:
G-codes Other G codes that are compatible with G96 and G97 (see Table "Compatible G
codes" in Chapter 1).
Characteristics:
G97 activates S programming in rpm. G97 is the default mode of the control and is modal with
G96.
G96 activates constant surface speed (CSS) programming for the S word in feet per minute (G70),
or metres per minute (G71). G96 forces the spindle speed to be controlled by the position of the
diameter axis, so that it remains constant on the machining surface
When G96 is activated the position of the diameter axis is assumed to be the radius for which
constant surface speed (S) is programmed. G96 is modal with G97.
If you want to change the S word value while G96 is active, the control must be in G00 or G29
mode. To cancel G96 CSS, the control must be in G00 mode and a block with G97 and an S word
that defining the spindle rpm must be programmed.
Example:
The following example illustrates CSS programming.
Assumed power-up G codes: G00, G27, G70, G95, G97
Assumed gear range: 1 (M41) = 800 rpm max.
N1 G90 G00
N3 U5 ;Presets diameter (U) axis
N4 SSL=700 ;700 rpm limit
N5 G96 S400 M3 ;CSS at 400 ft /min
N6 G1 U0 Z -2 F10 ;Sets contouring mode and U in feed 10 ipm
N7 U5 Z0
N8 G00 ;Prepares to change S
N9 G01 S300 U0 Z-2 ;New surface feed = 300ft/min
N10 G00 ;Prepares to cancel G96
N11 G97 S100 ;Set G97, S=100 rpm
N12 G01 Z0 ;Contouring to G0
N13 U5
N14 G00 ;Rapid mode, contouring off
N15 M05 ;Stop spindle
N16 M02 ;Program end
The SSL command is used with G96 to set the maximum rpm that the spindle is allowed to run
during CSS.
Syntax
SSL=value
where:
value Is a value that can be programmed directly with a decimal number or indirectly with an
E parameter.
Example:
SSL = 2000 Assign a spindle speed limit of 2000 rpm
E32 = 1500
SSL = E32 Assign a spindle speed limit of 1500 rpm
Characteristics:
As the diameter axis approaches the spindle centreline, the spindle approaches maximum speed
to maintain the programmed S word value. The SSL command limits the spindle to some value
below the maximum rpm. If you program the value of SSL above the maximum rpm for the current
gear range, the current gear range limit will be the maximum allowable rpm.
Make sure you enter this value in the part program prior to entering G96 blocks.
IMPORTANT
Typically, the M19 function programs a spindle stop with a predetermined angular orientation. This
feature is convenient in back spot-facing operations, because it allows to position the spindle,
move the X or Y axis (depending on blade orientation), enter the hole, position the spindle again
and start machining.
M19 can also be used for increased accuracy in boring operations, to avoid scoring the bored
surface during the return move of Z axis. In this case, you would finish the hole, orient the spindle,
move the X or Y axis according to the blade orientation, and perform the Z axis return.
M19 is deleted by M03, M04, M13, M14. When the control reads M19 in a block that also contains
movement information, M19 precedes the movement.
The M functions that are implemented in your application may be different than
IMPORTANT those described here. Consult your machine documentation for more information
on application-specific M functions.
Example:
Program:
In block N34 the X and Y axes are positioned and spindle orientation is controlled so that the tool
can go through the hole. In the next block, the Z axis is positioned to start spot-facing.
In block N36 the tool axis is moved to coincide with the spot-facing axis.
Spot-facing is performed in block N38. In subsequent blocks, the tool is oriented, withdrawn from
the workpiece and then positioned along the Y axis, so that it can go through the hole.
END OF CHAPTER
Standard M functions
In this chapter we briefly describe the miscellaneous functions (hereinafter M functions) that are
considered standard for most applications. These functions are listed in the table below.
Since the machine integrator has programmed the interface between the control and your
application, the M functions that are implemented in your machine may be different than those
described here. Consult your machine documentation for more information on application-specific
M functions.
In the AMP environment you may declare that certain M functions can be disabled by a control
reset.
The block that includes an expedite M code must also program an axis move.
IMPORTANT
Depending on how the M has been configured, the move may be point-to-point
(G29) or continuous (G27-G28).
M CODE DESCRIPTION
M0 Program Stop: M0 stops program execution, spindle rotation and coolant flow
after the control has performed all the operations of the block in which it
appears. The control retains all current status information after executing an M0.
M5 Spindle Stop: M5 stops spindle rotation. It is enabled by the control either when
it is entered from the keyboard or when it is read from a program. In a block it is
enabled after any axes moves.
M6 Tool Change: M6 temporarily stops the system from reading the program. It
activates the offsets selected by the T function. In a block it is enabled before
any other axis move. If it also stops spindle rotation and coolant flow, then M6
does not disable M3, M4, M7, M8, M13, M14. These functions become active
again after M6 is completed.
M7 Auxiliary Coolant On: M7 turns the auxiliary coolant on. It is enabled by the
control either when it is entered from the keyboard or when it is read from a
program. In a block it is enabled before any other axis move
M8 Main Coolant On: M8 turns the main coolant on. It is enabled by the control
either when it is entered from the keyboard or when it is read from a program. In
a block it is enabled before any other axis move.
M9 Coolant Off: M9 turns all coolant systems off. It is enabled by the control either
when it is entered from the keyboard or when it is read from a program. In a
block it is enabled before any other axis move.
M functions (cont'd)
M CODE DESCRIPTION
M10 Linear and Rotary Axes Lock: M10 locks the axes that are not involved in the
current machining process.
M12 Rotary Axes Lock: M12 locks only the rotary axes that are not involved in the
current machining process.
M19 Oriented Spindle Stop: In a block, M19 spindle is oriented before any motion in
the block. M19 deactivates M3, M4, M13, M14.
M30 Automatic Reset at End of Program: M30 deletes all information from the
control dynamic buffer. Absolute origin 0 is automatically enabled and the
selected program is set for restart. M30 does not deactivate the offset of the tool
in the spindle.
END OF CHAPTER
Parametric programming requires the programmer to use system and local variables.
System variables are stored in the dual port memory of the system. They are seen by all the active
processes and are retained after the system is switched off.
Local variables are stored in a memory area local to the system and are seen only by the process
they refer to. Their value is lost when the system is switched off. At power up they are re-initialised
with the value defined in AMP.
The following table summarises the variables available with the system.
E local Variables
!name local User variables
SN system System number
SC system System character
TIM system System timer (read only)
@name system PLUS variables
Except for System Characters, all system and local variables can be used in mathematical or
trigonometric operations in place of the geometrical and technological data of the machining cycle.
• + addition
• - subtraction
• * multiplication
• / division
TRIGONOMETRIC FUNCTIONS
Trigonometric functions used by the system are listed in the table below.
FUNCTION DESCRIPTION
The arguments of a function (A,B) can be variables or numerical constants. When the control
solves a mathematical equation, it considers the priority of brackets and signs. The result is
converted into the format of the variable written to the left of the equal sign.
BOOLEAN FUNCTIONS
The boolean functions available with the system are listed in the table below.
FUNCTION DESCRIPTION
AND(A,B) Executes AND at the bit between two numbers in the -32768 +32767 range*
OR(A,B) Executes OR at the bit between two numbers in the -32768 +32767 range*
NOT(A) Complement to 1 of a number in the -32768 +32767 range*
GTL FUNCTIONS
GTL functions available with the system are listed in the table below.
FUNCTION DESCRIPTION
FEL(A,B) Calculates the element having a B(1,2,3) index from the straight line whose
index is A(1=sine of the angle, 2=cosine of the angle, 3=distance from origin
to the straight line).
Example:
E30=FEL(5,1) assigns to E30 the sine of the angle formed by the l5 straight
line and the abscissa.
FEP(A,B) Calculates the element having a B(1,2) index from the point whose index is
A(1=point abscissa, 2=point ordinate).
Example:
E34=FEP(4,2) assigns to E34 the ordinate of the p4 point.
FEC(A) Calculates the element having a B(1,2,3) index from the circle whose index is
A(1=center abscissa, 2=center ordinate, 3=circle radius).
Example:
E42=FEC(8,3) assigns to E42 the radius of the c8 circle.
LOCAL VARIABLES
E Parameters
The maximum number of E parameters must be defined during system configuration. In theory,
there can be up to 8000 E parameters.
E parameters are of the Long Real type, which allows 15 digits in total, 12 maximum before the
decimal point and 9 decimals. The system accepts several statements per block, the only
restriction being block length. When in block-by-block mode, multiple statements will be executed
as if they were in a single block. Two levels of parametric indexes are allowed. For example:
E(E(E..)).
E parameters receive values in special assignment blocks. The format of an assignment block is:
En = expression
where:
Examples:
The following are assignment blocks for parameter calculation.
E parameters can be used inside programs and subroutines. To display the current value of an
parameter, use the DIS command. For instance,
Example:
(DIS,E39) displays the current value of E39.
Example:
This example shows how to assign an ASCII character:
XE1
X-E1
X(E1)
X(-E1)
X(E8-14*SQR(E14))
X(-(E8-14*SQR(E14)))
X(E(E(E3)))
FE1
SE2
TE1.E2
! - User Variables
• Long Real
• Character
User variables must be defined in the AMP configuration. A user variable name can be up to 8
characters long. The first character must be !. The extension of a user variable may be .LR or .CH.
where:
index Number indicating the starting character in the variable character array.
If index is not specified, it is taken to be zero.
If specified, it must be programmed between round brackets.
number of Specifies how many characters after the index must be read/written. The
characters default value is 1. The sum of index+number of characters must not be greater
than the maximum number of characters configured for the specified variable.
Example:
!ABC(1) = 125
G0 X(!ABC(1))
125 is assigned to the !ABC(1) user variable, then this variable is used as argument of the X
address in a G0 block.
!CHAR(2).8CH="ABC"
This instruction writes "ABC" in the first three characters of the !CHAR user variable, starting from
the second character. The remaining 5 characters (8-3) will be automatically set to zero; to prevent
this, program !CHAR(2).3CH="ABC"
!CHAR(1).CH="A" or!CHAR(1).CH=65
!name_var[(index)]= Expression
where:
Example:
!ABC(1) = 125
G0 X(!ABC(1))
125 is the value assigned to the !ABC(1) user variable; this variable is then used as an argument of
address X in a G0 code.
NOTES:
The index of the variable can be a number or an E parameter.
In motion blocks, the user variable must always be written in brackets.
X(!USER1(2))
X(!USER1(2)∗10)
F(!USER1(1))
S(!USER1(1))
T(!USER1(1).(!USER1(2))
NOTES:
The index of the variable may be a number or an E parameter.
SYSTEM VARIABLES
There are four types of system variables that can be used in part programs:
• System Number
• System Character
• System timers
• Plus variables
These variables can be used to read or write values or strings for assignment operations within
part programs.
SN - System Number
System Number variables are of the Long Real type, which allows 15 signed digits with 12 integer
digits maximum. Up to 25 System Numbers can be defined in the 200 byte area that is available in
the dual port memory of the system. These variables do not allow index levels.
SNn= expression
where:
Examples:
SN20 = 326.957 the decimal value 326.957 is assigned to the SN20
variable.
SC - System Character
System Character variables are of the character type and are stored in the dual port memory of the
system, where a 100 byte array is reserved for them. This means that all the defined System
Characters cannot occupy more than 100 bytes.
Each System Character is identified by an index that specifies the start address inside the array
and by a length that specifies how many bytes the variables occupies starting from that address.
var1 var2
index index
0 1 2 3 4 5 6 7 8 9 10 11 99
length length
SCindex.length = parameter
where:
index Is the index that specifies the start position of the variable in the array. It may be
in the 1 to 100 range. The index of the variable can be a number or an E
parameter.
length Is the length of the variable expressed in number of characters (bytes). The
maximum allowed length for a single variable is 80 characters. The length can
be a number or an E parameter.
parameter A parameter may be:
- a string constant enclosed between apexes or quotes;
- a string variable not longer than length
- a numerical constant in the 0 - 255 range
- a numerical variable in the 0 - 255 range.
NOTES:
• For each variable, the index+length sum must not exceed 100.
• One System Character variable can be assigned to another System Character variable.
• The SC variable may also be assigned the numeric variables (decimal) corresponding to ASCII
characters. In this way it is also possible to assign those characters that are not displayed. For
example, 10 (LF) and 13 (CR).
• Numerical values are programmed without double quotes (" ").
Example:
SC3.5="PIPPO"
SC9.3="ABC" or SC9.3=65,66,67
0 1 2 3 4 5 6 7 8 9 10 11 99
P I P P O A B C
The string "PIPPO" is written starting from byte 3 of the array and occupies 5 bytes.
The string "ABC" is written starting from byte 9 of the array and occupies 3 bytes.
When defining the index and the length, care must be taken not to overlap two
IMPORTANT variables.
Example:
SC0.1=80 assigns 80 to the string variable
(DIS,SCO.1) displays P (ASCII code 80)
E1=80 assigns 80 to E1
SC0.1E1
(DIS,SC0.1) displays P (ASCII code 80)
The TIM instruction defines a variable used by the programmer to read the time shown by the
control timer. Its value is expressed in seconds.
A TIM instruction can be read, displayed or stored in a support variable. Computation of this value
starts as the control is switched on.
Example:
(DIS, TIM)
E10=TIM
NOTE:
TIM contents cannot be modified from part program.
@ - PLUS Variables
From part-program it is possible to read or write the PLUS variables managed by the machine
logic.
Syntax
@name
where:
name Is the name of the variable declared in the configuration (AMP).
There are three types of PLUS variables:
• Short
• Boolean
• Double
There are 256 Short variables, but the part program can only access 128 of them. The names of
the Short variables that can be accessed by a part program must be configured in AMP. They are
made up of 16 bits and can contain values between -32768 and +32767.
You can also address a single bit of a Short variable with a Boolean variable. There are 256
Boolean variables, but a part program can only access 128 of them. The names of the Boolean
that can be accessed by part programs must be configured in AMP.
There are 64 Double variables, all accessible by the part program. The names of the Double
variables that can be accessed by a part program must be configured in AMP.
The total number of Boolean, Short and Double variables must be configured in AMP.
The values of all the PLUS variables configured in AMP are loaded when the system is started up.
If the value field of a variable is empty, the variable is not initialised and retains the value it had
when the system was switched off.
PLUS variables can be used in a part program as follows:
1. Assignment blocks and three-letter codes
E10=@LOG1
(GTO,END,@LOG3=1)
2. Motion or command blocks
G0 X (@LOG2)
X(@LOG2∗2)
F(@LOG2)
S(@LOG3)
T(@LOG2)⋅(@LOG3)
Because these variables are directly linked to the machine logic, the
machine tool manufacturer must provide you with the list of the variables
used in your application as well as with all the information you need in order
WARNING to handle them correctly.
L Variables
L variables have a long real format, with 15 signed figures and a maximum of 12 integer figures.
There are 400 L variables indexed from 0 to 399.
These variables conform with the user tables available in the table editor and the PLUS
environment. They can be utilised both in the programming and the logic environment, either
separately or for communications between both environments.
Examples:
L10 = 26.9570
L15 = (L10*SIN (30)+9)/SQR(81)
(GTO,END,L2=1)
G0XL15
X(L15)
X(L15∗L1)
FL1
SL1
TL1.L3
Because these variables are directly linked to the machine logic, the machine
tool manufacturer must provide you with the list of the variables used in your
application as well as with all the information you need in order to handle them
WARNING correctly.
Multiple Assignments
With the multiple assignment operators { } it is possible to assign the contents of other variables to
a certain number of variables.
Syntax
where:
Examples:
E0 = { SNO,4 }
is equivalent to the following four assignments:
E0 = SN0
E1 = SN1
E2 = SN2
E3 = SN3
E100 = 5
E50 = { LO,E100 }
is equivalent to the following five assignments:
E50 = L0
E51 = L1
E52 = L2
E53 = L3
E54 = L4
END OF CHAPTER
In the block programming the G81-G89 canned cycle it is not possible to also program axes
moves. The cycle is stored, but not executed.
Canned cycle execution starts from the block that follows the definition of the G81-G89 block. To
repeat a cycle a second time you must simply program the coordinates of thet points at which the
cycle must re-start.
The spindle axes for the canned cycle can be assigned in the G81-G89 block.
For example, in the G81 R Y-20 block the Y axis is the spindle of the canned cycle.
G8n functions are modal. Before programming a new canned cycle you must first cancel the
current one with G80. The G80 function must be programmed in the block that follows the last
canned cycle.
You cannot program a G8n block if cutter diameter compensation (G41/G42) is active.
When a canned cycle such as G82, G83, G89 requires a dwell time you can:
This table lists canned cycles available with 10 Series and their features.
Feed motion
1
Rapid
R1
3
5
Z
4
The following is a canned cycle in which the approach coordinate is equal to the return coordinate.
Feed motion
Rapid G81 R1 . . Z. .
R1 = approach coordinate
R1
Z = hole depth
In this canned cycle the return position is different from the approach position.
F e e d m o tio n
R2 R1 = approach coordinate
R2 = return coordinate
R1 Z = hole depth
Syntax
where:
Z Defines the hole depth (typically Z). The Z address is followed by the depth value,
which can be programmed directly with a decimal number or indirectly with an E
parameter.
F Defines the feedrate used in the canned cycle operation. It is programmed with the F
address followed by the feedrate value.
auxiliary M, S or T programmable auxiliary functions. In a canned cycle block you can program
up to four M functions, one S (spindle speed) and one T (tool selection).
Example:
NOTE:
0.Z means Z=0
Program:
(UGS,X,0,110,Y,0,80)
N31 (DIS,"TWIST DRILL D=6.5")
N32 S1100 T3.03 M6
N33 G81 R3 Z-15 F95 M3
1 N34 X15 Y15
2 N35 Y60
3 N36 X80
4 N37 Y15
N38 G80 Z50 M5
N39 M30
Syntax
where:
Example:
The following figure shows a spot facing cycle.
Syntax
G83 [G-codes] R1.. [R2..] Z.. I.. [J..] [K..] [F.. ] [auxiliary]
where:
J Defines the minimum depth increment after which the cycle applies a constant
increment. The J address is followed by the minimum depth increment value.
K Defines the reduction factor applied to I until the J value is reached. The K address is
followed by a numerical value.
Characteristics:
With G83 different moves may be generated no matter whether I, J and K are programmed in the
block.
I = J if I * K < J
If J and K parameters are not programmed, the following movements are generated:
Example:
NOTE:
0.Z means Z=0
Program:
N65 (DIS,"TWIST DRILL D=6")
N66 S930 F65 T6.6 M6
N67 G83 R8 Z-55 I20 K.8 J6 M13
1 N68 X-15.81 Y-22.2
2 N69 X23
3 N70 X9 Y35.8
N71 G80 Z50 M5
N72 M30
The DRP command defines in mm the hole reworking distance in G83 cycles (with IJK versors
programmed).
This value can be initialised at 1 by the system. It can be assigned from the Keyboard or the Part
Program.
Syntax:
DRP=value
where:
Example:
DRP=0.01 hole reworked at 0.01 mm
DRP=5 hole reworked at 5 mm
This G84 code operates when a transducer is not mounted on the spindle.
Syntax
where:
F Defines the feedrate used in the canned cycle operation. It is programmed with the F
address followed by the feedrate value.
Characteristics:
The tool that is approaching the workpiece at rapid must stop at five times the tap pitch (for depths
less than 3.O) or seven times the tap pitch (for depths greater than 3.O) from the workpiece.
F = S * p * 0.9
where:
S spindle rotation speed
p the tap pitch
0.9 the feedrate decrease factor to keep the tool holder spring compensator stretched
The final Z must be decreased by 10% of the actual tap working travel.
The final Z must be long enough for the axis to reach the programmed feedrate and stop with
controlled deceleration. It must be calculated according to the time it takes spindle rotation to stop.
If the final Z is not long enough, the control displays an error.
Example:
A-A Section
NOTE:
0.Z means Z=0
Program:
(UGS,X,-60,60,Y,-70,70)
N90 (DIS,"TAP M8-TRACTION TYPE COMPENSATOR")
N91 S280 F315 T8.8 M6 M13
N92 G84 R7 Z-15
N93 X-51.96 Y-30
N94 X51.96
N95 X Y60
N96 G80 Z50 M5
This program is valid for R.H. tapping operations, because M13 is programmed in block N91. For
L.H. tapping operations, simply program M14 (or M04) instead of M13 (or M03).
Syntax
where:
G-codes Other G codes compatible with G81 (see "Compatible G codes" Table in Chapter 1).
R1 Approach dimension (mandatory). Defines the coordinates for rapid positioning on the
machining plane when the cycle starts. The R address is followed by the rapid
approach value. It can be programmed directly with a decimal number or indirectly
with an E parameter.
R1 Defines the rapid approach coordinates and the the fixed return to work.
F Defines the feedrate used in the canned cycle operation. It is programmed with the F
address followed by the feedrate value.
Characteristics:
With a transducer is mounted on the spindle, the G84 code can be programmed as follows:
• by calculating the F feedrate as if there were no spindle on the transducer.
• by using the K thread pitch. In this case the control automatically calculates the feedrate by
multiplying K by the spindle speed in rpm.
During the tapping cycle the control ignores the CYCLE STOP pushbutton
(except in the rapid traverse approach section) and the FEEDRATE
OVERRIDE selector (or softkey).
The SPINDLE SPEED OVERRIDE selector must be disabled by the machine
WARNING
logic. To abort the tapping cycle, the "INTP-ABO" logical function may be used
(see variable description on Plus Variables Manual).
Example:
N90 (DIS,"TAP M8")
N91 S280 T8.8 M6 M3
N92 G84 R7 Z-15 K1
N93 X-51.96 Y-30
N94 X51.96
N95 X Y60
N96 G80 Z50 M5
Syntax
where:
G-codes Other G codes compatible with canned cycle G84 (see "Compatible G codes"
Table in Chapter 1).
R1 Defines the rapid approach and working return location points (mandatory).
R2 Defines the rapid return location points.
Z Defines the end of tapping points (normally Z). It is given by the Z address
followed by a value which can be programmed either directly with a decimal
number or indirectly with an E parameter.
K Defines the male threading pitch. It is given by the K address followed by a
value.
auxiliary Other M, S, T functions (see G81).
Characteristics:
To perform the tapping cycle correctly it is necessary to load two machine parameters with the
appropriate values, which, as a rule, vary from machine to another
These parameters are called TKG and TAG.
Accordingly, rigid tapping cycles must be preceded by the definition of these two parameters with
the values obtained at the machine installation stage.
We recommend creating a paramacro for the loading of these values (for instance, G840), to be
recalled only once within the program that performs the rigid tapping operation.
Hence, the paramacro will be structured as follows:
TKG=……
TAG=……
The methods for the determination of the correct values of the parameters are described in the
AMP manual (Chapter 1)
The TRP command defines the feedrate percentage variation applied in the retract phase of the
tapping cycle. This command is normally defined in a program, but can also be used in blocks
entered with a keyboard command or by means of a softkey.
Syntax
TRP = value
where:
value can be programmed directly with an integer number or indirectly with an E parameter
of the byte type.
Example:
TRP = 110 represents +10% of the programmed F
TRP = 10 represents - 90% of the programmed F
Syntax
where:
Syntax
where:
Syntax
where:
F Defines the feedrate used in the canned cycle operation. It is programmed with the F
address followed by the feedrate value.
auxiliary M, S or T programmable auxiliary functions. In a canned cycle block you can program
up to four M functions, one S (spindle speed) and one T (tool selection).
Example:
NOTE:
0.Z means Z=0
Program:
N41 (UGS,X,0,100,Y,0,150)
N42 (DIS,"TWIST DRILL D=10")
N43 S850 F100 T4.4 M6
N44 G81 R-10 R2 Z-36 M3
N45 X35 Y40
N46 X65 Y80
N47 X35 Y120
N48 G80 Z50 M5
Program blocks whose format is X, Y, R1, R2, Z are performed in this order:
1. X and Y
2. Updated R1 - new rapid approach coordinates
3. Updated Z - new depth
4. Updated R2 - new return coordinates
The table below summarizes the program block formats used for updating canned cycles:
FORMAT ACTION
X.. Y.. R.. Performs a canned cycle at XY with new R1 rapid plane
X.. Y.. R.. R.. Performs a canned cycle at XY with new (R1) rapid plane and (R2) return
dimension
X.. Y.. R.. Z.. Performs a canned cycle at XY with new R1 rapid plane, and Z depth
X.. Y.. R.. R.. Z.. Performs a canned cycle at XY with new R1 rapid plane, R2 return
dimension, and new Z depth
R.. Updates the R1 rapid plane and does not the perform canned cycle at the
current location
R.. R.. Updates R1 rapid plane and R2 return dimension; does not perform a canned
cycle at the current location
R.. Z.. Updates R1 rapid plane and Z depth; does not perform a canned cycle at the
current location
R.. R.. Z.. Updates R1 rapid plane, R2 return, and Z depth dimensions; does not
perform a canned cycle at the current location
Example 1:
NOTE:
0.Z means Z=0
Program:
Example 2:
20
NOTE:
0.Z means Z=0
Program:
(UGS,X,0,100,Y,0,200)
N42 (DIS,"TWIST DRILL D=8")
N43 S1000 F100 T5.5 M6
N44 G81 R-18 Z-46 M13
1 N45 X25 Y25
2 N46 X75 R-18 R-8
3 N47 Y75 R-8 R2 Z-25
4 N48 Y175 R-3 Z-46
5 N49 X110
N50 G80 Z50 M5
Example 3:
A-A Section
NOTE:
0.Z means Z=0
Program:
(UGS,X,0,100,Y,0,200)
N42 (DIS,"TWIST DRILL D=8")
N43 S1000 F100 T4.4 M6
N44 G81 R-18 Z-42 M3 M8
1 N45 X25 Y25
2 N46 X75 R-18 R4
3 N47 Y125 R-14 R4
4 N48 Y225 R-18
5 N49 X110
6 N50 G80 Z2 M5
END OF CHAPTER
Paramacro Definition
Paramacro subroutines can be used in user-defined cycles. They are called with a 3-digit code.
Modal paramacros are active only in motion blocks that do not include M functions. No other
function or code can be programmed when a modal paramacro is active.
Syntax
where:
Characteristics:
The H, HF and HC parameters are used in the paramacros, The system offers 100 H parameters.
Some of them can be used in paramacros. H parameters are classed as follows:
• Parameters from H0 to H51 are associated to letters and cannot be used in paramacros.
• Parameters from H52 to H99 can be used for math operations in paramacros.
When H parameters are used in paramacros, all the operations can be calculated with E
parameters.
When a series of paramacros are nested, the H, HF and HC parameters in a nested paramacro will
reset the equivalent H, HF and HC parameters in upper paramacro levels.
Example:
G300 A1 B2 C3 D4
H0 is assigned to 1
H1 is assigned to 2
H2 is assigned to 3
H3 is assigned to 4
HF0 is set
HF1 is set
HF2 is set
HF3 is set
All other HF are reset.
If G300 calls G400 A10 C30, then the value of H0 is 10 and the value of H2 is 30. HF0 and HF2
will be set and all other HF's will be reset.
All the other parameter types available with 10 Series can theoretically be used in paramacros.
However, to avoid interactions with E parameters used elsewhere, it is preferable to use H
parameters where possible.
HC Parameters
If a block calling a paramacro also includes specification of a character string between inverted
commas, this string is made available for the paramacro in the HC character array (100
characters).
Examples:
!PROFILE=............
G600 "PROFILE" A50 ;call to paramacro G600
..
..
HO=50 HFO=1
The following table shows the correspondence between letters and H parameters.
PARAMETERS PARAMETERS
LETTER H HF LETTER H HF
Example 1:
N45 G777 A(E8) R22.5 F(E2) S(E3+5-E1)
E8 is passed to H0
22.5 is passed to H17
E2 is passed to H5
In this example Boolean parameters HF0, HF17 and HF5 are set to 1.
Example 2:
D=H3=Major diameter
R=H17=Minor radius
F=H5=Feedrate
Program:
; PARAMACRO G601
G0 X90 Y80
G92 XY
(GTO,END,HF3=0)
(GTO,END,HF17=0)
(GTO,END,HF5=0)
H57=H3/2
H58=H57-H17
G1 G41 XH17 YH58 F2000
G3 X0 YH57 I0 JH58 FH5
I0 J0
H59=NEG(H17)
G40 XH59 YH58 I0 JH58
G1 X0 Y0 F2000
(GTO,F)
"END"
G99
(DIS,"OMITTED PARAMETERS")
M ..
"F"
This command associates the name of a characterised axis to the name used in a paramacro.
Syntax
where:
par-ax1 ... par-ax6 Are the names of six axes used in a paramacro.
Example 1:
(DAN,PX,QY,DZ) X,Y,Z are replaced by P,Q,D so X,Y,Z are not usable.
Example 2:
(DAN,PX,QY,DZ) X,Y,Z are replaced by P,Q,D so X,Y,Z are not usable.
(DAN,WA) A is replaced by W, furthermore X,Y,Z are re-enabled and P,Q,D,A
are not now usable.
By reprogramming (DAN,...) all previous associations are cancelled and
the current ones become active.
After the three-letter mnemonic DAN has been used, if the axes concerned
IMPORTANT
are those of the interpolation plane, this plane must be redefined using the
new names.
PMS – S as a paramacro
PMT – T as a paramacro
PMM – M as a paramacro
These commands enable and disable the management of the relative ancillary functions S, T, M as
paramacros.
For further information on how to program these paramacros see the paragraph on the “S, T, M
ancillary functions executed as paramacros” in this chapter.
Syntax
PMS=value
PMT=value
PMM=value
where:
NOTE:
The values ascribed to the PMS, PMT and PMM variables can be changed as follows:
• Through AMP at the configuration stage
• Through a part program with the syntax described
The characterisation values are restored with a reset.
ANCILLARY PARAMACRO
CODE
Characteristics:
• The functions generating paramacro calls need not be programmed at the start of the block.
• If M, S and/or T are programmed simultaneously, the name of the procedure to be called is
determined by the first function which is configured as a paramacro, and any other functions
programmed in the block are called with the respective parameters H, HF and HC, as
described in the programming manual (chapter 9). For example, if both M and T are configured
as paramacros and you program TxMy, this will generate a call to macro P0nT whilst the
programming of MyTx will call the "P0nM00x" macro, with parameters H19=x and H12=y in
either case.
• For the execution of the paramacro in MDI mode, see paragraph “Executing blocks entered
from the keyboard” in the user manual.
• At the end of the paramacro, the execution mode (MDI, AUTO, STEP) in which the system was
working before the call is restored.
• The type of paramacro being executed can be read in the SW21 variable and it is:
• The pathname to be used to call the paramacros can also be specified with the PTH triliterals
described below in this chapter. If the pathname is omitted, the search for the directory
containing the subroutine is performed as follows:
1. case: no pathname has been specified through a PTH instruction.
The system searches for the paramacro in the directory containing the calling program and, if it
does not find it, searches for it in the DOS directories to which logic names have been
associated during the machine characterisation process.
2. case: a pathname has been specified through a PTH instruction.
The system searches for the paramacro in the directory specified with a PTH and, if it does not
find it, searches for it in the DOS directories to which logic names have been associated.
Configuration: three process variables (PMM, PMS, PMT, defined previously), if set on 1/0,
enable/disable the execution of the corresponding functions as paramacros at a
general level.
Moreover, the execution of ancillary function M as a paramacro is identified by
an ad hoc bit, defined in AMP.
Hence, if PMM = 1 and the “Mx” function is:
- configured in the “n” process but its bit = 0, the paramacro is not executed
(standard Mx is executed instead)
- configured in the “n” process and its bit = 1, the “P0nM00x” paramacro is
executed
Example:
Execution of the block described below in process 1, in which the auxiliary function M2 is
configured with the paramacro bit enabled
END OF CHAPTER
Spindle
Probe
Electronic Probe
Some G codes perform specific measuring or probing cycles when an electronic probe is mounted
on the spindle.
G CODE FUNCTION
G74 Measures variances from theoretical points (for probes mounted in a fixed
position rather than on the spindle).
The control stores measured values in E parameters that you define in the probing cycles (G72-
G74).
When the control executes a probing cycle, it measures a point through the following sequence of
moves:
1. Rapid to the approach point (Pa).
2. Move at measuring speed (Vm) to the point where the probe triggers, then stop and store the
dimensions. If the probe does not trigger, move only as far as the end safety point (Ps).
3. Rapid return to the start position of the probing cycle (hole center in G73). The execution of that
phase depends on an (AMP) machine characterisation parameter or the corresponding
DPP three-letter block mode parameter.
The diagram below shows moves and feed of a probing cycle.
Theoretical dimension
Feed
Pa Ps
RAPID
Vm
Qa Qs Axis movement
Cycle start position
• If the probe does not trigger before reaching the safety point, it returns to the start point of the
cycle. The control panel displays a message and the system goes into an error condition.
• If the probe does not reset properly on the way back to the start point after a successful probing
cycle, a message is displayed and the system goes on error condition.
• If the probe is carried out during the rapid approach phase, it returns to the start point of the
cycle. The control panel displays a message and the system goes into an error condition.
NOTE:
If the probing cycle is executed with G27 or G28 active, both the approaching movement and
probing are carried out in continuous mode, while the stopping movement obtained after the probe
input has been found is executed in point to point mode.
Use the DPP command to define the probing parameters from the keyboard or in a program.
These parameters can also be defined on the control with a specific data entry via softkey
(MACHINE SET-UP and PROBE SET-UP soft-keys). When these are not defined the system uses
the values defined in AMP.
Syntax
(DPP,approach,safety,speed[ , mode ] )
where:
mode Is the value which indicates whether to perform the rapid return phase at the
end of the probe. It can be one of the following values :
0 = perform the return phase
1 = do not perform the return phase
If no parameter is present then the default 0 is assumed.
Example:
Instruction used from the program
(DPP,10,12,1000)
Probe Requalification
Typically, before using the probe, the center of the probe ball is not centered on the spindle axis.
To center the probe ball on the spindle axis, you must requalify the probe.
Use the hole of the requalifying ring, cylinder, or similar device for this operation. The center of the
hole is assumed to be origin 9 for axes X and Y.
Probe Presetting
The following steps must be executed to preset the probe:
length1 = nominal length of the probe with respect to the axis of the ball.
Diameter = 0
Example:
N1 (DIS, "DPP, UPA, UPO, ")
N2 T30.30 M6 - probe on spindle
N3 (UAO, 9)
N4 (DPP, 10, 12, 600) - defines probing parameters
N5 UPA=0
N6 UPO=0
N7 E30=... - assigns diameter to the hole of the sample ring
N8 E31=E30/2
N9 E32=... - assigns distance from Z=0 to probing surface on the Z axis (usually = 0)
N10 E33=E31+10
N11 GB0 - only if the ring is mounted on the indexing table
N12 XY
N13 Z-4
N14 G73 rE31 E40 - measures hole co-ordinates (center and radius)
N15 Z100
N16 (DIS, "UPA=", E40, "UPO=", E41)
N17 M0
N18 UPA=E40 - requalifies probe abscissa
N19 UPO=E41 - requalifies probe ordinate
N20 E34=(E30-E42*2) - diameter of apparent ball
N21 (DIS, "DIAMETER=", E34)
N22 M0
N23 (RQP, 30, 30, dE34) - stored ball diameter on d offset
N24 T30.30 M6 - enables new offset
N25 GXYE33
N26 G72 ZE32 E43 - measures Z dimension on ring surface
N27 E35=E43-E32 - variance between nominal and real value
N28 Z100
N29 (DIS "VARIANCE.Z=", E35)
N30 M0
N31 (RQP, 30, 30, LE35) - requalifies Z length offset
N32 M30
PROBING CYCLES
These are G codes that define probing cycles:
In the cycles G72, G73 and G74, E parameters are coupled with the axes in the order in which the
latter are characterised (AMP) and displayed, and not in the order in which they are programmed.
With probing on rotated plane virtual axes, the E parameters are matched to the virtual axes in the
order in which they have been defined in the three-letter code UPR.
G72 lets you use linear moves and a probe to measure the co-ordinates of a point.
Syntax
where:
Characteristics:
The co-ordinates measured by the probe are stored in E parameters that are defined by the G72
cycle. The control stores the co-ordinates of the axes beginning with the E parameter specified in
the cycle. Measures are taken applying cutter diameter compensation to the probe. To ensure high
accuracy the surface must be perpendicular to the measuring move.
The probe can also be performed on virtual axes activated by the UPR function or on the axis
which identifies the direction of the activated tool (TCP, 5).
When the probe is performed on the virtual axes defined with UPR, the values measured in relation
to the virtual axes are stored in E (x), E (x+1), E (x+2).
When the probe is performed on the tool directional axes, the system stores the value of
dimensions measured in relation to those axes in E (x) and the values measured, in relation to the
part of the Cartesian linear axes defined in the TCP table or corresponding virtual axes if UPR
virtual mode is active in E (x+1), E (x+2), E (x+3).
Example:
The axes are configured in AMP in the following order: XYZ
G72 X100 Y50 E32
G72 Y50 X100 E32
In both cases the values that the control calculates for X and Y are stored sequentially in E32 and
E33.
Example:
Probing on plane rotated with virtual axes.
(UPR,0,XYZ,UWV,30,25,0)
G72 U25 V-10 W-25 E30
The dimensions of the system of three virtual axes are stored in E30, E31 and E32 according to
the order defined in the UPR command or U in E30, W in 31 and V in 32.
G73 lets you use a probe to measure the dimensions of a hole on the active interpolation plane.
Syntax
where:
Characteristics:
If you program only one E parameter, the three values detected during the probing operation (circle
center co-ordinates and radius) are stored in E parameters sequentially starting from the specified
E parameter.
The probe can also be performed on virtual axes activated by the UPR function. In this case
the values measured for the centre in relation to the virtual plane are stored in E (x) and E (x+1)
and the radius is stored in E (x+2).
Before activating the G73 cycle, the axes of the machine tool must be positioned on the hole
center. Measures are taken applying cutter diameter compensation to the probe.
Probing moves
Example:
G73 r100 E55 probing moves
The co-ordinates of the circle center (abscissa and ordinate) and the actual radius are stored in
E55, E56, and E57 respectively.
G74 is a tool requalification cycle. G74 uses a fixed probe (such as an electronic gauge) to
measure variances from theoretical points with the tool mounted on the spindle.
Syntax
where:
Characteristics:
G74 can be used for requalifying a tool or checking tool wear. The calculation of measured
dimensions does not take into account the tool offset, since the cycle is checking the actual "tool"
dimension.
The steps in the G74 cycle are similar to those in the G72 cycle. The difference between both
cycles is how the control executes calculations based on measured dimensions. The control does
not consider the diameter of the probe ball and stores the variance from theoretical dimensions in
the parameters specified in the G74 block.
The probe can also be performed on virtual axes activated by the UPR function or on the axis
which identifies the direction of the activated tool (TCP, 5).
When the probe is performed on the virtual axes defined with UPR, the deviation values between
the points measured and the programmed points in relation to the virtual axes are stored in E (x), E
(x+1) and E (x+2).
When the probe is performed on the tool directional axes, the system stores the deviation value
between the point measured and the programmed point in relation to that axis in E (x) and the
values measured, in relation to the part of the Cartesian linear axes defined in the TCP table or
corresponding virtual axes if the UPR virtual mode is active in E (x+1), E (x+2) and E (x+3) .
Example:
G74 X60 E41
E41 is given by the formula: E41 = Pm - Pt
where: Pm is the measured point
Pt is the theoretical point
Defines the probe requalification value for the abscissa (typically X).
Syntax
UPA=value
where:
Defines the probe requalification value for the ordinate (typically Y).
Syntax
UPO=value
where:
Cycles G72, G73 and G74 enable you to handle process errors either automatically or from part
program. You can choose the method by setting the ERR parameter.
These changes may require that you to requalify the system origins by probing a reference
surface.
Thermal drift
This procedure uses a requalifying cube that is placed at a precise location on the machine.
Real distance
E33
Cubic gauge
Main Program:
.
.
.
N99 E33=-300
.
.
.
/N100 (CLS,TEST3)
Subprogram TEST3:
N500 (DIS,"RQO-DT")
N501 G72 Y(E33) E32 ;Measured distance stored in E32
N502 E32=E32-E33
N503 (RQO,1,Y(E32)) ;Requalify origin 1 for Y axis
N504 (RQO,2,Y(E32)) ;Requalify origin 2 for Y axis
N505 (RQO,3,Y(E32)) ;Requalify origin 3 for Y axis
Main Program:
TEST4 subroutine:
Example:
N200 (DIS,"REQUALIFYING ORIGIN FOR X AND Y AXES")
N201 T11.11 M6
N202 GX180 Y60
N203 Z-130
N204 G73 r50 E35 ;Measuring cycle diameter 100. X and Y coordinates are
N205 E35=E35-180 ;stored in parameters E35 and E36
N206 E36=E36-60
N207 (RQO,1,X(E35),Y(E36)) ;Requalifies origin 1 for X (E35) and Y (E36)
Checking Diameters
You can use a probe to check the hole diameters. With proper programming you can compare
detected values with allowed values, and decide whether to continue machining or branch to a
block containing a label.
In the following program, the control measures the deviation between the actual and the theoretical
diameter of a hole and compares this deviation with the tolerances. The comparison may have
three different results and courses of actions:
Program:
"A1" N111
N112 GZ-150
N113 (DIS,"REAMING HOLE D=100")
N114 F..S..T13.13 M6
N115 GX-120 Y80 M13
.
.
.
N129 (DIS,"HOLE TOLERANCE CHECK D=100")
N130 T14.14 M6 ;probe in spindle
N131 GX-120 Y80 ;XY positioning to hole center
N132 Z-85 ;Z positioning
N133 G73 r50 E30 ;hole radius stored in E32
N134 E32=E32*2
N135 (DIS,E32)
N136 (GTO,A3,E32>100.02)
N137 (GTO,A4,E32<99.985)
N138 GZ150
N139 (DIS,"WORKPIECE IN TOLERANCE")
.
.
.
N2100 M30
"A3" N2101 (DIS, "Hole too big")
N2102 M00
"A4" N2103 (DIS, "Hole too small")
/N2104 (GTO,A1)
In the following programming example, the control detects the deviation of actual dimensions from
programmed dimensions. It compares this deviation with allowed tolerances. The comparison has
three possible results:
• Continue machining
• Stop machining and reject the part because the dimension is too long
• Requalify the tool and repeat the program from label C1 because the dimension is too short
Example:
The following example check of the dimensions of a plane
Theoretical dimension, with respect to Z axis zero: - 80 ± 0.1
Program:
.
.
.
"C1" N252
N253 (DIS," . . .")
N254 F. . S. . T23.23 M6
.
.
.
N267 (DIS,"CHECK PLANE DIMENSION 80")
N268 T30.30 M6 ;Probe on spindle
N269 GX150 Y35 ;XY positioning on the point to be checked
N270 G72 Z-80 E30 ;Distance measured and stored in E30
N271 (GTO,C2,E30 <-80.1) ;Branch to C2 if E30 < min coordinate
N272 (GTO,C3,E30>-79.9) ;Branch to C3 if E30 > max coordinate
N273 (DIS,"WORKPIECE IN TOLERANCE")
.
.
.
N2100 M30
"C2" N2101 (DIS,E30) ;Dimension too long
N2102 M00
"C3" N2103 (DIS,E30) ;Dimension too short
N2104 E31=-80-E30 ;Variance between virtual and actual dimension
N2105 (RQT,23,23,LE31) ;Requalify length offset 23 (Z)
N2106 (GTO,C1)
Example 2:
This is an example of tool length offset and tool diameter offset modification.
N200 G X100 Y100 ;Positioning on the measuring point (probe position)
N210 G74 Z-50 E30 ;Measured deviation (Z axis and value stored in E30)
N220 G X150
N230 Z-60
N240 G74 X130 E31 ;Measured deviation (X axis) and value stored in E31
N250 E31=E31*2
N260 (RQT,10,1,LE30,dE31) ;Requalify offset 1 of tool 10 in length (Z) by E30 and in
diameter (d) by E31
Example 3:
This is an example of tool wear inspection with probe error management (Error management
methods are described in Appendix C):
N480 (DIS,"TOOL D=10")
N490 T10.10M6
.....
.....
N600 (DPP,10,5,500)
N610 (UAO,9)
N620 GXY
N630 ERR=1 ;Error managed by program
N640 G74 Z0 E35 ;Tool length measurement
N650 (GTO,A2,STE=1) ;Branch to A2 if tool is broken (no point probed within the
;5 mm safety distance)
N660 ERR=0 ;Error managed by system
.....
N1500 M30
"A2" N2001 (TOU,10) ;Declares tool 10 out of use
N2002 (DIS, "TOOL K.O.")
N2003 M0
END OF CHAPTER
GRAPHICS VISUALIZATION
This chapter discusses a class of commands that let you control visualisation of graphics and
variables from part program. These commands are listed in the table below.
COMMAND FUNCTION
The UGS command initialises the graphic display and establishes the limits and the orientation of
the graphic display.
Syntax
where:
ax-orient Is a number (from 1 to 4) that selects the type of axis orientation (see figure). The
default value is 1
2 1
3 4
Axes Orientation
Example:
(UGS,1,X,100,150,Y,50,250,Z)
The graphic display shows movements between X100 and X150 on the abscissa and between Y50
and Y250 on the ordinate referred to the current origin.
Syntax
where:
α α angular parameter
It is the rotation angle to be applied to the horizontal plane during the 3D the
display. The typical horizontal plane is XY.
NOTE:
α and β parameters are optional. If they are omitted , the system will take by default:
α = 30°
β = 30°
The CGS command clears the profile from the screen leaving the system of coordinates.
Syntax
(CGS)
The DGS command disables the graphic display, deletes the displayed profile, and removes the
system of coordinates from the screen. After using the DGS command you need to use another
UGS command to reinitialise the graphic display.
Syntax
(DGS)
The DIS command allows values to be displayed to the operator. The control will show the value in
the screen area that is reserved for communications with the operator.
Syntax
where:
If operand is a number it is within the normal range for variables (5.5 format).
If operand is an ASCII string, it can be a message for the operator. The message can
be up to 80 ASCII characters long. Program the message between quotes (" ") in the
DIS command.
Examples:
(DIS,100) displays the value 100
(DIS,E27) displays E27 current value on the screen
(DIS,MSA) displays current MSA value (machining allowance)
(DIS,"THIS IS AN EXAMPLE") displays the following string: THIS IS AN EXAMPLE
END OF CHAPTER
GENERAL
This chapter discusses commands that let you modify the program execution sequence by:
These commands allow a specified set of program blocks to be executed several times. They can
be used for repetitious machining operations such as drilling multiple holes.
COMMAND FUNCTION
COMMAND FUNCTION
COMMAND FUNCTION
The GTO command makes the execution of a program jump to a block which contains a specific
label. A jump may be unconditional or conditional based on E parameters, machine logic signals
or numeric values.
A conditional jump is performed only if the result is true. No jump is performed if the condition is
false.
The commands IF, ELSE, ENDIF allow the flow of the program to be modified conditionally without
the need to define labels and program skips.
COMMAND FUNCTION
The delay commands can be used to delay the execution of the program for reasons due to
synchronisation.
COMMAND FUNCTION
COMMAND FUNCTION
GDV Defines the remote device or drive A for file access operations
These commands define the remote devices or drive A and are used when read/write operations
are performed on the file via the language ASSET.
RPT - ERP
The RPT and ERP commands define a set of part program blocks that must be executed a
specified number of times. The set of blocks begins with the RPT command and ends with the ERP
command.
Syntax
(RPT,n)
.
.
blocks
.
.
(ERP)
where:
n Is the number of times the specified block must be executed. It is an integer from 1 to
65535 that can be programmed directly with a number or indirectly with an E
parameter. The control allows five nesting levels, i.e. in a repeat block you can
program up to four repeat commands.
Example 1:
The following is an example of repeat command.
80 80
40
20
30
20
20
20 X
Program:
(UGS,X,-50,100,Y,-50,100)
(DIS,"N.3 POCKETS")
(DIS,"MILL D12")
N1 S600 T6.6 M6
N2 (RPT,3)
N3 X40 Y35 M3
N4 Z 2
N5 (RPT,2)
N6 G91 Z-8
N7 G90 G1 G41 X40 Y20 F300
N8 X60
N9 Y50
N10 X20
N11 Y20
N12 G40 X40
N13 Y35 F1000
N14 (ERP)
N15 G Z2
N16 (UIO,X80,Y20)
N17 (ERP)
N18 (UAO,0)
N19 Z20
N20 X Y M30
Example 2:
This example shows how three repeat levels are nested.
(RPT, 8)
(RPT, 10)
(RPT, 5)
1 2 3
(ERP)
(ERP)
(ERP)
(UGS,X,-50,100,Y,-50,100)
(DIS,"EQUIDISTANT HOLES") 50
N1 F200 S900 T1.1 M6
N2 G81 R5 Z-10 M3
N3 X10 Y10
N4 (RPT,7)
N5 G91 X10 8 holes, path 10
N6 (ERP)
10
N7 Y40
N8 (RPT,7)
N9 X-10 10
N10 (ERP)
0
N11 G80 G90 XY M5
X
0 10 80
The following example shows repeat commands for machining with one roughing cut and one
finishing cut.
Finishing Cycle
Roughing Cycle
Program:
(UGS,X,-20,150,Y,-65,60)
(DIS,"DEFINITION OF MACHINING ALLOWANCE")
N1 S350 T6.6 M6
N2 X60 Y M3
N3 Z-50
N4 MSA=0.5
N5 (RPT,2)
N6 G1 G41 X60 Y60 F500
N7 G3 Y-60 I60 J
N8 G1 X100
N9 G3 Y60 I100J
N10 G1 G40 X60
N11 MSA=0
N12 (ERP)
N13 GZ20 M5
N14 X Y M30
Commands CLS, CLD and CLT recall the execution of a subroutine, i.e. a separate program stored
in a file. These commands can call a subroutine from a main program and from another subroutine.
Up to four nesting levels are possible.
CLS Call to a static subroutine: analysed upon the activation of the main part
program
CLD Call to a dynamic subroutine: analysed during the execution of the part program
and only if the name has not been found earlier
CLT Call to a temporary subroutine: analysed during the execution of the part program
whenever its call is encountered
Syntax
(CLS,name)
(CLD,name)
(CLT,name)
where:
name may be a 10 SERIES type name (40 alphanumeric characters) or a file with
DOS type name (8 characters plus extension and path).
Example:
(CLS,E:\FILE\PROGRAM.PRG) ;call to subroutine with DOS name
Example:
(CLS,PROGRAM.MIO)
NOTE:
• If name is a string variable preceded by the "?" code, the subroutine is not analysed upon the
activation of the main part program; it is analysed instead during the execution of the latter.
This has the following implications, depending on the triliteral used to call the subroutine:
- CLS: the subroutine cannot contain skip instructions
- CLD or CLT: the subroutine can contain skip instructions in as much as run times are
analysed
• If the MAIN is a 10 SERIES directory (with file names of 48 characters) the subroutine cannot
be resident in a DOS directory, and accordingly three-letter code CLS cannot specify a
complete path.
• The pathname to use for calls to subroutines in a DOS directory may also be declared through
the three-letter code PTH described later in this chapter. If the pathname is omitted the
directory search for the subroutine is carried out as follows :
1. No pathname specified via PTH
The system searches for the subroutine in the directory in which the calling program is found
and if it is not there, it looks in the DOS directories to which logical names have been
associated during the characterisation phase of the machine.
2. Pathname specified via the PTH instruction
The system looks for the subroutine in the directory specified with PTH, if it is not there, it looks
in the DOS directories to which logical names have been associated.
• For the THROUGH mode: compatibility with the CLS instruction has been maintained, i.e. if
the subroutine called contains labels, an error is returned, in as much as this mode does not
envisage the activation of the main program upstream. CLD, CLT and paramacros, instead,
are managed the same way as the non-through mode.
• The number of subprograms and “static” labels managed by the control depends on the
corresponding values configured in AMP. For full tables, a memory management procedure is
activated, which, to the extent feasible, removes the dynamic and paramacro subroutines from
the tables and compacts the static ones (CLS). When it is not possible to free any further
space in the memory, a table full message is given out and the system shifts to the same error
conditions as we would have during part program selection. At this point, the operator can
proceed by either changing the part program or increasing the maximum limits specified for the
tables.
• When the tables are full and the execution of a program is not blocked thanks to the
memory compacting feature, program execution is slowed down, during the subsequent stage
of analysis, which inevitably takes place in the event of a blocking error.
• The successful completion of a program activation stage is no guarantee that the program will
be executed without errors, if the memory is full. This is the case, for instance, of a CLD calling
a number of CLS instructions large enough to fill up the tables.
• Re-executing a main program may generate a tables full message even if the program has
been activated in its entirety the first time (after its activation). This is so because after the
activation of a program, the tables do not contain the file names and the static subroutine
tables called either by static subroutines or by dynamic or temporary subroutines.
• A command for a call to the same program name entered through triliterals of different types
(e.g. first CLT and then CLS) may generate a label unknown message; such a message can
be obviated by replacing the CLS call with a CLD call.
• A run time change to a subroutine not followed by the reactivation of the main program will
be interpreted only if the call is made through a CLT; otherwise, the one analysed previously
will be re-executed, with unpredictable effects on program execution.
Example 1:
The following is an example of a call to a subroutine.
Main program Subroutine P800
N16 . . .
N17(CLS,P800) N500. . .
N18. . . N501. . .
. N502. . .
. N503 . . .
N67(CLS,P800)
N68 . . .
Example 2:
Sequence for execution of four nested subroutines.
MAIN PROGRAM
........... SUBROUTINE 1
...........
(CLS,SUB1) ...........
SUBROUTINE 2
...........
...........
(CLS,SUB2) ...........
SUBROUTINE 3
........... ...........
(CLS,SUB3) ...........
SUBROUTINE 4
........... ........... ........... ...........
........... ...........
...........
...........
...........
...........
Example 3:
Call to subroutine specified in implicit mode
SC0.5="PIPPO"
(CLS,?SC0.5)
Example 4:
This example uses subroutines for repeated drilling operations.
15 60
50
20
X
20
25
15
30
Main Program:
N19 (DIS,"...")
N20 S2000 F180 T2.02M6 Subroutine S600
N21 (UTO,1,X-20,Y-25)
N22 (CLS,S600) N501 G81 R-108 Z-130 M3
N23 (UTO,1,X-15,Y50) N502 XY
N24 (CLS,S600) N503 Y-15
N25 (UTO,1,X60,Y20) N504 X30
N26 (CLS,S600) N505 Y0
N27 Z0 N506 G80
Example 5:
Parabolic profile programming with a parametric subroutine.
Main Program:
Subprogram PAR:
;N500 PAR
;N501 Parametric subroutine: Complete parabola execution, internal profile.
N502 G1 G42 XE30 YE33
N503 E36 = E33
"START" N504
N505 E36=E36-E32
N506 (GTO,END,E36<E34)
N507 E35=SQR( 2*E31*ABS(E36))
N508 XE35 YE36
N509 (GTO,START)
"END" N510
N511 E35=SQR (2*E31*ABS(E34))
N512 XE35 YE34
;N513 Second part of the parabola.
N514 E42=E32
N515 E43=E34
N516 E44=E33
N517 XE35 YE43
"START2" N518
N519 E43=E43+E42
N520 (GTO,END2,E43>E44)
N521 E35= -(SQR (2*E31*ABS(E43)))
N522 XE35 YE43
N523 (GTO,START2)
"END2" N524
N525 E35= - (SQR(2*E31*ABS(E44)))
N526 G40 XE35 YE44
N527 GX0
EXAMPLE 6:
Call to the dynamic subroutine, specified in an implicit manner with the PAR subprogram of the
previous example
Main program:
;N10 MAIN PAR
N20 T1.1M6 S1000 M3 F700
N30 E30=72.795 ;Initial value of X
N40 E31=24.28 ;Focal length
N50 E32=2 ;Increment of Y
N60 E33=108.24 ;Initial value of Y
N70 E34=0 ;Final value of Y
N80 GX0 Y120
SC0.5="PAR"
(CLD,?SC0.5)
The PTH command declares the pathname to be used as the default in calls to subroutines and
paramacros with DOS names.
Syntax
(PTH,mode [,pathname])
where:
mode=0
Taken as the default pathname for CLS calls, the path of the main program.
mode=1
Declares the path to use when there is a (PTH,2) instruction active.
This mode may be of use when a pathname defined initially with (PTH,1,pathname)
has to be called numerous times in the part program with (PTH,2).
mode=2
Activates the path specified in the instruction or, if none is specified, the one declared
previously with a (PTH,1,pathname) instruction.
pathname Path to be declared as the path for CLS calls; this is an optional parameter.
NOTE:
The pathname declared with three-letter code PTH is preserved even after a RESET of the
process in which it was programmed.
The EPP command allows you to execute a subprogram, i.e. a portion of a program delimited by
two blocks with label fields.
Syntax
(EPP,label1,label2)
where:
label1 Label field of the first block to be executed. A label is a sequence of up to six
alphanumeric characters.
Characteristics:
Program the block label between quotes ("LABEL1") even if in EPP they must be declared without
quotes. The system accepts up to 5 nesting levels.
In contouring operations, you can use the EPP command for finish milling with the same program
blocks you wrote for roughing. During the roughing phase, use the MSA command to program the
machining allowance for finishing.
In positioning operations, you can program points for a centring operation, then use the EPP
command to call for different tools in order to execute different operations on each hole. The EPP
command can be used to execute a complete machining operation at different orientations on the
active interpolation plane.
Example 1:
.
.
"START"N25 First block with label
.
. An EPP cannot occur here
.
"END"N100 Last block with label
.
.
.
N150 (EPP,START,END)EPP command that specifies the labels. The control executes blocks N25
to N100; after this point you must resume execution with the block
written after EPP (N150).
The 'NC062 NESTING OF EPP > 5' error occurs if more than five instructions are
IMPORTANT nested in an EPP command.
The GTO command can be programmed inside an EPP section. However, if at
program end all the cycles programmed with RPT are not executed, the system
returns the following error: 'NC063 RPT/EPP CYCLE OPEN AT END OF
PROGRAM'.
Example 2:
This example shows how to use the EPP command in a positioning operation:
Program:
(UGS,X,-110,110,Y,-110,110)
N1 (DIS,"DRILLING CENTRE HOLES")
N2 F300 S2000 T1.1 M3 M6
N3 G81 R0 Z-3
"D6"N4
N5 X100 Y100
N6 X-100
N7 Y-100
N8 X100
"D10"N9
N10 X40 Y40
N11 X-40
N12 Y-40
N13 X40
"END"N14
N15 G80
N16 (DIS,"BIT D6")
N17 F200 S1800 T2.02 M3 M6
N18 G81 R Z-22
N19 (EPP,D6,D10)
N20 G80
N21 (DIS,"BIT D10")
N22 F220 S1600 T3.3 M3 M6
N23 G81 R Z-24
N24 (EPP,D10,END)
N25 G80
Syntax
where:
= equal to
< less than
> greater than
<> not equal to
<= less than or equal to
>= greater than or equal to
Characteristics:
If par1 ,operator and par2 conditions are not specified, the program executes the
part_program_block1 block.
Only one level of nesting is accepted by the system with the three-letter code EPB.
Example:
(EPB, “(EPB,’E1=1’)”) : accepted by the system
(EPB, “(EPB,’(EPB,SC0.100)’ )”) : NOT accepted by the system (error: FORMAT ERROR)
The part-program blocks specified in the three-letter code EPB are not analyzed in the activation
phase of the part-program, therefore it is up to the programmer to see that these blocks do not
cause any malfunctioning of the part-program.
Example:
(EPB,”(CLS,SUBROUT)”) : the subprogram SUBROUT is not pre-analyzed in the
activation phase, therefore it cannot contain any jump
(GTO) instructions.
(EPB,’ “LABEL” ’) : The label LABEL will not be inserted in the label table of
the part-program.
SC40.30 = “# X10”
(EPB, SC40.30) : equivalent to the block #X10
The GTO command performs a jump to the specified block if the condition expressed in the
command is true.
Syntax
where:
label Label of the program block to branch to. A label is a string of up to 6 alphanumeric
characters. In the destination block the label must be between quotes while in GTO
command the label must be programmed without quotes. Also, the label can be a
character variable preceded by “?”
par1 It is the local or system variable whose value is compared to the value of the par2
variable.
par2 It is the local or system variable whose value is compared to the value of the par1
variable.
Characteristics:
If par1, operator and par2 are not specified, the program always jumps to the block marked by the
label.
The label the part program must branch to can also be expressed as a local or system variable
(preceded by the "?" character).
Example 1:
;SC0.3 contains the positioning label
(GTO,?SC0.3)
"ONE"
.
.
.
.
"TWO"
.
.
.
.
"THREE"
.
.
.
"DEFLAB"
.
.
.
If SC0.3 does not contain "ONE", "TWO" OR "THREE" the part program positions on the
"DEFLAB" block. If the "DEFLAB" label exists, the 'NC054 Undefined label' error is displayed and
part program execution is interrupted.
Example 2:
N01 (GTO,START) the part program always branches to "START"
N10 (GTO,END,E1 > 123) branch to "END" if the value of E1 is greater than 123
N20 (GTO,LAB1,@COOLANT = 1) branch to "LAB1" if the PLUS variable
@COOLANT is on
N30 (GTO,START,E1 <> E5) branch to "START" if the value of E1 is different from that
of E5
N40 (GTO,LAB1,SC1.2H = "OK") branch to "LAB1" if the two characters beginning with
SC1 are equal to OK
N50 SC1.3="ABC" prepares the variable for the following block
N60 (GTO,?SC1.3) branch to ABC label
Example 3:
The instruction:
(GTO,END,SC2.3H = "ABC")
branches to the "END" label in the program if the three characters (.3) beginning from SC2 are
ABC.
NOTE:
The character string to be compared in the branch command must always be programmed
between quotes.
Example 4:
Here is an example of conditional branching in slot milling.
Program:
(UGS,X,-50,50,Y,-50,50)
N1 (DIS,"MILL A SLOT")
N2 F500 S2000 T1.1 M3 M6
N3 E31=-3.5
N4 E32=-24
"START"
N6 G X Y-10
N7 Z(E31)
N8 G1 G42 X Y-20
N9 X-30
N10 Y20
N11 X30
N12 Y-20
N13 G40 X
N14 Y-10
"END"
N16 E31=E31-3.5
N17 (GTO,START,E31>E32)
N18 E31=-25
N19 (EPP,START,END)
N20 G Z10
Example 5:
This is an example conditional branching in cylindrical thread machining.
Program:
IF ELSE ENDIF
The IF command allows the opening of a part-program session which will be executed only if a
condition specified within the command is met. This part-program session must terminate with the
ENDIF command : the ELSE command can be optionally included in the IF command, which
delimits, up until the ENDIF command, a part-program session which will be executed if the
condition specified in the IF command is not met.
Syntax
where:
= equal to
< less than
> greater than
<> not equal to
<= less than or equal to
>= greater than or equal to
Characteristics.
If the condition specified in the IF command is met, the blocks specified up until the ELSE
command (if present) or until the ENDIF command (if the ELSE command is not present) will be
executed, otherwise they will be ignored.
The blocks between the ELSE command and the ENDIF command will be executed only if the
condition specified in the IF command is not met.
Examples:
( INP,” E0 VALUE “ ,30 , E0)
( IF , E0 = 3)
( DIS , “ E0 is equal to 3 “)
(ELSE)
( IF E0 > 3)
( DIS , “ E0 is greater than 3 “)
(ELSE)
( DIS , “ E0 is less than 3 “)
( ENDIF)
( ENDIF)
Syntax
(DLY,time)
where:
time Delay time in seconds (minimum value 0.1). You can program the delay with a
numerical constant or an E parameter.
Slashed blocks have "/" symbol as first character and their execution is conditioned by the DBS
value.
Syntax
DSB= value
where:
The REL command releases the part program and all subroutines.
Syntax
(REL)
Characteristics:
The REL function disables the part program. It can be entered through MDI.
After the program has been released, the following message will be displayed: 'NC058 END OF
PROGRAM'.
Syntax
where:
Characteristics:
The process where the WOS function is programmed goes on WAIT until the condition is satisfied.
If the system is on WAIT during program debugging (because a WOS function has been
programmed), it is possible to assign to the par1 variable the value that satisfies the condition
specified in WOS.
Example:
(WOS,E1>4)
(WOS,SC10.5 = "GOOFY")
(WOS, TOOL_STATUS>=E3)
(WOS,!USER_VAR3.5CH 0 SC4.5)
This three-letter code is used to reserve use of drive A for file read/write operations and to define
remote devices on which to work.
Syntax
(GDV, device)
where:
Characteristics:
If drive A is already being used by another process or UTILITY (e.g. DOS SHELL), the error NC251
Driver busy or not configured is generated; this error can be handled by the part program (for
further details, refer to appendix C).
Examples:
(GDV,A)
Reserves use of drive A.
SC0.1='A'
(GDV,?SC0.1)
Use of drive A is reserved, as specified in variable SC0.1
This three-letter code is used to release drive A or the remote device defined previously with the
three-letter code GDV, so as to make it available for other users.
Syntax
(RDV, device)
where:
Characteristics:
Examples:
(RDV,A)
Releases drive A previously allocated with GDV.
SC0.1='A'
(RDV,?SC0.1)
Similar to the previous example, but with the drive specified in variable SC0.1.
END OF CHAPTER
GENERAL CONSIDERATIONS
The High Speed Machining feature is used for machining surfaces (profiles) defined by points,
created by CAD/CAM systems, on machine tools having 3 to 5 axes (3 linear + 2 rotary).
The High Speed Machining feature must be enabled in the AMP environment, by selecting the
appropriate field in the PROCESS CONFIG section (PROC CHAR softkey).
1. Create a setup file (part program) that contains all the parameters for handling the profile: tools,
axes and kinematics of the machine.
The configuration file will be recalled in the main program through a three-letter command, with
the following format:
(HSM, setup file name)
Example:
; HSM PROGRAMMING EXAMPLE
G0 X..Y..Z.. A.. B.. F…
------
(HSM, CONFIG1)
------
(CLS,PROFILO1 ------------------------------------------- Æ G61
------ G1 X…Y..Z..A..B..
------ --------------------------
; END OF PROGRAM --------------------------
------ G60
The profile may also be inserted in a specific file which will be recalled as a subprogram by the
CLS instruction.
Example 2:
; HSM PROGRAMMING EXAMPLE
G1 X..Y..Z.. A.. B.. F…
-----
(HSM, CONFIG1)
G61
G1 X..Y..Z..A..B..
-----
G60
; END OF PROGRAM
On the basis of the programmed points a polynomial curve will be constructed, defining the path to
be followed. This path will pass through the programmed points with a configurable tolerance. The
methods by which the points are to be linked will be defined by the G01 and G00 codes that may
be programmed together with the points.
The sections executed in G00 will be considered as individual positioning operations; each point
will be linked to the next by means of a “linear” movement to be performed with the dynamic
traverse positioning (each section in G00 will start at zero speed and end at zero speed). For this
reason, G00 mode will not calculate the polynomial curve. At the end of a section in G00 there will
be no pause (end of movement synchronism, entry into tolerance status, etc..) and the next
movement will be carried out immediately. This behaviour is similar to the programming of G01 and
G09 codes in the same block.
p3
p1 p4
p2
p0
With G01, each point will be linked geometrically to the following ones by means of a polynomial
curve, so the generated path may be considered “continuous”. This link will be interrupted by the
programming of a G00 or the programming of special G codes described below. The dynamics of
the sections in G01 are the same as the “cutting” movements (such as normal G01 movements in
ISO programming).
p3
p1 p4
p2
p0
In addition to the G01 and G00 functions, the following G functions, specific for the HSM feature,
may be programmed in the profile.
G61
Determines the start of the profile and must be programmed in a block on its own. When the G61
function is activated, there must be no form of virtualization active (UPR,UVP,UVC,TCP).
Before activating the G61 function, the setup file must be defined by means of the instruction:
The G61 command may ONLY be executed within a part program in AUTO or BLK BY BLK status.
G60
Determines the end of the profile and must be programmed in a block on its own.
If the machine is in single STEP execution, the profile between G61 and G60 is considered as a
single instruction. To stop its execution, it is necessary to switch to HOLD status.
G62
Splits a profile in two parts and determines the point where one profile ends and another begins,
maintaining continuity between the two curves.
The points preceding the G62 function will be used to generate a first curve, while the subsequent
points will be used to generate another one. These curves will be linked and will therefore be
continuous; the initial inclination of the second curve will correspond to the final inclination of the
previous curve.
G62
p3
p1 p4
p2
p0
As regards dynamics, with G62 no deceleration and acceleration ramp will be generated to link the
two curves. This G function must be programmed in a part program block on its own.
G62
G63
Splits a profile into two parts and determines the point where one profile ends and the other one
begins, maintaining continuity between the two curves. The points preceding the G63 function
will be used to generate a first curve, while the subsequent points will be used to generate another
one. While with G62, the initial inclination of the second curve depends strictly on the final
inclination of the first, with G63, the initial inclination of the second curve IS NOT influenced by that
of the first. To maintain continuity, a “radius” that depends on the chordal error with which the
splines are to be calculated is inserted.
G63
p3
p1 p4
p2
p0 Radius
p2
With G63 a reduction in speed may occur at the point where the two curves are linked. This G
function must be programmed in a part program block on its own.
G66
Splits a profile into two parts and determines the point where one profile ends and the other one
begins, creating a discontinuity between the two curves, that is, the point preceding the G66
represents an edge. At this point, two curves are generated, the first using the points preceding the
G66 function and the second using the subsequent points. These curves will NOT be linked, and
so there will be a discontinuity.
G66
p3
p1 p4
p2
p0
This discontinuity will be reached at zero speed; the first curve will therefore end with a
deceleration ramp to 0 (zero) speed after which the second curve will be tackled with an
acceleration ramp to reach the required machining speed. This G function must be programmed in
a part program block on its own.
v
G66
G67
With G67, a “discontinuity” may be defined on the profile defined with G66. What changes is the
dynamic approach to the edge, that is, the end of the curve is not reached at zero speed but at a
speed value (vs) that enables the axes to reach the edge without any dynamic problems. This
speed value is calculated on the basis of the acceleration that may be withstood by each axis. This
G function must be programmed in a part program block on its own.
v
G67
vs
Supposing we have a profile defined by 100 points of which the first 50 represent the first
machining pass (from p1 to p50) and the other 50 (from p50 to p99) the same profile shifted
slightly (second pass).
p1
p50 p99
As the points between p1 and p50 are “similar” to the points between p50 and p99, the conditions
for calculating the two polynomial curves will also be similar. Two “parallel”, almost identical curves
will therefore be generated.
If the G62 function has not been programmed on point p50 the NC may generate curves that are
not perfectly parallel. This normally undesired effect is due to the fact that the calculation of the
polynomial takes into account the “history” along the calculated paths.
The “history” of point p1 is clearly different from that of point p50. In fact, point p1 has no history
while in point p50, the NC has followed a path determined by the first 49 points.
When the G62 function is inserted, it cancels the “history” and produces a geometrical pattern
almost identical to the one calculated starting from point p1.
In machining processes that entail several passes, failure to program G62 would have the
undesirable effect of producing different levels of machining between one pass and another.
Points may be programmed using, absolute programming may be used by means of (G90) or
incremental programming by means of (G91). All numerical parameters required may be defined
directly or by means of E or L variables: programming with expressions is not valid so XE(E2) or
X(E1+E2) type programming is not allowed, while XE1 is allowed.
Activation of the HSM (High Speed Machining) feature G61 forces of G01 and G90, modes while at
the exit (G60) the G functions active when G61 was programmed will be restored.
The first point programmed MUST be expressed in absolute positions (G90) and must contain the
programming of all axes associated with the HSM programming (axes configured in the HSM setup
file).
A regards consent for movement, the XW03 variable, which contains the type of movement, will be
set as shown below:
Bit 1 Bit 0
0 0 1 1 0 0 0
G29 G0
G28 G1
G27 G2 o G3
G61
The cutter contact points are linked to the cutter location points through the geometry and
orientation of the tool. The axis location points are linked to the cutter location points through the
geometry of the machine tool. In machining processes with three axes, the coordinates will simply
be translated while, in those with five coordinated axes, rototranslation matrices that take into
account the geometrical transformations due to the movement of the rotary axes will be applied.
The figure below shows what is meant by cutter contact points, cutter location points and axis
location points.
Tool
length
s
diu
Normal Ra
Edge
to surface
Cutter contact points radius
Points are defined by means of normal axis coordinates in the format [Axis name][Position];
example: X100 Y200 Z40.
Two methods may be used to define the tool direction. The first is by directly programming the
versor that identifies the tool direction. This versor is expressed using the ijk coordinates in the
format:
[i] [X-coordinate component] [j][Y-coordinate component] [k][Z-coordinate component]
The system will automatically normalize the length of the versor to the unitary length (1.0).
The second way of defining the tool direction is by programming the rotary axes. The system will
automatically determine the three components of the ijk versor depending on the kinematics of the
machine.
The system will automatically normalize the length of the versor to the unitary length (1.0).
The second possibility consists of asking the system to determine this direction automatically. The
direction will be calculated on the basis of the tangent to the profile (displacement direction), on the
basis of tool direction (vector ijk) and angle of contact between the part and the tool (angle α). This
angle is conventionally assumed to be 0° if the tool touches the part with its tip, 90° if the tool
touches the part with its left side and -90° if it touches it with its right side (in the example below,
α=90°). Thanks to this calculation, the mno versor is normal to the tangent to the profile and
defines an angle α (angle of contact) with the tool versor ijk.
ijk mno
α
α tg profile
This type of approach is only significant when the contour is to be machined. When a surface is to
be machined, this approach could fail as there is no information about the “surface” to be
machined, only information about the “direction” of displacement.
There are two ways of defining the tool radius application direction. The first is by directly
programming the versor that identifies the direction. This versor (of a unitary length) is expressed
using the pqd coordinates in the format
The system will automatically normalize the length of the versor to the unitary length (1.0).
The second way is to have this direction calculated automatically by the system. The direction is
calculated automatically on the basis of the tool direction (ijk versor) and the normal to the part
(mno versor). This calculation ensures that the pqd versor is normal to the tool direction and is on
the plane formed by the ijk and mno versors.
ijk
ijk
pqd
pqd mno
mno
Programming of the versor pqd is only significant when specific cutting strategies are applied.
The other technique consists of having the system calculate the direction automatically. The
direction is calculated through a similar procedure as is used for the mno versor, but angle α can
only assume the following values: +90°, if the tool touches the work piece with the left side; –90° if
the tool touches the work piece with the right side. For this reason, the management of uvw vectors
is compatible with cylindrical tools as well as with spherical routers working on the side. Toroidal
tools are not admitted. Furthermore, the uvw vector differs from mno at corners where the length of
the vector is multiplied by an appropriate correction factor.
ijk
ijk
pqd
pqd
uvw mno
uvw mno
The basic difference with respect to mno versors, in fact, is observed at the “pointed” parts of the
profile, as shown in the figure below.
Programmed path
Compensated part
uvw vector
Tangential Axis
The tangential axis is an axis whose position is calculated so as to remain tangential to the profile
described. It is calculated on the basis of the tangent to the polynomial curve on the work plane.
Tangential axis
x
An initial value of the tangential axis (first programmed point) may be defined and the subsequent
positions may be calculated on the basis of this value.
Generic machines or machines with 3 axes are characterized by the fact that they do not have
axes for orienting the tool during the machining phase. The tool direction is generally fixed.
Setting Description
Example:
N001 G61
N002 G1 X10Y10Z10 m0n0o1 p0q0d1 F10000
N002 X20Y10Z10 ….
…..
N100 G60
Setting Description
Example:
N001 G61
N002 G1 X10Y10Z10 F10000
N002 X20Y10Z10 ….
…..
N100 G60
No Tool Compensation
In this case, only the positions of the axes as defined in the table below have to be included in the
part program. The feed rate will refer to the actual movement of the axes (Axis Location Point).
However, starting from points referred to the part dimensions, it is possible to recalculate the tool
centre points (Cutter Location Point) to apply tool length compensation and, if necessary,
recalculate the Cutter Contact Points in order to apply tool diameter compensation (see the TOL
configuration parameters). Thus, it will be possible to set feed rate relative to the motion of the tool
centre (on the Cutter Location Point for tool length compensation) or relative to the machine profile
(on the Cutter Contact Point).
Setting Description
Example:
N001 G61
N002 G1 X10Y10Z10 F10000
N002 X20Y10Z10 ….
…..
N100 G60
SETUP
The configuration of the HSM environment is contained in a specific setup file: all dimensional
parameters must be expressed in the unit of measurement of the machine tool.
This setup is activated whenever the G61 code is programmed.
All the numerical values of the part program can be defined directly or through E or L parameters.
Type Character CCP Defines the type of points described in the Part Program
CLP CCP Cutter Contact Points: the points entered are
AXI defined in “Cutter contact points”, so tool
compensation (radius and length) may be
Obligatory executed on these points.
CLP Cutter Location Points: the points entered are
defined in “Cutter location points“, so tool
compensation (length only) may be executed on
these points.
AXI Axis Location Points: the points entered are
defined in “Axis location points”, so no type of
compensation may be executed on these points.
Param Character CCP Defines the type of profile for which the feed rate is
CLP programmed in the Part Program and depends on the
type of points entered. The feed rate always refers to
AXI the “3D” profile. Any rotary or additional axes present
Obligatory are not involved in the calculation of the feed rate but
“follow” the execution of the 3D profile. The feed rate is
however limited when the latter axes, in following the 3D
axes, tend to exceed their dynamic limits.
CCP The programmed Feed rate refers to the profile
generated on the “Cutter contact points”; this
setting is clearly only valid if the points entered
are of the CCP type.
CLP The programmed Feed rate refers to the profile
generated on the “Cutter location points”; it may
be used for the CCP and CLP type points, while
for AXI type points it is only valid when the tool
direction can be determined (either from the
programming of the rotary axes or from the
programming of the ijk versors).
AXI The programmed Feed rate refers to the profile
generated on the “Axis location points”; it may
only be used for AXI type points.
Poly Car. CUB or QUI Defines the degree of the polynomial curve generated
Obligatory for the execution of the programmed profile.
CUB A cubic polynomial is generated.
QUI A quintic polynomial is generated.
(VER, Ijk, Mno, Pqd, Uvw) example: (VER , REL , PRG , PRG )
(VER , ROT, , REL , PRG )
Ijk Character PRG or REL Defines whether the “Tool Direction” vector is
Obligatory programmed directly by means of the ijk components or
whether it is to be calculated on the basis of the position
of the rotary axes. When the versor is not necessary,
this setting is ignored.
PRG The versor is programmed using the ijk
components.
REL The versor is to be determined from the
programmed position of the rotary axes.
ROT The versor is to be determined from the current
position of the rotary axes.
Mno Character PRG or REL Defines whether the “Normal to Surface” vector is
Optional programmed directly using the mno components or
whether it is to be calculated automatically by the
system. If the versor is not necessary, this setting is
ignored.
PRG The versor is programmed using the mno
components.
REL The versor is to be determined automatically by
the system.
If omitted, this means that a uvw vector is used.
Pqd Character PRG or REL Defines whether the “Tool Radius Application Direction”
Obligatory vector is programmed directly using the pqd
components or whether it is to be calculated
automatically by the system. When the versor is not
necessary, this setting is ignored.
PRG The versor is programmed using the pqd
components.
REL The versor is to be determined automatically by
the system.
Uvw Character PRG or REL Indicates whether the “Tool Radius Compensation
Optional Factor” has been programmed directly through the uvw
components or has to be calculated by the system
automatically. When the versor is not required, the
programming mode is disregarded.
PRG The vector is programmed through the uvw
components.
REL The vector has to be calculated automatically by
the system.
If omitted, this means that an mno versor is used.
NOTE:
if tool radius compensation is required, vectors MNO and UVW cannot both be omitted.
Tintgr Number Optional Defines the maximum time (in ms) for integrating the
acceleration (or deceleration) phases with the sections
at a constant feed rate. (See Figure 1)
Ttop Number Optional Defines the minimum time (in ms) for executing a
section with a constant feed rate V. (See Figure 1)
Thresholds
The syntax of the three-letter code that defines the value of thresholds used in generating the
polynomial curves is as follows:
Chord
Tool definition
In the High Speed Machining system, “Cylindrical”, “Ball-ended” and “Toroidal” type tools may be
managed. The syntax of the three-letter code that defines the characteristics of the tool to be used
for machining is as follows:
(TOL, Len, Radius, EdgeRad, Angle, OriginLen, Rorig, RgOrig) example: (TOL , , , 1 , -90 , 0 )
Len Number Taken from Defines the length of the tool to be used for tool length
the offset compensation. If no value is set, the tool length is taken
active on G61 from the offsets active in the system on the activation of
Optional the G61. The value set here is only active during the
machining of the current section of G61/G60.
Radius Number Taken from Defines the radius of the tool to be used for tool radius
the offset compensation. If no value is set, the tool radius is taken
active on G61 from the offsets active in the system on the activation of
Optional G61. The value set here is only active during the
machining of the current section of G61/G60.
EdgeRad Number Obligatory Defines the radius on the edge of the tool. As this value
is not handled by the system offsets, it has to be set.
Angle Number Optional Defines the angle of contact between the tool and the
part. It is used in the automatic calculation of the vector
normal to the surface.
OriginLen Number Optional Defines the length of the tool for which the part program
was generated. This field is used when the points
entered refer to “Axis location points” and you wish to
apply the compensation for tool length.
ROrig Number Optional Defines the radius of the tool for which the part program
was generated. This field is used when the points
entered refer to “Axis location points” and you wish to
apply the compensation for tool length and diameter.
RgOrig Number Optional Defines the radius of the tool for which the part program
was generated. This field is used when the points
entered refer to “Axis location points” and you wish to
apply the compensation for tool length and diameter.
Xcomp Number Obligatory Component of the tool direction along the X axis.
Ycomp Number Obligatory Component of the tool direction along the Y axis.
Zcomp Number Obligatory Component of the tool direction along the Z axis.
p2 p3
p1
At the "curvature change" point, the system will automatically introduce a G62 or a G63 depending
on user requests. As an alternative, it is possible to add more points (closer spacing) in the longer
portion; the number of points added depends on the ratio between the lengths of the two portions
(long/short).
The syntax of the three-letter code that defines how to identify and then manage the change in
curvature is as follows:
Len Number Obligatory Defines the minimum length of the “long section” for the
change in curvature to be managed. It is defined in mm
(or inches if the machine is configured in inches).
Ratio Number Obligatory Defines the ratio between the long section and short
section so that the change in curvature may be
identified. For example, the value 6 defines that the
distance between p2 and p3 must be greater than 6
times the distance between p1 and p2 for the change in
curvature to be activated.
Mode Character G62 or G63 or Defines the transition code to be set on the “change in
PNT curvature” point
Obligatory G62 The two segments are generated with two splines
tangential to one another, so the second spline
will have an initial inclination equal to the final
inclination of the first spline.
G63 The two segments are generated by two non-
tangential splines, but are linked on the basis of
the calculation tolerance set.
PNT Additional points (closely spaced) are added on
the longer portion.
Edge management
The automatic identification of edges is important for the same reason as the identification of
changes in curvature. Failure to identify edges could generated incorrect oscillations on the
splines. The optimum dynamic approach for handling an edge is to stop at zero speed and then
restart on the next section. Stopping may be damaging however as the tool, as it turns, continues
to remove material and so some “notches” may be visible on the part. For this reason, it is possible
to define whether and how to stop at the edge.
The syntax of the three-letter code that defines how to identify and therefore how to manage the
presence of edges is as follows:
(EDG, Angle, VAngle, Mode, Acc) example: ( EDG , 30 , 0 , G66 , 1 )
V Angle
p2
Angle v2 v3
p3 v1
automatic G66
p1
Axis definition
The axes to be subjected to the High Speed Machining algorithms may be defined. A maximum of
6 axes may be defined, of which 3 axes make up the three Cartesian axes, 2 are rotary axes (for
machines with 5 axes) and other additional axes. The syntax of the three-letter code for defining
the axes is as follows:
(AXI, Name, Id, Type , CinType, Diam, LinRot) example: (AXI , X , 1 , ABS , LI1, DIS)
example: (AXI , C, 4, OTH, OTH, LIN)
CinType Character LI1, LI2, LI3, Defines the position of the axis in the kinematic chain of
WRK, TOL or the machine (see following sections). For generic
OTH machines or machines with 3 axes for which the kinematic
Obligatory chain does not have to be defined, we recommend the
following setup:
LI1 To be associated with the axis defined as ABS (x-
coordinate) in the previous field.
LI2 To be associated with the axis defined as ORD (y-
coordinate) in the previous field.
LI3 To be associated with the axis defined as VRT (z-
coordinate) in the previous field.
OTH Additional axis.
For machines with 5 axes, the setup values are as follows:
LI1 First axis in the kinematic chain.
LI2 Second axis in the kinematic chain.
LI3 Third axis in the kinematic chain.
WRK Rotary axis closest to the part.
TOL Rotary axis closest to the tool.
OTH Additional axis.
Diam Character ENA or DIS Makes it possible to characterise the axis as Diametral.
If this is not defined, the corresponding parameter
Optional currently active in the system is used.
ENA Axis defined as diametral.
DIS Normal axis.
LinRot Character LIN or ROT Makes it possible to specify the type of added axis, as
either linear or rotary. If no value is set, for an execution
Optional on on the CN, the corresponding parameter currently
CN active in the system is used; for an execution on the
Path Optimizer, an error is notified.
Required on LIN Linear type added axis.
Path Optimizer
ROT Rotary type added axis.
Axis parameters
Some characteristics of the axis set on the system may be varied. These variations are only active
in the G61/G60 section being machined. The syntax of the three-letter code is as follows:
Name Character Obligatory Axis name as defined in the three-letter code (AXI).
NullMov Number Obligatory Defines the null movement for the axis in question. If the
position programmed for an axis differs from the current
position (or last programmed position) for a value lower
than the null movement, the movement of the axis (the
new position) is not considered. We recommend it be
left set to 0 and activated only in cases in which the part
program under execution contains imprecisions in the
programming of the axes.
Pitch Number Taken from Used for redefining the rollover pitch for the axis in
the system question. It may be used, for example, to program a
Optional non-rollover rotary axis with rollover values and vice
versa.
Lim- Number Taken from Used for redefining the lower operating limit for the axis
the system in question.
Optional
Lim+ Number Taken from Used for redefining the upper operating limit for the axis
the system in question.
Optional
Axis dynamics
Some dynamic characteristics of the axis set in the system may be varied. These variations are
only active in the G61/G60 section being machined. The syntax of the three-letter code is as
follows:
Name Character Obligatory Axis name as defined in the three-letter code (AXI).
Vmax Number Taken from Used for redefining the maximum speed at which the
the system axis may be moved when a machining operation in G01
Optional is in progress. It must be defined in mm/min.
Amax Number Taken from Used for redefining the maximum acceleration at which
the system the axis may be moved when a machining operation in
Optional G01 is in progress. It must be defined in mm/sec2.
Jmax Number Taken from Used for redefining the maximum Jerk to which the axis
the system may be moved when a machining operation in G01 is in
Optional progress. It must be defined in mm/sec3.
Vrap Number Taken from Used for redefining the maximum speed at which the
the system axis may be moved when a machining operation in G00
Optional is in progress. It must be defined in mm/min.
Arap Number Taken from Used for redefining the maximum acceleration at which
the system the axis may be moved when a machining operation in
Optional G00 is in progress. It must be defined in mm/sec2.
Jrap Number Taken from Used for redefining the maximum Jerk at which the axis
the system may be moved when a machining operation in G00 is in
Optional progress. It must be defined in mm/sec3.
Example
Setup for machine with 3 axes:
END OF CHAPTER
GENERAL
This chapter discusses interprocess commands, i.e. instructions that allow the programmer to
synchronise parallel part program execution various processes or to shift the "axes" resource
between processes in order to meet specific requirements.
WAI Puts the current process on wait until another message arrives from
another process
If the (WAI,Pn) instruction is executed by a part program EXE, the process must wait for a
message from process <n>. The system looks for the message in the MESSAGE QUEUE:
− If the message is not found in the MESSAGE QUEUE, the process puts itself on WAIT and
suspends part program execution.
− If the message is in the MESSAGE QUEUE, part program execution continues and the
message is deleted from the message queue.
− If the queue contains a message coming from a process other than <n>, the message is
not deleted but it is kept aside in order to be utilised when a WAI for the appropriate process is
programmed.
The process can exit from WAIT mode only when the queue contains a message coming from
the process specified in WAI.
If the message is synchronous, the process that sent SND goes on WAIT and waits for an
ACK (acknowledge to use the message) from the destination process;
If the message is asynchronous, the process that sent SND continues executing the part
program without waiting for the message to resume the SND destination process.
A process (e.g. process 1) cannot send another process (e.g. process 2) more
IMPORTANT than one message at a time, at least not until process 2 exits from WAIT and the
message is cleared from the queue. However, the sender can send messages to
other processes (e.g. process 3).
The message queue may be cleared by resetting the process or enabling another
IMPORTANT part program.
Exchanging data
Commands SND and WAI permit the exchange between processes of data, such as local or
system variables, constants, strings.
The data is sent to (SND) or received (WAI) from the processes in question and may be specified
in programming of the respective functions; for further details, see the syntax of the two three-letter
codes on the following pages.
This is to avoid unwanted messages remaining in the "MESSAGE QUEUE" of the processes,
which could lead to malfunctionings.
Channels table
The channels table is a internal system table, containing the identifiers of the logic channels on
which a process can operate, where channel is taken to mean a remote or local environment.
Each process has its own table, each of which contains 40 channels. When the system is powered
on, it defines by default the 20 local processes as the first 20 channels of the table, identifying them
with numbers 1,2,3,4.....20.
In the event of 10 Series systems connected in a network through the option MINI DNC E65/E66 or
higher, other channels may be defined in the table by associating the identifiers (1÷40) with remote
environments previously configured with the option MINI DNC.
If a value from 1 to 20 was used as the identifier of a remote environment, the corresponding local
process is deleted from the channels table.
The three-letter code DCC allows the programmer to define the channels of the table of the
process it is programmed in.
Syntax
where:
channel number Number of the channel being defined; may be a number or a local or system
variable, of value between 1 and 40.
channel name Name of the remote environment defined with the network configurator of the
MINI DNC option.
Characteristics:
The channel defined with this command must be configured previously with the MINI DNC option.
Among the types of channel that may be defined with MINI DNC, command DCC can operate on
two predefined types.
Examples:
(DCC,25,remote_1) ;defines channel n° 25
(WAI,P25) ;wait for message from channel (remote process) n°25
(PRO,25)
(EXE,PROGRAM) ;run part program on remote process n°25
NOTE:
Each command issued must be consistent with the type of channel it is sent to.
For example, if a command accepted from the process channels (e.g. WAI, SND,EXE) is sent to a
channel type 2, the system returns an NC221 Wrong process type error.
Three-letter code PVS permits reading and writing of PLUS variables to be rerouted to a type 2
remote channel, previously defined with the DCC command.
Syntax
where:
channel number Number of the channel being defined; may be a number or a local or system
variable, of value between 1 and 40.
Characteristics:
After programming the PVS command, reading and writing of the PLUS variables (SN, SC, L) and
@xxxx, $xxxx (with ASSET option enabled) occurs on the remote channel selected.
If the channel specified is not type 2 (defined with the network configurator), the system returns
error: NC221 Wrong process type.
If the channel specified was not defined previously with DCC, the system returns error: NC220
Process undefined.
The PRO command allows the programmer to specify the process synchronisation commands
refer to. The process number is an optional parameter in all commands of this type.
Syntax
where:
process number It can be a number or a system or local variable in the 1-20 range (1-40 with
E65/E66 option). If it is omitted the system will select the default process.
SND allows to send a synchronisation message and data to the specified process.
Syntax
where:
process number Destination process number (from 1 to 20, or 1 to 40 with the E65/E66 option).
It can be a number, a local or system variable.
If it is the number of the process the SND command is executing, an NC222
Wrong process number message will be generated.
If it is omitted, the information will be sent to the default process declared with
PRO.
data The data (optional and max. 20 items) may be Long Real numbers, strings
between quotes, and local or system variables.
The system reads the programmed data and transmits them to the specified
process together with the synchronisation message. It may send up to 20
parameters, which may occupy up to 174 bytes.
The length of the various data types is as follows:
Example:
(SND,P1,S,E1,SN12,"TOOL",SC0.30,@BOOL_PLUS(0),33.6)
E1 Long Real 9
SN12 Long Real 9
"TOOL" String 6
SC0.30 String 32
@BOOL_PLUS(0) Boolean 2
33.6 Long Real 9
The system generates the NC224 Data sending too long error if there is an attempt to send more
than 174 bytes.
− Error situations:
The NC225 Data loading failed error message occurs in two cases:
WAI puts the process on WAIT for a synchronisation message sent by a specified process. If the
message is available in the message queue, part program execution continues and the receiver
responds to the sender task no matter whether the synchronous SND has been executed or not.
Syntax
where:
process number Sender process number (from 1 to 20, or 1 to 40 with the E65/E66 option). It
can be a number, a local variable or a system variable.
variable List of the variables, maximum 20, in which to receive the alphanumeric
values arriving with the synchronisation message. If number or type of the
variables programmed is not consistent with those sent, the sender process is
sent error message NC255 Data loading failed (see also the SND command
for further details).
PROCESS 1 PROCESS 2
(PRO,2) (SND,P1,A)
;the message is sent to
;process 1 and the part program
;is executed
;the message is
;in process 1 queue
(WAI) (WAI,P1,E44,E2,!MY_USER1.5CH)
;WAIT (from process 1)
;the message is
;already in queue; the part ;message from process 1 arrives and:
;program resumes
(SND,S,E3,34,"PIPPO") ;1) The content of variable E3 of process 1
is copied in variable E44
;2) 34 is copied in variable E2
;Wait for synchronous SND ;3) "PIPPO" string is copied in variable !MYUSER.5CH
;4) The message is deleted from the message queue
;5) P.P. execution restarts
Syntax
where:
part program name Name of the part program to be executed in AUTO mode. It may be up to 48
characters long. It may be a string of characters (not between quotes) or a
character variable preceded by ?.
process number Number of the process (from 1 to 20, or 1 to 40 with E65/E66 option) that
runs the program. It can be a number, a local variable or a system variable.
If it is the number of the process that is executing the EXE command, an
NC222 Wrong process number message will be generated.
If it is omitted, the information will be sent to the default process declared
with PRO.
Characteristics:
The EXE command forces execution of the specified process in AUTO mode, and activates and
launches the part program (CYCLE ON). Both AUTO and CYCLE ON can be filtered by the
machine logic.
If AUTO or CYCLE ON are received by a process that cannot execute them because it is on
CYCLE STOP, RUN or HOLD, the NC227 EXE or ECM failed error message will be displayed.
Examples:
(EXE, MAIN_PROG ,P3) activates execution of the MAIN_PROG program by process 3
(PRO,2)
SC1.10="MAIN_2"
EXE,?SC1.10) activates execution of the MAIN_2 program by process 2
Syntax
where:
process number Number or the process number from 1 to 20 (1 to 40 with E65/E66 option)that
runs the program. It can be a number, a local variable or a system variable.
If it is the number of the process executing the EMC command, an NC222
Wrong process number message will be generated.
If it is omitted, the information will be sent to the default process declared with
PRO.
Characteristics:
The EMC command forces the destination process in MANUAL mode, sends the specified
command to it and executes it via CYCLE ON. Both AUTO and CYCLE ON can be filtered by the
machine logic.
The ECM command is of the asynchronous type: this means that after executing ECM, the part
program continues with the following blocks irrespective of whether the command sent via ECM to
another process has been concluded or not.
It is therefore important not to execute another ECM command on the same process until the
execution of the previous command has been completed.
If this occurs, the “NC 227 EXE or ECM command failed” error is signalled.
If MANUAL or CYCLE ON are received by a process that cannot execute them because it is on
CYCLE STOP, RUN or HOLD, the NC227 EXE or ECM failed error message will be displayed.
Examples:
(ECM,"E1=12",P2) Sets to 12 the value of local variable E1 in process 3
(PRO,2)
SC0.5="E1012" Prepares the command in variable SC0.5
(ECM,SC0.5) Executes ECM for a command written in the content of the variable
SHARED AXES
General
The "shared axes" feature allows one or more processes to acquire or release axes resources. An
axis is acquired or released by associating its name (X,Y,Z) to one of the identifiers configured in
AMP (from 1 to 32).
• the axis is configured in AMP and the identifier exists in the configured processes;
• the axis has been released from all processes;
• the axis name is specified in the program;
• the identifier (ID) is a number between 1 and 32 and is associated neither to a spindle nor to an
auxiliary axis;
• the name to be assigned to the axis is not used for a pseudo axis in a process.
GTA allows one or more axes to shift between processes. In addition, it redefines the axis/offset
association and sets the sequence in which axes are displayed.
Syntax
where:
T value value = 0 loose activate origins (this is the same as omitting the T0
parameter)
value = 1 maintain active origins on the re-programmed axes (with the
same name, ID and order) and on the programmed axes with a
different name but the with the same ID and order.
value = 2: maintain active origins on all set axes, regardless of the
programming origin of the ID’s.
/ Is the separator between the axis name and the optional length offset.
axis_1_name Are the axes to which length offsets 1 and 2 will be applied the next time an
Characteristics:
• In a GTA block you must declare all the controlled axes, including those already belonging to
the process.
• If an axis is not specified in a GTA command it will be released and made available to other
processes.
• When a GTA command is executed the axes are displayed in the order in which they are
specified. GTA can be used for changing this order.
• The RESET command cancels the changes made by GTA.
• At power up axes and processes will be associated as in AMP.
• When the control executes a tool change or enables an offset, the axes to which length offsets
are associated must already be controlled by the process.
INHIBITING GTA
Interpolation plane
• The interpolation plane is defined by two of the first three axes programmed by the current G
(G17, G18, G19). If GTA defines less than three axes, the first and second axes will be forced
as abscissa and ordinate.
• To ensure correct operation, the desired plane must be programmed with G16.
Origins
• If the "Tvalue" parameter is omitted or set to "value=0", the active origins will be reset and the
RESET ORIGINS logic function is called with the list of axes controlled by the process.
• If the "Tvalue" parameter is set to value=01, the origins will be maintained on the reprogrammed
axes with the same name, ID and order and on the programmed axes with a different name but
the same ID and order.
Mirror:
• If the “Tvalue” parameter is set as value = 2, the origins will be maintained on all programmed
axes, even if their ID’s are not the same.
• Mirroring is reset for all axes
Scale factors:
• Scale factors are reset for all axes
ROT rotation:
• Rotation programmed with a ROT command will be cancelled.
Travely limits:
• Travel limits for all the axes return to configured values.
Length offsets
• The axes identifiers to which length offsets 1 and/or 2 are associated will be programmed as an
option on GTA. Default associations defined in AMP will be lost. They will be restored after the
control has been switched on again.
• Locked axes
• Plane rotation activated with through a manual PROGRAM SETUP command
• Incremental and provisional origins
Example 1:
Initial conditions:
− Controlled axes are X (with ID 1) and Y (with ID 2).
Goals:
− Maintain control over axes X and Y (ID 1 and 2)
− Acquire axes associated to ID 5 and 6 and name them Z and A
− Associate length offset 1 to axis Y (ID 2)
− Associate length offset 2 to axis Z (ID 5)
− Obtain the following display order: X, Y, Z, A.
Programming example:
(GTA,X1,Y2,Z5,A6/Y,Z)
Programming all the axes (new and old) is mandatory. It permits to reassign axes
IMPORTANT names and including those already belonging to the process is mandatory and
allows to redefine both the axis names and the display order.
Example 2:
Initial conditions:
− Controlled axes are X (with ID 1) and Y (with ID 2).
Goals:
− Release axes X and Y (ID 1 and 2)
− Acquire axes associated to ID 5 and 6 and name them X and Y
− Associate length offset 1 to axis Y (ID 6)
− Obtain the following display order: X, Y.
Programming example:
(GTA,X5,Y6/Y)
Example 3:
Initial conditions:
− An indefinite number of controlled axes
Goals:
− Release all its axes
Programming example:
(GTA)
Example 4:
Initial conditions:
− Controlled axes are X,Y,Z,A,B with ID 1,2,3,4,5.
Goals:
− Retain control of X and Y axes with (ID's 1 and 2)
− Release axes Z, A and B (with ID's 3, 4 and 5)
− Associate length offset 1 to axis Y (ID 6)
− Obtain the following display order: X, Y.
Programming example:
(GTA,X1,Y2/X,Y)
Example 5:
Initial Conditions:
− Controlled axes are X,Y,Z axes with ID 1,2,3.
− To the X,Y,Z axes, the 1 origin is associated.
Goals:
− Retain control of the axes with ID 1 and 2 (X,Y).
− Release the axis Z (ID 3).
− Acquire the P axis with ID 4.
− ssociate length offset 1 with the P axis (ID 4).
− Obtain the following display order: X,Y,P.
− Loose the origin associated to all axes.
Programming example:
(GTA,TO,X1,Y2,P4/P)
Example 6:
Initial Conditions:
− Controlled axes are X,Y,Z axes with ID 1,2,3.
− To the X,Y,Z axes, 1 origin is associated.
Goals:
− Retain control of the axes with ID 1 and 2 (X,Y).
− Release the axis Z (ID 3).
− Acquire the P axes with ID 4.
− Associate the length offset 1 with the P axis (ID 4).
− Obtain the following display order: X,Y,P.
− Retain the associated origins with the axes with ID 1 and ID 2.
Programming example:
(GTA,T1,X1,Y2,P4/P)
Example 7:
Initial Conditional :
− Controlled axes are the X,Y,Z axes with ID 1,2,3.
− To the X,Y,Z axis 1 origin is associated.
Goals:
− Retain control over the axis with ID 1 (X).
− Retain control over the axis with ID 2 ID 2 (Y) changing the name to (A).
− Release the Z axis (ID 3).
− Acquire the P axis with ID 4.
− Associate the length offset 1 with the P axis (ID 4).
− Obtain the following display order: X,A,P.
− Retain the origin associated with ID 1 and ID 2.
Programming example:
(GTA,T1,X1,A2,P4/P)
Example 8:
Initial conditions:
Goals:
Programming example:
(GTA,T2,Y1,X2,B4/B)
Example 9:
Initial conditions:
Goal:
Programming example:
Axis ID 4 already belonging to the process and shared with the logic
Axis ID 3 already belonging to the process and shared with the logic
Axis ID 1 already belonging to the process, but under a different name
Axis ID 2 already belonging to the process, but under a different name
Get Axes command
NOTE:
An axis shared with the logic cannot be released through a GTA command (the system gives out
error message NC124) and, needless to say, since it belongs to the logic, even though it is visible
from the process environment, it cannot be programmed.
Hence, if you want to use the GTA command on a process involving one or more axes shared with
the logic, you must first reconfirm such shared axes as described in the example.
Error Management
If an error such as axis resource not available, ID axis not found, etc. occurs during part program
execution, the programmer may stop the program and display the error or manage it from the
program through the ERR and STE variables.
;N1 SINUS_AM
;N2 ESECUZIONE SU PROC.1
;N3 ACQUISIZIONE ID9-ID10 (NUOVI ASSI A-B) DA PROC. 2
N6 (EXE,GTA1_AM,P2)
N7 (DLY,0.1)
N8 (GTA,X1,Y2,Z3,A9,B10,-Z)
N9 T1.1M6
N10 S1000M3
N11 G0G90XYZAB
N12 G1G91G28
/N13 (UGS,1,Z,-80,80,Y,-50,50,Z)
N14 E25=0.03
N15 X0.2713Y0.0947Z-0.1852A-0.1815B0.1007tE25
N16 X0.2711Y0.0886Z-0.1887A-0.1776B0.1066tE25
N17 X0.2708Y0.0825Z-0.1922A-0.1736B0.1125tE25
N18 X0.2703Y0.0764Z-0.1955A-0.1696B0.1184tE25
N19 X0.2697Y0.0702Z-0.1987A-0.1654B0.1241tE25
N20 X0.2689Y0.0640Z-0.2017A-0.1610B0.1299tE25
...................................
...................................
...................................
N2010 X0.2697Y0.1241Z-0.1654A-0.1987B0.0702tE25
N2011 X0.2703Y0.1184Z-0.1696A-0.1955B0.0764tE25
N2012 X0.2708Y0.1125Z-0.1736A-0.1922B0.0825tE25
N2013 X0.2711Y0.1066Z-0.1776A-0.1887B0.0886tE25
N2014 X0.2713Y0.1007Z-0.1815A-0.1852B0.0947tE25
N2015 G0
N2016 (SND,P2,S)
N2017 (GTA,X1,Y2,Z3)
N2018 M30
END OF CHAPTER
10 Series CNC systems permit to program a geometric profile on the plane using either the
standard programming language (G1-G2-G3) or GTL, a high level programming language.
GTL makes it possible to use the information provided by the drawing in order to program a profile
made up of straight lines and circles. The 10 Series CNC calculates tangency and intersection
points between these elements.
GTL and standard programming codes can be used in the same program but not in the same
profile. GTL requires absolute programming mode (G90).
ORIENTED GEOMETRY
With GTL a profile definition is based on four geometric elements:
− reference origins
− points
− straight lines
− circles
A profile is defined not only by its geometric elements but also by a direction of motion. GTL
defines the profile elements according to an oriented geometry. For each element you must
provide its coordinates on the plane as well a direction.
For example, through points A and B pass two straight lines: I', which moves from A to B, and I,
which moves from B to A.
l l'
A B
GTL programming, which is based on oriented geometry, requires the assignment of an assumed
direction for each line
By convention the direction of a line is given by the angle formed between the
IMPORTANT line and the positive X semiaxis.
To obtain the angle rotate the positive X semiaxis until it has the direction of the straight line to be
defined. The angle will be positive if the positive X semiaxis rotates counterclockwise; it will be
negative if the positive X semiaxis rotates clockwise.
Y+ Y+
a+ a-
X+ X+
The radius of a positive circle has a positive sign whereas the radius of a negative circle has a
negative sign.
Y+ Y+
r>0 r<0
X+ X+
If necessary you can reassign the direction of an element during profile definition.
Lower cases are mandatory, because the NC language uses the same letters in capitals to
designate other parameters.
Geometric elements must be saved in the program before defining the profile.
GTL straight lines, circles, points, reference origins are geometric variables identified by a NAME
and an INDEX. The element must be defined in an assignment block.
where
expression provides all the information that defines the geometric element.
- directly (explicitly), by writing in a block all the necessary information about the geometric
element;
The maximum number of geometric elements must be specified in the system configuration.
The syntax of a geometric definition includes a comma (",") as separator between two geometric
elements (straight line - point - circle) or between a geometric element and the subsequent
parameter ("r" radius or "a" angle).
Examples:
p1 = X30 Y30 the separator must be omitted
c1 = l10 J20 r30
point point
circle point
point angle
p5 = c1, c2
circle
circle
radius
straight line
straight line
l3
Y
p2
p1
c1
X
p1 = c1, l3
p2 = c1, l3, s2
GEOMETRIC DEFINITIONS
NOTE:
Two dots in a definition idicate that a numerical value is mandatory. Parameters enclosed between
square brackets [ ] are optional and may be omitted.
Function GTL permits to define reference origins using a direct (explicit) format.
Description The information provided by the program typically describes one system of
axes that correspond to the machine axes.
For specific design purposes, however, the part may have been drawn
according to other cartesian systems, such as the absolute system or other
origins obtained by translating or rotating the axes.
The GTL geometry may be defined for any system of axes.
Direct format:
where
Example:
Y
Y
o4
DEFINITION OF POINTS
Function GTL permits to define points both directly (explicitly) or indirectly (implicitly).
The definition may be written in cartesian or in polar coordinates.
Description The polar reference system consists of an origin (pole) and an X semiaxis
also known as polar axis.
polo X
O
Polar axis
Each point on the plane (P) may be defined by its module (i.e. the length of the segment through
the point and P) and the value of the angle formed by the polar axis and the P-pole segment.
polar axis X
O
α
m
Polar coordinates
Direct format
Indirect format
pn = In, In'
where
pn is the name of a point whose index (n) is a number ranging from 1 and the configured
maximum.
[on] defined reference origin to whose n index refer the X and Y coordinates
[-]ln predefined straight lines with indexes n and n'. The direction may be inverted by writing
[-]ln a "-" sign
NOTE:
In intersections between straight lines and circles, there are always two possible intersection
points. The c1 circle and the l2 straight line intersect in points p1 and p2. If you move along the l2
straight line, the first intersection point is p1 and the second intersection point is p2 . To select the
second intersection (p2) use the s2 discriminator. If s2 is omitted, the default intersection point will
be the first one (p1).
l2
p2
p1
c1
In circle-circle intersections there are also two possible solutions. The intersection points between
c1 and c2 are p1 and p2. Take the oriented straight line through the centers of the first and the
second circles. This line devides the plane into two halfplanes. To select a point from the right hand
halfplane (p2) write the s2 discriminator. If s2 is omitted, the default selection will be the point from
the left hand halfplane (p1).
p1
p2 c2
c1
X
Circle-circle intersection.
p1
160
p1 = X30 Y160
X
30
20
30
p2 = m55 a60
l2
p1 = l1, l2
p1
p1 = l4, c3
p2 l4 p2 = l4, c3, s2
p1 = -l4, c3, s2
p1
p2
c1
X
Function GTL permits to define straight lines both directly (explicitly) or indirectly
(implicitly). The definition may be written in cartesian or in polar coordinates.
Description The straight line is directed from the first to the second defined element. If the
straight line is tangent to a circle there are two possible solutions because the
straight line may be tangent to either side of the circle. To select one solution
check that the circle and the straight line have the same direction in the
tangency point.
c3
l2
p1
Y
c3
l2
p1
Direct format
Straight line through a point that forms an angle with the abscissa axis:
Straight line tangent to a circle that forms an angle with the abscissa axis:
Indirect format
ln = pn, pn'
Straight line through a point that forms an angle with the abscissa axis:
ln = pn, a..
ln = [-]cn, [-]cn'
Straight line tangent to a circle that forms an angle with the abscissa axis:
ln = [-]cn, a..
ln = [-] cn, pn
ln = pn, [-]cn
ln = [-]ln, d..
ln = [-]cn, a..
where
ln identifies the name of the straight line whose index n is a number from 0 through
the configured maximum
a.. angle formed by the abscissa axis and the straight line (positive if
counterclockwise)
[-]cn predefined circles with indexes n and n'. To ensure compatibility between the
[-]cn' direction of the straight line and that of the circle in the tangency point, you may
write the - sign to change the direction of the circle.
d.. distance between two straight lines. It is positive if looking in the direction of the
predefined straight line the straight line is on the left hand side. It is negative if
looking in the direction of the predefined straight line the straight line is on the
right hand side.
70
Straight line through two points
20 l1
40 60
l1
15
l2
Z
10 45
50
l2
Y
Y
l5
X
X
Y l1
80
X
60
10 03
X
25
35
Straight line tangent to two
circles
l3 X
25 70
35
Straight line tangent to two
circles
l4
25 70 X
p8
l9 X
Y l1
l1 = p1, c1
p1 -c1 l2 = p1,-c1
l2
c1
Straight line tangent to two
circles
c2
l3 = c1,c2
l3
X
c2 l4 = -c1,c2
l4
l3 = p1,a30
30°
p1
Y
l1 l2
l1 = c1,a50
l2 = -c1,a50
-c1
l2
l3 l2 = l1,d20
l3 = l1,d-15
Y
l3
Straight line parallel to
another straight line
l2 = -l1,d-50
X
l2
-l1
DEFINITION OF CIRCLES
Faction GTL permits to define circles both directly (explicitly) or indirectly (implicitly).
Description When defining circles indirectly, the programmer must check the compatibility
between the directions of the circles and write a "-" sign to alter the direction of
a predefined element. Given a circle of known radius and a straight line (and
regardless of their directions), there are from 1 to 8 solutions to a circle tangent
to two elements, as shown in the figure below:
After checking that the directions of the predefined elements are compatible with that of the circle
to be defined, there are two possible solutions.
To select one of the two possible circles (both of which have the same radius and the same
direction), it is necessary to check the direction of the elements specified in the definition and the
two arcs in which the resulting circle will be divided by the points of tangency with the predefined
elements. GTL always generates a circle that goes from the first to the second arc corresponding
to the smallest central angle, as shown in the figure below:
c2
l1
c4
c3
The c3 circle can be obtained by writing in the definition first the l1 straight line and then the c2
circle, because c3 allows to move from l1 to c2 (whose arc corresponds to the smallest angle).
The c4 circle can be obtained by writing in the definition first the c2 circle and then the l1 straight
line, because c4 allows to move from the c2 (whose arc corresponds to the smallest angle) to l1.
The same criteria must be applied when programming a circle tangent to two predefined circles.
Also in this case there are from 1 to 8 possible solutions, as shown in the figure below.
After checking compatibility of directions between predefined circles and programmed circles, there
are only two possible solutions left.
To select one of them, consider the two arcs into which the new circle is divided.
Direct format
Indirect
cn = [-]ln,[-]cn,r..
cn = [-]cn,[-]ln,r..
Circle of known radius through a predefined point, tangent to a predefined straight line:
cn = pn,[-]ln,r..
cn = [-]ln,pn,r
cn = [-]cn,[-]cn',r
cn = pn,[-]cn,r..
cn = [-]cn,pn,r..
cn = pn,pn',r..
cn = pn, [-]ln'
cn = pn,[-]cn [,s2]
cn = pn,pn',pn''
cn = pn,r..
Circle concentric to a predefined circle and lying at a known distance from it:
cn = [-]cn,d..
where
[-]ln predefined straight lines whose indexes are n and n'. To program the opposite
[-]ln' direction write a "-" sign.
[-]cn predefined circles with indexes n and n'. To program the opposite direction write a "-"
[-]cn' sign.
d.. distance between two circles. Look in the direction of [-]cn: if cn' is on the right hand
side, d is positive; cn' is on the left hand side, d is negative.
c2
Circle with center and radius in
cartesian coordinates
c2=I50J100r-40
100
50
c1=o1I20J20r-15
o1 c1
Y
l2
c3
c3 = l1,l2,r-15
l1
c2
c3 c3 =l1,-c2,r8
c4 = -c2,l1,r8
r8
-c2
c9 = -c2,l1,r-8
c10 = l1,-c2,r-8
Y c4
l2 c4 = -l2,c1,r-40
c5 c5 = c1,-l2,r-40
-l2
Y l1
c4
c3
p1
Circles through a point and
-l1
tangent to a straight line
c3 = p1,-l1,r25
c4 = -l1,p1,r25
c5 = c1,c2,r-8
c6 = c2,c1,r-8
c9 = -c2,c1,r-8
c10 = c1,-c2,r-8
c3 c2 = c1,p1,r60
c3 = p1,c1,r60
p1 c1
c2
c1 = p1,p2,r20
c2 = p2,p1,r20
l2
c3 c3 = p1,l2
p1
c3
p2
c1 = p1,r-40
c6 = c5,d-10
DEFINITION OF A PROFILE
Profile types
A profile is a sequence of predefined geometric elements. Profiles may be open or closed.
Open profiles
In an open profile the starting point is different from the end point (pn).
Tool radius offset is perpendicular to the first point of the first element and to the last point of the
last element.
To open tool offset radius on the first profile point you must program G21 G41/G42 in the block. To
close tool offset radius on the last profile point you must program G20 G40 in the block.
Closed profiles
To obtain a closed profile you must first program the last element and then re-call the first
programmed element.
The first offset point in the profile is the intersection between the first and the last translated
elements (first point = last point).
Tool radius offset must be opened at profile start, i.e. on the block that programms the last
element, by programming codes G21 G41/G42. To close tool offset radius at profile end you must
program G21 G41/G42 in the block.
If the first or the last element are circles, there are two possible intersections. By default the system
selects the first intersection. To select the second intersection, write s2 both in the block that
programs the last element at profile start and in the block that programs the last element at profile
end.
Allowed G codes
The only G codes accepeted by GTL are as follows: G27, G28, G04, G09, G41 and G42.
If pn is programmed in the starting profile block then the profile is open. pn may
IMPORTANT be programmed both at profile start and at profile end but cannot be programmed
in the profile.
Open profile
c1
First point Last element
p1 l1 p2
c2
................
l1 = X Y25,a
p1 = X-20 Y25
p2 = X90 Y25
c1 = I30 J25 r-14
c2 = I45 J25 r15
................
G21 G42 p1 - first point
l1
r3
c1 s2
c2 s2
l1
G20 G40 p2 - last point
................
Tool radius offset must start on the first point of the profile and end on the last
IMPORTANT point. Tool radius offset is disabled on the first motion block of the plane axis
programmed after G40.
Closed profile
l1 l5
First element
Last element
.................
l5 = X Y-15,a180
.................
l1 = X-30 Y-15,a135
.................
G21 G42 l5 - last element
l1 - first element
.................
l5 - last element
G20 G40 l1 - first element
l1
c1
First element
l5
c1 = I.. J.. r
.....................
l1 = X.. Y.. a90
.....................
l5 = X.. Y..,a180
.....................
G21 G42 l5 s2 - last element
c1 s2 - first element
l1
.....................
l5 s2 - last element
G40 c1 - first element
.....................
Tool radius offset must be opened on the block that programs the last element of
IMPORTANT the profile and end on the block that programs the first element of the profile.
Tool radius offset is disabled on the first motion block of the plane axis
programmed after G40.
Non-contouring axes can be moved on any point in the profile, for example, to penetrate the part.
Spindle axis motion at the first point must be programmed after the point in open profiles, and
between the definition of the last support element and that of the first element in closed profiles.
Examples:
........ ........
G21G42 p1 G21G42 l5
Z-10 Z-10
l1 l1
....... .......
N24 l1
N25 c1
N28 c1 s2
N29 l1
N33 c1
N34 c2
N36 c1 s2
N37 c2
In straight line-circle intersections, the sequence of solutions is given by the direction of the line. In
circle-circle intersections the first intersection is on the left hand side of the straight line that links
the centers of the first and second circle, whereas the second intersection is on the left hand side
of the straight line that links the centers of the first and second circle.
2. Automatic radiuses
GTL permits to define radiuses between elements by simply programming the radius length and
sign. A positive value defines a counterclockwise radius; a negative value defines a clockwise
radius.
l2 ...................
N20 l1
r8
N21 r-8
l1 N22 l2
...................
r7
c1
...................
N24 l1
N25 r7
N26 c1
r7
N27 r7
N28 l1
l1
r10
...................
N90 c1
c2 N91 r10
N92 c2
...................
c1
If tool offset is enabled, the tool is positioned on the intersection between both geometric elements
translated by the tool radius. To insert a radius between the elements you must program an r0
radius.
no radius
l1
.........................
l1
l2
.........................
l2
radius r0
l1 .........................
l1
r0
l2
.........................
l2
The block with the r radius cannot be programmed either inmmediately after the
IMPORTANT block that includes the G21 or immediately before the block that includes the
G20 code. In other words, the profile cannot either start or end with a radius.
3. Bevels
GTL permits to define a bevel between two lines by programming the bevel length without sign.
The bevel length is the distance to the intersection point.
l2
l1
N30 l1
N31 b3 Bevel
N32 l2
NOTE:
• The block with the b bevel cannot be programmed either inmmediately after the block that
includes the G21 or immediately before the block that includes the G20 code. In other words,
the profile cannot either start or end with a bevel.
• With GTL displacements occur always at the configured feedrate. To program a move at a rapid
rate it is necessary to declare a very high F.
• If the interpolation plane is not formed by axes X and Y you must define the plane and then
program the elements with respect to the its abscissa and ordinate.
Example:
N1 G16BY
N2 l1 = B70,Y40,a150
N3 l2 = B8,Y8,a-95
N4 p1, = l1,l2
N5 l3 = B8,Y8,B70,Y15
N6 c1 = I70,J40,r-25
.........
.........
N12 G21 G42 l2
.........
Example 1
N1 (DIS,"EXAMPLE GTL")
N2 l1=X70Y40,a150
N3 l2=X8Y8,a-95
N4 p1=l1,l2
N5 l3=X8Y8,X70Y15
N6 l4=X50Y,a90
N7 c1=I70J40 r-25
N8 c2=p1,r-20
N9 F250 S800 T1.1 M6M3
N10 GXY
N11 Z-10
N12 G21G42l2
N13 l3
N14 r3
N15 l4
N16 r3
N17 c1
N18 r5
N19 l1
N20 r5
N21 c2s2
N22 l2
N24 G20 G40 l3
N25 GZ2
N23 XY M30
Example 2
Example 3
N1 (DIS,"EXAMPLE 3")
N2 S...F...T1.1M6 M...
N3 o1=X20 Y21 a45
N4 l1=X0 Y-60,a180
N5 l2=X50 Y0,a90
N6 c6=o1 I-38 J-35 r10
N7 l3=c6,a135
N8 l4=c6,a-45
N9 l5=X0 Y-50,a180
N10 l6=X-50 Y-65,a60
N11 l7=X-25 Y0,a90
N12 c3=I-65 J0 r55
N13 c4=I0 J80 r55
N14 p2=c3,c4
N15 c1=p2,r-15
N16 p3=X40 Y80
N17 c2=c1,p3,r40
N18 c5=I55 J80 r13
N19 l8=X70 Y0,a-90
N20 G21 G42 l8
N21 Z-10
N22 l1
N23 r-5
N24 l2
N25 r12
N26 l3
N27 c6
N28 l4
N29 l5
N30 l6
N31 l7
N32 r40
N33 c1
N34 c2
N35 r-5
N36 c5
N37 r-5
N38 l8
N39 G20 G40 l1
N40 G Z20
N41 X... Y... M30
END OF CHAPTER
PROFILE PROGRAMMING
The profile is a program composed by blocks of movement that can be recalled by a roughing or
finishing cycle.
3. Write the profile with the graphic editor.In this case the profile is formed with the support of the
direct geometry available at the editor level and therefore the program will be translated in
output into the ISO language.
• The profile must be completely described in a subroutine, indicated in the following pages as
“profile_name”.
• The blocks contained in the subroutine will have to be ISO/GTL types only, and only the
programming of :
− Axis names and co-ordinates
− Movement G functions (G1, G2, G3 and possible operands)
− Therefore, in general the three-letter commands will NOT be taken into consideration and
neither will any commands that might modify the profile description (origins, mirror, scale
factor)
NOTE:
The non-conformity to the listed points, might lead to a wrong interpretation of the profile described
in the subroutine.
P2 Approach point
and pre-finishing
l5
l4
l3
Pre- finishing
l2 P1
l1
Profile development Finishing
direction
Example : (SPA,PROF1,Z,6,X1,Z2)
where:
profile_name is an ASCII string representing the part program name in which the
profile is described.
axis_name specifies the abscissa or ordinate name (Z o X) along which the roughing
passes must be executed or in which the programmed stock has to be
left.
n_pass specifies the number of roughing passes . It may be a value between 1
and 255.
axis1 stock indicates the machining allowance to be left on axis 1 (normally the X
axis). The value must be positive.
axis2 stock indicates the machining allowance to be left on axis 2 (normally the Z
axis). The value must always be positive.
The stock values must be always positive.
The control decides automatically if the roughing refers to an internal or an external form by taking
into consideration the approach point and the profile direction, and therefore assigns the correct
sign to stock allowance.
The approach point must be external to the roughing field by at least as much as the programmed
stock allowance.
If the profile is not monotonous, (that is it contains cavities), during the executing of the roughing
cycle these are automatically passed over.
The profile must be monotonous for the roughing axis ,otherwise the system
IMPORTANT will display an error.
Therefore, the profile may contains cavities, but as regards the points trend
along the roughing axis, they must be always increasing or decreasing.
Roughing end
Approach point
P1
l1
l2
l3
l4
P2
l5
Profile development
direction
Figure 16-2 Example of a profile roughing with working passes parallel to the X axis
.......... PROF1
.......... p1 = Z-76X140
T1.1 M6 S.. F.. l1 = p1, a-90
G X143 Z1.5 l2 = Z0X100, a0
(SPA,PROF1,X,12,X1,Z1) l3 = Z-60X100, a-30
.......... l4 = Z-15X30, a-60
.......... p2 = Z0X30
l5 = p2, a0
G21 p1
l1
l2
r-18
l3
r-15
l4
l5
G20 p2
P2 Approach point
l5
l4
l3
l2
Roughing end
l1
Profile development P1
direction
PROF2 ..........
p1 = Z0X30 ..........
l1 = p1, a180
l2 = Z-15X30, a120 T1.1 M6 S..F..
l3 = Z-60X100, a150 GX143 Z1.5
l4 = Z-75X100, a180 (SPA, PROF2, Z, 9, X1, Z1)
p2 = Z-75X140 ..........
l5 = p2, a90 ..........
G21 p1
l1
l2
r15
l3
r18
l4
l5
G20 p2
Diagram to determinate the profile development direction according to the approach point.
X+
Profile development Profile development
SPA, Z Approach point SPA, Z
direction direction
1 pass 1 pass
SPA, X SPA, X
1 pass 1 pass
SPA, X SPA, X
1 pass 1 pass
Approach point
1 pass 1 pass Profile development
Profile development
direction SPA, Z SPA, Z direction
X-
The profile development direction must be defined by taking into consideration the direction taken
by the tool to perform the roughing cycle, which is also the profile development direction.
Cycle direction
Profile direction
Cycle direction
Profile direction
Profile direction
Profile direction
Cycle direction
Cycle direction
Approach point
PROF3 ..........
p1 = Z0X62 ..........
l1 = p1, a135
l2 = Z0X68, a180 T1.1 M6 S..F..
l3 = Z-15X0, a90 GX90 Z2
l4 = Z0X76, a180 (SPF, PROF3, Z, 7, X1, Z1)
l5 = Z-38X76, a198 ..........
l6 = Z-77X76, a105 ..........
p2 = Z-97, X86
l7 = p2, a135
G21 p1
l1
l2
l3
r2
l4
r10
l5
r-8
l6
r4
l4
l7
G20 p2
The profile must be monotonous for the roughing axis or the system will
IMPORTANT indicates an error.
Therefore, the profile may present cavities but as regards the points trend
along the roughing axis, it must be always increasing or always decreasing.
90
Finishing
L4 Pre-finishing
68
L3 P2
Profile development
direction
L2
40
L2
20
-47 -20
Figure 16-5 Example of internal para-axial roughing with pre-finishing parallel to the X axis
PROF4 ..........
p1 = Z-47X20 ..........
l1 = p1, a90
l2 = Z0X40, a0 T..S..F..
l3 = Z-20X68, a45 GX15 Z2.5
p2 = Z0X68 (SPF, PROF4, X, 10, X2, Z2)
l4 = p2, a0 ..........
G21 p1 ..........
l1 (CLP, PROF4)
l2
l3
l4
G20 p2
where:
profile_name is an ASCII string representing the part program name in which the
profile is described.
n_pass number of the roughing passes. It may be a value between 1 and 255.
axis_name it is the axis name (abscissa Z / ordinate X) on which the indicated stock
must to be left.
stock1 stock to be left on the finished part in Z / X
stock2 stock on the rough part Z / X
The stock values must always be programmed, even when their value is zero are valid. The same
considerations made for the SPA and SPF macro-instructions must be applied to the approach
point.
Stock in Z
Approach point
Swarf
Swarf
Profile
Stock in X
Approach point
Figure 16-7
..........
..........
T.. S.. F..M..
G X84 Z1
(SPP,PROF5,4,X,0,10,Z,0,0)
..........
..........
PROF5
p1 = Z0X60
l1 = p1, a180
l2 = Z-30X60,Z-50X40
l3 = Z0X40, a180
l4 = Z-70X40, z-90X60
p2 = Z-110X60
l5 = p2, a180
G21 p1
l1
r10
l2
r-10
l3
r-10
l4
r10
l5
G20 p2
(CLP,profile_name)
where:
profile_name is an ASCII string representing the part program name in which the profile is
described.
CLP is the only profiling cycle during which any F functions programmed inside the profile are
used.
P2 Approach point
and pre-finishing
l5
l4
l3
Pre-finishing
l2
P1
l1
Profile development Finishing
direction
..........
T1.1M6 S..F..
GX143 Z1.5
(SPF, PROF2,Z,9,X1,Z1)
X300 Z200
T2.2 M6 S..F..
GX30 Z2
(CLP, PROF2)
GX300 Z200
..........
THREADING CYCLE
The threading cycle allows a cylindrical or taper thread programmed in a single block to be
executed in several passes. The programming format is:
(FIL,axis1 , [axis2 ,] pass, n_ pass [,F .] [,R .] [,G ..] [,P...] [,M .] [,T ..] [,H ..] [,a ...] [,b..] [,r ..] )
where:
axis1 abscissa and/or ordinate axis (normally Z or X)
axis2 name of abscissa and/or ordinate axis (normally Z or X) and final co-ordinate for
the indicated axis (optional, it is programmed in tapered threading)
pitch threading pitch
n_pass number of threading passes. It may be a value between 1 and 255.
F... number of polishing passes. It may be a value between 1 and 255.
Default: 0
R... distance of tool from return part (default value 1)
G... internal/external threading:
0 = external thread
1 = internal thread.
Default: external (0)
P... starts number (default value 1)
M... entry mode
0 = rough-shaping at 1 angle (side)
1 = rough-shaping at 2 angles (zig zag).
Default: 0
T... output mode:
0 = thread with final groove
1 = thread without final groove (tearing)
2 = output with circular interpolation (connection).
Default: 0
H... metric/inches/non-standard
0 = metric thread
1 = whitworth thread
2 = non standard thread with depth and angle defined by parameters a and b.
Default: 0
a... angle of non-standard thread
b... depth of non-standard thread
r... output radius for the exit thread. Obligatory if output mode 2 (T2) has been
programmed.
Parameters included between square parenthesis may be omitted.
When non-standard threads are programmed (H2), the (K) pitch must be:
K> 2 * b * tg (a/2)
NOTES
a) The unit calculates the movements along the thread so that passes are performed with constatn
swarf removal.
In case of threads with mulitples starts, the pitch to be defined is that of a single turn. The
system performs each pass on all starts before executing subsequent passes. The
management of multiple starts principles is carried out without moving the threads start point,
but by introducing an angular displacement with respect to the zero angular position of the
spindle.
b) For thread with a final groove, the theoretical final Z position must be programmed because the
cycle will automatically stop and retract the axes , half a pitch after the theorical final
position.The parameters a (thread angle) and b (thread depth) are required only for
programming non-standard thread (H2).
(a)
Angle
(b) H
H f(pitch) f(pitch) b
Figure 16-9
Cutting point
cycle 1
cycle 2
cycle 3
cycle “n”
Figure 16-10
Cutting point
cycle 1
cycle 2
cycle 3
cycle “n”
Figure 16-11
c) For threads without a final grove, the tool reaches the programmed endpoint and then reaches
the return diameter with a tapered thread.
d) In threads without a final groove, SEMIAUTO must not be used, otherwise the result will be a
final groove .
e) The threading cycle must not be defined in G28.
f) For taper threading, the maximum taper allowed is equal to 1/2 of the thread angle.
N35 T5.5 M6
N36 G0 G97 X24 Z37 S250 M3 M8
N37 (FIL,Z4,2,5,F1,R2)
N38 G0 X250 Z215
where:
axis1 Plane abscissa or ordinate axis name and final co-ordinate of the groove (the
initial co-ordinate must be programmed before defining the groove cutting cycle)
axis2 Name of 2nd axis of plane and internal position of the groove (see the drawing)
width_tool Tool width
coord_external Co-ordinate of top of grove.
B/R Initial radius/bevel (optional)
B/R Final radius/bevel (optional)
Tool Z
4 18
B
7 10 13
1
19 12 14 D
2 3 8 9 11 15
20 5
17
6
22
21 16
X
The TGL command must be preceded by a block of movement in G0/G1 on the cycle beginning
point.
Axis1 Z-20
Axis2 X30
Width-tool 5
Coord-external 40
B/R R1,R0
Axis1 X50
Axis2 Z-5
Width-tool 5
N1 T1.1 M6
N2 G X20 Z5
N3 TMR=2
N4 (TGL,X50,Z-5,5)
The stop time is defined by the three-letter TMR. If a stop is not wanted, program TMR=0 before
the groove cutting cycle.
Axis1 Z-10
Axis2 X40
Width-tool 5
At the cycle end the tool returns to the cycle start point programmed in the previous block.
END OF CHAPTER
TABLE OF CHARACTERS
Following is the punched tape format of the ASCII, EIA and ISO characters recognized by the
control. Note that, depending on the code, there may be odd parity (EIA), even parity (ISO) or no
parity (ASCII) .
CHARACTER DESCRIPTION
0 to 9 • Numbers
+ • Addition
- • Subtraction
* • Multiplication
/ • Division
. • Decimal Point
( • Open Parenthesis
) • Close Parenthesis
[ • Open Parenthesis
] • Close Parenthesis
{ • Open Parenthesis
} • Close Parenthesis
; • Comment Symbol
, • Parameter Separator
CHARACTER DESCRIPTION
= • Assignment Symbol
# • Synchronization
& • Asynchronization
B • Axis name
b • Bevel in cutter diameter compensation
C • Axis name
c • Circle with GTL
D • Axis name
d • Distance with GTL
• Tool diameter (RQP,RQT)
CHARACTER DESCRIPTION
M • Auxiliary functions
m • Normal vector on surface (with n and o)
P • Axis name
p • Point with GTL
Q • Axis name
S • Spindle speed
s • Intersection with GTL
U • Axis name
u • Compensation factors in axis 1 (offset)
V • Axis name
v • Compensation factors in axis 2 (offset)
CHARACTER DESCRIPTION
W • Axis name
w • Compensation factors in axis 3 (offset)
X • Axis name
Y • Axis name
Z • Axis name
G CODES
The table below lists the G codes available with 10 Series systems
G CODE FUNCTION
G00 Rapid axes positioning
G01 Linear interpolation
G02 Circular interpolation CW
G03 Circular interpolation CCW
G04 Dwell at end of step
G09 Deceleration at end of step
G16 Defined interpolation plane
G17 Circular interpolation and cutter diameter compensation in the XY plane
G18 Circular interpolation and cutter diameter compensation in the ZX plane
G19 Circular interpolation and cutter diameter compensation in the YZ plane
G20 Closes GTL profile
G21 Opens GTL profile
G27 Continuous sequence operation with automatic speed reduction on corners
G28 Continuous sequence operation without speed reduction on corners
G29 Point-to-point mode
G33 Constant or variable pitch thread
G40 Disables cutter diameter compensation
G41 Cutter diameter compensation - tool left
G42 Cutter diameter compensation - tool right
G70 Programming in inches
G71 Programming in millimetres
G79 Programming referred to machine zero
G80 Disables fixed cycles
G81 Drilling cycle
G82 Spot-facing cycle
G83 Deep hole drilling cycle
G84 Tapping cycle
G85 Reaming cycle
G86 Boring cycle
G89 Boring cycle with dwell
G90 Absolute programming
G91 Incremental programming
G92 Axis presetting
G93 Inverse time (V/D) feedrate programming
G94 Feedrate programming in ipm or mmpm
G95 Feedrate programming in ipr per revolution or mmpr
G96 Constant surface speed in fpm or mpm
G97 Spindle speed programming in rpm
G72 Point probing with probe ball radius compensation
G73 Hole probing with probe ball radius compensation
G74 Probing for theoretical deviation from point without probe ball radius compensation
G99 Deletes G92
MATHEMATICAL FUNCTIONS
• SIN • SQR • OR
• COS • ABS • NOT
• TAN • INT • FEL
• ARS • NEG • FEC
• ARC • MOD • FEP
• ART • AND
THREE-LETTER CODES
CODE FUNCTION
CODE FUNCTION
CODE FUNCTION
ASCII CODES
The tables that follow show the 256 elements of the extended ASCII character set, together with
their decimal and hexadecimal equivalents.
DEC HEX CHARACTER DEC HEX CHARACTER DEC HEX CHARACTER DEC HEX CHARACTER
BLANK
(NULL) (DLE) BLANK
000 00 016 10 032 20 048 30
(NULL)
(SPACED) 0
001 01 (SOH) 017 11 (DC1) 033 21 ! 049 31 1
002 02 (STX) 018 12 (DC2) 034 22 " 050 32 2
↔
003 03 ♥ (ETX) 019 13 !! (DC3) 035 23 # 051 33 3
004 04 ♦ (EOT) 020 14 ¶ (DC4) 036 24 $ 052 34 4
005 05 ♣ (ENQ) 021 15 § (NAC) 037 25 % 053 35 5
006 06 ♠ (ACH) 022 16 (SYN) 038 26 & 054 36 6
007 07 023 17 039 27 ' 055 37 7
↔
(BEL) (ETB)
DEC HEX CHARACTER DEC HEX CHARACTER DEC HEX CHARACTER DEC HEX CHARACTER
DEC HEX CHARACTER DEC HEX CHARACTER DEC HEX CHARACTER DEC HEX CHARACTER
141 8D ì 157 9D Y
T
173 AD ¡ 189 BD
142 8E Ä 158 9E
Pt 174 AE « 190 BE
DEC HEX CHARACTER DEC HEX CHARACTER DEC HEX CHARACTER DEC HEX CHARACTER
END OF APPENDIX
NC010 Overflow
Expression too long
• The axis specified in the SCF, MIR three-letter blocks is not configured
• An axis coordinate reading error has occurred because the specified axis
does not exist
• The axis specified in the SOL, DPA, UDA, UGS, AXO, UAO three-letter
blocks is not configured or is duplicated
• the axis specified in the AX_SHARE Library call does not exist
• you are releasing an axis shared with the logic through the GTA command.
NC401 HSM Part program not found or open part program error
Possible part program sharing error between the executable modules of the
control.
Reload the program or contact the customer engineering service.
NC403 HSM configuration file not found or open configuration file error
Setup file not present.
Check the presence of the file and the HSM three-letter code that defines the
name
NC411 HSM defined axes not found among the process axis param at line
There must be at least two points between the G61 and G60 codes.
Edit the part program and do not use G61/G60.
NC412 General HSM params must be setted before axis params at line
The setup three-letter code set on the specified line refers to an axis identifier
not associated with the process on which the part program is executed.
Check the setup three-letter code in the manual or the identifiers of the axes
associated with the process.
NC413 Axis params must be setted after general HSM params at line
In the setup file, the general three-letter codes must be defined first and then
the axis setup codes.
Check the setup sequence in the manual.
NC423 Operative limit reached into HSM part program for axis
The software operating limits have been reached for the specified axis.
Check the part program.
NC440 ROT type IJK vector invalid when Tangent axes computation is requested
When working with a tangent axis, the ijk vector must not be ROT type in three-
letter VER code of high-speed set-up file.
NC441 ROT type IJK vector invalid when (TOD) parameters are used
In three-letter VER code of high-speed set-up file, ijk vector cannot be set as
ROT when, for instance, drive chain includes fewer than two rotating axes.
NC442 PRG type IJK vector invalid when type AXI/CLP points are programmed
When programming type (PNT, AXI/CLP... or (PNT, AXI/CCP... points, ijk
vectors cannot be used. Use one of the following instead: (VER, REL/ROT, .....
NC443 REL type MNO vector invalid when type AXI/CCP points are programmed
When programming type (PNT, AXI/CXP... or (PNT, CLP, CCP... points, mno
vectors cannot be used. Use: (VER..., PRG, .....
END OF APPENDIX
GENERAL
This Appendix discusses how the operator can manage errors in order to prevent machining
process interruptions.
The following system variables permit to configure the error management mode:
ERR is a system variable that permits to select how to manage the error.
Syntax
ERR = value
where:
Characteristics:
The tables that follow list a series of programming errors that can be managed from program. For
each error with provide the error code (value written in the STE read-only variable) and a short
description.
In addition, the table shows the NCxx that is displayed when ERR=0. For the complete list of NCxx
codes refer to Appendix B.
Example:
Presence of the part is verified with both methods:
(DPP,30,15,500)
G0 Z50
X80 Y100
ERR = 1
G72 Z0 E1
(GTO,END,STE = 1)
ERR = 0
.......................................
.......................................
"END" (DIS, "PART NOT PRESENT")
M...
.......................................
Since G71,G72,G73 modify the value written in the STE variable when ERR=1,
IMPORTANT we recommend that you use STE immediately after giving a command that
might alter its contents.
Example:
;. . . . .
;. . . . .
ERR = 1
;. . . . .
"RETRY"
(GTA,X1,Y2,Z5) ;Requests acquisition of ID's 1,2,5
(GTO,NEXT,STE<>12) ;Axis error test busy
(DLY,0.5) ;If the axis is busy the program waits until it is released
(GTO,RETRY)
"NEXT"
(GTO,ERROR,STE<>0) ;If other error occurs the cycle will be aborted
G1 X10 Y10 F1000 ;After the axes have been acquired the move is executed
Z50
;. . . . .
;. . . . .
;. . . . .
"ERROR"
;. . . . . ;Error management
END OF APPENDIX
Code: 45004472R
Rev. 06
Tel. +39-0119899711
Web: www.osai.it
e-mail: [email protected]
[email protected]
SUMMARY OF CHANGES
General
This publication was issued together with the release of version 7.4.
INDEX updated
CHAPTER 1
Page 8 Changed tool corrector table
Page 9,10,11,12 Added new pages on I/O management
CHAPTER 4
Page 13 CPY copy file: added example
CHAPTER 5
Page 7 RAP: added parameters and examples
CHAPTER 7
Page 11 FH0: changed parameter
PREFACE
REFERENCES
This publication constitutes an extension of the 10 Series CNC standard programming language.
Further information may be found in the other manuals of the 10 Series:
SUMMARY
1. General
This chapter provides an introduction to the ASSET language and lists the complete set of
ASSET variables.
2. Input commands
This chapter discusses the commands that permit to define and handle manual data entry
windows.
3. Screen management commands
This chapter discusses the commands used for configuring and handling configurable video
screens.
4. File management commands
This chapter describes the ASSET commands used for opening, reading, writing, closing,
deleting and saving ASCII files in the directory of programs.
5. Process management commands
This chapter deals with ASSET commands that permit to read process parameters such as
current and programmed tool number, current and programmed tool offset number, process
state, sub-state and mode, and axes coordinates.
6. Serial line management commands
This chapter describes the commands for management of the serial line: modes of configuration
and operation of the triliteral functions for data reception/transmission.
7. Operating commands
This chapter describes the commands by way of which a process can be issued operating
commands such as CYCLE ON, CYCLE OFF, HOLD, etc.
Appendix A - ASSET error messages
This appendix lists the error messages that may be displayed by the system when executing
ASSET commands.
Appendix B - Error management from part program
This appendix contains information on how to manage certain types of error from the part
program so as not to interrupt execution of the part program itself.
Appendix C - ASSET triliterals table
This appendix provides the complete list of ASSET triliteral functions.
WARNINGS
For correct use of the system, it is important to follow the indications given in the manual, and in
particular those items marked: WARNING, CAUTION or IMPORTANT.
END OF PREFACE
INDEX
GENERAL
INTRODUCTION ............................................................................................................. 1-1
VARIABLES .................................................................................................................... 1-3
User Table Variables ............................................................................................. 1-4
PLUS Tables Variables ......................................................................................... 1-5
Axes Table............................................................................................................. 1-6
Tools Table ............................................................................................................ 1-7
Tool Offsets Table ................................................................................................. 1-8
PLUS I/O.......................................................................................................................... 1-9
Inputs (the first 85 arrays)...................................................................................... 1-9
Inputs (after the 85th array) ................................................................................... 1-10
Outputs (the first 85 arrays)................................................................................... 1-11
Outputs (after 85th array) ...................................................................................... 1-12
FILE ................................................................................................................................. 1-13
ASCII files .............................................................................................................. 1-13
Binary files ............................................................................................................. 1-14
COMMANDS ................................................................................................................... 1-15
LCK - Locking/Unlocking PLUS tables .................................................................. 1-16
INPUT COMMANDS
DIF - Definition of a data field ................................................................................ 2-2
INP - Manual data input ......................................................................................... 2-7
OPERATING COMMANDS
CON - CYCLE ON command................................................................................. 7-2
COF - CYCLE OFF command ............................................................................... 7-3
HON - HOLD ON command................................................................................... 7-4
HOF - HOLD OFF command ................................................................................. 7-5
RES - RESET command........................................................................................ 7-6
SMD - Set operating mode .................................................................................... 7-7
SAX - Select axis for manual movement ............................................................... 7-8
DIR - Direction of manual movements ................................................................... 7-9
JOG - Jog step value ............................................................................................. 7-10
FHO - Enable/Disable FEEDHOLD ....................................................................... 7-11
END OF INDEX
INTRODUCTION
ASSET (Advanced Super Set Extension Tool) is a programming language that enhances
10 Series standard programming capabilities. It provides a set of instructions, variables and
variables handling rules that facilitate customisation of 10 Series functions.
These operations can be carried out by means of specific 3-letter ASSET codes or by writing in the
program blocks the ASSET variables that provide access to parameters that are normally
inaccessible to the programming environment. These commands can be given by the part program
or entered from keyboard, i.e. written by the operator when the system is in MDI mode.
For example, ASSET can be used for programming a machining operation that needs to be
automatically interrupted and kept on hold by the system until the operator fills in a given data entry
window. Each ASSET command described in the manual is supplied with application examples.
Like all high level languages, ASSET must also be used by adequately trained personnel that are
also well acquainted with the characteristics of the system. If inappropriate alterations are made to
the system and logic parameters accessible via ASSET, serious system errors and malfunctions
may occur.
ASSET instructions can be easily combined with the traditional 10 Series programming language.
Actually, ASSET enhances 10 Series programming capabilities by making it possible for 10 Series
commands to handle ASSET variables.
In addition to standard commands, functions and variables, ASSET uses 10 Series syntactic rules
and conventions. For more information about these programming rules and conventions, please
refer to 10 Series CNC Programming Manual.
VARIABLES
ASSET permits to write, read and alter any system variable, with the exception of those to which
special restrictions apply. In doing so it applies the same syntactic rules and conventions as the
standard 10 Series programming language. For more information about standard programming,
please refer to Chapter 7 of 10 Series Programming Manual.
Examples:
$AXORIG(2) Identifies the current origin of the axis whose ID is 2 (read only)
$TSTATUS(25) Identifies the condition of the tool stored in record 25 of the tools table
$TACTL1(125) Identifies the current length of the tool stored in record 125 of the tools offset
table.
User Table and PLUS variables are described later in this chapter. For more information about
local, system user variables, please refer to the following 10 Series documents: Programming
Manual, Characterisation Manual, and PLUS Library Manual.
The records and the variables stored in them are arranged sequentially, as shown in the following
table:
000001 L0 L1 L2 L3
000002 L4 L5 L6 L7
000003 L8 L9 L10 L11
000004 L12 L13 L14 L15
...............
...............
To calculate the index when the position of the cell in the table and the variable are known, the
following formula can be used:
Index = (Record Number - 1) x 4 + (Number of the variable in the record - 1)
For example, the index of the highlighted cell in the table is as follows:
Index = (4 - 1) x 4 + (3 - 1) = 14
To calculate the record number and the variable when the index is known, the following formula
may be used:
Record = (Index / 4) + 1
Variable = [Remainder of (Index / 4)] + 1
For example, L145 addresses record 37 (145 / 4 + 1) and variable 2 (remainder of the division + 1
= 1 + 1).
The table page number coincides with the index that follows the variable name.
The type, number and symbol of a parameter vary from table to table. The sections that follow
illustrate a typical page of each table. For further information about these tables, refer to Chapter 3
of the "PLUS Application Manual".
The ASSET instruction LCK permits to write protect PLUS tables. When write protection is active,
PLUS tables may be accessed only via ASSET. More information about the LCK triliteral is
provided in the final section of this chapter.
Values read or written in PLUS tables using ASSET are not affected by the
current unit of measure (G70/G71) but are considered as absolute values. It
should be remembered therefore that any numeric values representing
lengths are with reference to the machine's unit of measure configured in
AMP; it is up to the operator to perform any conversion required.
Axes Table
Each of the 32 pages in this table is made up of 19 fields identified by a name, as shown in the
example below. The index of each variable can range from 1 through 32 and corresponds to the
axes ID. The index may be a numerical value or another variable.
Example:
To write in variable E1 the value of the current total offset of the axis identified by ID4, which is the
sum of the axis origin, the G92 offset and the tool offset, key in the following instruction:
E1 = $TOT_OFFS(4)
To assign to the origin # 1 of the axis identified by ID 5 the numerical value 1.4, key in the
following:
$ORIG1(5) = 1.4
Tools Table
Each of the 250 records of the table has 13 fields whose ID's are shown in the following diagram.
Each variable can take an index from 1 to 250. They can be expressed by a number or an E
parameter.
* = these fields of the table may have various meanings depending on the configuration and on
how they are used by the machine logic (see the 10 Series User Manual for details).
Example:
To read the code of the tool stored in record 35 key in the following function:
(DIS, $TCODE(35))
To assign to the tool stored in record 42 a life equal to 500 cycles, key in the following:
$LIFETYPE(42) = 3
$MAXLIFE(42) = 500
Example:
If you want to supply the maximum requalification of the length # 1 of the corrector 137 with the
value in the user # 3 variable in the Tool Table at record 35, write:
$TCMAXL1(137) = $TUSER3(35)
If the value of process variable TTR (Thoroidal Tool Radius) has been set or
configured as 1, the fields relating to length # 2 are assumed to coincide with
the size of the tool tip radius (in TCP and HSM applications).
PLUS I/O
PLUS inputs are arranged in 85 11-bit arrays followed by 427 16-bit arrays; outputs are arranged in
85 6-bit arrays followed by 427 16-bit arrays. Accordingly, a total of 7767 inputs and 7342 outputs
has to be managed.
An array and its Input or Output are identified by an I or an O preceded by $ and followed by the bit
index between brackets: $I(index) or $O(index), as in the User Table. For example, $I(35),
$O(812).
The Input/Output arrays can be pictured as tables, as shown in the figures below.
Array bit 0 bit 1 bit 2 bit 3 bit 4 bit 5 bit 6 bit 7 bit 8 bit 9 bit 10
00 $I(0) $I(1) $I(2) $I(3) $I(4) $I(5) $I(6) $I(7) $I(8) $I(9) $I(10)
01 $I(11) $I(12) $I(13) $I(14) $I(15) $I(16) $I(17) $I(18) $I(19) $I(20) $I(21)
02 $I(22) $I(23) $I(24) $I(25) $I(26) $I(27) $I(28) $I(29) $I(30) $I(31) $I(32)
03 $I(33) $I(34) $I(35) $I(36) $I(37) $I(38) $I(39) $I(40) $I(41) $I(42) $I(43)
.........................
.........................
83 $I(913) $I(914) $I(915) $I(916) $I(917) $I(918) $I(919) $I(920) $I(921) $I(922) $I(923)
84 $I(924) $I(925) $I(926) $I(927) $I(928) $I(929) $I(930) $I(931) $I(932) $I(933) $I(934)
To calculate the index from the cell position, i.e. when the array and bit numbers are known, use
this formula:
For example, to address bit 7 from array 03, the $I variable must be assigned the following index:
Index = 3 x 11 + 7 = 40
To calculate the array and bit numbers from the index, divide the index by 11: the ---- will be the
array number and the remainder will indicate the bit number.
For example, the $I(172) variable will address the 15 (172 / 11) array and the 7 (172 - 15 x 11) bit.
Array bit 0 bit 1 bit bit bit bit bit bit bit bit bit bit bit bit bit bit 15
4 5 6 7 8 9 10 11 12 13 14
2 3
85 $I(935) $I(936) $I(950)
..........................
..........................
Array bit 0 bit 1 bit bit bit bit bit bit bit bit bit bit bit bit bit bit 15
4 5 6 7 8 9 10 11 12 13 14
2 3
510 $I(7735) $I(7736) $I(7750)
The formula used to define an index starting from the position of the cell (i.e., the array number and
the bit number), is as follows:
For example, if we want to address bit 13 in array 86 (i.e., the grey-coloured cell), the index of
variable $I must be determined as follows:
In this case, the variable will therefore turn out to be $I(964), as shown in the table. Conversely, if
we want to determine an array and a bit, knowing the relative index, we must subtract 935 from the
index and then divide the value obtained by 16. By adding 85 to the whole number determined in
this manner, we get the array number, while the difference will identify the bit within the array. For
example: for variable $I (7736) we get array 510 ((7736-935)/16+85) and bit 1 ((7736-935) / 16).
...................
....................
To calculate the index from the cell position, i.e. when the array and bit numbers are known, use
this formula:
Examples:
1. To address bit 2 from array 03, the $O variable must be assigned the following index:
Index = 3 x 6 + 2 = 20
The resulting variable will be $O(20), as shown in the table.
2. To calculate the array and bit numbers from the index, divide the index by 16: the integer value
obtained through the division will be the array number and the remainder will indicate the bit
number.
For example, the $O(214) variable will address the 35 (214/6) array and the 4 (214 - 35 x 6) bit.
Ar bit 0 bit 1 bit bit bit bit bit bit bit bit bit bit bit bit bit bit 15
4 5 6 7 8 9 10 11 12 13 14
ray 2 3
85 $O(510) $O(511) $I(525)
..........................
..........................
Ar bit 0 bit 1 bit bit bit bit bit bit bit bit bit bit bit bit bit bit 15
4 5 6 7 8 9 10 11 12 13 14
ray 2 3
510 $O(7310) $O(7311) $O(7325)
The formula used to define an index starting from the position of the cell (i.e., the array number and
the bit number), is as follows:
For example, if we want to address bit 7 in array 86 (i.e., the grey-coloured cell), variable $O must
be assigned the following index:
In this case, the variable will therefore turn out to be $O(533), as shown in the table. Conversely, if
we want to determine an array and a bit, knowing the relative index, we must subtract 510 from the
index and then divide the value obtained by 16. By adding 85 to the whole number determined in
this manner, we get the array number, while the difference will identify the bit within the array. For
example: for variable $O (680) we get array 95 ((680-510)/16+85) and bit 10 ((680-510) / 16).
FILE
10 Series ASSET can manage two types of files:
• ASCII files
• Binary (data) files
Except where otherwise stated, these files are located in default directory E:\FILE or F:\FILE, which
ASSET can access. However it is also possible to read or write with ASSET in files belonging to
other directories. In this case, the full pathname and extension of the file in question must be
specified (e.g. E:\USER\FILE|FILE1.DAT).
These files are located in the E:\FILE or F:\FILE directories, which are accessible to ASSET. Their
main characteristics are discussed in the sections that follow.
ASCII files
ASCII files may contain part programs, messages, etc. They are not formatted and have records of
undefined length that must be written and read sequentially. ASCII files are given the .ASC
extension by the system by default, in cases where the file was opened in read or write mode
without the full pathname and extension being specified.
In an ASCII file it is not possible to read, write or search for a specific record. Maximum record
length is 127 characters.
The system always starts reading an ASCII file from the first record, on which it positions
automatically as it opens the file.
Writing an ASCII file means adding a new record after the last record in the file. To edit an ASCII
file it is necessary to read it sequentially, make the necessary alterations and write a new file that
will replace the old one.
Binary files
Binary files are formatted files that are used for storing the parameters managed by the system, i.e.
variables, numbers, parameters, etc. Records have a fixed length that is declared when the first
record is written. Binary files are given the .DAT extension by the system by default, in cases
where the file was opened in read or write mode without the full pathname and extension being
specified.
For example, to write in a file the tool code with the relevant TUSER1-4 user variables the binary
file record will be as follows:
When the system writes the first record it automatically creates a header that is invisible to the user
and defines the format of all the file records.
Binary file records can be searched for and addressed for reading and writing operations.
Boolean 1
Byte 1
Short 2
Long 4
Real 4
Long Real (Double) 8
String Number of characters in the string.
For example: SC0.4 --> 4 characters --> 4 bytes
Example:
if you write the following variables in a table:
(WRT,1,E1,E5,L3)
The record will occupy 24 bytes because there are 3 double variables and 3 x 8 = 24
(WRT,1,SC0.60,L5,"TEST")
Unless otherwise specified in the reading or writing command, access to the file occurs at the first
record for reading and after the last record for writing. After a record has been read or written the
cursor will position to the subsequent record.
When reading or writing commands including ASSET binary files it is possible to declare a
parameter that specifies the number of the target record.
COMMANDS
ASSET ensures full compatibility with the commands and instructions typical of the standard
programming environment. For more information about parametric programming, please refer to
Chapter 7 of the 10 Series Programming Manual.
Here is a list of syntactic and typographical conventions used throughout the manual:
The function name and the mandatory signs will be printed in boldface type. Mandatory parameters
associated to a function will be indicated by an italicised mnemonics. Parameters may be enclosed
between brackets.
[] Square brackets enclose optional parameters that may be omitted. Do not write these
brackets in the block.
{} Graphs enclose parameters that are alternative to one another and are separated by a |. Do
not write graphs in the block.
| The vertical bar is the separator between two alternative parameters. Do not write this bar in
the block.
Parameters may be expressed by letters, alphanumeric characters and numbers. Letters are used
as keys or to identify the characteristic of a command. Alphanumeric characters identify file and
variable names and are used for messages. Numbers identify parameters, multiple elements, etc.
Non significant zeroes can be omitted.
Example:
(OPN, channel, filename, {A|B}, {R|W})
The three-letter code, the commas and the brackets are mandatory. A is alternative to B and R is
alternative to W.
The sections that follow describe ASSET functions. For each function the following information is
provided:
• Function name
• Meaning
• Syntax
• Mandatory and optional parameters
• Other characteristics and notes
• Examples.
This instruction permits to inform the logic or other applications that the specified table is being
edited and is not accessible to them. After the table has been edited it is necessary to give another
LCK in order to indicate that the table is available.
Syntax:
where:
table number Is a number from 1 to 4 that identifies the write protected table. It can be
expressed as a numerical value, a local variable or a system variable with the
following mening:
1 axes table (origins)
2 tools table
3 tool offsets table
4 user table (L variables).
0|1 Write 1 to indicate that the specified table is write protected by ASSET. If the
table is already reserved by another user, such as PLUS or Table Editor, an
error message will be displayed:
NC270 PLUS Table already locked
This error can be managed from program by setting ERR = 1. For more
information refer to Appendix B.
Write 0 to indicate that the table is no longer reserved for ASSET and can be
accessed by other users.
Characteristics
$xxxxxx or L variables are always accessible and need not be write protected with ASSET.
However, it is recommended to lock the table to make sure that no other user has access to the
memory area written by ASSET.
Use LCK to unprotect a table only when it has been write protected from part program. Otherwise,
you may unprotect a table that was reserved for other users (such as the machine logic).
Example:
The following example shows how to write variables in the Tools Table:
...
...
ERR = 1 enables error management from part program
"LOOP"
(LCK,2,1)
(GTO,LOOP,STE=45) 45 = write protected table; waiting for unlocking command
$TCODE(1) = 12
$TUSER1(1) = 3.45
$TCODE(2) = 13
$TUSER1(2) = 6.21
(LCK,2,0) unprotected tools table
ERR = 0 disables error management from part program
...
...
END OF CHAPTER
Input commands permit to create, customise and manage data entry windows. In particular, they
make it possible to:
• Define the labels of the data entry fields and the destination of input data;
• Define the layout of the data entry window: window size and position, text position, etc.
• Define the background, foreground and text colors.
The three-letter codes that allow to program these features are as follows:
• DIF
• INP
DIF permits to define the size and color of a data entry window that has been programmed with the
INP command. It must be used when the characteristics to be configured are different from the
default ones.
Syntax
(DIF, window number, first line, first column, first field line, first field column, empty lines, number
of fields [,background color, text color, field color])
where:
window number identifies a predefined window. It is an integer from 1 to 10. DIF,0 invokes the
default window, which cannot be modified.
first line is the screen line where the data entry window starts. It is an integer from 0 to
18.
Line 19 is always reserved for error messages.
first column is the screen column where the border of the window is positioned. It is an
integer from 0 to 79 which must obviously be selected according to the length of
the displayed data.
first field line is the line occupied by the first window field declared in the INP block. This field
may be the name of the window or a data field.
It is a value in the 0 to 18 range which depends on the value of the first line
parameter.
first field column is the screen column occupied by the first INP field and measures the distance
from the screen border to the window border in characters. If programmed with
the INP command the field will be automatically centered.
It is an integer from 0 to 79 which must obviously be selected according to the
length of the displayed data.
empty lines is the number of empty lines that separates two subsequent comment or field
lines.
It is an integer from 0 to 18 which must obviously be selected according to the
available space and the length of the displayed data. If you write 0 there will be
no empty lines.
If INP programs only one data entry field, the empty lines value is use for
positioning the lower border with respect to the last displayed line.
number of fields specifies the number of fields to be displayed on the same line. It ranges from 1
to 4. The distance between two fields is 3 characters.
background color (optional) Defines the color of the data entry window background. If it is omitted,
the default background color is blue. Allowed values are between 0 and 7. The
meaning of these values is shown in the Characteristics section.
text color (optional) Defines the color of the name and text displayed in the data entry
window. If it is omitted, the default color is yellow. Allowed values are between
0 and 7. The meaning of these values is shown in the Characteristics section.
field color (optional) Defines the color of the characters and markers entered from the
keyboard on the fields programmed with INP. If it is omitted, the default color is
white. Allowed values are between 0 and 7. The meaning of these values is
shown in the Characteristics section.
Characteristics
• The parameters configured in the background color, text color and field color are as follows:
1. black
2. blue
3. green
4. cyan
5. red
6. magenta
7. yellow
8. white
• The window layouts established by DIF are retained in the system memory after a reset.
• All the fields in the DIF instruction (included the colors) may be programmed directly, i.e., by
writing numerical values, or through local and system variables.
• ASSET includes a default DIF instruction. If no DIF is declared in the INP instruction, the default
DIF displays the following window. This window implies that INP has declared 8 fields plus the
WINDOW NAME. The numbers of lines and columns are in italics. Default window parameters
are as follows:
column 0 column 79
First line: 0
First column: 0
First field line: 1
First field column: 1
Empty lines: 1
Number of fields on a line: 1
Background color: Blue
Label color: Yellow
Field color: White
Examples:
Let's assume that you need to program a data entry window (WINDOW #3) that is made up of
three fields and one window name, like the one shown in the figure below:
column 0 column 79
The number of fields, the field lengths, the characters in the window name and the fields labels
(FIELD 1 through 3) are specified in the INP file.
(DIF,3,3,10,1,1,1,1)
To display blue comments and red inputs on a green background, the format of the DIF command
will be:
(DIF,3,3,10,1,1,1,1, 2,1,4)
These numbers may be partially or totally replaced by local or system variables. For example, if the
contents of the first line, first column, and first field column fields are stored in variables E1, E2 and
E3, the format of the above command must be:
(DIF,3,E1,E2,1,E3,1,1)
If a great many fields must be displayed in one window it is possible to write several fields on the
same line with the following format:
(DIF,5,3,5,1,3,1,3)
WINDOW NAME
This command permits to link manual data inputs to their destination variables. It is used for
programming the name of the data entry window and the field labels. Data will be arranged
according to the window size and layout established with DIF. If the default DIF suits the user
needs the window number may be omitted.
When INP is executed, it enables the MDI mode.
Syntax
where:
window number (optional) It is the number of data entry window established with DIF.
It may be a number in the 0 to 10 range written in the command line or read
from a variable.
0 is the default window number, which is associated to the window described by
the DIF command.
window name (optional) It is the label displayed on the first window line. It may be a character
string enclosed between quotes ( ' or " ) or a string variable. For example,
SC0.10.
Its maximum length is 40 characters. The name is automatically centered on the
first window line.
Each data entry window may contain up to 8 fields. Each field is configured by the following
parameters:
label Is the name of the field. For example: tool, feedrate, etc.
It may be a character string enclosed between quotes ( ' or " ) or a string
variable. For example, SC0.10.
The label length may range from 0 and the value specified by the label length
parameter. The maximum label length is 40 characters.
label length Specifies the maximum length of the field label. The programmer may use this
parameter to arrange various fields on one line regardless of the length of the
label string.
It may be a number written in the command line or read from a variable.
variable It is a local or system variable whose current value is displayed on the data
entry window and updated with manual data input.
Characteristics
When the system reads an INP block it switches to the MDI mode and displays the programmed
data entry window with the current variable values specified in the INP command.
The size, position and colors of the data entry window are programmed by the DIF instruction
whose number is specified in the INP command. If this number is omitted, the data entry window
will have the default characteristics.
Displayed values may be edited with the same procedures described for the other data entry
windows.
To exit from the data entry window and quit the MDI mode, press [ESC], [Enter], [Page Up], [Page
Down], [Home] and [End].
By pressing [ESC], [Page Up], [Page Down], [Home] and [End] the input window is closed but the
values of the programmed variables are not updated with the values you may have entered. In this
case, the STE system variable assumes a value that indicates the type of key with which the input
window has been closed. The possible values are the following:
Press [Enter] to close the window saving the alterations to programmed values. If a format error is
detected in the assignment (for example, if VEF is assigned a value outside the 0.1 - 8.0 range) it
can be managed from program by setting the ERR variable to 1 (refer to Chapter 6, "Error
Management from Part Program").
The system automatically synchronises (#) the INP command to the execution of the program
(refer to Chapter 1 in the Programming Manual).
NOTE:
The label length must be programmed according to the number of fields that need to be displayed
on the same line. To well align fields on the same columns it is advisable to assign the same label
length to all the fields. This value must be equal to or greater than that of the longest label.
The system will not visualise an error message as long as it can display at least
one digit from the current or input data assigned to the right-most fields on the
window.
This should be remembered when programming position of the window on the
screen and the data fields in it and the label length.
It is recommended to display all the digits in the various data entry fields.
Examples:
E1 = 1000; feedrate
(INP,'FEEDRATE',15,E1)
The above commands permit to visualise a data entry window whose size and colors are specified
by the default parameters in the DIF command. This window will visualise the "FEEDRATE" label
followed by a 7 character space (7 = 15 - the actual label length) and the current value of the E1
variable (1000 in the example). This value may be altered from keyboard or confirmed with [Enter].
This command permits to display a data entry window whose name is "INPUT TEST" and a 20
character field to display the contents of the SC0.20 variable preceded by the "FIELD 1" label.
This command permits to display a data entry window whose characteristics are specified by DIF 1,
without name, and in which the contents of the SC0.20, E3 and @PLUS variables are preceded by
the "FIELD 1", "FIELD 2" and "FIELD 3" labels.
END OF CHAPTER
10 Series displays all the parameters and data requested for system operation on a screen made
up of 25 lines. Each line has 80 characters. Screen lines are divided as follows.
The status line and the softkey lines are managed by the system. The data area may visualise two
screen types:
• System screens: the information in these screens is displayed through the system software;
see the user manual for significance of this information.
• User screens: contain information displayed by the user by way of the machine logic functions,
or using the ASSET OUT instruction.
Syntax
(OUT, Screen code, line, column, background color, data color, [/length,] variable, ... ,variable)
where:
Screen code Is the screen number provided by the table on page 3-2.
Allowed values are 4, 5, 6, 7, 25, 26, 27, 28, which correspond to the
tables that can be modified with ASSET and described in the previous
table. This parameter can be written with a numerical format or read from
a local or system variable.
line Is the line number. It ranges from 0 to 20 in full size screens or from 0 to
9 in quadrants.
This parameter can be written with a numerical format or read from a
local or system variable.
column Is the number of the column where the line starts. It ranges from 0 to 79
in full size screens or from 0 to 38 in quadrants. If the maximum value is
selected, i.e. 79 or 38, only one character will be displayed.
This parameter can be written with a numerical format or read from a
local or system variable.
background color Is the background color of the selected line. It ranges from 0 to 7 (refer to
the Characteristics paragraph in this section) and may be written with a
numerical format or read from a local or system variable.
data color Is the color of the contents displayed on the selected line. It ranges from
0 to 15 (refer to the Characteristics paragraph in this section) and may be
written with a numerical format or read from a local or system variable.
/length (optional) Is the length of the selected line. It ranges from 1 to the
maximum number of characters displayed between the selected column
number and the last column configured for that screen.
It may be written with a numerical format or read from a local or system
variable. In any case the slash ( / ) is mandatory.
variable,...,variable, Is the list of characters or numerical variables to be displayed on the line.
Up to 8 variables of the same or of different types are allowed. Strings of
characters must be enclosed between quotes ( ' or " ).
Characteristics
• The allowed values for background color and data color and their meaning are shown in the
table below:
• If both background color and data color are set to zero, the system will nevertheless default to
a white-on-black screen.
• To program a blank between variables when the line displays several variables, write the blanks
between quotes (for example, " ") or store them in a string variable, which may be repeated
several times in the same command.
• The contents specified in the OUT block must belong to the same line and cannot be longer
than the line. To display more data it is necessary to program more OUT's.
In addition, several parameters may be displayed on the same line by programming different
OUT blocks with appropriate line, column and length values so as to prevent overlapping.
Example:
The following command:
(OUT,5,3,10,2,8,/60,"TEST VAR E1: ",E1," "TEST VAR SC0.10: ",SC0.10)
allows to display the following screen:
column 0 column 79
A 60-character green bar starting on column 10 appears on line 3. Its contents will be displayed in
black and blinking. Note that the strings programmed between quotes end by blanks, which
prevents parameters from being displayed as an uninterrupted line.
This is screen 5 and is associated to logic screen 2.
With the following variables:
SN1 = 5
SN2 = 3
SN3 = 10
SN4 = 2
SN5 = 8
SN6 = 60
SC30.12 = "TEST VAR E1: "
SC5.19 = "TEST VAR SC0.10: "
the OUT command could be rewritten as follows:
(OUT,SN1,SN2,SN3,SN4,SN5,/SN6,SC30.12,E1," ",SC5.19,SC0.10)
Syntax
where:
Screen code Is the screen number provided by the table on page 3-2. It can be written
with a numerical format or read from a local or system variable.
background color for This parameter is taken into consideration only if the screen code
initialization (optional) represents a screen that can be modified by ASSET. In this case, the
screen will be initialized with the color specified and all data previously on
that screen will be deleted. If this parameter is not specified, the screen
will not be initialized.
Characteristics
If the system reads the command but no screen has been configured for the selected process the
visualised screen will not change. On the contrary, if the specified screen has been configured, it
will be immediately visualised.
The background color for initialization is defined by a number from 0 to 7, as illustrated in the table
below:
1. Black
2. Blue
3. Green
4. Cyan
5. Red
6. Magenta
7. Yellow
8. White
Example:
Let's assume that the system controls three processes and that the following screens have been
associated to them:
Process 1: Screens 1, 3, 8
Process 2: Screens 1, 2, 9, 25
Process 3: Screens 1, 3, 8, 9
In addition, let's assume that the (SCR,8) command was programmed in process 2 when process 1
is selected. The system will display screen 8, which is associated to process 1. If the same
command were programmed when process 2 is selected, no changes would be noticed.
END OF CHAPTER
The system may control ASCII and binary data files. The characteristics of these files have been
discussed in Chapter 1.
The functions quoted above are executed by the following three-letter commands, described in this
chapter:
− OPN
− REA
− WRT
− CLO
− DEL
− INS
− GDV
− RDV
− CPY
This instruction permits to open a file and link it to a channel number. It also specifies whether the
file will be opened for reading or writing.
The channel is a marker that facilitates access to the file from other ASSET file management
commands.
Syntax
where:
channel Is a number from 1 to 5 that identifies the channel. A channel is another file that
will be subsequently used by the REA or WRT commands.
It can be written in the block with a numerical format or read from the specified
variable.
filename Is the name of the file (max. 8 characters) associated to the channel. It may be
an alphanumerical string or the name of the character variable that contains the
file name. When it is a variable it must be preceded by a '?'.
The complete path and extension may be specified in the filename.
{A | B | P} Defines the type of file: ASCII (A), binary (B) or if a file belongs to the system
directory of programs (P).
{R | W} Specifies the type of access:
R: reading
W: writing
Characteristics
If neither the path nor extension are specified in filename, the system provides the file extension
.DAT for binary files and .ASC for ASCII files. The file will be read or written in the default directory
(E:\FILE or F:\FILE).
If a file is opened for reading it must have been previously created and saved in the system. If the
file is opened for writing it need not exist in the system already and will be written in the working
directory when the session is closed.
Examples:
1. The TEST ASCII file in directory E:\FILE may be opened for reading and associated to channel
1 by the following command:
(OPN,1, TEST,A,R)
3. With command:
(OPN,1,E:\TEST.KKK,A,R)
File ASCII E:\TEST.KKK is opened for reading.
This command permits to write a record in the file specified and linked by a previous OPN block.
Data will be written sequentially, in the same order in which they are specified in the WRT block.
Syntax
where:
channel Is the channel number linked to the file by the previous OPN command. In
addition, OPN must have opened the file for writing (W).
record (optional) is a number or a variable that identifies the file record in which the
parameters must be written. It is always preceded by an R.
This parameter is accepted only if the file is binary.
If record is omitted, data will be written in the record used for the latest reading
and the system will position at the beginning of the subsequent record. If this is
the first writing instruction after OPN, data will be written on the first file record.
The maximum number of records that can be specified is 65535.
variable Is the variable(s) (max. 30) whose data must be written in the file records.
If the destination file is an ASCII file only character variables will be accepted.
If the destination file is binary, it is necessary to use the same number and type
of variables written in the first file record.
Characteristics
If the file is binary (i.e. has been opened with the B marker) and the number of records in the file
has not been specified in WRT, data will be written in the record that follows the record written
during the last writing session. If there have been no previous writing sessions, data will be written
in the first file record.
The first data written on an empty binary file are the record type, the number of variables, the types
of variable and the sequence in which variables must be arranged. This record provides the access
pattern to be followed by subsequent reading or writing operations, in which the same number, type
and sequence of variables must be used.
For example, if the first writing operation was programmed by the following command:
(WRT,1,E1, SC3.4,@PLUS_SHORT(1))
that is, 1 double variable, 4 character variables and 1 short variable, subsequent writing or reading
commands will resemble the following:
(WRT,1,L1,"JOE",@PLUS_SHORT(4))
(REA,1,SN1,!TEST.4CH,@PLUS_SHORT(6))
If other formats, types or numbers of variables are used or if variables are arranged in a different
sequence, an NC248 Data file access error will occur.
In ASCII files data are always written in the last file record. To edit an ASCII file you must open it,
read it sequentially record by record, make the necessary alterations and write the records in a new
file under a new name.
Alterations will become effective only after the file has been closed. To read a just-altered file you
must first close it with CLO and then open it for reading.
Examples:
(WRT,1,SC5.80)
This command writes in the ASCII file associated to channel 1 the first 80 characters stored in the
SC5 variable.
(WRT,3,R12,E7,E8,E9)
This command writes in record 12 of the binary file associated to channel 3 the data stored in
variables E7, E8 and E9. The pointer remains at the beginning of record 13.
This commands reads a record from the file declared by the previous OPN command and specifies
the channel to which the file is associated.
Syntax
where:
channel Is the channel number linked to the file by the previous OPN command. In
addition, OPN must have opened the file for reading (R).
record (optional) is a number or a variable that identifies the file record whose
parameters must be read. It is always preceded by an R.
This parameter is accepted only if the file is binary.
If record is omitted, the system will read the record used for the latest reading
and positions the pointer at the beginning of the subsequent record. If this is the
first reading instruction after OPN, data will be read from the first file record.
The maximum number of records that can be specified is 65535.
variable Is the variable(s) (max. 30) where read data must be written.
If the destination file is an ASCII file only one character variable will be
accepted. The length of this variable must be such as to accommodate the
data.
If the destination file is binary, it is necessary to use the same number and type
of variables written in the first file record. Otherwise, an NC248 error will occur.
Characteristics
If the file is binary (i.e. has been opened with the B marker) and the number of records in the file
has not been specified in REA, data will be read from the record that follows the one used during
the last reading session.
In an ASCII file, data will be read from the record on which the pointer remained positioned since
the last reading session.
In both cases, if there have been no previous reading sessions, data will be read from the first file
record.
Examples:
(REA,1,SC5.80)
This command reads from the ASCII file associated to channel 1 the first 80 characters stored in
the SC5 variable. (The maximum allowed string length is 80 characters).
(REA,3,R12,E7,E8,E9)
This command reads data from record 12 of the binary file associated to channel 3 and writes them
in variables E7, E8 and E9. The pointer remains at the beginning of record 13. The sample record
of this file is made up of 3 double variables.
This command closes the file associated to the specified file. If the channel is omitted, all the
ASSET files opened by the process will be closed.
Syntax
(CLO [, channel])
where:
channel (optional) Is the channel number linked to the file in the OPN instruction.
Characteristics
If the channel is omitted, CLO will close all the ASSET files that have been opened by the process.
An alternative method for closing all the ASSET files that have been opened by the process is a
system reset.
Examples:
(CLO, 2)
(CLO)
This command closes all the ASSET files that have been opened by the process.
This command permits to delete the specified file from the working directory or the part program
directory.
Syntax
where:
Characteristics
The triliterals DEL or CAN, which may be used as alternatives, delete the specified file only if it is
not currently used by the system. If the file is a part program it will be deleted only if it has not been
selected by any process.
If the specified file does not exist, the NC238 File not found error code will be displayed. See
appendix B for a detailed description of how to manage this error from part program.
Examples:
The following command
(DEL,TEST,A)
deletes the TEST ASCII file from the ASSET working directory.
This command
(DEL,?SC0.8,B)
deletes the binary command whose name is stored in the SC0.8 variable.
This command permits to save the specified ASSET ASCII file in the directory of programs.
Syntax
where:
filename Is the name of an ASCII file stored in the working directory, or another directory
if the full pathname was specified. It can be written as a string or read from a
text variable, in which case it is preceded by a question mark ( ? ).
filenamepp Is the name under which the ASCII file will be saved in the directory of
programs. It can be a 48 character string or the content of a variable, in which
case it is preceded by a question mark ( ? ).
directory Is a code (written as a numerical value or read from a local or system variable)
that specifies the logic subdirectory in which the ASCII file must be written:
Allowed values are:
1. PROGRAM directory
2. USER directory
3. SYSTEM directory
4. OEM directory
Characteristics
If no path or extension were specified, the file is taken from the default working directory (F:\FILE)
with the .ASC extension.
The part program file will be saved in the directory of programs without extension.
The file inserted in the directory of programs is deleted from the directory it was in before the INS
command.
Examples:
(INS,SAMPLE,PPTEST,0)
This command extracts the SAMPLE ASCII file from the F:\FILE directory and saves it in the
PROGRAM directory with the PPTEST name.
(INS,?SC7.8,?!USER3,4CH,1)
With this command the file whose name is stored in the SC7.8 variable will be saved in the USER
directory under the name stored in the USER !USER3.4CH variable.
This command copies the file specified in the working directory or in the part program directory of
programs.
Summary
where:
Characteristics
If the path is not specified, the system assumes as the default working directory (F:\FILE). In
addition, if no extension is specified, the system will add an extension based on the basis of the
specified key: .DAT for binary files (key B) or .ASC for ASCII files (key A).
Example:
final situation: file SOURCE.DAT will be copied as DEST.DAT in the F:\FILE directory
In cases where the path has been specified it is not necessary to enter a key as the file will be
taken as indicated.
The parameter for the directory is significant if filename1 does not belong to the program directory
and is to be copied into it or if filename1 belongs to the program directory (key P) and is to be
copied into a logical directory different to the one to which it belongs.
END OF CHAPTER
The ASSET commands described in this chapter (RTP, ROP, GPS, RAP and PLS) permit to read
the following parameters of the selected process:
Data read by these commands are sent to the process defined by the PRO block. Although PRO is
not an ASSET but a standard command, it has been included in this chapter for the sake of clarity.
The process number may also be specified in the ASSET reading command. If it is omitted, the
system will default to the process specified by PRO. If no PRO has been programmed, the data will
be sent to the same process that is executing the ASSET command.
The above parameters can be read using the three-letter commands listed below and described in
this chapter:
− PRO
− RTP
− ROP
− GPS
− RAP
In addition to the above commands, there is also a general purpose command with which SW
PLUS variables can be read both inside and outside a process. This command is:
− PLS
This standard programming instruction permits to specify a default process. This process includes
both the synchronization commands and the ASSET commands described in the chapter.
Syntax
where:
process number Is a number from 1 to 20 that identifies the process. It can be written as a
numerical value or read from a local or system variable.
By resetting the system or invoking another program it is possible to cancel the
preceding default process.
This instruction permits to read the number of the active or programmed tool from the specified
process (or from the default process defined with PRO) and then write the number in the specified
variable.
Syntax
where:
num pro (optional) Is the number of the process that includes the tool number. If it is
omitted, the tool number will be read from the default process specified with
PRO.
It is a number from 1 to 20. It may be written as a numerical value or read
from a local or system variable.
{N | A} Specifies whether tool number refers to the current (A) or the programmed (N)
tool.
variable Is the number of the variable in which the tool number must be written.
Characteristics
If the default process has not been defined and the Pnum pro parameter is omitted, the system will
read the tool number from the current active process.
Examples:
(RTP,N,E1)
This command reads the number of the programmed tool from the current process and writes it in
the E1 variable.
(RTP,P3,A,E3)
This command reads the active tool number from process 3 and writes it in the E3 variable.
This instruction permits to read the number of the active or programmed tool offset from the
specified process (or from the default process defined with PRO) and then write the number in the
specified variable.
Syntax:
where:
num pro (optional) Is the number of the process that includes the tool offset number. If it
is omitted, the tool number will be read from the default process specified with
PRO.
It is a number from 1 to 20. It may be written as a numerical value or read
from a local or system variable.
{N | A} Specifies whether tool number refers to the current (A) or the programmed (N)
tool offset.
variable Is the number of the variable in which the tool offset number must be written.
Characteristics
If the default process has not been defined and the Pnum pro parameter is omitted, the system will
read the tool number from the current active process.
Examples:
(ROP,N,SN3)
This command reads the number of the programmed tool offset from the current process and
writes it in the SN3 variable.
(ROP,P2,!ABC(1))
This command reads the active tool offset number from process 2 and writes it in the !ABC(1) user
variable.
This instruction permits to read the state, sub-state or mode of the specified or the default process
and then write it in the specified variables.
Syntax:
where:
num pro (optional) Is the number of the process. If it is omitted, the state, sub-state or
mode will be that of the default process specified with PRO.
It is a number from 1 to 20. It may be written as a numerical value or read
from a local or system variable.
variables Are three numerical variables in which the process state, sub-state and mode
are written.
The meaning of these numerical values is as follows:
For a detailed description of the states, sub-states and modes listed in the table refer to 10 Series
User Manual.
Characteristics
If the default process has not been defined and the Pnum pro parameter is omitted, the system will
read the tool number from the current active process.
Examples:
(GPS,E1,E2,E3)
This instruction reads the state, sub-state and mode of the current process and writes them in
variables E1, E2 and E3.
(GPS,P4,!UT(1),!UT(2),!UT(3))
This instruction reads the state, sub-state and mode of the current process and writes them in user
variable !UT(1 ÷ 3).
Syntax
where:
num pro (optional) Is the number of the process. If it is omitted, the system will
read the position of the axis in the default process specified with PRO.
It is a number from 1 to 20. It may be written as a numerical value or read
from a local or system variable.
axis name Is the ASCII name of the axis whose position must be read by the
system.
type of coordinate It is a number from 1 to 4. It may be written as a numerical value or read
from a local or system variable. The meaning of this value is as follows:
0 ABSOLUTE INTERPOLATED coordinate (distance to the axis zero)
1 PROGRAMMED coordinate being executed
2 distance TO GO (DTG)
3 ABSOLUTE REAL coordinate (distance to the axis zero)
4 ERROR coordinate
5 INTERPOLATED coordinate (includes the origins and the tool offset)
6 REAL coordinate (includes the origins and the tool offset)
7 PROGRAMMED coordinate while RAP instruction is being analysed
variable Is the number or the local or system variable where the axis position will
be written.
Characteristics
The coordinates read by the RAP triliteral are expressed in the unit of measure configured for the
process. Rotary axes coordinates are always expressed in degrees.
If the axis name is P, you have to insert the process number (even if it is the default
process). In type 7 readings, the command takes into account the visualisations
and DAN’s currently active on the programmed axis, if any.
Example: the following example makes it possible to read the current coordinates of axis X after a
rototranslation and to save it in variable E0.
(UPR , 0 , XYZ , UVW)
(DAN , XU , YV , ZW)
41 X 200F 1000
Examples:
To read the absolute real coordinate of the X axis in the default process, write it in the E4 variable
and visualise it on the screen program the following instructions:
(RAP,X,3,E4)
(DIS,E4)
To read the distance to go for the Z axis in process 3 and write it in the SN5 variable program the
following:
(RAP,P3,2,SN5)
This instruction permits to read bits or words from PLUS SW variables and write them in the
specified local or system variables.
Syntax
where:
SW number Is the number of the SW variable. It may be written as a numerical value or read
from a local or system variable.
bit number Is the number of a bit in the specified SW variable.
It is a number from 0 to 16 that may be written as a numerical value or read
from a local or system variable specified in the command. Values from 0 to 15
indicate single bits, whereas 16 indicates the whole word.
mask (optional) This parameter can be programmed only if bit number is 16 (whole
word). mask provides a decimal description of the bits of the word setting those
be read to 1. It is applied in an AND to the contents of the specified SW variable
before saving its in the specified local or system variable.
It may be written as a numerical value or read from the local or system variable
specified in the instruction.
variable Is the local or system numerical value in which the contents of the specified bit
or word must be written.
Characteristics
This instruction may specify as many as 10 readings, which may be bits of the same SW variable,
or the bits/word from different variables.
1. Write the word to be used as mask setting the bits to be read to 1. For example, to read bits 0,
5, 7 and 14 write the following word:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 1 0 0 0 0 0 0 1 0 1 0 0 0 0 1
The meaning of the bits and words of each SW variable is described in Chapter 3 (sections
"System state flags" and "Process state flags") of the PLUS Application Manual.
Examples:
1. The following command
(PLS,1,16, E1)
will save the active Security level in E1.
2. The following command
(PLS,23,2,SN2)
writes 1 in the SN2 variable if G18 is active and writes 0 if G18 is not active.
3. With the following command
(PLS,26,16,&1792,E0)
0 will be written in E0 if there is no probing cycle in process 1.
4. With this command
(PLS,27,0,E1,47,0,E2,67,0,E3,87,0,E4)
The contents of the specified command will be as follows:
E1 will be 0 if no canned cycle is active in process 1.
E2 will be 0 if no canned cycle is active in process 2.
E3 will be 0 if no canned cycle is active in process 3.
E4 will be 0 if no canned cycle is active in process 4.
END OF CHAPTER
Serial line management is achieved by means of a number of commands allowing you to:
• Enable and characterise the serial lines by defining the communication parameters and all the
terminators needed for data and message management.
• Transmit data of any kind; these kinds are:
− immediate numeric data
− data contained in numeric variables
− immediate alphanumeric data (string)
− alphanumeric data contained in string type variables
The data transmitted constitute the MESSAGE, maximum length of which is 180 characters
(terminators included).
The numeric data are converted into ASCII characters, whereas the string characters are
transmitted as they are. If numerous data items are transmitted in a string, they may be
separated by data terminators, whereas a message may be closed by a message terminator.
The variables expected in reception must be consistent with the data transmitted, therefore the
transmission and reception commands must correspond in terms of type, format, terminators,
and length of the data communicated.
Length of a message received must not exceed 180 characters, terminators included.
This triliteral lets you reserve the serial port specified for use and configure the physical
communication characteristics.
Syntax
, word length
, number of stop bits
, parity
, protocol
, transmission timeout
, reception timeout
/ number of TX data terminator [,term [, term [, term]]]
, number of RX data terminators [, term [, term [, term]]]
, number of TX mess terminators[, term [, term [, term]]]
, number of RX mess terminators [, term [, term [, term]]] )
where:
port number Is the value identifying the serial port to use; may be 1 or 2 and may be a
local or system variable.
The selection of the serial port for the communication of the part program
with external devices depends on the type of hardware available and
whether some devices such as serial printers, Teach pendant, etc., are
used. It has to be configured in AMP (HARDWARE section).
transmission speed The values accepted are (BAUD):
50 75 110 134 150 300
600 1200 1800 2000 2400 3600
4800 7200 9600 19200 38400 56000
word length The following values are accepted (number of bits):
5 6 7 8
number of stop bits Values possible are:
1 ( = 1 stop bit)
2 ( = 2 stop bits).
parity Type of parity check. May be 0, 1 or 2, with the following meanings:
0 = no parity
1 = odd parity
2 = even parity
Characteristics
All the parameters of the SOP triliteral may be expressed directly with a number or with a local or
system variable.
When a SOP command is executed, to reconfigure one or more parameters of the serial line, you
must first execute an (SCL) command to close the serial line and then a new SOP command.
When the SOP triliteral is executed correctly, the serial line enabled is reserved for exclusive use of
the current process and cannot be used by another process up until it is closed (SCL).
Examples:
(SOP,1,9600,8,1,1,0,10,0.5/0,1,10,2," ",10,1,13)
serial line 1,
9600 baud, 8 bit, 1 stop bit , odd parity, no protocol ,
10 seconds transmission timeout, 0.5 seconds reception timeout,
no TX data terminator,
one RX data terminator (10)
two TX message terminators (" " and 10),
one RX message terminator (13).
serial line 2,
2400 baud, 7 bit, 1 stop bit, even parity, logical protocol (XON XOFF),
4 seconds transmission timeout, reception timeout not enabled
two TX data terminators (" ", and " ")
three RX data terminators (" ", 9, 13),
two TX message terminators (13 and 10 (CRLF)),
one RX message terminator (13).
serial line 1,
2400 baud, 8 bit, 2 stop bits, no parity, physical protocol,
transmission timeout not enabled, reception timeout not enabled,
two TX data terminators (" "," " (two blank spaces)),)
no RX data terminator (one data item to be received for each GET)
two TX message terminators (13 and 10 (CRLF)),
no RX message terminator (a single data item consisting of one character only).
This triliteral sets the process in which it is programmed ready for data from the serial line
specified, which must be enabled and configured. The data received are stored in the variables in
accordance with the order of arrival and programming (the first data items to arrive are stored in the
first variable programmed, and so on).
Syntax
where:
port number Is the value identifying the serial port from which the data are to be received,
enabled earlier with triliteral SOP; allowed values are 1 or 2.
This value may be a number or a variable.
variable List of the variables (1÷10) that the data will be put in as they arrive from the
serial line.
Characteristics
In reception, the data items contained in the reception MESSAGE will be put into the variables
specified in triliteral GET. This message may comprise one or more data items, separated by RX
data terminator characters: if no such character is specified, the reception MESSAGE comprises a
single data item of one character only.
The triliteral GET is suspensive, i.e. execution of the part program does not start again until the
GET is considered completed:
If a numeric data item is expected in reception (for example, : (GET, 1, E1): waiting for numeric
data to put in variable E1), the data coming in will contain a numeric value expressed in ASCII
characters, which will in turn be converted automatically into binary format. This conversion is not
made if:
If several variables were programmed in triliteral GET, at least one RX data terminator character
and at least one RX message terminator must have been specified in triliteral SOP.
Some errors that may be generated by the GET command may be handled by the part program: for
a full list of these errors, see Appendix B.
When the triliteral GET terminates execution without errors, the variables programmed contain all
the data coming in from the serial line.
This triliteral cannot be programmed in MDI mode with CYCLE STOP in ON status.
Examples:
(GET, 1, SC10)
waiting for a single data item of 10 characters (excluding the RX message terminator).
(GET, 1, E1)
waiting for numeric data in ASCII code or a single character, saved in E1 without any conversion
(the case of no RX message terminator)
waiting for several data items, numeric and character strings, from line 2.
This triliteral is used to transmit data on the serial line specified, which was enabled and configured
earlier.
Syntax
where:
port number Is the value identifying the port from which to transmit the data; this port has
been enabled earlier with the SOP triliteral and the accepted values are 1 or 2.
This value may be a number or a variable.
data Is the data to transmit; may be a constant, a string between inverted commas or
a local or system variable.
Characteristics
The PUT triliteral is suspensive: execution of the part program continues only after all the data
programmed have been transmitted.
The numeric data programmed in the PUT triliteral, as immediate or as the contents of numeric
variables, are converted into ASCII characters before being transmitted. On the other hand, strings
and the contents of character type variables (string) do not undergo any conversion and are
transmitted as they are.
The set of characters taken from the variables or the constants specified in the PUT triliteral
constitute the MESSAGE to be transmitted, which may be a maximum length of 180 characters,
including the TX data terminators and the TX message terminators, if programmed in triliteral SOP.
• when the transmission timeout expires (if one is programmed): in this case, the serial line is
automatically reinitialized
• when serial transmission terminates correctly
• on arrival of a RESET or a CYCLE STOP in the process the command is being executed in.
Some errors that may be generated by the PUT command may be handled by the part program: for
a full list of these errors, see Appendix B.
When the triliteral PUT terminates execution without errors, the data items programmed have all
been transmitted on the serial line.
This triliteral cannot be programmed in MDI mode with CYCLE STOP in ON status.
Examples:
(PUT, 1, SC10)
(PUT, 1, E1)
Transmission of the numeric value of variable E1 in ASCII code (plus any terminators).
Transmission of constants, numeric variables (in ASCII code), string type variables (separated by
TX data terminators and with any terminators specified at the end).
This triliteral disables the serial line specified, making it available for other possible users. If the
serial line number is not specified, all active serial lines in the process where the triliteral is
programmed are disabled.
Syntax
where:
port number Is the value identifying the serial port to disable; allowed values are 1 or 2.
May be a number or a local or system variable.
If this parameter is not specified, both the serial lines of the system are disabled
(if both were enabled previously).
Characteristics
If the serial line to be disabled is not enabled, this command does nothing and no error code is
generated.
This triliteral cannot be programmed in MDI mode with CYCLE STOP in the ON status.
Examples:
(SCL, 1)
disable serial line 1
(SCL)
disable all active serial lines in the process.
E1 = 2
(SCL, E1)
disable serial line 2
This triliteral code is used to execute a series of part program blocks coming from the serial line for
as long as the block to be executed is different from the one specified as part program end string.
Syntax
where:
serial line is the serial line from which to take the blocks for execution. May be a
number number or a variable (local or system) with possible values 1 or 2.
Must be a serial line suitably opened and configured with the SOP triliteral.
part program is a string between quotes or a character variable.
end string Specifies the string that will be considered as terminating execution from the
serial line and command EPS.
N.B.: This string is not executed as a part program block.
Characteristics
The EPS command uses the type 2 transmission protocol (physical with signals DTR, DSR, RTS,
CTS, see the triliteral SOP). The serial line opened and configured in advance with triliteral SOP;
for correct EPS operation, the serial line must be configured with a single terminator given in
reception and this must be the character LF (LINE FEED : 10): this is because part program blocks
coming from a serial line MUST terminate with characters CR-LF (like part program blocks in a file);
in addition, part program blocks from a serial line can must not be more than 127 characters long
(CR-LF excluded).
If the serial line is not configured correctly, the system will generate error NC 41 Wrong serial line
configuration for EPS when it comes to execute an EPS command.
While an EPS is being executed, a reception timeout configured with SOP is not handled.
If a p.p. block coming from a serial line generates an error, it will not be executed on the next cycle
start; it will however be copied into the MDI buffer where, on entering MDI mode, it may be
displayed, modified and executed before proceeding with execution of the other blocks from the
serial line.
Some part program blocks cannot be executed if coming from a serial line. These are the triliterals:
GTO, EPP, RPT, ERP, EPS,
SCL, PUT, GET (the latter three if referring to the serial line used for EPS)
NOTE:
Triliterals CLS and EPB and calls to paramacros are allowed: it is the main program to which these
subprograms refer that contains the EPS triliteral.
Any attempt to execute these commands from a serial line generates this error:
Triliteral code EPS cannot be executed in HOLD status (in MDI mode in HOLD or CYCLE STOP
status). Execution of blocks from a serial line is "seen" by the system as repeated loop execution of
the EPS command until arrival of the string configured as the part program end string. Blocks from
a serial line can also be executed in BLK/BLK mode; while an EPS command is being executed in
BLK/BLK mode, the following operations are inhibited:
SKIP of block with ARROW UP - ARROW DOWN keys
STRING SEARCH
MODIFY
If using a personal computer with the MS-DOS operating system, the following command can be
used
COPY filename COMx:
to copy a part program file on the serial line, suitably configured with the MODE commands, for
execution by the 10 Series control.
Example:
Execute in sequence these operations:
On P.C.
On 10 Series
NOTE:
The personal computer does not produce the video prompt until after execution of the SOP
command enabling, through the hardware, reception in the 10 Series serial buffer, though this is
not the case if the part program is more than 3000 bytes long. In these cases, blocks coming from
the serial line must be executed to free space in the serial driver's data area: the personal
computer does not display the command prompt until space is found in this data area for the last
block of the file.
If the serial line is closed with triliteral SCL or with a RESET, any part
program blocks present in the serial buffer data area (arriving after the SOP
command), are irreparably lost.
END OF CHAPTER
This chapter contains a certain number of three-letter functions used to generate system operating
commands, such as CYCLE START, HOLD, RESET, axis selection, etc., for the process specified
in the function or the default process set earlier. These functions are:
The above functions are implemented by way of the triliterals listed below and are described in
detail on the pages that follow:
− CON − SMD
− COF − SAX
− HON − DIR
− HOF − JOG
− RES − FHO
This instruction sends the specified process the CYCLE ON command, which is equivalent to
pressing the CYCLE START button.
Syntax
(CON [, P numproc])
where:
numproc Is a number between 1 and 20 identifying the process on which the CYCLE ON
command will be executed. This parameter may be a number directly identifying
the process or a local or system variable containing the number of the process
desired.
Characteristics
The result of issuing this command depends on the current mode of operation.
If the P numproc parameter was not specified, the CYCLE ON command will be given to the default
process, i.e. the one set earlier with the PRO instruction.
Example:
(CON, P3)
This instruction sends the process specified the CYCLE OFF command, which is equivalent to
releasing the CYCLE START button.
Syntax
(COF [, P numproc])
where:
numproc Is a number between 1 and 20 identifying the process on which the CYCLE
OFF command will be executed. This parameter may be a number directly
identifying the process or a local or system variable containing the number of
the process desired.
Characteristics
The result of issuing this command depends on the current mode of operation.
If the P numproc parameter was not specified, the CYCLE OFF command will be given to the
default process, i.e. the one set earlier with the PRO instruction.
Example:
(COF)
This instruction sends the specified process the HOLD ON command, which is equivalent to
pressing the CYCLE STOP (HOLD) button.
Syntax
(HON [, P numproc])
where:
numproc Is a number between 1 and 20 identifying the process on which the HOLD ON
command will be executed. This parameter may be a number directly identifying
the process or a local or system variable containing the number of the process
desired.
Characteristics
If the P numproc parameter was not specified, the HOLD ON command will be given to the default
process, i.e. the one set earlier with the PRO instruction.
If no default process was set earlier and the P numproc parameter was not included in this
command, the command will be executed on the current process (i.e. the one executing the current
instruction).
Example:
(HON, P2)
This instruction sends the specified process the HOLD OFF command, which is equivalent to
pressing the CYCLE STOP (HOLD) button in CYCLE STOP or HOLD mode.
Syntax
(HOF [, P numproc])
where:
numproc Is a number between 1 and 20 identifying the process on which the HOLD OFF
command will be executed. This parameter may be a number directly identifying
the process or a local or system variable containing the number of the process
desired.
Characteristics
If the P numproc parameter was not specified, the HOLD OFF command will be given to the default
process, i.e. the one set earlier with the PRO instruction.
Example:
(HOF)
This instruction sends the specified process a reset command, which is equivalent to pressing the
RESET on the operator panel.
Syntax
(RES [, P numproc])
where:
numproc Is a number between 1 and 20 identifying the process. This parameter may be a
number directly identifying the process or a local or system variable containing
the number of the process desired.
Characteristics
If the P numproc parameter was not specified, the RESET command will be given to the default
process, i.e. the one set earlier with the PRO instruction.
If no default process was set earlier and the P numproc parameter was not included in this
command, the command will be executed on the current process (i.e. the one executing the current
instruction).
Example:
(RES,P4)
Syntax
where:
numproc Is a number between 1 and 20 identifying the process. This parameter may be a
number directly identifying the process or a local or system variable containing
the number of the process desired.
modo The mode of operation desired. Possible values for this parameter are:
1 MDI
2 Auto
3 Block/block
4 Continuous manual
5 Incremental manual
6 Return on profile
7 Homing cycle
8 Handwheel
Characteristics
If the P numproc parameter was not specified, the SMD command will be given to the default
process, i.e. the one set earlier with the PRO instruction.
If no default process was set earlier and the P numproc parameter was not included in this
command, the command will be executed on the current process (i.e. the one executing the current
instruction).
Example:
(SMD,P4,3)
Syntax
where:
numproc Is a number between 1 and 20 identifying the process. This parameter may be a
number directly identifying the process or a local or system variable containing
the number of the process desired.
nome asse Is the ASCII name of the axis to execute the movement on.
Characteristics
If the P numproc parameter was not specified, the SAX command will be given to the default
process, i.e. the one set earlier with the PRO instruction.
If no default process was set earlier and the P numproc parameter was not included in this
command, the command will be executed on the current process (i.e. the one executing the current
instruction).
Example:
(SAX,Z)
If the axis name is P, you have to insert the process number (even if it is the default
process).
This instruction defines the direction of the axis selected during the manual movement.
Syntax
where:
numproc Is a number between 1 and 20 identifying the process. This parameter may be a
number directly identifying the process or a local or system variable containing
the number of the process desired.
segno Sign of the direction of manual movement. Possible values are [+] or [-].
Characteristics
If the P numproc parameter was not specified, the DIR command will be given to the default
process, i.e. the one set earlier with the PRO instruction.
If no default process was set earlier and the P numproc parameter was not included in this
command, the command will be executed on the current process (i.e. the one executing the current
instruction).
Example:
(DIR,P3,+)
A positive manual movement is selected for the axis selected earlier with the SAX command in
process 3.
This instruction defines the value of the single steps during jog manual movement in the process
specified.
Syntax
where:
numproc Is a number between 1 and 20 identifying the process. This parameter may be a
number directly identifying the process or a local or system variable containing
the number of the process desired.
jog value Is the numeric value for the step in jog manual movement.
May be a number or a local or system variable.
Will be assumed in mm or inches depending of the unit configured for the
process.
Characteristics
If the P numproc parameter was not specified, the JOG command will be given to the default
process, i.e. the one set earlier with the PRO instruction.
If no default process was set earlier and the P numproc parameter was not included in this
command, the command will be executed on the current process (i.e. the one executing the current
instruction).
Example:
(JOG,P2,0.1)
A value of 0.1 mm (or 0.1 inches) will be taken as the step for jog manual movement in process 2.
This instruction makes a stop during machining of the process specified. In practice, it forces
working speed to zero.
Syntax
where:
numproc Is a number between 1 and 20 identifying the process. This parameter may be a
number directly identifying the process or a local or system variable containing
the number of the process desired.
enable Is a number either 0 or 2 representing the FEEDHOLD enable or disable
command.
With a value of 1 the FEEDHOLD command is enabled, i.e., the movement is
stopped at once; with 2 axes, the programmed movement currently being
executed is stopped; with 0 the movement is re-enabled.
Characteristics
If the P numproc parameter was not specified, the FEEDHOLD command will be given to the
default process, i.e. the one set earlier with the PRO instruction.
Example:
(FHO,P4,1)
END OF CHAPTER
The errors that occur while the system is executing ASSET commands are listed in the table below.
Some of these errors may be managed from part program by means of the STE variable (refer to
Appendix B for details).
The list below also includes errors listed in the Programming Manual but which may occure during
ASSET operation.
END OF APPENDIX
Standard 10 Series programming provides the programmer with a method for error management
from part program. This method permits to correct or recover the error without interrupting the
cycle.
Error management from program must be configured through the following system variables:
ASSET permits automatic management from part program of three types of error:
• errors generated during execution of an INP instruction, i.e. manual data input errors
• errors generated during execution of a file management command
• errors generated during use of the serial line.
The sections that follow describe the ERR variable and how its value affects the system conditions.
The meaning of the error codes is shown in Appendix A.
NOTE:
A system reset sets both STE and ERR to 0
ERR enables/disables automatic management from part program of errors generated during
execution of specific program instructions.
Syntax
ERR = value
where:
When ERR = 1 it is recommended to read the STE variable immediately after the system executes
a command in which an error may have occurred. With ERR = 1 error messages are not displayed
and the part program is not interrupted.
Example:
"LAB"
(INP,N0,T'TEST INPUT','FEED',10,E1,'SPEED',10,E2,'COORD',10,E3)
(GTO,LAB,STE=20)
....... ; valid data
The above instructions write the feedrate value in E1, the speed value in E2 and the programmed
coordinate in E3.
If these data are not confirmed and the data entry window is closed with [Esc], the system will write
20 in the STE variable. The GTO instruction uses this value to position the program to the "LAB"
label, which re-displays the data entry window for the operator to make the necessary corrections.
Example:
(INP,"DEFINE FILE NAME:",30,SC8.8) Request to enter file name
"LABINS" File name label
ERR=1 Enables error management from program
(INS,"PPGR3",SC8.8,1) Save file in User directory
(GTO,LAB,STE=34) If file already exists branch to "LAB"
"CONT" "Continue" label
ERR=0 Disables error management from program
.....
"LAB" New name label routine
(INP,"FILE EXISTS. RENAME:",30,SC8.8) Request to rename the file
(GTO,"LABINS") Returns to file label routine
.....
END OF APPENDIX
Triliteral Function
END OF APPENDIX