Professional Documents
Culture Documents
Validity The specified data is for product description purposes only and
may not be deemed to be guaranteed unless expressly confirmed
in the contract. All rights are reserved with respect to the content
of this documentation and the availability of the product.
Contents
Contents
Page
1 Safety Instructions . . . . . . . . . . . . . . . . . . . . . . . 11
1.1 Intended use . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
1.2 Qualified personnel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
1.3 Safety markings on products . . . . . . . . . . . . . . . . . . . . . . . . 13
1.4 Safety instructions in this manual . . . . . . . . . . . . . . . . . . . 14
1.5 Safety instructions for the described product . . . . . . . . 15
1.6 Documentation, software release and trademarks . . . . 17
2 General . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
3 System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
3.1 Direct automatic execution . . . . . . . . . . . . . . . . . . . . . . . . . . 31
3.1.1 The PC control panel is used as a file server . . . . . . . . . . 32
3.1.2 Any remote Windows computer is used as a file server: . 33
3.2 Default state . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
3.2.1 Assigning and activating . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
3.3 Inch/metric switching . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
3.3.1 Assigning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
3.3.2 Unit of measure switching . . . . . . . . . . . . . . . . . . . . . . . . . . . 310
3.4 Rotary axis speed scaling . . . . . . . . . . . . . . . . . . . . . . . . . . . 311
3.4.1 Assigning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 311
3.5 Adjusting circle radiuses . . . . . . . . . . . . . . . . . . . . . . . . . . . 312
3.5.1 Assigning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 313
Contents
5 Coordinate systems . . . . . . . . . . . . . . . . . . . . . . 51
5.1 Basics and overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
5.1.1 Axis and coordinate names . . . . . . . . . . . . . . . . . . . . . . . . . . 51
5.1.2 Physical and logical axes . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
5.2 Coordinate identifiers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
5.2.1 Pseudo coordinates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
5.2.2 Working range coordinates . . . . . . . . . . . . . . . . . . . . . . . . . . 56
5.3 Coordinate systems of the control unit . . . . . . . . . . . . . . . 59
5.3.1 MCS machine coordinate system . . . . . . . . . . . . . . . . . . . . 510
5.3.2 ACS axis coordinate system . . . . . . . . . . . . . . . . . . . . . . . . . 511
5.3.3 BCS basis workpiece coordinate system . . . . . . . . . . . . . . 511
5.3.4 PCS program coordinate system . . . . . . . . . . . . . . . . . . . . . 514
5.3.5 TCS tool coordinate system . . . . . . . . . . . . . . . . . . . . . . . . . 514
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG V
and Controls
Contents
6 Precision / Dynamics . . . . . . . . . . . . . . . . . . . . . 61
6.1 Maximum axis step change . . . . . . . . . . . . . . . . . . . . . . . . . 61
6.1.1 Assigning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
6.1.2 Activating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
6.1.3 Deactivating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
6.2 Path acceleration limitation . . . . . . . . . . . . . . . . . . . . . . . . . 63
6.2.1 Assigning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
6.3 Precision programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
6.3.1 Assigning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
6.3.2 Activating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
6.3.3 Deactivating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
6.4 Shape . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
6.4.1 Assigning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
6.4.2 Activating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 610
6.4.3 Deactivating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 610
VI Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
Contents
7 Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
7.1 Control reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
7.1.1 Activating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
7.2 Jogging in machine coordinates . . . . . . . . . . . . . . . . . . . . . 73
7.2.1 Assigning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
7.2.2 Activating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
7.3 Jogging in workpiece coordinates . . . . . . . . . . . . . . . . . . . 77
7.3.1 Assigning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
7.3.2 Activating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 710
7.3.3 Deactivating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 711
7.4 Handwheel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 712
7.4.1 Assigning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 714
7.4.2 Activating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 715
7.4.3 Deactivating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 715
7.5 Online correction with handwheel (in workpiece coordinates) .
716
7.5.1 Assigning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 721
7.5.2 Activating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 722
7.5.3 Deactivating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 722
7.6 Override . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 723
7.6.1 Assigning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 725
7.6.2 Activating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 726
7.6.3 Deactivating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 727
7.7 Automatic program reselection . . . . . . . . . . . . . . . . . . . . . . 728
7.7.1 Activating/deactivating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 728
7.8 Canceling the distance to go . . . . . . . . . . . . . . . . . . . . . . . . 729
7.8.1 Activating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 729
7.9 Remove and return to the contour . . . . . . . . . . . . . . . . . . . 730
7.9.1 Options for returning to contour . . . . . . . . . . . . . . . . . . . . . . 732
7.9.2 Assigning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 736
7.9.3 Activating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 736
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG VII
and Controls
Contents
8 Tool compensations . . . . . . . . . . . . . . . . . . . . . . 81
8.1 Basics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
8.1.1 Tool reference points . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
8.1.2 Tool coordinate system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
8.1.3 Tool coordinate system with active axis transformation . . 82
8.1.4 Assigning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
8.1.5 Activating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
8.1.6 Deactivating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
8.2 Geometry compensations . . . . . . . . . . . . . . . . . . . . . . . . . . . 810
8.2.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 810
8.2.2 Standard compensation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 813
8.2.3 External compensation (1st external compensation) . . . . 814
8.2.4 General compensation (2nd external compensation) . . . . 817
8.2.5 Overview: Methods of tool compensation . . . . . . . . . . . . . . 824
8.2.6 Assigning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 825
8.2.7 Activating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 828
8.2.8 Deactivating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 829
8.2.9 Structure of geometry compensation tables . . . . . . . . . . . . 830
8.2.10 Activating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 831
8.3 Compensation switchover . . . . . . . . . . . . . . . . . . . . . . . . . . 832
8.3.1 Assigning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 834
8.3.2 Activating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 835
8.3.3 Deactivating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 836
8.4 Path compensation (cutter radius compensation) . . . . . 837
8.4.1 Assigning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 839
8.4.2 Activating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 839
8.4.3 Deactivating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 840
9 Safety / Monitoring . . . . . . . . . . . . . . . . . . . . . . . 91
9.1 Electronic limit switches (software limit switches) . . . . 91
9.1.1 Activating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
9.2 Torque reduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
9.2.1 Assigning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
9.2.2 Activating/deactivating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
9.3 Limit rapid travel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
9.3.1 Assigning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
9.3.2 Activating/deactivating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
9.4 Axis position monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
9.4.1 Activating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
9.5 Distance to end point . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
9.5.1 Assigning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
9.5.2 Deactivating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
9.6 Area control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 910
9.6.1 Assigning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 913
9.6.2 Activating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 913
9.6.3 Deactivating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 913
VIII Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
Contents
Contents
A Appendix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A1
A.1 Abbreviations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A1
A.2 Memory demand for function extensions . . . . . . . . . . . . . A2
A.3 Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A3
X Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
Contents
Notes:
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 11
and Controls
Safety Instructions
1 Safety Instructions
Please read this manual before commissioning the PNC or activating
new functions. Store this manual in a place to which all users have ac-
cess at any time.
Safety Instructions
Safety Instructions
Safety Instructions
DANGER
This symbol is used wherever insufficient or lacking compliance with in-
structions may result in personal injury.
CAUTION
This symbol is used wherever insufficient or lacking compliance with in-
structions may result in damage to equipment or data files.
Safety Instructions
DANGER
Danger of life through inadequate EMERGENCY-STOP devices!
EMERGENCY-STOP devices must be active and within reach in all
system modes. Releasing an EMERGENCY-STOP device must not
result in an uncontrolled restart of the system!
First check the EMERGENCY-STOP circuit, then switch the sys-
tem on!
DANGER
Incorrect or undesired axis movement!
First, new programs should be tested carefully without axis move-
ment! For this purpose, the control offers the possibility of inhibit-
ing axis movements and/or auxiliary function outputs by appropri-
ate softkeys in the Automatic mode.
DANGER
Incorrect or undesired control unit response!
Rexroth accepts no liability for damage resulting from the execu-
tion of an NC program, an individual NC block or the manual move-
ment of axes!
DANGER
Retrofits or modifications may adversely affect the safety of the
products described!
The consequences may include severe injury, damage to equip-
ment, or environmental hazards. Possible retrofits or modifica-
tions to the system using third-party equipment therefore have to
be approved by Rexroth.
Safety Instructions
DANGER
Tool or axis movements!
Feed and spindle motors generate very powerful mechanical
forces and can accelerate very quickly due to their high dynamics.
D Always stay outside the danger area of an active machine tool!
D Never deactivate safety-relevant functions!
D Report any malfunction of the unit to your servicing and repairs
department immediately!
CAUTION
Use only spare parts approved by Rexroth!
CAUTION
Danger to the module!
All ESD protection measures must be observed when using the
module! Prevent electrostatic discharges!
Safety Instructions
Documentation
This manual contains information on the following:
D basic steps required for system start-up and
D the available functions of the PNC.
Safety Instructions
Release
Trademarks
All trademarks of software installed on Rexroth products upon delivery
are the property of the respective manufacturer.
General
2 General
This manual is designed to provide support
D in the application/activation of various control functions.
This manual is focused on the necessary procedures for parameter as-
signment.
As a prerequisite, all hardware components and their cabling, i.e. CNC,
drives, PLC and power supply modules must have been installed, inte-
grated and tested for faults in accordance with the application docu-
mentation. In particular, this includes all safety-relevant devices, e.g.
EMERGENCY STOP circuits, release contacts, limit switches, etc.!
In the ideal case, the software of all SERCOS drives has been commis-
sioned. However, this is not absolutely necessary because the control
unit is able to configure all connected drives by downloading the re-
quired parameters during start-up. In this case, properly adapted initiali-
zation files must be available in the control unit.
To adapt the initialization files, you should have the relevant documen-
tation available (i.e. tables showing the SERCOS parameter settings
required for every drive, drive documentation, etc.). For more detailed
information on the SERCOS interface, see page 467.
For reasons of clarity, all functions of the PNC are grouped according to
subject (see table of contents).
For every function, you will find information on
D its purpose or intended use,
D its conditions / restrictions of use, and
D modification options (e.g. by MACODA parameter setting, DIN/CPL
instruction, file, or interface).
Because many functions involve more than one issue (MACODA, DIN,
interface, etc.), they may be described in full or in part also in other PNC
manuals.
General
To carry out the various process steps, you must be familiar with
D the PNC standard operator interface,
D the Windows graphical user interface of the PC operating panel, and
D the MACODA software tool.
DANGER
Improper handling by inadequately trained or unskilled personnel
may cause serious damage to the machine, loss of data or even
personal injury!
System
3 System
Through its integrated NFS client, the control unit can mount up to two
externally stored directories to its internal file system by means of the
directories Mount (/mnt/) and floppy disk (/mnt2/). This requires that
the PNC NFS Server is installed and running on the PC control panel
or directly on the file server. This application is part of the SW OSA3
V7.x.xPNC-software package supplied on CD.
For installation, please refer to manual PNC-P Software Installation or
PNC-R Software Installation.
There are 2 different scenarios for working with the Direct automatic
execution function:
D The PC control panel is used as a file server:
which means that the PNC NFS Server application runs on the PC
control panel.
In this case, either the local drives of the PC control panel or, option-
ally, the network drives linked to the PC control panel may be used to
run the Direct automatic execution function.
D Any remote Windows computer is used as a file server:
which means that the PNC NFS Server application runs on any re-
mote networked Windows computer.
Also in this case, either the local drives of the file server, or, option-
ally, the network drives of any other networked server may be used to
run the Direct automatic execution function.
However, this requires more work in terms of configuration.
CAUTION
Danger of damage to the machine or the workpiece!
Do not initiate a control RESET during machining.
CAUTION
Improper connections or configurations may cause network fail-
ure!
Therefore, we recommend that all network configuration jobs are
done by the (system) network administrator only.
Precondition:
D The control unit and the control panel PC must be properly intercon-
nected, configured and booted. The Bosch operator interface is dis-
played.
D The TCP/IP addresses of the control unit and the PC control panel
must be in the same subnet as the respective file server.
See also the information on Configuring TCP/IP in the Network
settings section of the manuals on software installation.
D The computer selected as the file server must be physically inte-
grated into the same network as the control unit and ready for opera-
tion.
1. Please ensure that the TCP/IP protocol is installed on the file server
and that the TCP/IP address of the file server is in the same subnet
as the control unit and the PC control panel.
2. Please ensure that the file server can recognize the connected con-
trol unit. For this purpose, the TCP/IP address and the host name of
the control unit must be entered in the hosts file of the file server.
When entering the host name (max. 8 digits), please note that it is
case sensitive!
In the case of a Windows 95/98 PC, the hosts file is in the Windows
system directory. In the case of an NT PC, it is in a subdirectory of the
system directory (...\system32\drivers\etc).
This file can be modified with an ASCII editor (e.g., Notepad.exe).
34 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
3. If you have not yet installed the PNC NFS Server application on the
file server, do it now. This application is part of the SW OSA3
V7.x.xPNC software package supplied on CD.
For information on its installation, please see the section on Setup
to the control panel PC, under Software installation in the manu-
als on software installation.
Use the setup option Customer Setup and select only the NFS
Server component. When you are requested to enter the name of
the target control unit, enter the host name of the control unit (e.g.,
pnc. Please note that this entry is case sensitive!).
4. When the installation is finished, reboot the file server.
The NFS server should be running. This is indicated by the corre-
sponding icon on the taskbar. If the icon is not displayed, you can
also start the NFS server manually. START " PROGRAMS "
BOSCH PC-PANEL " PNC NFS SERVER.
5. Specify the directories which the NFS server is to make available to
the NC. Select
START " PROGRAMS " BOSCH PC-PANEL " EDIT EX-
PORTS.
The ASCII file export.us will be loaded and displayed.
Example: contents of export.us
c:\typ3pcp\cycles typ3osa
c:\typ3pcp\cncfiles typ3osa
. The NFS server can make more than 2 directories available. How-
ever, each control unit can mount no more than 2 directories at the
most.
In this way, several networked control units can be served by a
single NFS server.
6. Right-click the NFS server icon on the taskbar and select Reload
export.us. This has the effect that changes made in the export.us
file are adopted by the NFS server.
You can verify whether the changes made have been correctly
adopted:
Right-click the NFS server icon on the taskbar and select About.
7. Move the PNC operator interface to the foreground.
8. Change to the User FEPROM directory and load the hosts file to
the editor.
Make sure that the file contains a line with the TCP/IP address and
the host name of the file server. If there is no such line, please add it.
Format: <IP address> <host name>
Example: 192.168.100.9 server11
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 35
and Controls
11. Save the changed file in the User FEPROM directory. In this way, it
is saved permanently as a backup copy. To have a work copy of this
changed file available, save it also as startup in the root directory.
12. If required, adjust the buffer size with MP 3080 00002.
13. If required, adjust the search path for sub-programs with
MP 3080 00001.
CAUTION
Danger of damage to the machine or the workpiece!
Do not initiate a control RESET during machining.
Default state
Default state
A
B
#Reset: #SysRes:
MP 7060 00020, [1] [2] [3] [4] [5] ... [24] [25] [26] [27] [28] [29] [30]
individual parameter
A: init string, max. 240 characters
B: individual parameter, max. 8 characters
CAUTION
Danger of damage to the machine or the workpiece!
Do not initiate a system control reset during machining.
Inch/metric switching
Restrictions:
D Switching the units of measure by G70/G71 has an effect neither on
linear auxiliary aces (asynchronous linear axes) nor on rotary or end-
less axes (i.e., all axes programmed in degrees).
D Switching the units of measure by interface signal has no effect on
rotary or endless axes (i.e., all axes programmed in degrees).
D Inch/metric switching by G70/G71 or by interface signal NC-I0.3 will
not change the values of the geometry compensation or zero shift
tables. These values will be automatically converted by the control
unit exclusively for the purpose of displaying the current compensa-
tion values.
Table input formats can be individually modified as follows:
D via MP 6020 00021, Number of decimal positions for compensa-
tion values (metric),
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 39
and Controls
Inch/metric switching
3.3.1 Assigning
1. Adjust MP 6020 00001 through MP 6020 00012, if required.
CAUTION
Danger of damage to the machine or the workpiece!
Do not initiate a system control reset during machining.
Inch/metric switching
Restrictions:
D G595 must be active (= all synchronous axes of a channel are taken
into account for calculating the path feedrate).
In order to ensure that G595 is active upon a start-up or a reset, we
recommend that G595 be included in MP 7060 00010 (start-up)
and in MP 7060 00020 (control reset).
D This function has an effect on synchronous axes of the rotary or
endless movement types only ( MP 1003 00004).
D This function relates exclusively to speed, not to position.
3.4.1 Assigning
1. Adapt MP 7040 00110. Please note:
D If the control unit is installed at a location where only metric part
programs are used (G71 is active; e.g., in Europe):
7040 00110 [1]: 1
7040 00110 [2]: 1
CAUTION
Danger of damage to the machine or the workpiece!
Do not initiate a system control reset during machining.
Relevant G functions:
G2/G3: Circular interpolation enabled.
G202/G203: Helical-N interpolation enabled.
3.5.1 Assigning
This function is always active with circular interpolation. It applies the
current settings of the relevant MACODA parameters.
CAUTION
Danger of damage to the machine or the workpiece!
Do not initiate a system control reset during machining.
Notes:
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 41
and Controls
Linear axis
4.1.1 Assigning
Precondition:
D The SERCOS parameters have been correctly set in the drive or will
be transferred by the control unit to the drive during SERCOS initiali-
zation (addressing, timing, operating mode, weightings, etc.; for in-
formation on the SERCOS interface, see page 467 ff).
Rotary axis
6. Ensure that the axis is correctly included in the PLC program in re-
spect of interface signals.
CAUTION
Danger of damage to the machine or the workpiece!
Do not initiate a control RESET during machining.
4.2.1 Assigning
Precondition:
D The SERCOS parameters have been correctly set in the drive or will
be transferred by the control unit to the drive during SERCOS initiali-
zation (addressing, timing, operating mode, weightings, etc.; for in-
formation on SERCOS, see page 467 ff.).
For a rotary axis, the type of weighting, e.g., must be set to rotary in
SERCOS parameter S-0-0076 (type of weighting for position data).
CAUTION
Danger of damage to the machine or the workpiece!
Do not initiate a control reset during machining.
Restrictions:
D While G91 is active (incremental data input), modulo calculation in
the control unit is suppressed in operating modes Automatic and
Manual data input with the exception of the output setpoint and its
display.
4.3.1 Assigning
Precondition:
D The SERCOS parameters have been correctly set in the drive or will
be transferred by the control unit to the drive during SERCOS initiali-
zation (addressing, timing, operating mode, weightings, etc.; for in-
formation on SERCOS, see page 467 ff.).
For a modulo axis, the type of weighting, e.g., must be set to rotary
and the processing format to Modulo format in SERCOS parameter
S-0-0076 (type of weighting for position data). In addition, the mo-
dulo value must be parameterized in S-0-0103.
CAUTION
Danger of damage to the machine or the workpiece!
Do not initiate a control reset during machining.
Restrictions:
D The respective drive must be able to carry out the modulo calculation
autonomously. At the drive end, the modulo value can usually be
parameterized with S-0-0103.
D Position values may be programmed in a traversing block only if they
are smaller than/equal to the modulo value.
D Negative position values may be programmed only if they are
smaller than the modulo value.
D A control reset will reset the program zero point to the axis zero point.
D Measuring (G175/G275) in the context of linear modulo axis opera-
tions may be performed only with traversing movements in positive
direction.
4.4.1 Assigning
Precondition:
D The SERCOS parameter Modulo value (S-0-0103) has been cor-
rectly set in the drive or will be transferred by the control unit to the
drive during SERCOS initialization (see MACODA manual).
CAUTION
Danger of damage to the machine or the workpiece!
Do not initiate a control reset during machining.
Hirth axis
With place programming, enter the target position without any decimal
positions.
Place 1 is always equivalent to the 0 position. All places are numbered
consecutively in dependence on MP 1003 00055 and are shown on the
position display in the form of position numbers. Negative position num-
bers, position number 0, or position numbers higher than those listed in
MP 1003 00055 can be programmed only while G91 is active (incre-
mental data input).
Restrictions:
D No axis coupling possible
D No handwheel mode permitted
D No synchronous Hirth axis may be included in the group of axes that
are selected with the Inclined Plane function.
D The reference point and all contour and zero shifts of a Hirth axis
must be located on the Hirth grid.
D After Feed hold, Feed inhibit, Emergency stop, or Control reset
in Incremental jogging mode (incremental step is active), the Hirth
axis can be brought to a standstill also between permitted positions.
See also Section 4.5.1 page 47.
Hirth axis
4.5.1 Assigning
Precondition:
D The axis is already available in the system as a rotary or an endless
axis with its speed, dynamics and, if required, its positioning logic
correctly parameterized in accordance with its operational require-
ments.
D The necessary axis-related interface signals are evaluated or gener-
ated within the framework of the PLC program.
CAUTION
Danger of damage to the machine or the workpiece!
Do not initiate a control reset during machining.
Hirth axis
Gantry axes
Tool
X2 axis Group of gantry axes
X1 axis
Gantry drive
Gantry drive
Workpiece
Preconditions
D Interface: the drives must be digital drives as per SERCOS.
D Drive data: the drive data of solidly coupled axes must be identical
so as to ensure that their behavior is identical also in asynchronous
operation (operating modes Jog and Traverse to reference point).
All drive data relating to axis dynamics (e.g., loop gain (KV), feed for-
ward etc.) must be kept identical for all gantry axes of a group. This
must be taken into account also for programming. This data may be
changed only while the axes are at rest, because not all the drives
would be able to recognize and execute a switching operation simul-
taneously (in the same SERCOS clock pulse).
D Measuring system: for gantry axes, identical absolute or cyclic/ab-
solute measuring systems are required.
Gantry axes
D Reference point switch: for all gantry axes, there is a common ref-
erence point switch (cam) which is tripped by the master axis and
which relays the signal Reference point switch recognized simulta-
neously to all gantry drives.
D Constellation of axis types: in any one group of gantry axes, the
following constellations of axis types are permitted:
Master axis Slave axis
linear linear
linear modulo linear modulo
endless endless
rotary rotary
For modulo axes, the modulo values of master and slave axes must
be identical.
The master axis must be a synchronous axis, the slave axis may be
an asynchronous axis.
Restrictions
D After starting up the control unit, the coupled axes must be properly
aligned by the mechanical coupling so as to permit parallel travers-
ing of the axes (distance between the axes = constant).
D The signal flow as described in Sect. 4.6.1, Assigning gantry axes
(para. 7., see page 419 ff.) must be strictly complied with in the ref-
erencing process.
D After every change of motor and/or measuring systems, a new com-
missioning must be carried out.
D After every change of software in the drives, a new commissioning
must be carried out, because the working memory stored in the drive
is lost.
D In referencing parameter S-0-0147, bit 7 (position after drive-con-
trolled referencing) may be set to 1 only if the correct reference off-
sets have been accepted by the drive.
D The master axis of a gantry axis group must never be a slave of an
axis coupling at the same time.
D The manufacturer-specific SERCOS parameters (P-x-xxxx) men-
tioned in the context of the commissioning are relevant to Servodyn
drives only. Equivalent parameters must be used in the case of other
drives. The functionality must be ensured by the drive manufacturer.
Gantry axes
X1 axis
Skew of a group
of gantry axes
. A skew of the gantry axes must be corrected before the control unit
is started if the skew prohibits the traversing of the gantry axes.
Gantry axes
. In the event of an axis jam, the drive must be shut down and
the axis must be set free mechanically.
Gantry axes
Error analysis:
In the event of an unpermissible skew, the interface signal NC-O
16.6 Coupling lag exceeded will be set for the axis/axes involved.
When the following distance is no longer exceeded, the signal will be
deactivated.
This error state in the NC can be suppressed by setting the axis sig-
nal NC-I 4.5 for the master axis. In this event, monitoring of the cou-
pling lag has to be programmed in the PLC.
D Torque/current monitoring:
Torque/current monitoring (standstill (zero-speed) monitoring) works
only in the stationary state, i.e. all gantry axes are in position and
there is no traversing command from the NC pending.
Active axis torques are obtained from the SERCOS telegram.
Torque monitoring outputs a reaction if the sum total of the torques
of all drives of a gantry axis group exceeds the max. total static
torque specified in MP 1003 00062.
The static torque total is a qualitative measure of the torque bias. The
quantitative characteristics must be specified by the manufacturer.
They must be determined by various series of tests.
SERCOS setting
To enable torque monitoring, the actual torque values (S-0-0084) of
the gantry drives must be transferred with the cyclical SERCOS tele-
grams (entry in SERCOS file p2<xxx>.scs). See also Sect. 4.6.1.
Error analysis
If the torque/current monitoring function indicates an excessive
skew, first the cause of the error must be removed before the skew
is corrected by referencing! Any referencing attempt while the cause
of the error continues to exist will cause a repeated reaction of the
monitoring function.
Gantry axes
Relevant G functions:
All G functions are permitted that allow the meaningful programming of
a gantry group.
Gantry axes
Gantry axes
4.6.1 Assigning
Preconditions
The following conditions must be satisfied in order to assign gantry
axes:
D After start-up, the master and the slave axes traverse simulta-
neously if all the axes have been assigned to the gantry group in MP
1003 00061. This applies to jog mode, approach the reference point,
..
D All gantry axes have one common reference point switch, which they
recognize simultaneously during referencing. Therefore, the drives
complete their traversing motions all at the same time.
D The reference offset can be set independently for the master axis
only.
D Setting the reference offset of a slave independently is possible only
during commissioning.
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 417
and Controls
Gantry axes
CAUTION
Dangerous skew of the gantry axis group!
As long as the reference offsets of the axes are not correctly en-
tered and accepted, and SERCOS parameter P-0-0504 (cam posi-
tion status (Reference point status)) is not saved in the drive, the
reference point must not be approached. Otherwise, an offset oc-
curs that may cause a dangerous skew of the gantry axis group!
Prior to the first commissioning of the gantry drives, referencing
parameter S-0-0147 must be set to bit 7 = 0 to allow the drive to be
in a random position after referencing. In addition, parameter
P-0-0504, cam position status (reference point switch) must be set
to 0 (=init).
Sequence
The following description (items 1. through 9.) illustrates the sequence
of a gantry axis group commissioning:
There are two ways to align the axes (depending on the machine tool
design):
Gantry axes
Gantry axes
Gantry axes
The reference dimension offset is determined both for the master and
the slave(s). Because encoder mounting is never exactly identical (com-
missioning distance), this commissioning distance must also be taken
into account for the reference offsets of the drives.
After recognizing the reference switches, the drives decelerate the refer-
encing movement down to a standstill.
- Encoder value (standstill) of the master axis: 10.000
- Encoder value (standstill) of the slave axis: 5.000
Setting out the axes provides the actual position 1 of the axes relative to
the machine zero point: 20.000
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 421
and Controls
Gantry axes
Because the gantry axes are aligned, they both have the same position
relative to the machine zero point!
This leads to the following results:
- reference dimension offset 1 of the master axis
20.00010.000=: 10.000
- reference dimension offset 1 of the slave axis
20.000 5.000=: 15.000
Slope
Direction of movement Encoder value=5
Reference point
M machine zero point
Reference dimen-
sion offset 1
Reference dimension position actual value 1 Machine actual value
= 20.000
(relative to M)
Gantry axes
. Please note for the SERCOS file p3*.scs of every gantry axis:
With the exception of the reference dimension offset, S-x-0150,
S-x-0151, S-0-0177, S-0-0178 (depending on the encoder type), all
values must be identical.
CAUTION
As long as the reference offsets of the axes are not correctly en-
tered and accepted, and SERCOS parameter P-0-0504 (cam posi-
tion status (Reference point status)) is not saved in the drive, the
reference point must not be approached (S-0-0147 bit 7 =0)!
CAUTION
Damage to the mechanical system of the gantry group!
4.6.2 Activating
Precondition:
D All the tasks required to assign the gantry drives have been per-
formed.
1. Start the system. After system start-up, the gantry coupling is active.
2. Reference the gantry group
D if a skew (due to missing reference points, etc.) exists,
D if the system must be re-commissioned after drives, encoders, or
drive software have been changed, and
D after every start-up.
Gantry axes
4.6.3 Deactivating
A gantry group cannot be deactivated by programming.
The only way to deactivate the gantry axes is through MP 1001 00061
(index of the leading gantry axis).
Every axis that belongs to a gantry group is assigned the parameter 0.
This will disband the group. When the system is restarted, this gantry
group does not exist any more.
424 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
For this purpose, the control unit requires information from the drive
whether its actual position values are related to the reference point of
the axis:
D If that is the case, either an absolute encoder is being used or the
reference point has already been approached, if an incremental en-
coder is used. Approaching the reference point is not necessary in
this event.
D If that is not the case, Approaching the reference point has not yet
been initiated if an incremental encoder is used. Approaching the
reference point is necessary in this event.
At the same time, it informs the NC that its actual position values are no
longer related to the reference point of the axis (S-0-0403: bit 0=0).
Once the drive has successfully carried out Drive-controlled referenc-
ing, bit 0 in S-0-0403 changes back to logical 1.
The PNC acknowledges this information by setting the interface signal
NC-O15.7 Reference point is known at the respective axis interface.
This is shown in the axis display by a sign added to the position value.
The following signs may be used:
* referenced synchronous axis
$ non-referenced synchronous axis
# referenced auxiliary axis
@ non-referenced auxiliary axis
Function:
The PNC can initiate a required Approaching the reference point in dif-
ferent ways:
Case 1: manually via the standard operator interface
Case 2: via PLC through the digital interface
Case 3: via NC syntax through the G function G374
Case 4: via NC syntax through the G function G74
In cases 1 through 3
D the interface signal NC-O15.6 Reference point was reached is re-
set at the respective axis interface.
D the command Drive-controlled referencing (S-0-0148) is trans-
mitted to the relevant drives. How the drives react to this command
depends on the drive configuration.
D a positive acknowledgment of the drives involved (bit 0=1 in
S-0-0403) is required.
Once it arrives, the NC sets the interface signals NC-O15.6 Refer-
ence point was reached and NC-O15.7 Reference point is known
at the respective axis interface.
Case 4
As opposed to cases 1 to 3, case 4 (G74) is no real Approaching the
reference point but exclusively a linear traversing movement in rapid
feed to the reference point coordinates of programmed axes.
The positions to be approached are determined by the PNC during
start-up directly from the connected drives.
Depending on the measuring system used, the following SERCOS pa-
rameters are output for this purpose:
Motor encoder, incremental: S-0-0052 (reference dimension posi-
tion actual value 1)
External motor encoder, S-0-0054 (reference dimensionposition
incremental: actual value 2)
Motor encoder, absolute: same as for motor encoder, incremen-
tal
External encoder, absolute: same as for external encoder, incre-
mental
Relevant G functions:
G 74: Approach reference point coordinates.
It is possible to program in the G74 block which axes are
supposed to traverse.
Example: N.. G74 X0 Y0 Z0 B0
Although numerical values following the axis addresses
have to be programmed, they are of no significance for
the actual traversing movement.
Auxiliary and additional functions may be programmed
within the same block.
Please note that the channel-related interface signal
NC-O20.0 Rapid traverse active is not output during
G74!
CAUTION
Danger of damage to the machine or the workpiece!
Possibly active compensations will remain unconsidered in the
course of the positioning process via G74.
In addition, G74 is not executed for referenced axes.
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 427
and Controls
4.7.1 Assigning
4.7.2 Activating
Preconditions:
D The required SERCOS parameters have to be assigned correctly in
accordance with Chapter 4.7.1.
D SERCOS communication has been established with the respective
drive and is working properly.
In this context, refer to the description of the following signals:
NC-I8.x / 9.x: Drive inhibit (axis interface)
NC-I10.x / 11.x: Drive off (axis interface)
NC-O14.0: SERCOS system ready (axis interface)
NC-O14.1: Drive ready (axis interface)
NC-O14.2: Drive under control (axis interface)
NC-O15.0: Axis inhibited (test) (axis interface)
D Axes for which Approaching the reference point is to be initiated
have to be at standstill.
D The axis interface signals Handwheel assignment bit x (NC-I2.0
and NC-I2.1) must not be set.
D The axis interface signal Feed inhibit (NC-I12.x / NC-I13.x) must
not be set.
via PLC
1. The signal Mode selection by PLC (NC-I3.0) is set at the respective
channel interface.
2. Operating mode Manual approaching the reference point is acti-
vated.
In this context, refer to the description of the following signals:
NC-I2.0: Mode selection bit 0 (channel interface:
NC-I2.1: Mode selection bit 1 (channel interface)
430 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
via G374
1. Program G374. For syntax, see Relevant G functions.
Both synchronous and asynchronous axes may be programmed.
2. Initiate cycle start for execution.
Use the axis display to check whether Approaching the reference
point has been carried out successfully. The additional sign following
the position value of the axis involved has to
change from $ to * (in case of synchronous axes) or
from @ to # (in case of asynchronous axes).
via G74
1. Program G74. For syntax, see Relevant G functions.
Only synchronous axes can be programmed in the G74 block!
2. Initiate cycle start for execution.
The programmed axes traverse to their reference point.
The additional sign following the position value of the axes involved
does not change in the process.
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 431
and Controls
Drive-controlled interpolation
Restrictions:
D The Drive-controlled interpolation of an axis can only be switched
on and off on its master channel ( MP 1003 00002).
D At a given moment of time, an axis can only receive position data
from one channel. Otherwise, an error message will be generated.
D Position specifications from the master channel (G520) are not per-
mitted.
D If a channel initiates new position data although the last data speci-
fied by the same channel has not been completely interpolated yet,
the old position data will be replaced by the new one.
D During a drive-controlled interpolation, the override function of the
control unit (see page 723) has no influence on the corresponding
axis.
If influencing the axis via override is required for this period of time all
the same, the PLC has to write the desired override value directly
into drive parameter S-0-0108 (Feedrate override).
D If Feed hold is initiated on the master channel during the drive-con-
trolled interpolation, the traversing movement of the axis is halted but
it can be continued again via Cycle start.
D If Control reset is initiated on the master channel during the drive-
controlled interpolation, the drive-controlled interpolation is can-
celled. The control unit takes over the interpolation again
(corresponds to G521).
An entry of G521 into the init string (see page 36) is not required.
D During the drive-controlled interpolation, a selective reset for this
axis remains without effect.
432 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
Drive-controlled interpolation
. The G functions G520, G523 and G524 only act block by block,
whereas G521 and G522 form a group and deselect each other
mutually.
4.8.1 Assigning
Drive-controlled interpolation
1. Make sure that secondary operating modes 2 and 3 of the drive have
been parametrized correctly.
The drive function Interpolation in the drive has to be parametrized
for secondary operating mode 2 as well as for secondary operating
mode 3.
Parametrization is performed in the drive parameters S-0-0034 (for
secondary operating mode 2) and S-0-0035 (for secondary operat-
ing mode 3) via bit 4 to bit 7.
2. Make sure when speed data is specified (G523) that the feedrate
unit set by the NC ( MP 7040 00010) is interpreted correctly by the
drive.
The speed data is stored in the drive under S-0-0259 and interpreted
with the weighting from S-0-0044.
3. Make sure that the acceleration data specified (G524) is interpreted
correctly by the drive.
The acceleration data is stored in the drive under S-0-0260 and inter-
preted with the weighting from S-0-0160.
4.8.2 Activating
1. Program the axis addresses in the G522 block for which the Drive-
controlled interpolation is to be activated (e.g. X1 Y1; the number
after the axis name is required for programming but is not subject to
any further evaluation).
Axes with active Drive-controlled interpolation can now be addressed
regarding position (G520), feed speed (G523) and acceleration (G524)
from the remaining channels of the control unit under their physical axis
names ( MP 1003 00001).
4.8.3 Deactivating
1. Program G521.
All axes on the channel for which Drive-controlled interpolation has
been activated, are switched back to NC-controlled interpolation
(main operating mode or secondary operating mode 1 are selected
again on the drive).
434 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
Axis transfer
Required terms:
D Taking over an axis:axis is integrated into the axis group
D Borrowing an axis: axis is transferred, i.e. channel borrows axis
from an inactive channel
D Removing an axis: axis is released from present axis group
D For the meaning of the terms drive, channel, axes, axis group, auxil-
iary axes, synchronous and asynchronous axes, physical and logical
axes, physical and logical axis index, spindle, please refer to Section
5.1.2.
With this kind of axis transfer, it is possible, e.g., to start a user reset
program in a channel after a system control reset, which borrows all
system axes from other channels too and moves them to a basic
position .
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 435
and Controls
Axis transfer
Example:
The X axis of channel 1 is transferred to channel 2 (see figure below).
In channel 1, preparation has already reached block N1310, and
block N1220 is active. Release of the X axis is thus completed.
At this point in time, block N2110 is active on the 2nd channel. Prepa-
ration is at block N2220 and is prepared to take over the physical axis
XP (previously X from channel 1).
The axis XP is assigned the name ZA in the process. Since this name
is already familiar to channel 2, there will be no waiting times until the
axis is taken over.
Axis transfer
Removing axis:
G512 (Y)
before: after:
LAI: 1 LAI: 1
LAN: X LAN: X
PAN: XP PAN: XP reduced
PAI: 1 PAI: 1 axis group
synchronous
LAI: 2 logical axis
LAI: 2 LAN: Z index is
LAN: Y PAN: ZP reduced by 1
PAN: YP PAI: 3
axis group PAI: 2
LAI: 4
LAN: B
PAN: B
PAI: 5
asynchronous
LAI: logical axis index
LAN: logical axis name PAN: YP
PAN: physical axis name PAI: 2
PAI: physical axis index
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 437
and Controls
Axis transfer
Example:
In the figure below, the physical axis YP is integrated into an axis group.
It can then no longer be addressed as asynchronous axis YP on other
channels. On the own channel, it can be programmed either with the
logical or the physical axis name. The Y axis additionally appears on a
channel axis display.
Channel axes Z and B are assigned new logical axis indexes.
LAI: 1 LAI: 1
LAN: X LAN: X
PAN: XP PAN: XP
PAI: 1 PAI: 1
synchronous
LAI: 2 LAI: 2
extended
axis group LAN: Z LAN: Y
axis group
PAN: ZP PAN: YP
PAI: 3 PAI: 2
asynchronous
LAI: logical axis index
LAN: logical axis name PAN: YP
PAN: physical axis name PAI: 2
PAI: physical axis index
An axis taken over is assigned the axis classification 999, if it does not
belong the default configuration of the channel. In all other cases, it re-
ceives its default classification from MACODA.
438 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
Axis transfer
Axis transfer
The reasons may be (see also examples in Section 4.9.2, page 442):
D The order of the current axis names and their axis assignment to the
channel has changed.
D Axes have been removed from the axis group or adopted into the
axis group.
D The names of the logical axes may have changed at transfer, if re-
quired.
The order of the axis display is determined in MP 6005 00020 (1.. 16).
Without changes in the order, it is possible that the transfer causes the
axis names to jump in the display.
Axis transfer
Relevant G functions:
G510 (..) Taking over axis
Error message when the axis has not yet been released
in its current axis group.
G511 (..) Taking over axis with waiting until the axis is released.
G512 (..) Removing an axis from an axis group
G513 Taking over default axis setting from MACODA.
G515 (..) Assigning new logical axis names.
This logical name has to be predefined in MP 7010
00010 Logical axis designation or MP 7010 00020 Op-
tional axis designation.
G516 (..) Removing logical axis names in the calling axis group
again
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 441
and Controls
Axis transfer
4.9.1 Assigning
From a machining-technological point of view, axes can be transferred
between different axis groups on the machine.
Axis transfer
4.9.2 Activating
Precondition:
With a view to program flow, the programs operating on the different
channels have to be synchronized with regard to the axis transfer.
For example, the axis to be transferred has to be released before it can
be taken over by the other channel. If necessary, the program of one
channel has to wait for the program on the other channel to reach the
transfer status.
L The axis transfer in the program execution is activated using the func-
tions described under Relevant G functions.
Example 1 :
The axis is temporarily transferred to a 2nd channel
At time t1, machining takes place with the logical axes X, Y, Z on the 1st
channel and the axes U, B on the 2nd channel.
The zero shift table Tab1 is active on the 1st channel and table Tab2 with
columns U and B is active on the 2nd channel.
In block N220, it is necessary to wait until the YP axis is released. This
occurs at the active time of block N1210. From here on, machining is
continued on the 2nd channel. YP is to be addressed as 2nd logical axis;
the respective column of the zero shift table Tab 2 is effective.
At time t2, the axis transfer has been completed. YP is now displayed as
2nd logical axis in the axis display of the 2nd channel.
In block N1310, the YP axis is integrated into the first channel again. It
has to be ensured in the program flow that the YP axis has been re-
leased by the 2nd channel at this point in time. If that is not the case, a
runtime error will occur.
Axis transfer
Tab1 X Y Z Tab2 U B YP
G54 54.01 54.02 54.04 G54 54.01 54.02 54.04
G55 55.01 55.02 55.04 G55 55.01 55.02 55.04
... ...
LAI: 3 LAI: 3
LAN: Z LAN: B
PAN: ZP PAN: BP
PAI: 5 PAI: 3
asynchronous
PAN: YP
PAI: 2
Axis transfer
Display: Axes of channel 2 (at time t1) Display: Axes of channel 2 (at time t2)
$2: ST1 05:09:02 $2: ST1 05:09:02
NC: PNC 10:10:01 NC: PNC 10:10:01
A: Manual A: Manual
Workpiece position Modal functions Workpiece position Modal functions
Technology Technology
F: 0.0 0% F: 0.0 0%
S1: 0.0 0% S1: 0.0 0%
S2: 0.0 0% S2: 0.0 0%
xxxx xxxxxx xxxxe xxxxxxr xxxx xxxxx xxxxx xxxx xxxxxx xxxxe xxxxxxr xxxx xxxxx xxxxx
444 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
Axis transfer
Example 2 :
Axis transfer in case of 2 real machining channels
At time t1, machining takes place with the logical axes X, Y, Z on the 1st
channel and the axes U, V, W on the 2nd channel. The zero shift table
Tab1 is active on the 1st channel and table Tab2 on the 2nd channel.
The Y and V axes are released in blocks N1210 and N2210. Both axes
were involved in plane selection. That is why a switchover to G16 took
place on both channels.
In block N1220, the ZP axis is assigned the new logical name Y.
In blocks N1230 and N2220, it is necessary to wait until the requested
axis are released.
In block N1240, the axis classification and the plane are set again. X, Y
and Z are shown in the axis display of the 1st channel, where Y is the
axis ZP and Z the axis VP.
Axis transfer
Tab1 X Y Z Tab2 U V W
G54 54.01 54.02 54.04 G54 54.01 54.02 54.04
G55 55.01 55.02 55.04 G55 55.01 55.02 55.04
... ...
asynchronous asynchronous
PAN: YP PAN: YP
PAI: 2 PAI: 5 Axis transfer
Display: Axes of channel 1 (at time t1) Display: Axes of channel 1 (at time t2)
$1: ST1 05:09:02 $1: ST1 05:09:02
NC: PNC 10:10:01 NC: PNC 10:10:01
A: Manual A: Manual
Workpiece position Modal functions Workpiece position Modal functions
Technology Technology
F: 0.0 0% F: 0.0 0%
S1: 0.0 0% S1: 0.0 0%
S2: 0.0 0% S2: 0.0 0%
xxxx xxxxxx xxxxe xxxxxxr xxxx xxxxx xxxxx xxxx xxxxxx xxxxe xxxxxxr xxxx xxxxx xxxxx
446 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
Axis transfer
Example 3 :
Exchange of two equivalent axes on a channel
At time t1, logical axes X, Y and Z are used to work with. The X axis is
physical axis X1.
The X1 axis is released in block N1210, and the X2 axis is integrated
with the name X into block N1220.
Machining is possible with the X2 axis starting at time t2. The zero shift
values from the column with the name X2 are valid for to this axis.
Channel 1
N1100 G22 V Tab1 Time t1
N1110 X0 Y0 Z0
; Machining with X, Y, Z
...
; Removing X from axis group
N1210 G512 (X)
; Integrating X2 with name X
N1220 G510 (X2,X)
Time t2
N1230 X0 Y0 Z0
; Machining with X, Y, Z
...
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 447
and Controls
Axis transfer
Tab1 X1 X2 Y Z
G54 54.01 54.02 54.03 54.04
G55 55.01 55.02 55.03 55.04
...
Rename LAI: 2
LAI: 2 LAN: Y
LAN: Y PAN: ZP
PAN: YP PAI: 4
PAI: 3
LAI: 3
LAI: 3
LAN: Z
LAN: Z
PAN: VP
PAN: ZP
PAI: 3
PAI: 4
Display: Axes of channel 1 (at time t1) Display: Axes of channel 1 (at time t2)
$1: ST1 05:09:02 $1: ST1 05:09:02
NC: PNC 10:10:01 NC: PNC 10:10:01
A: Manual A: Manual
Workpiece position Modal functions Workpiece position Modal functions
Technology Technology
F: 0.0 0% F: 0.0 0%
S1: 0.0 0% S1: 0.0 0%
S2: 0.0 0% S2: 0.0 0%
xxxx xxxxxx xxxxe xxxxxxr xxxx xxxxx xxxxx xxxx xxxxxx xxxxe xxxxxxr xxxx xxxxx xxxxx
448 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
Axis transfer
Example 4 :
More than 8 synchronous axes on one channel
At time t1, logical axes X, Y, Z, W1, W2, W3, W4 and W5 are used to
work with.
The W2, W3, W4 and W5 axes are released in block N1210, and the
physical axes SY6, SY7, SY8 and SY9 are taken over with the names
W2, W3, W4 and W5 in block N1230.
The zero shift values in columns SY6 to SY9 are affective from now on.
Machining is possible with the SY6 to SY9 axes starting at time t2.
Channel 1
Axis transfer
LAI: 3
W4 0. 000 * LAI: 3
LAN: Z W5 0. 000 * LAN: Z
PAN: ZP Technology PAN: ZP
PAI: 3 F: 0.0 0% PAI: 3
S1: 0.0 0%
S2: 0.0 0%
LAI: 1 LAI: 1
LAN: W1 xxxx xxxxxx xxxxe xxxxxxr xxxx xxxxx xxxxx LAN: W1
PAN: SY1 PAN: SY1
PAI: 4 PAI: 4
asynchronous asynchronous
LAI: 5 LAI: 5
LAN: W2 PAN: SY2 PAN: SY6 LAN: W2
PAN: SY2 PAI: 5 PAI: 9 PAN: SY6
PAI: 5 PAI: 9
LAI: 8 LAI: 8
LAN: W5 asynchronous asynchronous LAN: W5
PAN: SY5 PAN: SY9
PAI: 8 PAN: SY5 PAN: SY9 PAI: 12
PAI: 8 PAI: 12
Axis transfer
4.9.3 Deactivating
Spindle
4.10 Spindle
Function:
Assigns a connected SERCOS drive as spindle.
Spindle
4.10.1 Assigning
Precondition:
D The SERCOS parameters have been correctly set in the drive or will
be transferred by the control unit to the drive during SERCOS initiali-
zation (addressing, timing, operating mode, weightings, etc.; for in-
formation on SERCOS, see page 467 ff.).
For a spindle, the type of weighting, e.g., must be set to rotary and
the data reference to at the load in the SERCOS parameters.
CAUTION
Danger of damage to the machine or the workpiece!
Do not initiate a control RESET during machining.
Spindle/C axis
Restrictions:
D The measuring system used has to run with the real spindle speed. A
motor encoder must only be used for systems without gear. If gears
are used, you need an external encoder.
D When general inhibit is activated, the NC saves the current state of
the drive (spindle/C axis mode). To be able to deactivate general in-
hibit, the current state of the drive has to coincide with the state that
has been saved.
D When you switch the main spindle ( MP 7020 00010) to C axis
mode, G95 (feedrate programming in mm/rev) is not switched off.
Spindle/C axis
Relevant G functions:
G518: Switches from spindle mode to C axis mode.
See page 456.
G517: Switches from C axis mode to spindle mode.
See page 457.
Spindle/C axis
4.11.1 Assigning
Preconditions:
D The SERCOS parameters have been correctly set in the drive or will
be transferred by the control unit to the drive during SERCOS initiali-
zation (addressing, timing, operating mode, weightings, etc.; for in-
formation on SERCOS, see page 467 ff.).
For a spindle/C axis, the type of weighting, e.g., must be set to
rotary and the data reference to at the load in the SERCOS pa-
rameters.
Spindle/C axis
CAUTION
Danger of damage to the machine or the workpiece!
Do not initiate a control RESET during machining.
Example:
:
N100 G518(WA) The spindle, which has the name WA as
axis, is switched over to C axis mode as
asynchronous axis.
N110 WAITA(IC(24,5,x)) Waits until the spindle interface signal
NC-O17.0 (C axis is active) has been
set. x: spindle index
N120 WAIT Waits until WAITA() has been executed.
Then, the axis is actually available.
Spindle/C axis
Example:
N100 G512 (C) Removing the C axis from an active channel.
N110 G517 (C) Switching back to spindle mode.
N120 WAIT Waits until G517 has been executed.
458 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
Controlling a tool turret requires a change to turret mode both within the
NC and mechanically, where the turret has its own transmission ratio.
In spindle mode, the drives moves a tool designed as cutter. In case of a
tool change, the drive is switched to C axis mode; at the same time, the
PLC mechanically applies the motor to the turret axis.
In this state, the NC/PLC can now carry out the tool change via C axis.
Having switched back to spindle mode (NC and mechanically), it is pos-
sible to continue machining of the workpiece.
Restrictions:
D Servodyn-D drives have to be used.
D The drive must support the command S-0-0197 (set coordinate sys-
tem). Servodyn-D meets this condition starting at drive software ver-
sion V0.048.
D Since the contents of the CPL variable @_C_AXISxy_POS is over-
written when loaded into an archive (file extension *.tar), the turret
axis has to be referenced after the loading process.
CAUTION
Danger of damage to the machine.
The CPL variable @_C_AXISxy_POS must not be manipulated at
random. Reference the turret axis.
D The motor encoder is used as measuring system for spindle and tur-
ret axis.
D When general inhibit is activated, the NC saves the current state of
the drive (spindle/C axis mode). To be able to deactivate general in-
hibit, the current state of the drive has to coincide with the state that
has been saved.
D When you switch the main spindle ( MP 7020 00010) to C axis
mode, G95 (feedrate programming in mm/rev) is not switched off.
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 459
and Controls
Relevant G functions:
G518: Switches from spindle mode to C axis mode (here: turret
mode). The required parametrization of MP 1040 00060
(setting: 2) results in the following sequence:
Spindle is decelerated to a stop.
Parameter block 4 in the drive is activated
Turret mode is activated
The axis position from the CPL variable
@_C_AXISxy_POS is taken over
G517: Switches from C axis mode to spindle mode (here: turret
mode). The required parametrization of MP 1040 00060
(setting: 2) results in the following sequence:
the current position of the turret axis is written in the
CPL variable @_C_AXISxy_POS
spindle mode is activated
in the drive, the parameter block (gear range) which
was active last in spindle mode, is activated again.
. The change between spindle mode and turret mode always entails
a mechanical change, too. This connection must not be eliminated
460 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
4.12.1 Assigning
Preconditions:
D The SERCOS parameters have been correctly set in the drive or will
be transferred by the control unit to the drive during SERCOS initiali-
zation (addressing, timing, operating mode, weightings, etc.; for in-
formation on SERCOS, see page 467 ff.).
For a spindle/C axis, the type of weighting, e.g., must be set to
rotary and the data reference to at the load in the SERCOS pa-
rameters.
D S-0-0044 (type of weighting for speed data)
D S-0-0076 (type of weighting for positional data)
D S-0-0160 (type of weighting for acceleration data)
CAUTION
Danger of damage to the machine or the workpiece!
Do not initiate a control RESET during machining.
CAUTION
Wrong turret positioning possible!
If the position of the turret axis has been shifted since the last
switch of the NC from turret mode to spindle mode for any reason
whatsoever, the contents of the variable @_C_AXISxy_POS no
longer coincides with the current position of the turret axis!
This may cause serious damage to the machine or tools.
The turret axis has to be referenced, just in case the contents of
the variable @_C_AXISxy_POS no longer coincides with the cur-
rent position of the turret axis!
For reasons of safety, we recommend referencing the turret after
control unit start-up.
The reference point is determined in the same way as for normal axes.
Upon completion of referencing, the reference point position is auto-
matically taken over into the CPL variable @_C_AXISxy_POS.
4.13.1 Assigning
Preconditions:
D The function Drive-controlled oscillation (S-0-0190) is available in
the drive.
D The spindle has to be correctly included in the PLC program in re-
spect of its interface signals.
CAUTION
Danger of damage to the machine or the workpiece!
Do not initiate a control RESET during machining.
4.13.2 Activating/deactivating
Spindle idling is automatically initiated by the NC when the requested
gear range does not coincide with the gear range stated in the feed-
back.
If they coincide, the NC deactivates the function automatically.
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 467
and Controls
Function:
The SERCOS initialization of the PNC has the following tasks:
D Closing of all SERCOS rings. This serves to test whether the optical
fiber transmission links are in order.
D Establishing the SERCOS timing and the communication paths to
the connected drives.
D Switching the phases of all SERCOS drives up to phase 4 (cyclical
operation has been activated).
4.14.2 Assigning
Parametrize and start initialization:
CAUTION
With activated parameter download, current drive parameters are
overwritten by parameter values contained in the SERCOS files
of the control unit.
In case of SERCOS files which have not been adapted, this may
lead to unintended or hazardous states on the machine.
Therefore, deactivate the automatic parameter download for all
drives where adapted SERCOS files do not yet exist in the control
unit.
For information on the deactivation of the parameter download,
please refer to page 472.
Function:
When the parameter download is activated, the control unit is able to
completely parametrize the connected drives during start-up.
The prerequisite being that the corresponding adapted SERCOS files
(*.scs) exist in the control unit. SERCOS files are always stored in ASCII
format.
CAUTION
With activated parameter download, current drive parameters are
overwritten by parameter values contained in the SERCOS files
of the control unit.
In case of SERCOS files which have not been adapted, this may
lead to unintended or hazardous states on the machine.
Therefore, deactivate the automatic parameter download for all
drives where adapted SERCOS files do not yet exist in the control
unit.
For information on the deactivation of the parameter download,
please refer to page 472.
Assigning
All the files which can be used in sysgrph2.scs and sysgrph3.scs for
the automatic download via the use command, may
D contain comment lines and
D lines for drive parametrization.
Comment lines always start with a semicolon (;). All signs after the
semicolon till the end of the line will be interpreted by the PNC as com-
ment. Comments are not transmitted to the drives. They only serve to
provide a structure and overview.
Examples:
; This is a comment line (comment)
S-0-0121 = 1 ;initial rot. (parameter with comment)
S-0-0122 = 1 (decimal value)
S-0-0032 = 0b0011 (binary value)
S-0-0142 = Application type (String)
S-0-0016 = (S-0-0051,S-0-0189) (ID list)
L If all SERCOS files (*.scs) required and adapted for your application are
available already, copy all relevant SERCOS files into the Root direc-
tory (/) of the PNC (for the directory structure, please refer to the Op-
erating instructions manual).
For activation or deactivation, please read the respective sections be-
low.
L If no SERCOS files (*.scs) have been created for your application, you
have to create these files in the Root directory (/) of the PNC via edi-
tor or copy and adapt the supplied example files into theRoot directory
(/).
Activating
1. Remove the sign ; to the left of the relevant use commands in the
files sysgrph2.scs or sysgrph3.scs, respectively (for syntax, see
above).
As a result, the control unit will not interpret these signs as comment
lines during the next start-up but as command for downloading.
2. Save the modified file(s).
3. Make backup copies of the files.
Example:
Automatic downloading (in phase 2) of the files
D p2linall.scs into the drives with system drive index 1, 2 and 4
D p2lin3.scs into the drive with system drive index 3.
Deactivating
1. Set the sign ; to the left of the relevant use commands in the files
sysgrph2.scs or sysgrph3.scs, respectively (for syntax, see
above).
As a result, the control unit will not interpret these signs as command
for downloading during the next start-up but as comment lines.
2. Save the modified file(s).
3. Make backup copies of the files.
Example:
Automatic download for the two files from the previous example is to be
deactivated.
Excerpt from file sysgrph2.scs (phase 2!):
:
;use p2linall.scs for (1,2,4)
;use p2lin3.scs for (3)
:
. If backup copies of all relevant SERCOS files exist in the User FE-
PROM (/usrfep), it is not sufficient to simply delete or rename
the relevant SERCOS files in the Root directory of the control
unit, if you want to deactivate the automatic parameter download
(the control unit will search for these files in the User FEPROM
as well if it doesnt find them in the root directory)!
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 473
and Controls
Activating
1. Remove the sign ; to the left of the dbg command in the files
sysgrph2.scs or sysgrph3.scs, respectively.
As a result, the control unit will not interpret these signs as comment
lines during the next start-up but as command to log the SERCOS
parameters.
2. Save the modified file(s).
Deactivating
1. Set the sign ; to the left of the dbg command in the files
sysgrph2.scs or sysgrph3.scs, respectively.
As a result, the control unit will interpret the line as comment line dur-
ing the next start-up.
2. Save the modified file(s).
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 475
and Controls
For diagnostics purposes, the PNC can log the SERCOS timing from
phase 3 on.
To do this, you have to program the opt command in file
sysgrph3.scs.
Activating
1. Remove the sign ; to the left of the opt command in the file
sysgrph3.scs.
As a result, the control unit will not interpret these signs as comment
lines during the next start-up but as command to log the SERCOS
timings.
2. Save the modified file.
Deactivating
1. Set the sign ; to the left of the opt command in the file
sysgrph3.scs.
As a result, the control unit will interpret the line as comment line dur-
ing the next start-up.
2. Save the modified file.
476 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
The function minimizes the required start-up time of the machine with
activated parameter download.
SERCOS files which are normally always transmitted to the drives in
phase 3 (defined in sysgrph3.scs) are only sent by PNC if the param-
eters in this kind of file most probably differ from the current drive config-
uration.
Coordinate systems
5 Coordinate systems
Axis and coordinate names (Example: active axis transformation + pseudo coordinates)
Programming level
Coordinate identifiers x y z phi theta U V
Coordinate index 1 2 3 4 5 6 7 8
Coordinate configuration
Coordinate names:
MP 7080 00010 x y z phi theta
Individual parameters 1 2 3 4 5 6
Axis transformation
Axis configuration
Coordinate systems
The term axes refers in this context to the entirety of the drives con-
trolled by position setpoint values. Spindles, in contrast, use a speed
interface. The term of spindles/C axes refers to spindles which can be
selected both in spindle operation (speed interface) as well as in C axis
operation (positional interface). The specific type of drive is determined
in MP 1001 00001, Drive function type.
Physical axes
Physical axes are also referred to as system axes. Unless its display is
suppressed by machine parameter settings, each physical axis corre-
sponds to a real SERCOS axis. Its axis/drive index (1...n) is unique
throughout the system and corresponds to the index of the respective
individual drive or axis parameters in the MACODA (function area 10,
machine). The Physical axis designation MP 1003 00001 assigns a
unique, system-wide name to each physical axis.
Physical axes which are not assigned to a specific channel are referred
to as asynchronous axes or auxiliary axes. These can be selected
from any channel, but are in no interpolary relationship to other axes.
Auxiliary axes may, for instance, be used to drive tool or pallet chang-
ers.
Logical axes
The axes of an axis group are referred to as the logical axes of the chan-
nel. Since there is an interpolary relationship between the axes of a spe-
cific channel, they are also referred to as synchronous axes.
On a channel, all logical axes are numbered consecutively. This logical
axis index results from the order of the physical axis indices, i.e. on
one channel the axis with the lowest physical axis index will receive the
logical axis index of 1. Consequently, the axis with the highest physical
axis index will receive the highest logical axis index.
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 53
and Controls
Coordinate systems
Logical axes can be selected from no other channel than from the one
they have been assigned to via MACODA or a G function (please refer
to axis group above).
Coordinate identifiers
If the machine is composed of further axes (e.g. rotary axes), the proce-
dure described above is extended to include these axes.
Coordinate designation
The majority of machines have a Cartesian axis structure, i.e. the first 3
axes, which are normally designated X, Y and Z form a rectangular
trihedral.
Coordinate identifiers
Axis designation
+Z
+W
+C
+B
+Y
+A +V
+U
+X
Coordinate identifiers
Example:
D 5 axis transformation: cutting tool (rotation symmetrical) with 3 posi-
tion coordinates (x,y,z) and 2 orientation coordinates (, ).
D 6 axis transformation: gripping tool (non-rotation symmetrical) with 3
position coordinates (x,y,z) and 3 orientation coordinates (, and
).
X axis
Y axis
A axis X axis
Z axis
C axis
C axis
Y axis
B axis
B axis
z
Z axis
Tool orientation zt
y xt
TCP (x,y,z) TCS tool
Tool Center Point coordinate system
TCP (x,y,z)
x Space vector
yt
z
y Space vector
PCS
x
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 57
and Controls
Coordinate identifiers
1. P= (P1, P2, P3, ..., Pn) > program coordinates = pseudo coordi-
nates
There is no transformational relationship between the program coor-
dinates and the axis values. All of the program coordinates are
pseudo coordinates.
Example:
P= (P1, P2, P3, P4, P5, P6, P7) = (XA, YA, ZA, AA, BA, UA, VA).
Axis values are programmed directly for all program coordinates.
There are only pseudo coordinates.
2. P= (R1, R2, R3, R4, R5) > program coordinates = working range
coordinates
There is a transformational relationship for all coordinates between
the program coordinates and the axis values. Programming thus be-
comes independent of the actual axis kinematics. All program coor-
dinates are programmed as working range coordinates. The axis
values are calculated from the programmed (Cartesian) working
range coordinates with the aid of an axis transformation.
Example:
P= (R1, R2, R3, R4, R5) = (x, y, z, phi, theta).
All program coordinates are programmed as working range coordi-
nates.
3. P= (R1, R2, R3, P4, P5, ..., Pn) > program coordinates = pseudo
and working range coordinates
There is only a transformational relationship as regards position-
creating program coordinates. These are programmed as working
range coordinates. For the other program coordinates, programming
consists again in the direct programming of the axes values (pseudo
coordinates).
Example:
P= (R1, R2, R3, P4, P5, P6, P7) = (x, y, z, BA, CA, UA, VA). The position-
creating program coordinates are programmed as working range
58 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
Coordinate identifiers
Cartesian coordinates
The Cartesian coordinates of point P (x,y,z) refer to its distance to
three coordinates standing perpendicularly on each other. The coordi-
nates form a right-handed Cartesian rectangular coordinate system
with the working range coordinates x, y, z.
+Z
+z
P (x,y,z)
MCS
Direction of +X
rotation +Y
+
The axis coordinates are defined by the entirety of all axes currently
assigned to a machining channel.
A traversing motion entered in the direction of an axis coordinate will
only move the real (physical) axis pertaining to this coordinate.
Coordinate transformation
Using different coordinate transformations (see Section 5.6), the pro-
gram coordinates are transformed to the permanent BCS basis work-
piece coordinate system.
510 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
Axis transformation
Axis transformation (see Section 5.4.2) is used to determine the transi-
tion between basis workpiece coordinate system and axis coordinate
system. It describes the respectively valid kinematic relationship be-
tween the axes and the programmable coordinates.
When the data specified for a coordinate is changed, this always results
in only one traversing movement in a coordinate, because all geomet-
ric-kinematic relationships of machine and tool are taken into consider-
ation in the axis transformation. Among others, the movement in one
coordinate direction may result in a traversing movement of several
axes due to the compensation movement.
The R reference point represents the position within the machine coor-
dinate system which results when all the axes are in their reference
position.
The reference points of the individual axes (with cyclic absolute mea-
suring systems) are defined axis by axis and refer to the respective axis
zero position. In most cases, they are located in the marginal area of the
axes and can be approached automatically.
The ACS(1..4) axis coordinate systems are offset against the MCS by
the value of the axis zero point shifts.
Since the ACS axis coordinate system is dependent on machine kine-
matics and machine type, it is not used for programming, as a rule.
The zero point of the basis workpiece coordinate system is the first W(0)
workpiece zero point in a series of n possible W(n) workpiece zero points
, which may be created through zero point shifts (for details, please refer
to Section 5.6 ff.)
512 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
+Z
+X
+Y
+XM
Machine coordinate system
A1 A2
A6
A5 A3
A4
Machining head
W(i), i=n
+ZM +ZW +YW
+YM +ZP +YP
P
M W(i), i<n
+XM
+XP
+XW
Pro-
Transformations Zero
Coordinate systems Shifts gram-
points
ming
Program WCS(6)
coordinate system additive program coor-
PCS = WCS(n) G268
additive dinate shift Program
+ zero point P
WCS(5)
G168 program coordinate
coordinate additive
shift
transformation +
WCS(2)
G354
G355
G356
G357
G358
G359
Inclined plane
additive
+ alternatively
WCS(1)
G138 Workpiece position com-
additive
pensation
Basis workpiece +
coordinate system
BCS = WCS(0) WCS(0)
Coord(i) ith axis transformation Workpiece
Axis additive
transformation + zero point W
ACS(4)
G160
G260
G360
ACS(3)
G254
G255
G256
G257
G258
G259
The coordinate system at the top of the figure above is the PCS.
D Without program coordinate shift, inclined plane and workpiece
position compensation, PCS = WCS(0) = BCS.
D Without axis transformation in addition, PCS = WCS(0) = BCS =
ACS(n) = ACS.
D Without axis zero shifts in addition, all coordinate systems are iden-
tical. Then PCS = MCS.
All shifts and rotations have an additive effect to the basis workpiece
coordinate system. Both positive and negative shift or rotation values
are permitted. As long as no working range coordinates are active, the
names of the logical axes of the channel are synonyms for the designa-
tion of the workpiece and program coordinate system.
. If no shifts have been programmed, all part program values are in-
terpreted as being machine coordinates!
Workpiece coordinates
D The position of a workpiece can be corrected by spatially shifting the
W workpiece zero point in X, Y and Z direction including a rotation of
the workpiece coordinate system in the X/Y plane with the following
instructions:
D G138, G139 Workpiece position compensation
D The W workpiece zero point can be shifted spatially and the work-
piece coordinate system (WCS) rotated spatially by the following in-
structions:
D G353, G354..G359 Inclined plane
D G453, G454..G459 1st additive inclined plane (in planning)
D G553, G554..G559 2nd additive inclined plane (in planning).
518 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
Program coordinates
The last coordinate system in the series of workpiece coordinate sys-
tems is also referred to as program coordinate system (PCS) (see also
Section 5.3.4).
D When shifting the P program zero point, you can shift the position of
the PCS program coordinate system in relation to the WCS(i) work-
piece coordinate system last active by using the following instruc-
tions:
D G169, G168 Program coordinate shift
D G269, G268 Additive program coordinate shift
1 Machine
M MCS +XM
The axis zero shift table is a machine zero point shift and consti-
tutes the offset between MCS and ACS, i.e. the individual coordi-
nates of the ACS axis coordinate systems are shifted by the axis zero
shift in relation to those of the MCS.
If no axis transformation is active, you use the axis zero shift tables
to store the distance between the M machine zero point and the
P program zero point or W workpiece zero point for each axis (for
determination of the distance, please see the following figure). If
the corresponding axis zero shift is then activated, the control unit
will automatically add the stored distance to each programmed ab-
solute axis position.
Axis zero shift tables in the form of ASCII files are available in the file
system. They are activated channel-specifically using G22.
. For details on how to edit these tables, please refer to the operat-
ing instructions.
D Inclined plane:
The shift values for individual logical axes and the unrestricted
three-dimensional rotation are stored in an ASCII file with a freely de-
finable name, which is addressed using the ID syntax. The values
are activated by G22. Data for spatial alignment e.g. via program-
ming systems. For further details, please refer to G352-G359.
520 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
Edge sensor
Dial gauge
Edge sensor
Workpiece
Shift Z Shift Y
M M
Machine table
Shift X
Saving the shift for the axes X, Y and Z as axis zero shift
W
W
Axis zero shift (z) Axis zero shift (x,y)
M M
First, the required zero shift values are determined when setting up the
machine (see next figure). The shift values are independent of the tool
lengths:
D in the X and Y direction using edge or centering sensors
D in the Z direction using a stop gauge, dial gauge with tripod, a scrib-
ing block or a barrel gauge.
Subsequently, you enter the values so determined in the axis zero shift
table selected.
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 521
and Controls
. Please note: using the G37, G38 and G60 instructions, you cannot
influence the program coordinate system itself, but only change
the position, orientation and scaling of the programmed contour in
relation to the program coordinate system.
In contrast to the other zero shifts, a G60 shift will also be in-
fluenced (e.g. scaled: see fig. below) by G37 and G38. For further
details, please refer to the corresponding functions.
Y
Contour manipulation with scaling and shifting: G60+G38
Z
Contour scaled
with G38 and
shifted with Contour shifted
G60 with G60:
G60 shift
G60+ G38:
Shift value is also scaled
X
P Contour
Eulerian angle
The effect of the restricted definition areas is that for any orientation of a
target coordinate system there is a unique value tupel for the Eulerian
angles relative to the initial coordinate system.
Eulerian angle
Example:
Gripping tool orientation (in case of a 6 axis transformation). For better
clarity, the tool coordinate system is shifted to the North pole of the pro-
gram coordinate system.
524 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
Eulerian angle
x
xt
yt
TCP
TCS
TCS
yt
xt
y
z y
2nd rotation around
new y with
z
zt TCS coordinate system
after the 3rd rotation
TCS coordinate
zt
system after
the 2nd rotation y
yt
3rd rotation around
new z with
yt
y
TCS
TCS
x
xt xt
In this option, the X-Y main plane is already defined by the first two basis
rotations. The 3rd basis rotation merely serves to define the XY coordi-
nates within the target coordinate system.
Eulerian angle
ZZw1
ZZw1=ZA
ZZ=ZZw2 ZZw2
YZw2
YZw2=YZw1
YA
XZw1 XA
XZw2 XZw1
XZ XZw2
Basis rotation around psi Basis rotation around theta Basis rotation around phi
Eulerian angle
zt zt
zt
xt
x
TCP
TCS
xt
TCS
yt
y
yt
z
z
TCS coordinate system y zt
zt after the 2nd rotation
z
x yt
x
TCS coordinate system
2nd rotation around after the 3rd rotation
old y with
yt
TCS
TCS y
y
xt
xt
Eulerian angle
zt
z TCS coordinate
system after the
Gripping tool zt 1st rotation z
xt
TCP
x
TCS
yt
xt 1st rotation
yt
y around y with
z
Orientation of the gripping tool
Orientation of the gripping tool after the 1st Eulerian rotation
before the 1st Eulerian rotation z
yt
zt
x 3rd rotation around
new z with
yt y
TCS TCS
y
xt
xt
x
Shifts
5.6 Shifts
Program-controlled shifts are used to shift an existing reference coordi-
nate system to another location, which results in a new reference coor-
dinate system. In the process, the old zero point is offset by the shift
value within the control unit. The workpiece-related display of the con-
trol unit now shows the momentary position in relation to the new zero
point.
Although the displayed axis position has changed, none of axes has
been physically moved up to this point. From the point of view of the
control unit, the axes are only located in a different position in relation
to the new workpiece zero point.
Shift values may be provided via:
D an axis zero shift table (axis ZS table)
D a PLC as external axis shift values
D special shift functions and, if applicable, axis by axis programming of
required data.
Shifts
For details on the structure of axis zero shift tables, see page 534 ff.
For details on the structure of inclined plane tables, see page 545 ff.
Special cases
D Zerosetting of modulo axis (linear endless axis) G105
G105 determines the programming zero point. Using this point the
control unit calculates the distance from the zero point of the com-
mand-value system. The resulting offset is internally added to all
subsequent values.
Using the G105 Modulo axis zerosetting function, the point of refer-
ence (programming zero point) of a linear endless axis can be deter-
mined (see page 45 ff.). As soon as the modulo value is reached,
the actual value of the linear endless axis is automatically set to zero.
This modulo calculation prevents an overflow of the axis values and
enables the axis to travel at endless.
Shifts
The shift values of each individual axis are stored in axis zero shift
tables.
Each axis zero shift table contains 3 groups with 6 axis zero shifts per
axis (G54..G59; G154..G159; G254..G259).
To activate the shift, you first activate the desired axis ZS table using
G22. Subsequently, you select the shift values of the respective axes
using the G54..G259 axis ZS functions. The structure of the axis zero
shift tables has to be so that the shift values of all relevant axes are
available when an axis ZS function is called.
Example:
axis zero point shifts of table npvtab.npv active only!
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 531
and Controls
Shifts
Activating an axis zero shift does not necessarily mean that shift values
are applied to all existing axes; therefore, the following special case
may occur when additive axis zero shifts are used:
no shift value
has been
stored for Z
additive
+
Z =10 continues to
be active from G54!
new workpiece zero point after
programming G154 at: X=20 Y=20 Z=10
532 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
Shifts
Restrictions:
D The axis zero shifts of a group have a modal effect and deselect each
other mutually within their own group. This applies to:
G54...G59 Axis zero shift
G154...G159 1st additive axis zero shift
G254...G259 2nd additive axis zero shift
G160, G260 G360 External axis zero shift
D Active axis zero shifts from different groups have an additive effect.
D Other shift types have an additive effect on axis zero shifts. This in-
cludes the following functions:
G138 Workpiece position compensation
G168 and G268 Program coordinate shift
G352...G359 Inclined plane
( G60 Programmed contour shift)
D If G138 is programmed following an active axis ZS, the coordinate
system shifted by the axis ZS is offset by the programmed shift value
of G138 and subsequently rotated as specified.
D Shift values for the axis ZS and the 1st/2nd additive axis ZS are pro-
vided in the axis ZS tables. An axis ZS table contains additional infor-
mation on
D axis names and assignment to table columns
D channel assignment
D unit of the stored shift values (see also MP 9020 00010)
Relevant G functions:
G22 V <Path/table name>:
activating axis zero shift table via NC block.
G54...G59: activating an internal axis zero shift.
G154...G159: activating an internal 1st additive axis zero shift.
G254...G259: activating an internal 2nd additive axis zero shift.
G53: all active internal axis zero shifts off.
G153: 1st additive axis zero shift off.
G253: 2nd additive axis zero shift off.
Relevant MACODA parameters (MP):
9020 00010: Specifies the unit (mm or inch) used to internally store
the table values.
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 533
and Controls
Shifts
Shifts
The table editor is available (see PNC operating instructions) for com-
fortable editing of these tables at the control unit.
The table editor starts automatically when an axis ZS table has been
selected in the operating area MANAGE and you press the EDIT soft-
key (for information on the required preconditions, please refer to MP
3080 00200).
If the control unit loads the selected table into the NC editor (ASCII edi-
tor), the required preconditions have not been fulfilled. In these cases,
we recommend that you close the editor without changing the table and
edit the table manually via MANAGE " TABLES and subsequent
path/file selection via the table editor.
Table name
The table name is composed of a freely selected file name and a file
name extension (e.g. npvtab.npv).
The file name extension can be changed, for details, see MP
3080 00200 on page 537.
Structure
An axis ZS table is structured as follows:
D 2 headlines containing an internal system coding of necessary axis
information as well as the relevant logical or physical axis names.
D 18 lines for shift values.
Each line starts with the G function designation and, after the semi-
colon, the corresponding shift values of the axes involved (see ex-
ample on the next page).
Both positive and negative shift values are permitted.
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 535
and Controls
Shifts
[5005 0 0 0 24]
X Y Z A B
G54 : 54.01 54.02 54.03 54.04 54.05
G55 : 55.01 55.02 55.03 55.04 55.05
G56 : 56.01 56.02 56.03 56.04 56.05
G57 : 57.01 57.02 57.03 57.04 57.05
G58 : 58.01 58.02 58.03 58.04 58.05
G59 : 59.01 59.02 59.03 59.04 59.05
G154 : 154.01 154.02 154.03 154.04 154.05
G155 : 155.01 155.02 155.03 155.04 155.05
G156 : 156.01 156.02 156.03 156.04 156.05
G157 : 157.01 157.02 157.03 157.04 157.05
G158 : 158.01 158.02 158.03 158.04 158.05
G159 : 159.01 159.02 159.03 159.04 159.05
G254 : 254.01 254.02 254.03 254.04 254.05
G255 : 255.01 255.02 255.03 255.04 255.05
G256 : 256.01 256.02 256.03 256.04 256.05
G257 : 257.01 257.02 257.03 257.04 257.05
G258 : 258.01 258.02 258.03 258.04 258.05
G259 : 259.01 259.02 259.03 259.04 259.05
Shifts
D In case of all system axes the table contains columns for all pos-
sible axes in the system with physical axis names. Only the col-
umns of the synchronous axes of the channel are used for the
interpretation of the table.
The table columns of non-configured axes or axes for which no col-
umn exists, are ignored. Entering an additional identification in the
table may result in a runtime error instead.
D When an existing table is taken over, the axis names and unit of
measure system of this table are adopted.
Example:
In the figure below, the logical axes X, Y, YA and YB are active on the
channel.
Having activated table Tab1 in block N210, the 1st column is assigned to
axis X, the 2nd column to axis Y and the 4th column to axis YA.
No zero shift is active for axis YB. Column 3 of rotary axis B is not used.
The following functions can be used to change a table via table editor,
should this be required due to a modified axis assignment:
D Delete columns
D Insert columns:
An axis name must be specified when a column is inserted. In case of
a logical axis name, it is possible to choose between rotary axis (de-
grees) and linear axis (Inch/metric). In case of physical axis name,
the unit of measure system has been established.
When the table is evaluated, the logical axis names have priority
over the physical axis names. If the logical name is not available, the
column with the physical name will be used.
D Change columns:
The axis names of the columns may be changed. A logical axis name
can turn into a physical axis name and vice versa. The unit of mea-
sure system can be specified additionally in case of logical axis
names.
Columns can be exchanged in the table editor. This has no effect on
the interpretation of the table.
D Compulsory strict assignment:
If this option has been set for the table, the axis group in the respec-
tive program section has to coincide exactly with the axis group in the
table, otherwise there will be a runtime error.
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 537
and Controls
Shifts
Relevant G functions:
G22 V <Path/table name>:
activating axis zero shift table via NC block.
Shifts
. If <Path> has not been specified, the PNC uses the search path
(MP 3080 00001) to search for the <Table name>.
Examples:
Activating the axis zero shift table npvtab.npv in the directory /data-
base of the control unit:
G22 V npvtab.npv
Activating the axis zero shift table npvtab1.npv in the root directory of
the control unit:
G22 V /npvtab1.npv
Activating the axis zero shift table npvtab2.npv in the directory /mnt
(mounted directory on an NC operating panel):
G22 V /mnt/npvtab2.npv
Shifts
As opposed to the axis zero shift (see page 528 ff.), however, the shift
values are not provided via axis zero shift table but transferred automat-
ically from the PLC to the CNC (required program module
B23XTNPV).
One out of a maximum of 3 external axis zero shifts (G160, G260,
G360) can be executed per applied machining axis (=synchronous
axis).
Following the transfer of the relevant shift values, the desired axis zero
shift is activated via G160, G260 or G360.
Restrictions:
D The external zero shifts act modally and deselect each other mutu-
ally. This applies to:
G160, G260 G360 External axis zero shifts
D Active axis zero shifts from different groups have an additive effect.
D Other shifts have an additive effect on external axis zero shifts. This
includes the following functions:
G138 Workpiece position compensation
G168 and G268 Program coordinate shift
G352...G359 Inclined plane
D If G138 is programmed following an active axis ZS, the coordinate
system shifted by the axis ZS is offset by the programmed shift value
of G138 and subsequently rotated as specified.
D Shift values for the external axis ZS are provided by the PLC (re-
quired program module B23XTNPV). They are stored internally in
the control unit, only zeroset following a control unit start-up and can
be changed by the PLC as well as via CPL.
Control reset does not influence the internal shift values.
D If the PLC changes the currently active external shift values while ex-
ecuting a part program, this change will only become active in the
block under preparation as the next block.
Under certain circumstances this can mean that even more blocks
are due to execution without this change. In order to avoid this effect
you must program the WAIT CPL command directly after the block,
causing the PLC to hand over the new shift values. By doing so you
hold the block preparation of the PNC until all program blocks ahead
of WAIT have been executed.
Subsequently, in the program block following WAIT, the new values
will already be active.
540 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
Shifts
D External zero shifts can be specified for logical axes or for system
axes.
Since the sequence of the logical axes can change in programs with
axis transfer, it is recommended to specify the zero shift for system
axes.
Otherwise, it must be ensured that the sequence in which logical
axes are entered in the PLC corresponds to the sequence on the
channel. The sequence on the channel can be determined at the bit
interface.
Shifts
Restrictions:
D Workpiece position compensation without axis transformation:
Using the workpiece position compensation, it is exclusively possible
to rotate the 1st and 2nd logical axis around the 3rd logical axis.
Workpiece position compensation with axis transformation: In
case of active 5 axis or 6 axis transformation, the workpiece position
compensation rotates the 1st and 2nd linear coordinate around the
3rd linear coordinate.
D The workpiece position compensation under G138 refers to the
workpiece coordinates.
D G138/G139 must never be programmed in combination with a tra-
versing motion.
Restrictions:
D G169 switches off G168 as well as a possibly active G268.
D G168 and G268 must never be programmed in combination with a
traversing motion.
Restrictions:
D The shift values of G60 are influenced by G38 (rotating, mirroring,
scaling).
542 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
Shifts
+ZW
+YW
+ZM
+YM DZ
+XW
DY
DX
Positioning of the coordinate system around the dis- BCS= basis workpiece coordinate system
tance DX, DY, DZ and orientation around the angles WCS= workpiece coordinate system
phi, theta and psi in relation to the basis workpiece (or program coordinate system)
coordinate system
An inclined plane table can take up the data of max. 6 inclined planes
(see page 545 ff.).
To activate an inclined plane, you first select the relevant table via
G22. Subsequently, you select the desired inclined plane using the
G354..G359 functions.
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 543
and Controls
Shifts
Restrictions:
D Inclined plane without axis transformation:
The function has an effect on the first 3 logical axes of the channel.
The names are set in the MP 701000010.
Inclined plane with axis transformation: The names of the work-
ing range coordinates of the first 3 linear coordinates in the MA-
CODA parameter 7080 00010 (e.g. x,y,z) must be used for
programming.
D The Inclined plane functions G352 through G359 act modally and
deselect each other mutually.
D The Inclined plane functions G352 through G359 must not be pro-
grammed in combination with traversing motions.
D After control reset, the Power-up condition function becomes ac-
tive (see page 36). If the Inclined plane function is marked as not
active in the init string, it will be deselected with control reset.
D Values for the inclined plane are provided in tables. These contain
information on the unit of the stored shift values (see also
MP 902000010).
Relevant G functions (all workpiece coordinate systems):
G138: Workpiece position compensation on
G139: Workpiece position compensation off
G168: Program coordinate shift on
G169: All program coordinate shifts off
G268: Additive program coordinate shift on
G269: Additive program coordinate shift off
G60: Programmed contour shift on
G67: Programmed contour shift off
G22 IP<Path/table name>:
Activating inclined plane table via NC block.
G352: Programming and switching on inclined plane with all
required parameters in the G352 block. An inclined
plane table is not necessary in these cases.
G353: Canceling active inclined plane.
G354...G359: Activating one out of a max. of 6 inclined planes from an
inclined plane table.
Relevant MACODA parameters (all workpiece coordinate sys-
tems):
3080 00200: Determines which file name extensions the control unit
uses as identification criterion for axis zero shift and ge-
ometry compensation tables.
The file name extension possibly used in an inclined
plane table, must not be identical with the one entered
here.
3080 00001: Search path for the file.
7010 00010: Determines the logical axis designation for each chan-
nel (only necessary for G138 and G352..G359).
544 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
Shifts
Shifts
Table name
The table name is composed of a freely selected file name and a file
name extension, if applicable.
. If you would like to use a file name extension, please make sure
that the extension does not collide with extensions already used
for other files (e.g. .npv, geo etc.; see also MP 3080 00200)!
File structure
Inclined plane tables are structured as follows:
D 6 lines for shift values and Eulerian angles.
Both positive and negative shift values and orientation angles may be
entered. The unit of measure applying to the shift values depends on
the unit as set in MP 9020 00010.
546 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
Shifts
Example:
Shift values and orientation angles for 2 inclined planes (G354 and
G355). Contents of the ASCII file:
. If <Path> has not been specified, the PNC uses the search path (MP
3080 00001) to search for the <Table name>.
Examples:
Activating the table schief.se in the directory /database of the control
unit:
G22 IP schief.se
Activating the table schief.se in the root directory of the control unit:
G22 IP /schief.se
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 547
and Controls
Shifts
CAUTION
Danger of damage to the machine or the workpiece!
Do not initiate a control reset during machining.
2. Enter name.
548 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
Shifts
CAUTION
Danger of damage to the machine or the workpiece!
Do not initiate a control reset during machining.
. If you have specified a file name extension, it must not collide with
the extension of GEO tables (presetting .geo) or axis ZS tables
(presetting .npv)! In case of doubt, check MP 3080 00200 or re-
frain from using file extension.
Shifts
1. Transfer relevant shift values to the control unit with the aid of the
PLC program module B23XTNPV.
You should then program WAIT in order to halt the block prepara-
tion. This is the only way top make sure that the current shift values
will be taken into account in all subsequent blocks.
2. Activate external axis zero shift via G160, G260 or G360, respec-
tively.
3. Execute the next machining phase with new zero point.
Other shifts
Precondition:
D The tool must not be in contact with the workpiece.
D Any shifts still active must be taken into account when programming
other shifts because these may have an additive effect or overwrite
each other mutually.
Shifts
Inclined plane
Precondition:
D The tool must not be in contact with the workpiece.
D Any other shifts still active (e.g. G138 workpiece position compensa-
tion) must be taken into account when activating an inclined plane
because these may have an additive effect.
1. If you want to use G354 through G359, activate the matching in-
clined plane table (see page 545).
2. Call the desired inclined plane at the required point in the program.
For this purpose, program
G354 ... G359 (inclined plane table required)
or
G352 with the respective parameters.
3. Execute the next machining phase with new zero point.
1. Program G167.
Other shifts
Precondition:
D The tool must not be in contact with the workpiece.
Inclined plane
1. Deactivate any G60 (programmed contour shift) still active.
2. Deactivate any G168 or G268 (program coordinate shift) still active.
3. Program G353.
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 551
and Controls
Axes not taken into account in the axis transformation, are still program-
mable using their axis addresses in case of active axis transformation.
The program coordinates for axes of this type are also referred to as
pseudo coordinates.
D The names of all six working range coordinates are defined for each
channel via MACODA parameter.
552 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
Space vector r z
z
y Orientation
vector r
y
x
Basis workpiece
coordinate system
BCS Cutter (with rotary axes B
Coordinate and C not shown for
transformation orientation purposes)
PCS x
Axis transformation
Z
Y
The working range coordinates are calculated into axis setpoint values
in the interpolation cycle.
554 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
Overview
The kinematics specific to the machine has to be taken into account
when a tool is oriented is space. And it makes no difference, whether the
orientation is effected by rotary axes, telescope axes or other drive
types.
Using orientation, the main axes of a tool, laser, gripping device and
similar are aligned in a specified direction in space. In this context, it
makes no difference whether the orientation of the tool axis runs parallel
with one of the main directions of the machine axes or not.
D Vector orientation
This function deals with the orientation of rotation symmetrical tools
(e.g. lasers, cutters). The tool orientation is described by the polar
coordinates and or in the same manner by the orientation vec-
tor . The orientation vector rotates around an axis of rotation fixed
in space (large circular movement of the vector tip). jumps can oc-
cur during the movement (for details on singularity, please refer to
page 564), which the corresponding axis transformation deals with
as required.
D Linear orientation movement
The basic function is identical with the vector orientation. However,
the orientation movement is always carried out on a straight line on
an imaginary plane. In contrast to the vector orientation, no
jumps occur in the movement.
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 555
and Controls
D Tensor orientation:
This function is used to describe the orientation of non-rotation sym-
metrical tools.
A tool coordinate system (TCS) that is permanently connected to the
tool has an orientation in relation to the program coordinate system
(PCS) which is determined by the Eulerian angles , , and or the
3x3 orientation tensor. The movement of the orientation tensor is a
rotation around an axis of rotation fixed in space.
Scalar orientation
In case of scalar orientation only one orientation coordinate (e.g. phi
()) is programmed.
X axis
Y axis
x xt Z axis
Gripping tool
Axis of
TCP zt ,z rotation
x
y Gripping device orientation
PCS z by rotation around (phi)
Z Y yt
y
Workpiece
MCS X
The configuration shown in the example can also have several rotary
axes to generate the rotation of the gripping device.
An axis transformation of this type has not been realized in the PNC at
present.
556 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
Vector orientation
The orientation of a rotation symmetrical tool is programmed using
the first two orientation coordinates phi (j) and theta (). They define
an orientation vector , specifying the orientation of the tool longitudi-
nal axis in relation to the pole of the coordinate system. The angles and
the vector have the meaning of polar coordinates.
The polar coordinates of a point P(,) are the distance (= length of
the orientation vector) of P to the pole of the coordinate system and the
polar angles (phi), (theta) which are located between the polar
axes x and z and the orientation vector.
Polar coordinate z
Cartesian components of
x the orientation vector
y
Pole x
x
y
z
with 2x 2y 2z 1
z
Orientation
z 0_
0_
Orientation coordinate theta
Orientation vector r z
Orientation PCS
x
30_
60_
Orientation using the polar
coordinates x MCS
0_ 180_ y
0_ 360_
x TCP
y
Orientation vector r z
PCS
x
y
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 559
and Controls
Tensor orientation
This orientation is relevant for non-rotation symmetrical tools in
space (e.g. robot gripping device).
A tool coordinate system (TCS), which is permanently connected to a
tool, is spatially oriented against a reference coordinate system (PCS,
Gripping tool
TCS TCS
TCS z y
z
x
z
y TCP TCP
TCP
y
x
z
y
x
PCS
Definition:
The rotation matrix is composed as follows (see figure below):
OO 11 O 12 O13
O
21 O 22 O23
O 31 O 32 O33
The lines and columns of the tensor have length 1 and stand on each
other perpendicularly.
560 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
The columns of the tensor are the vector components of the basis vec-
tors t t
t
e x , e y , e z of the rotated TCS relating to the reference coordinate
system:
o11 o12 o13
O= o21 o22 o23
o31 o32 o33
Example:
3x3 orientation tensor of a non-rotation symmetrical tool in space.
Z z
PCS 3x3 orientation tensor
PCS o12
O
o13 eyt = o22
0 ezt = o23 o32
Y yt y
ezt = 0 o33 o32
zt o12
1 o11
TCS ext = o21
0 o22
o33 o31
eyt = 1
xt
0
o31
o21
o13
1 X o11 x
TCS
ext = 0
o23 Tool (prior to the rotation)
0
Tool (after the rotation)
O= 3x3 orientation tensor: e = Basis vectors (column oxx = Vector components of a basis
(Rotation matrix) vectors) of the TCS vector (=element of the orien-
tation tensor)
Orientation
vector e
z End orientation
y
Start orientation Axis of "
rotation u
e
a
Orientation vector a
Milling tool
TCP
Coordinate of rotation angle between a and e
Start orientation
Orientation
x
e.g. G1 ROTAX(1,0,1) O(270)
TCP
564 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
z BCS y
y y y
y
x z x x x x
y
r 10 Tool
x Axis
z of rotation
y
Axis
r 30 x of rotation
r 20
Orientation of the
tool axis in block
N10
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 565
and Controls
On the unit sphere, the tip of the orientation vector does not describe a
large circle, as opposed to the vector orientation, but a more or less
bent path (see also figure below).
The linear orientation movement does not require a singularity treat-
ment by the corresponding axis transformation (page 564), because a
jump cannot occur.
The special properties of the linear orientation movement and the differ-
ence to the vector orientation are outlined below:
D The prerequisite is an axis transformation with two orientation coor-
dinates and the coordinate identification 1 configured in MACODA
(example 3232101). Activating this type of axis transformation using
Coord(<n>) automatically activates the linear orientation movement.
D Programming is effected via the coordinate names phi.. and theta..
or via the vector syntax O(<x>,<y>,<z>). Both programming meth-
ods are equivalent.
D A special path search logic makes sure that rotations greater than
180 do not occur.
D A conversion of the values to the definition interval
0360, 0 180, is not performed. In the display,
values outside of the definition intervals thus occur.
D In case of a path movement (TCP movement), the orientation coordi-
nates have no share in the feedrate, they follow synchronously.
If no TCP movement is carried out, the programmed feedrate F or
OMEGA is related to the straight line movement of phi () and theta
().
D Programming an axis of rotation with the functions ROTAX(..) O(..)
is not permitted.
D The mirroring and scaling functions are programmed the same way
as for vector orientation.
D The function Online compensation can be used for phi () and theta
().
566 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
Linear orientation using polar coordinates Vector orientation using polar coordinates
0_ 180_
0_ 360_ z bent path on which the tip of
the orientation vector moves
( changes constantly!) z
x
TCP x
TCP
y
y
Orientation vector r Orientation vector r
x x
= 0_ 90_
= 0_ 90_
Orientation 2 Orientation 2
Orientation vector move- Orientation vector move-
ment on parallel circle with ment on large circle with
y y
constant theta 45_ changing theta
Top view Top view
ezt
Tool
ext
eyt
eyt
Oa
Axis of rotation u
Rotation of a tool
with start and end
orientation around Oe
the axis of rotation u
568 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
The functions for orientation and orientation movement of the tool with
working range coordinates are subdivided into
D Vector orientation and
D tensor orientation.
Vector orientation
ROTAX(<ux>,<uy>,<uz>) O(<>):
or
ROTAX(<u>,<u>) O(<>):
ROTAX(..) defines the orientation of the axis of
rotation around which the orientation vector rotates.
The direction may be specified in Cartesian vector
components ux, uy, uz or in polar coordinates u, u .
The programming of ROTAX(..) is only possible abso-
lutely.
O(..) defines angle , around which the start orienta-
tion vector rotates around the axis of rotation.
Programming of O(..) is possible only incrementally
and in degrees.
may have freely defined values, i.e. several rota-
tions are possible too.
Example: ROTAX(0,45) O(720)
The movement of the orientation vector is carried out as rotation of the
orientation vector around a programmed axis of rotation, or if RO-
TAX(..) and O(..) have not been programmed, around an internally cal-
culated axis of rotation.
Example: G1 x10 y50 z30 O(90,90)
O(100,80)
O(70.100)
...
Ox(<o11>,<o21>,<o31>)
Oy(<o12>,<o22>,<o32>)
Oz(<o13>,<o23>,<o33>)
or
Ox(<x>,<x>)
Oy(<y>,<y>)
Oz(<z>,<z>): Ox(..) defines the direction of the x coordinate of the
TCS in the reference coordinate system.
The direction may be specified in Cartesian vector
components Ox(<o11>,<o21>,<o31>) or in polar coor-
dinates Ox(<x>,<x>).
ROTAX(<ux>,<uy>,<uz>) O(<>)
or
ROTAX(<u>,<u>) O(<>):
ROTAX(..) defines the orientation of the axis of rotation
around which the orientation tensor rotates.
The direction may be specified in Cartesian vector com-
ponents ux,uy,uz or in polar coordinates x,x. The pro-
gramming of ROTAX(..) is only possible absolutely.
O(..) defines angle , around which the start orientation
vector rotates around the axis of rotation. Programming
of O(..) is possible only incrementally and in degrees.
may have freely defined values, i.e. several rotations
are possible too.
572 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
5.7.4 Assigning
Preconditions:
D Assigned axis transformation (see Section 5.8.1 and 5.8.2) must be
available for the relevant machine.
Example:
Working range coordinate programming for a 6 axis transformation
6 axis machine with 6 axis transformation type 3333301 of the PNC. It
allows TCP programming via three linear coordinates and the tool orien-
tation (TCS) by programming the 3 Eulerian angles (phi), (theta) und
(psi). The orientation movement is executed by means of a coordi-
nate of rotation movement.
5.7.5 Activating
Precondition:
D The application has been executed successfully.
Examples: transformations
D 5 axis kinematics type: 3232201
Coord(4)
G1 x50 y100 z20 phi45 theta30 ; programming in working
range coordinates x,y,z,phi,theta
5.7.6 Deactivating
Precondition:
D Deactivating causes no movement, i.e. the tool may be in contact
with the workpiece.
Examples:
D 5 axis kinematics type: 3232201
Coord(4)
G1 x50 y100 z20 phi45 theta30 programming in working
range coordinates
Coord(0)
G1 X50 Y100 Z20 B45 C30 programming in axis coordi-
nates
Coord(0)
G1 X50 Y100 Z200 B10 C20 A90 programming in axis coordi-
nates
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 577
and Controls
Axis transformations
Axis transformations
Coordinate transformation
G352, G168,...
(taking into account compensations)
Axis transformation
(calculate axis setpoint values) Coord(<n>)
The way axis setpoint values are created from working range coordi-
nates using axis transformation shows that the working range coordi-
nates may have individually different effects on the physical axis
configuration with each axis configuration. This can be realized by dif-
ferent settings of the axis transformations in MACODA.
Digit 1 2 3 4 5 6 and 7
Kl Kr Al Ar O NN
Axis transformations
The type identification shows which functions have an effect when the
axis transformation is selected:
D The axis transformation with number i (from the ith parameter block in
MACODA) is activated using the Coord(<i>) command if the configu-
ration in MACODA has no incorrect entries.
D If the activated axis transformation supports the vector or tensor
orientation, the corresponding NC functions for the orientation
movement are activated.
D Programming of coordinate names is activated, i.e. the axes are
switched over to coordinates.
D The axes involved in the axis transformation may not be pro-
grammed any more in case of active axis transformation.
Example:
Coordinate names: | x | y | z | phi | theta |psi | U| V|
Axis names: | X| Y| Z | A | B | C | U| V|
Axis transformations
Axis configuration
The 5 axis transformation realized in the PNC includes:
D 3 linear coordinates (e.g. x, y, z)
D 2 orientation coordinates , (e.g.. theta, phi)
D 3 linear axes (e.g. X, Y and Z)
D 2 axes of rotation (e.g. B and C)
D Type 3232101
The initial values are the linear coordinates x, y, z and the orientation
coordinates (phi) und (theta). It supports the orientation move-
ment (straight line on an imaginary plane).
Both polar coordinates can also be programmed as spline. An online
compensation is possible for all coordinates.
The axis kinematics is identical with type 3232201. However, it does
not support vector orientation, i.e. a constant (phi) is expected for
all orientation movements.
Switching this type on using Coord(<n>) activates the Linear orien-
tation movement function.
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 581
and Controls
Axis transformations
D Type 3032101
supports a linear movement of the two axes of rotation. This trans-
formation is basically identical with Type 3232201, however, it has
no programmable orientation coordinates.
The tool is aligned by direct programming of the axes of rotation B
and C. The orientation takes place linear in the rotary axis positions.
C axis
B axis
Tool orientation
y
Tool Center Point
TCP (x,y,z)
BCS x
582 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
Axis transformations
Reference pose
In reference pose, the 5 axis configuration must have a certain position
to establish a relationship between MCS and BCS.
This is exactly the case when the tool center point (TCP) is set at space
position x, y, z=0 and the tool axis orientation corresponds to polar coor-
dinates , = 0 degrees.
X axis
Y axis Z axis
B axis
M machine zero point C
l1x l2x
MCS machine coordinate system
l2y X
C axis
z l2z
Y
Axis connection vectors
l1x l2x
l1 = 0 l2 = l2y
0 l2z
x
Axis vector rm
TCP is at
reference space position: x=0, y=0, z=0
orientation: = 0, = 0
D In the figure above, l1x, l2x, l2y und l2z is 0. The direction of the
vectors is opposite (negative) to the BCS coordinate direction.
D The tip (TCP) of the rotation symmetrical tool (cutter or laser) is
standing on the origin of the basis workpiece coordinate system
(BCS) and the tool symmetry axis is aligned along the z coordinate.
Axis C rotates the B axis body and the corresponding tool around the
z coordinate.
D Axis B rotates the tool around the y coordinate of the BCS. The ar-
rows at the axis bodies specify the positive direction of rotation. The
linear axes (X, Y, Z) define a right-handed axis coordinate system
positioned parallel with the BCS.
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 583
and Controls
Axis transformations
The axis vector rm corresponds to the distance between the M ma-
chine zero point and the reference space position (zero point of the ba-
sis workpiece coordinate system).
The angles the rotary axes have to rotate in order to reach the reference
orientation of , = 0 in the reference space position x,y,z = 0 are also
relative to the M machine zero point.
The axis connection vectors l1 and l2 define the geometry of the 5 axis
kinematics in the reference pose (see figure above):
D l1is the axis connection vector from the C axis to the B axis.
It has to be parallel with the X axis and therefore has no components
in the y and z direction:
l 1x
l1 0
0
D l2 is the continued vector of l1 to the zero point of the BCS.
l 2 may have up to 3 components unequal to 0. As a rule, l2z is the dis-
tance from the B axis to the TCP. If the TCP and the center point of
the B axis (= end point l1) are offset from each other in the xy plane,
the offset may be compensated with l2x and l2y . Therefore, the con-
nection vector l2 is as follows:
ll
2x
l2 2y
l
2z
584 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
Axis transformations
Example: 5 axis rotating swiveling head with and without B axis offset
l1x = -100
View AA:
l1 = 0
B axis offset
0
in y direction
l1x l2x = 0 x
l2 = l2y = -1
l2z = -222
l1x
B axis
x
TCP
y
View AA:
No offset of the
B axis in x and x
y direction
y
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 585
and Controls
Axis transformations
Special properties
D Feedrate: having activated the 5 axis transformation, there is a
switchover to working range coordinate programming. The pro-
grammed feedrate (F) refers to the programmable position coordi-
nates only, i.e. the F word is used to program the path speed of the
tool center point (TCP).
Additional orientation and pseudo coordinate movements do not
change this path speed.
Orientation and pseudo coordinate movement is guided along syn-
chronously, i.e. the end position is reached simultaneously for all
coordinates. The movement of the orientation and pseudo coordi-
nates carried along, may, however, lead to an additional limitation of
the path kinematics (maximum path speed and acceleration) be-
cause the limit values of all axes involved in the movement are moni-
tored.
D Axes of rotation B and C may be endless axes as well as rotary axes.
Relevant NC functions:
Coord(<i>): Using i=1..5, one of the five possible 5 axis transforma-
tions defined in MP 1030 00110 is activated.
Coord(0): The active transformation is deactivated.
G0....: The NC functions or G codes programmable with work-
ing range coordinates may be programmed in case of
active 5 axis transformation (see DIN Programming in-
structions).
Axis transformations
Axis transformations
Tool compensation as spatial shift of the TCP along the vector lt
(Type 3232201, 3032101)
X axis
Y axis Z axis
B axis
l1x l2x
l2y
C axis
l2z
Axis connection vectors
Radius
l1x l2x
l1 = 0 l2 = l2y zt
0 l2z
TCS0
xt
z
yt
x TCP0
Length zt "
lt Tool compensation vector
y
BCS
xt
TCPc
yt
TCSc
588 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
Axis transformations
l1x = 0
C axis
B axis
z
l2z =150
BCS
x
TCP
y
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 589
and Controls
Axis transformations
Axis transformations
6 axis configuration
A axis X axis
C axis
Y axis
B axis
Z axis
zt
TCP (x,y,z) xt TCS tool
coordinate system
z
y
yt
BCS x
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 591
and Controls
Axis transformations
Example: Type 132 = the first axis of rotation rotates around the x coor-
dinate of the BCS, the second axis of rotation around the z coordinate
and the third axis of rotation around the y coordinate.
592 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
Axis transformations
z
y
zt
yt
l1 l2 l3
1 2 3
Type: 123 xt x
TCP
z
y
zt
yt
l1 l2 l3
Type: 132 1 3 2
TCP xt x
z
y
zt z
yt y
l1 l2 l3
Type: 213 2 1 3
TCP xt x
x
BCS
z
y
zt zt yt
yt
l1 l2 l3
Type: 312 3 1 2
TCP xt x xt
TCS
z y
zt
yt
l1 l2 l3
Type: 231 3 1
2 xt x
TCP
z
y
zt
yt
l1 l2 l3
Type: 321 3 2 1
xt x
TCP
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 593
and Controls
Axis transformations
l
i iy
l iz
l 1 is located between the 1st and 2nd axis of rotation. The 1st axis of rota-
tion is the rotary axis located farthest away from the tool (TCP). It is fol-
lowed by the 2nd axis of rotation which is connected with the 3rd axis of
rotation via l2. l3 connects the 3rd axis of rotation with the tool (TCP).
The lix, liy and liz components of the axis connection vectors are set in
MP 1030 00140.
l1z= 20
l1
l2y=110
l2z= +30
l1x =+100
l1 = l1y=10
l3z=150 l3 Type: 231 l1z= 20
z
l2x =40
y
l2 = l2y=110
zt l2z= +30
l3y=25 yt
x
l3x =+100
xt l3 = l3y=25
l3z= 150
l3x =+100 TCS BCS
594 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
Axis transformations
Reference pose
The reference pose is significant for the configuration parameters of
the axis kinematics. The reference pose is characterized by the follow-
ing properties:
D The TCP is at space position (0,0,0) in the BCS (zero point of the
basis workpiece coordinate system).
D The coordinates (xt, yt, zt) of the tool coordinate system (TCS) are
parallel or anti-parallel with the coordinates of the basis workpiece
coordinate system.
D The axes of rotation are positioned so that they rotate around x, y
and z of the BCS in accordance with their respective type. They are
arranged one after the other on the tool and stand on each other
perpendicularly.
l1 l2
2 3 1
l3
z
Connection between the axes
of rotation / tool
y
Axis connection vector
+z zt
+y yt
+ + x
TCS xt
+x BCS
BCS +
TCP= (0,0,0)
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 595
and Controls
Axis transformations
The orientation of the TCS (xt, yt, zt) relative to the BCS (x, y, z) in the
reference pose can be configured with MP 1030 00150.
The following conditions apply to the reference orientations of the TCS:
D the main directions (xt, yt, zt) of the TCS have to be parallel or anti-
parallel with the main directions (x, y, z) of the BCS.
D The main directions of the TCS and BCS have to result in a right-
handed right-angle coordinate system.
Axis transformations
TCP zt
X
TCS main direction xt > y coordinate of the BCS
TCP yt
X
Axis transformations
Relevant NC functions:
Coord(<i>): Using i=1..5, one of the five possible 6 axis transforma-
tions defined in MP 1030 00110 is activated.
Coord(0): The active transformation is deactivated.
G0....: The NC functions or G codes programmable with work-
ing range coordinates may be programmed in case of
active 6 axis transformation (see DIN Programming in-
structions).
Properties:
D Feedrate: in case of active 6 axis transformation, the programmed
feedrate (F) refers to the programmable position coordinates only,
i.e. the F word is used to program the path speed of the tool center
point (TCP).
Additional orientation and pseudo coordinate movements do not
change this path speed. The orientation and pseudo coordinate
movement is guided along synchronously, i.e. the end position is
reached simultaneously for all coordinates.
The movement of the orientation and pseudo coordinates carried
along, may, however, lead to an additional limitation of the path kine-
matics (maximum path speed and acceleration) because the limit
values of all axes involved in the movement are monitored.
D Axes of rotation A, B and C may be endless axes as well as rotary
axes.
Axis transformations
Axis transformations
The TCS1 can be shifted and rotated using tool compensations. A tool
coordinate system TCSc is thus created:
D The shift (compensation vector) of the TCSc relative to the TCS1 is
defined by lt .
D The orientation of the TCSc in the coordinate system TCS1 is defined
l1 l2
2 3 1 previous tool
BCS
l3 z y
In this case, the tool compensation has the same effect as replacing the
configuration vector l3 by lt + l3 .
5100 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
Axis transformations
Using tool compensations, the TCS1 is freely shifted in space (here al-
ways TCS1=TCS0). A tool coordinate system TCSc is thus created:
D The shift (compensation vector) of the TCSc relative to the TCS0 or
TCS1 is defined by lt .
shifted TCSc xt x
TCPc = (0,0,0)
BCS
In this case, the tool compensation has the same effect as replacing the
configuration vector l3 by lt + l3 .
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 5101
and Controls
Axis transformations
Arrangement of the
X axis
axes of rotation: 213
BCS
TCS orientation: 3 1 2
TCP z y
Y axis xt
yt x
Z axis zt
100
B axis
l1 l2 l3
2 1 3
A axis
C axis
100 100
5102 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
Axis transformations
D The linear axis (here: X) moves horizontally parallel with the work-
piece clamping surface. The tool contact point moves on a straight
line, which is parallel with the linear axis traversing direction. Its ex-
tension runs through the axis of rotation of the rotary/endless axis
involved.
D The BCS with the coordinate axes x and y is permanently connected
to the end face of the workpiece. When the workpiece rotates, the
BCS rotates as well.
D In the reference pose of the system axes involved the TCP (tool cen-
ter point) has to be located on the BCS position x=0, y=0.
D The axis classification of the axes involved must be specified cor-
rectly. See Relevant MACODA parameters below.
Reference pose of the axes (xm=0; cm=0) involved General position of the axes (xm,cm) involved with
with TCP on BCS position x=0; y=0 TCP on BCS position x,y
TCP
y Traversing directions y Traversing directions
Linear axis Linear axis
TCP
(here: X) + 0 (here: X) +
x
0
BCS BCS
x
+ +
TCP TCP
y Traversing directions Traversing directions
Linear axis x Linear axis
BCS
0 (here: X) + (here: X) +
BCS 0
x
y
+ +
Identical position of the TCP in the BCS; can be described by 2 different machine coordinate pairs
There are two different cases: The axis of rotation of the rotary/endless
axis involved can be traversed
1. without change of direction of the tool path (tangentially) or
2. with change of direction of the tool path (non-tangentially).
Ref. 1.: in case of permitted branch change, the control unit automati-
cally switches over the branch. A 180-degree rotation of the
rotary/endless axis involved is thus not necessary.
In case of prohibited branch change, the NC automatically di-
vides the block into 3 block segments:
1st block segment: path movement up to BCS coordinate
0,0.
2nd block segment: 180-degree rotation of the rotary/endless
axis involved.
3rd block segment: residual path movement from 0,0 to the
end point.
Ref. 2.: if the tool path changes its direction at the BCS coordinate 0,0,
this results in an unsteadiness; the rotary/endless axis would
jump at this point.
The polar coordinate transformation monitors the setpoint
path to detect this effect and automatically inserts an inter-
mediate block, if required, which rotates the rotary/endless
axis correspondingly.
When creating the appropriate intermediate block, the NC also
takes into account a possibly allowed branch change.
Example for 2.:
N05 x100 y0
N10 x0
N20 x100 y100
Between the blocks N10 and N20, the NC rotates the rotary
axis from position 0 degrees to 45 degrees before it continues
the TCP movement via N20. A change of the transformation
branch takes place in this context.
If the automatic branch change were prohibited, the NC would
rotate the rotary axis to position 225 degrees. In this context,
please refer to the figure below.
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 5107
and Controls
0 0
45
45
y x y x
0 Branch change
permitted
y
180 180
90 N10 270
0 x
100
BCS
Branch change 0 0
prohibited
180
0 0
90 270 90 N20 270
: Starting point
: End point
x y x y
: programmed path
225
225
180 180
D Tool paths which pass, start or end at the axis of rotation of the rotary
axis (BCS coordinate: x=0; y=0) involved at a distance of 0.01 mm
are led through the BCS zero point compulsorily by the NC.
For paths leading past this range, please note:
D the block is divided into 2 block segments. In case of a circle, two
partial circles with the same radius as the original circle will be
generated, if possible.
D the first block segment ends, the second block segments starts at
the zero point.
5108 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
D Tool paths which pass the axis of rotation of the rotary axis involved
at a distance of > 0.01 mm, principally require a reduction of the max.
path speed and path acceleration. The reduction is greater, the
closer the path approaches the 0.01 mm limit.
To prevent the reduction from becoming effective along the entire
path (creeping movement over the whole block), the path is divided
into block segments. This results in a strong reduction only for the
block segments which come close to the zero point.
Assigning
1. Determine the necessary axis classifications of the axes involved
and enter the data in MP 7010 00030.
2. Set value 2011001 as transformation type under a free transforma-
tion parameter block (e.g. no. 1) in MP 1030 00110.
3. Enter the system axis numbers of the axes involved in MP
1030 00120.
4. Approach the reference poses of both axes (position x=0, y=0).
Store the resulting machine axis positions in MP 1030 00130.
5. Determine in MP 10300 0140 whether the linear axis can traverse
the axis of rotation of the rotary axis involved.
CAUTION
Danger of damage to the machine or the workpiece!
Do not initiate a system control reset during machining.
Activating
Precondition:
D The axis kinematics has been assigned correctly.
1. Program COORD(1).
The polar coordinate transformation has been configured in trans-
formation parameter block 1 (see above under Assigning)
Deactivating
1. Program COORD(0).
A presently active axis transformation/polar coordinate transforma-
tion is switched off.
5110 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
Notes:
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 61
and Controls
Precision / Dynamics
6 Precision / Dynamics
Restrictions:
D The acceleration at the block transitions generated by the maximum
axis step change ( MP 1010 00011) is also dependent on the inter-
polator clock pulse that has been set ( MP 9030 00001, NC cycle
time) (a=v/t).
If, e.g. the interpolator clock pulse is increased (by reducing the NC
cycle time) without adapting the maximum axis step change corre-
spondingly, the resulting higher acceleration may, under certain cir-
cumstances, no longer be carried out correctly. On the other hand, a
reduction of the interpolator clock pulse (by increasing the NC cycle
time) may have the effect that the achievable drive dynamics is not
fully utilized.
If you change the interpolator clock pulse, it is therefore necessary
D to adapt the maximum axis step change in MP 1010 00011, or
D limit the acceleration that can be generated at the block transition
via MP 1010 00012. In this case, the control unit automatically re-
duces the maximum axis step change, if required.
Relevant G functions:
G8: Path slope on.
During contour machining, the control unit attempts to gener-
ate a speed as constant as possible within the magnitude of
the programmed feedrate at the block transitions, too. For de-
tails, please refer to page 611). Please note that G8 and the
62 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
6.1.1 Assigning
1. Enter the maximum permitted axis step change accelerations for
your application into MP 1010 00012. In the calculation, take into ac-
count both the mechanical data limits as well as the expected aver-
age load.
2. Calculate the resulting maximum axis step change v=a*t (where t
corresponds to the interpolator clock pulse that has been set) for ev-
ery machining axis ( MP 9030 00001).
Enter the calculated values into MP 1010 00011.
3. Adapt MP 7030 00310 (minimum angle for calculation of the maxi-
mum axis step change).
CAUTION
Danger of damage to the machine or the workpiece!
Do not initiate a system control reset during machining.
6.1.2 Activating
1. Program G8.
With active G8, the maximum axis step change is automatically
taken into account during the execution of part programs in the oper-
ating mode Automatic.
6.1.3 Deactivating
1. Program G9.
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 63
and Controls
6.2.1 Assigning
1. Enter the desired acceleration values into MP 7030 00210 and
MP 7030 00220.
CAUTION
Danger of damage to the machine or the workpiece!
Do not initiate a system control reset during machining.
Precision programming
Ractual
Rsetpoint
: actual contour
: programmed contour
For this purpose, the control unit calculates the maximum path speed
for each contour transition or circular path segment that may not be ex-
ceeded, so that the specified limit value is observed.
Restrictions:
D The Precision programming function is only effective for contour
transitions if G8 or G108 are active. It is always effective for circular
path segments.
D The Exact positioning function has to be switched off (G62 is ac-
tive).
D To calculate the max. path speed, only the controller parameters of
the first axis on the channel are used. Therefore, all axes involved in
the path have to be parametrized identically with regard to the dy-
namics.
D To calculate the max. path speed, the control unit assumes there is a
linear relationship between speed and overtravel. The influence of
acceleration operations on the current overtravel are not taken into
account.
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 65
and Controls
Precision programming
Relevant G functions:
G328 or
G328 EPS<Contour error> or
G328 DIST<Path overtravel>
Precision programming ON in every case.
If only G328 is programmed, the control unit limits the contour/
radius deviation at the contour transitions or in case of circu-
lar path segments. The value set in MP 8003 00001 serves as
limit value.
If G328 is programmed in connection with EPS, the control
unit limits the contour/radius deviation at the contour transi-
tions or in case of circular path segments, respectively, to the
value programmed after EPS.
If G328 is programmed with DIST, the control unit limits the
path overtravel at contour/radius transitions to the value pro-
grammed after DIST. When traversing circular path segments,
the control unit now limits the radius deviation in accordance
with MP 8003 00001.
DIST and EPS must not be programmed together in one block.
G329: Precision programming OFF.
Relevant SD functions:
SD(328,1) provides the maximum permitted contour/radius error
programmed last on the active channel as rounded inte-
ger value.
Alternative programming: SD(328).
SD(328,2) provides the maximum permitted path overtravel pro-
grammed last on the active channel as rounded integer
value.
66 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
Precision programming
6.3.1 Assigning
1. Enter the maximum permitted contour/radius deviation into
MP 8003 00001.
CAUTION
Danger of damage to the machine or the workpiece!
Do not initiate a system control reset during machining.
6.3.2 Activating
Preconditions:
D Presetting for contour/radius deviation in MP 8003 00001 has
been parametrized correctly.
D G8 or G108 are active
(only required if Precision programming is to be used at contour
transitions. The function is always effective for circular path seg-
ments.)
D All axes involved in the path have been parametrized identically with
regard to the dynamics.
D The Exact positioning function is switched off (G62 is active).
6.3.3 Deactivating
1. Program G329.
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 67
and Controls
Shape
6.4 Shape
Function:
Using the Shape function, it is possible to lessen or limit the jerk in
case of changes in speed. This reduces the peak load of mechanics
and drive components and may, when operating near the limit, help
avoid servo errors.
Thus Shape can, for example, be used for positioning operations in-
volving high accelerations (e.g. punching application) and/or high loads
to minimize vibration on the machine.
Restrictions:
D You should not use Shape for contour machining.
D Point-to-point movement using Shape (G408), Axis-by-axis pro-
grammable Shape (G608) or Path slope (G8, G108) cannot be
used simultaneously.
D In comparison with deactivated Shape, the interpolation time per
point-to-point movement in case of activated Shape increases by
the additionally necessary interpolation cycles because the move-
ment becomes more smooth.
68 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
Shape
Relevant G functions:
G9: Shape/path slope off.
G408: Point-to-point movement using Shape.
The SIN and LIN parameters determine how an acceleration
jump is split up.
LIN x: linear splitting up of the jump into x interpolation
cycles (x: 2 to 41).
SIN x: SIN2-shaped splitting up. Strictly specified values are
admissible for x only (see DIN Programming Instruc-
tions).
LIN 2 acts without programmed parameters.
G608: Axis-by axis programmable Shape.
The default settings are programmed via MP 1003 00008.
G6: Acceleration programming.
Supersedes MP 101000001 temporarily.
. The G8, G9, G108, G408 and G608 G functions form a group and
therefore deselect each other mutually.
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 69
and Controls
Shape
v
T = interpolation cycle
a t
Resulting acceleration
without Shape
a t
Resulting acceleration
with linear splitting up of
the jump into 5 interpola-
tion cycles (G408 LIN5)
a t
6.4.1 Assigning
Shape
Example:
max. permitted jerk: 500 m/s3
maximum axis acceleration: 10 m/s2
NC cycle time: 4 ms
Required input value: 5
CAUTION
Danger of damage to the machine or the workpiece!
Do not initiate a system control reset during machining.
6.4.2 Activating
1. Program G408 using the LIN or SIN parameter to activate the func-
tion Point-to-point movement using Shape
-or-
program G608 to activate the Axis-by-axis programmable Shape
function.
6.4.3 Deactivating
1. Program G9.
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 611
and Controls
Path slope
Restrictions:
D Path slope acts only on the machining axes (synchronous axes).
D Decelerating to v=0 is performed after each G0 block.
D After a G200 block, decelerating to v=0 is only performed if G61 or
G163 is active.
D MP 7060 00110 (number of blocks in preparation) must at least be
assigned the value 3.
D If the travel path of the last two programmed blocks is too short at
high path speeds, the drive dynamics may be insufficient to be able
to decelerate correctly to v=0. See also Contour-dependent fee-
drate reduction on page 614 ff.
D In case of active path slope, the execution time of the block has to
be longer than the execution time of auxiliary functions (incl. ac-
knowledgment) programmed in one and the same block.
The execution time is for the most part determined by the pro-
grammed travel path as well the setpoint feedrate.
Relevant G functions:
G8: Path slope on.
G9: Path slope off.
Decelerating to v=0 is always performed at block transitions.
. The G8, G9, G108, G408 and G608 G functions form a group and
therefore deselect each other mutually.
612 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
Path slope
6.5.1 Activating
1. Program G8.
6.5.2 Deactivating
1. Program G9.
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 613
and Controls
Look-ahead function
Determine the number of blocks in the block preparation (SAV) per as-
signed channel using configuration parameter 7060 00110. With the
PREPNUM function, the number of blocks can be temporarily restricted
via the part program.
The standard presetting for channel 1 and 2 is 30 blocks each, for the
CPL channel it is 3 blocks. For additional machining channels, at least
30 blocks should be reserved, too.
If the presetting of MP 7060 00110 may be critical or limiting for func-
tions using the look-ahead feature, a note to this effect will be included
in the respective function description.
. Please note that the look-ahead function requires approx. 8 k class
2 system memory per block!
L Before you increase the number of blocks, verify that sufficient memory
is available.
DIAGNOSIS " CONTROL DIAGNOSIS " MEMORY
. To take over changes in MP 7060 00110, perform a control reset.
Speed
v
without G108
with G108
with Shape
T = interpolation cycle
T = interpolation cycle
Restrictions:
D The contour-dependent feedrate reduction acts only on the ma-
chining axes (synchronous axes).
D A PREPNUM active in the part program limits the jerk-limited velocity
profile generation with the effect that fewer blocks than have been
defined in the relevant MACODA parameters are available.
D If the look-ahead range is set too low, this may result in an unneces-
sary reduction of the path speed.
D Within the deceleration ramp, path speeds which differ block by
block will be effective only if the difference exceeds a fixed tolerance
range (15%).
616 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
Relevant G functions:
G108 {Shape<Shape order>}
Switch Contour-dependent feedrate reduction on (op-
tional with Shape)
If G108 is programmed without the optional Shape, the order set in MP
7050 00320 becomes effective.
Relevant NC function:
Shape<Shape order>
The following applies:
<Shape order> Number of interpolation cycles (optional),
programmable number 0..100.
Without programming, MP 7050 00320 shall apply
. The G8, G9, G108, G408 and G608 G functions form a group and
therefore deselect each other mutually.
6.7.1 Assigning
Precondition:
Please note that the function requires further blocks (maximum up to
Shape order) from the interpolator in addition to the set number of
blocks for the look-ahead range. These blocks have to be taken into ac-
count in MACODA parameter 7060 00110 Number of blocks in prepa-
ration, too!
6.7.2 Activating
CAUTION
Danger of damage to the machine or the workpiece!
Do not initiate either a control reset or a system control reset dur-
ing machining, because the NC blocks prepared relative to the
look-ahead function will not be executed anymore.
6.7.3 Deactivating
1. Program G9.
618 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
Quadrant transition.
Y Reversal of direction of the Y axis
: Setpoint contour
Traversing direc- : Actual contour without
tion compensation
The pulse level required for compensation and the number of scanning
steps needed are dependent on radius and feedrate speed (path
speed). Because the drive knows neither the radius nor the path speed
of a circle segment that is currently being traversed, this information is
taken into account by the NC, it is standardized and the result is trans-
mitted to the drive in the form of the standardized circle feedrate
(P-0-0536 standardized path speed). For this purpose, SERCOS pa-
rameter P-0-0536 has to be included in the configuration list of the MDT
telegram (S-0-0024).
Calculation of the standardized circle feedrate in the NC:
Restrictions:
D Active axis transformations are not permitted.
D The axes of the program coordinate system (PCS) must run parallel
with the axes of the basis coordinate system (BCS), i.e. shifts in posi-
tive or negative direction are allowed whereas rotations are not!
620 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
6.8.1 Assigning
Precondition:
D Use of Servodyn drives with software version V47 (or higher).
D The relevant SERCOS parameters (see above) are correctly set in
the drive and saved in the EEPROM or will be transferred by the con-
trol unit to the drive during SERCOS initialization (for information on
SERCOS, see page 467 ff.).
CAUTION
Danger of damage to the machine or the workpiece!
Do not initiate a control RESET during machining.
CAUTION
Danger of damage to the machine or the workpiece!
Do not initiate a control RESET during machining.
6.8.2 Activating/deactivating
The NC activates the function if
D P-0-0536 has been entered in S-0-0024 (configuration list MDT),
D the freely configurable telegram has been selected in S-0-0015
(telegram types parameter) and
D NC and drives perform a new start-up.
Restrictions:
D All setpoint values generated by the drive independently cannot be
influenced via the limit values defined by the control unit (e.g. in case
of Interpolation in the drive, Drive-controlled referencing or Halt
of the drive after the occurrence of an error)! In these cases, an ap-
propriate parametrization within the drive is required.
Relevant G functions:
G6: Acceleration programming ON.
Supersedes the acceleration values defined in 1010 00001
with programmed or previously stored values.
G7: Acceleration programming OFF.
The values stored in MACODA are valid again.
G206: Saves the currently active acceleration values of all axes.
6.9.1 Assigning
1. Make sure that the relevant SERCOS parameters have been para-
metrized correctly.
The values of the SERCOS parameters should normally be set ac-
cording to the maximum dynamic capacity of the respective drive. In
this context, it is necessary to take the coupled axis mechanics as
well as the maximum possible load into consideration sufficiently!
If you have made any changes, save all SERCOS parameters in the
EEPROM of the drive or enter their values into the relevant SERCOS
files of the NC. The SERCOS files are transferred by the control unit
to the drive during SERCOS initialization (for information on SER-
COS, see page 467 ff.).
2. For axes:
Configure MP 1005 00001 and MP 1010 00001. The limit values set
in the drive must not be exceeded.
For spindles:
Configure MP 1040 00012 and MP 1040 00031. The limit values set
in the drive must not be exceeded, taking into account the transmis-
sion ratio.
3. Configure MP 1010 00011 and MP 1010 00012. The speed and ac-
celeration values set in item 2. must not be exceeded.
CAUTION
Danger of damage to the machine or the workpiece!
Do not initiate a control RESET during machining.
Operation
7 Operation
Control reset
7.1.1 Activating
CAUTION
Initiating Control reset or System control reset during ma-
chining may cause damage to the machine or workpiece!
In the manual, jog mode it is possible to move all axes existing in the
NC. In case of synchronous axes, this mode has a direct effect on the
machine coordinates (MCS).
The individual options are first selected via the axis interface signals
Manual feed/incremental bit x (NC-I1.0 to NC-I1.3).
Subsequently, the traversing movement can be initiated via the axis in-
terface signals Manual+ or Manual
It is possible to store the travel speeds separately for each of the three
options mentioned above, using the configuration parameters.
The value used to accelerate to setpoint speed can be set jointly for all
options via configuration parameters.
Preconditions:
D SERCOS communication has been established with the respective
drive and is working properly.
In this context, refer to the description of the following signals:
NC-I8.x / 9.x: Drive inhibit (axis interface)
NC-I10.x / 11.x: Drive off (axis interface)
NC-O14.0: SERCOS system ready (axis interface)
NC-O14.1: Drive ready (axis interface)
NC-O14.2: Drive under control (axis interface)
NC-O15.0: Axis inhibited (test) (axis interface)
D Manual or Jog mode has to be activated.
In case of synchronous axes, note that their operating mode, in con-
trast to auxiliary axes, is not influenced by their axis interface but by
the channel interface.
The operating mode of a channel can be set either at the operating
panel or by the PLC (binary coded via channel interface). The values
permitted are specified using NC-I3.0 Mode selection by PLC
(channel interface). In case of auxiliary axes, their operating mode
can be specified exclusively via the axis interface.
In this context, refer to the description of the following signals:
NC-I2.0: Mode selection bit 0 (channel interface:
NC-I2.1: Mode selection bit 1 (channel interface)
NC-I2.2: Mode selection bit 2 (channel interface)
NC-I2.3: Mode selection bit 3 (channel interface)
NC-I3.0: Mode selection by PLC (channel interface)
For auxiliary axes:
NC-I1.6: Mode selection bit 0 (axis interface)
NC-I1.7: Mode selection bit 1 (axis interface)
74 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
7.2.1 Assigning
1. Use the table below to set the relevant configuration parameters:
(1) Selection via axis interface signals Manual feed/incremental bit x (NC-I1.0 to NC-I1.3).
(2)If the signal Inch incr. step (NC-I0.3) is set at the axis interface of a linear axis, the PNC will multiply the
value entered in MP 1015 00001 by the factor 2.54.
7.2.2 Activating
1. If you wish to jog synchronous axes, select Jog mode on the oper-
ating panel:
MANUAL " JOG MODE
2. If you wish to jog asynchronous axes, make sure that the Manual
mode is provided at the axis interface of the respective axis via the
signals Mode selection bit x (NC-I1.6 and 1.7).
76 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
. Please note that the signal Inch incr. step (NC-I0.3) influences
the length of the traversing path in the increment modes!
If it has been set, the PNC multiplies the value entered in MP
1015 00001 by the factor 2.54!
5. Initiate the traversing movement of the relevant axes via the axis in-
terface signals Manual+ or Manual.
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 77
and Controls
Jogging options:
D Continuous jogging: for jogging, the maximum positive or negative
end point of the selected coordinate is specified. The movement is
stopped when you release the jog key.
The maximum end point of a coordinate is calculated by the NC on
the basis of the axis end switches, taking into account the active
transformation.
D Incremental jogging: When the jog key is actuated, the control unit
will check whether it is possible to traverse the selected path incre-
ment.
The instruction will be ignored if it is not possible to traverse the se-
lected path increment.
78 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
Restrictions:
D Select the 5 axis transformation with linear orientation (MP
1030 00110 Axis transformation type = 3232101 or 3032101),
even if the 5 axis transformation with vector orientation (MP
1030 00110 = 3232201) was active previously.
In this context, the name of the part program (initialization program),
which selects an axis and/or coordinate transformation in connection
with CPL commands, can be entered in MP 7500 11000.
This program will always be executed at the start of the first jog
movement after selection of the operating mode.
Relevant NC functions:
JogWCSSelect JWSCHAN<Channel no.> JWSCOORD<Coordinate
no.> {JWSFEED<F value>} {JWSSTEP<Increments>}
Selection of coordinate for jogging in workpiece coordi-
nates
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 79
and Controls
7.3.1 Assigning
1. Create the initialization program for switching over into the 5 axis
transformation with linear orientation (if required), when jog mode is
selected.
2. Edit the program module -B04SATZV for the NC block specification
to select a coordinate for jogging.
3. Link the relevant interface signals.
4. Enter the values for the relevant MACODA parameters:
D MP 7050 0100 MP 7050 01030
D If you wish to release the jog mode via softkey, enter the value 2 or
3 in MP 6001 00030.
710 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
7.3.2 Activating
1. Select the Jogging in workpiece coordinates mode via PLC or soft-
key.
2. Select the desired coordinate (specification of the JogWCSSelect
NC function, e.g. by the PLC via NC block specification).
3. Select the speed range or the step size (see also MP
7050 01020).
4. The movement starts when the channel interface NC-I0.6 or NC-I0.7
has been set.
Example:
1010 00002 [1] Jog acceleration for the axes
relevant for this channel
[2]
..
[64]
7050 01010 [1] 1 The step size is derived from the 1st
system axis
7050 01030 [1] 2000 The variable increment step is 2000 incr.
10 IF @AXTRAFO%=1 THEN
N20 Coord(2) ;The axis transformation 2 must be of
type 3232101 or 3032101
30 ELSE
N40 Coord(0)
50 ENDIF
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 711
and Controls
7.3.3 Deactivating
D The continuous movement is stopped by releasing the respective
jog key when the channel interface NC-I0.6 or NC-I0.7 has been re-
set.
D Leaving the Jogging in workpiece coordinates mode terminates ev-
ery jog movement.
D Channel control reset and system control reset discontinue an active
jog movement.
712 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
Handwheel
7.4 Handwheel
Function:
You can connect up to two digital handwheels to manually traverse the
axes in manual mode. The communication takes place via CAN-Bus
(only PNC-R) or PROFIBUS-DP, a mixed operation is permitted, too.
Preconditions:
D Module osa switch (machine operating panel with CAN-Bus), or
module osa switch dp (machine operating panel with PROFIBUS-
DP), or handwheel with direct PROFIBUS-DP connection.
D The number of pulses per revolution is adjusted.
D osa switch: The digital handwheel has to provide 100 pulses per
revolution (e.g. Messrs. Euchner, HKG 100X100A05). No further
adjustment.
D osa switch dp: The pulses per revolution of the handwheel are al-
ways multiplied by four. This value must be set in the MP 9060
00001.
(e.g. 9060 00001 = 400 for a handwheel with 100 pulses per revo-
lution).
D Correct connection:
D osa switch: handwheel 1 has been connected correctly at female
D shell connector St3. The machine operating panel is con-
nected to X51 of the osa master module via St2.
D osa switch dp: handwheel 1 has been connected correctly at fe-
male D shell connector St3. The machine operating panel is
connected to X71 of the PNC-P plug-in card or to X51 of the mod-
ule osa dc I/O or osa dc I/O ana via St2 and configured via
WinDP.
D Handwheels which are connected without machine operating
panel directly via PROFIBUS-DP have to transmit values to the
PNC representing the counter reading with a sign, not incremen-
tal values.
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 713
and Controls
Handwheel
CAUTION
Damage to the electrical/electronic equipment possible!
Switch off system before you pull out or plug in connecting lines
or before you install a second logic card!
Handwheel
7.4.1 Assigning
1. Use the table below to set the relevant configuration parameters:
Incremental step Length of the traversing path effective
(1) (2) speed
Handwheel
7.4.2 Activating
1. If you wish to move synchronous axes using the handwheel, select
Jog mode on the operating panel:
MANUAL " JOG MODE
. Please note that the signal Inch incr. step (NC-I0.3) influences
the length of the traversing path!
If it has been set, the PNC multiplies the value entered in MP 1015
00001 by the factor 2.54!
7.4.3 Deactivating
. An axis can only be moved using the jog key (jog axis) once the
assigned handwheel has been deactivated!
Online correction
DANGER
Danger of collision with the workpiece in case of online correc-
tion!
Danger of damage to persons and equipment by the breaking of
tools and workpieces!
Activate the online correction with great care, in particular in case
of active program and moving axes!
Once the correction has been activated via handwheel, it remains effec-
tive until it is deactivated. This means that the correction also has an
effect on the subsequent programmed positions in an active program.
In this case, the programmed positions are offset by the value of the
correction.
Example:
The position of the tool is compensated online in TCS Z direction using
the handwheel. In the next block, a position in X, Y is approached. In this
block, the tool tip is offset in tool longitudinal axis by the value of the on-
line correction.
The online correction of the handwheel has an effect on the following
coordinates/axes (examples of coordinate and axis identifiers x, y, z,
theta, phi).
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 717
and Controls
Online correction
A connection which may still exist at this point in time between coordi-
nate/axis and handwheel is disbanded, i.e. the online correction is de-
selected.
In case of axis transfer (see Section 4.9), the correction memory is de-
leted and the online correction is deselected, if the axis transferred is
linked with the handwheel.
An axis just taken over always has an empty online correction memory.
Application:
A total of up to 2 digital handwheels can be operated at the PNC-P
(PROFIBUS-DP) or the PNC-R (PROFIBUS-DP, CAN). In addition, 1
handwheel can be connected per SERCOS drive.
Online correction
TCS Z direction
TCS TCS
z
y
x
WCS
Drilling tool drills into the workpiece slanted Broken tool stuck in the workpiece
5 axis transformation active slanted
Restrictions:
D An online correction is not possible in the operating modes Manual
(jog mode) and Manual approaching the reference point.
D Machine-oriented absolute position:
G76 traverses to an offset position, i.e. the online correction is not
calculated back.
D The CPL functions PPOS and CPROBE do not take into account the
correction values of the online correction.
D Probe
G75 measures the correct position. Use the CPL function PROBE to
read this measuring value.
D Measuring at the dead stop
G375 measures the correct position. Use the CPL function PROBE
to read this measuring value.
D Limit switch
The NC does not check whether a coordinate position generated by
the online correction exceeds the software limit switches. For this
purpose, activate the limit switch check in the SERCOS drive.
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 719
and Controls
Online correction
Online correction
Relevant NC functions:
HWOCON OCONCH<Channel no.> OCCOORD<Coordinate no.>
[OCSTEP<Increments>]
Activating the online correction via PLC or via
switching functions or from any channel.
HWOCOFFOCOFFCH<Channel no.>
Deactivating the online correction via PLC or via
switching functions or from any channel.
Online correction
7.5.1 Assigning
1. Connect the handwheel with the PNC.
2. Enter the relevant values into MP 7050 00900 through 7050 00941.
Example:
Online correction via handwheel 1 on channel 1
3. Link the channel interface signals NC-I2.6 and NC-I2.7 in the PLC.
4. Configure the relevant SERCOS parameters when the handwheel is
directly connected to the drive.
722 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
Online correction
7.5.2 Activating
1. Selecting the online correction:
D in the operator interface in the Manual main menu using
PREPARING " ONLINE CORRECTION, or
D via the PLC by entering the NC function HWOCON
7.5.3 Deactivating
The online correction can be deactivated in different ways:
D Interrupting:
Canceling the interface signal NC-I2.6 Online correction enable.
D Switching off:
The NC function HWOCOFF switches the online correction off.
D Deleting:
The NC function HWOCDEL switches the online correction off and
deletes the correction memory of this channel.
D Deactivating via operator interface:
Using the softkey ONLINE CORRECTION in the Manual main
menu, it is possible to switch the online correction on, over and off.
In addition, online correction values may be deleted. For detailed in-
formation, please refer to the manual Operating instructions, stan-
dard operator interface.
D Control unit start-up
The online correction is inactive following a start-up of the control
unit. The online correction memories are deleted.
D Control reset
D Has no direct effect on online correction.
D The contents of the correction memories is maintained.
D An online correction is only switched off if
an axis transfer (G510..G513), or
a changing of the coordinate transformation (inclined plane)
or
a changing of the axis transformation is performed in the init
string (MP 7060 00020).
D The online correction values are only deleted if HWOCDEL has
been entered in the init string (MP 7060 00020).
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 723
and Controls
Override
7.6 Override
Function:
Influences the specified
1. path speeds within a channel and
speeds of the machining axes in manual mode
2. speeds of auxiliary axes
3. spindle speeds.
For this purpose, the absolute (e.g. programmed) values are continu-
ously converted within the control unit in dependence on separate, cur-
rently set percentage values and become effective on the machine.
Restrictions:
D Direct input with override values is only possible at the channel-re-
lated digital interface. Override values for auxiliary axis speeds or
spindle speeds can only be set using Step-related input.
D The response time following a change of override values depends
on the PLC cycle time (guide value: approx. 20 ms)
724 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
Override
Relevant G functions:
G63: Feedrate 100%.
Deactivates the override function on the current chan-
nel.
G66: Feedrate 100% off.
Activates the override function on the current channel.
Override
7.6.1 Assigning
CAUTION
Danger of damage to the machine or the workpiece!
Do not initiate a control reset during machining.
Override
CAUTION
Danger of damage to the machine or the workpiece!
Do not initiate a control reset during machining.
...for spindles
1. Adapt MP 1040 00041 (spindle override in 32 steps) for each as-
signed spindle as follows:
Individual parameter [1]:
Enter maximum override value to which an input via spindle interface
is restricted (in %).
CAUTION
Danger of damage to the machine or the workpiece!
Do not initiate a control reset during machining.
7.6.2 Activating
Precondition:
D The corresponding override function has been assigned.
Override
...for spindles
Precondition:
D The required interface signals are evaluated or generated by the
PLC and transmitted to the corresponding spindle interface of the
control unit.
7.6.3 Deactivating
...for spindles
Precondition:
D The required interface signals are evaluated or generated by the
PLC and transmitted to the corresponding spindle interface of the
control unit.
Please note:
D A program aborted in Automatic mode is immediately selected
again unless aborting the program was initiated by selecting another
program (e.g. following control reset on the channel).
D If a program is aborted by changing the operating mode on the chan-
nel, the control unit will select the aborted program again as soon as
you switch to Automatic mode on this channel.
The selected program can then be started via the channel-specific inter-
face signal Cycle start (NC-I1.0) if the signal NC ready (NC-O16.0)
has been set at the channel interface.
7.7.1 Activating/deactivating
1. Assign in MP 7060 00410 for the respective channel
the value 1 to activate the automatic program reselection
or
the value 0 to deactivate the automatic program reselection.
CAUTION
Danger of damage to the machine or the workpiece!
Do not initiate a control RESET during machining.
If, for instance, you want to make sure that the change of an input signal
is effective during the execution of the program for blocks which have
already been prepared, the PLC can interrupt program execution at an
appropriate point using Feed hold, execute Cancel distance to go
and continue machining using Cycle start.
Restrictions:
D Feed hold and thus standstill of the axes is a precondition for Can-
cel distance to go.
D Cancel distance to go is only effective in the modes Automatic,
Single block, Single step and Program block.
7.8.1 Activating
. The desired return mode and return point can be preset in MA-
CODA via MP 7060 00310 and MP 7060 00320.
You can also set the desired return strategy via operator interface
(Manual main menu, softkey sequence REMOVE FROM CON-
TOUR " FIX STRATEGY).
The options set here supersede MP 7060 00310 or MP 7060 00320
and are effective until the next control unit start-up.
For detailed information on the effects of the individual options,
please refer to Section 7.9.1, page 732 ff.
. Via MP 7060 00330 you can configure the maximum number of tra-
versing movements to be remembered.
Restrictions:
D When leaving the contour, the jog signals (Manual+ / Manual) have
a direct effect on the respective machine axes. A possibly active axis
transformation or a rotation of the program coordinate system (PCS)
related to the basis coordinate system (BCS) is not taken into consid-
eration!
D Returning to the contour cannot be performed on several channels
simultaneously.
D Returning to the contour is only possible at the end of a possibly ac-
tive CPL waiting state (e.g. WAIT). If a CPL waiting state is active at
the time of interruption, the control unit will output a warning.
D G32 (tapping) must not be active.
D After the interruption, running spindles must be stopped either
manually (via switching function) or by the PLC and restarted in time
before machining continues.
Workpiece
CAUTION
Danger of damage to the machine or the workpiece!
When you use the option end of block, keep in mind that the con-
tour has not yet been machined from the interruption point on!
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 733
and Controls
Manual:
ASP 4
S1 3
5 2
1
UP (ANF)
SA SE
Traversing direction
Workpiece
Automatic:
S1 4
3
2 ASP
5a 5b S2
6 1
UP (ANF)
SA SE
Traversing direction
Workpiece
Single block:
S1 4
5b S1 3
5c 2 ASP
5a S1 5d S2
6 1
UP (ANF)
SA SE
Traversing direction
Workpiece
. If the input signal Return to contour has not been set when cycle
start is initiated (S1), the NC traverses directly to the return point
and continues the machining process.
The contact point (ASP) can still be changed via jogging move-
ments. The NC then traverses to the return point (here: interrup-
tion point) via cycle start (S2) and continues the machining
process.
ASP: contact point (example)
SA: start of block
UP: interruption point (example)
ANF: return point
SE: end of block
736 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
7.9.2 Assigning
1. Adapt MP 7060 00310, 7060 00320 and 7060 00330 in accordance
with the desired standard return strategy.
CAUTION
Danger of damage to the machine or the workpiece!
Do not initiate a system control reset during machining.
7.9.3 Activating
Activating the mode Remove from contour via operator interface (MMI):
Preconditions:
D the active part program has been interrupted by Feed hold
D the output signal Remove finished (channel interface; NC-O16.6)
has not been set
D the input signal Return to contour has not been set (channel inter-
face; NC-I3.1).
D the input signal Mode selection by PLC has not been set (channel
interface; NC-I3.0).
From this time on, the control unit will remember all traversing move-
ments that you initiate using the axis-related input signals Manual+ or
Manual. In case of axis standstill, the control unit outputs the channel
interface signal NC-O16.4 Ready for re-entry.
D the input signal Mode selection by PLC has been set (channel inter-
face; NC-I3.0).
L Activate the channel mode Return via the NC input signals NC-I2.0 to
2.3.
From this time on, the control unit will remember all traversing move-
ments that you initiate using the axis-related input signals Manual+ or
Manual. In case of axis standstill, the control unit outputs the channel
interface signal NC-O16.4 Ready for re-entry.
Depending of the chosen return strategy (see Section 7.9.1, page 732
ff.), you can start return to path via Cycle start.
Depending of the chosen return strategy (see Section 7.9.1, page 732
ff.), you can start return to contour via Cycle start.
738 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
Notes:
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 81
and Controls
Tool compensations
8 Tool compensations
The dimensions and the position of a tool can be described using:
D tool reference points
D tool coordinate system
D geometric dimensions (compensations) and tool type
8.1 Basics
8.1.1 Tool reference points
A tool has different reference points:
The T (TCP tool center point) tool reference point is the coordinate ori-
gin of the TCS tool coordinate system. It is normally located on the sym-
metry axis of the tool at the level of the tool contact point.
To determine the position of the TCP tool reference point, the tool di-
mensions R tool radius and L tool length have to be known. These
provide the position of the TCP in relation to the E tool zero point.
If the tool is located in the tool holder, the E tool zero point and N tool
clamping point coincide.
Tool compensations
ZP ZT
TCS (tool coordinate system)
YP
ZP
XP
P YT YP
PCS (program
coordinate system) zt
yt
If the TCS is parallel with the coordinates of the PCS and a rotation sym-
metrical tool is used, the position of the TCS in relation to a workpiece
coordinate system does not play any role. In this case, working range
coordinate programming is not active.
The position of the TCP is determined using the L and R tool compensa-
tions relative to the E tool zero point, the current tool orientation and the
programmed coordinates.
Tool compensations
ZT
ZP
YP
P XP
L tool length
TCS
ZT
ZP
YP
YT
XP
P
PCS (program
coordinate system)
XT
ZT TCP
Direction of tool
orientation
YT
Workpiece contour
TCP
XT
Tool compensations
Reference pose
In case of 5 axis and 6 axis transformation, the TCS tool coordinate sys-
tem first assumes a reference pose which is aligned paraxial relative to
the BCS and allows for 24 different orientations (see example below or
refer to page 595 ff. for details)
The tool coordinate system in its reference pose is referred to as TCS1
(for all orientations). The TCS1 can be defined with the axis transforma-
tion parameter MP 1030 00150 for the tool.
The orientation of the TCP and the TCS connected to it can be in-
fluenced by the axis transformation. The TCS1 is shifted and rotated, if
required, by special compensations and definitions.
Tool compensations
Precondition:
D Is only applicable in connection with an active 5 axis or 6 axis trans-
formation.
Function:
A TCSc is created via an explicit tool compensation (e.g. CPL command
TC), which can be shifted and rotated in relation to TCS0 or TCS1.
zt yt
xt
Type: 1 2 3
BCS
ltc TCSc (shifted) only for 5 axis
z y
transformation and for
yt 6 axis transformation type
zt
3033101
xt
x xt
TCS1 yt
zt
Type: 1 2 3
Ttc
BCS TCSc (shifted and rotated)
z y ltc
for 6 axis transformation type
yt 3333301 only
zt
xt
x
TCS1
Restrictions:
D Shifting and rotating the tool coordinate system only works for the 6
axis transformation type 3333301.
D Shifting the tool coordinate system only works for the 5 axis trans-
formations and for 6 axis transformation type 3033101.
Tool compensations
Precondition:
D It is only applicable in connection with an active 6 axis transforma-
tion.
Function:
The function TCS definition in program coordinates creates a tool
coordinate system TCSp, which supersedes the current TCSc or TCS1 .
The coordinate values specified in the TCSDEF command for the TCSp,
p p
are converted to the variables lt and T t within the NC and stored in the
tool compensation memory. Switching off with TCSUNDEF reactivates
the TCSc, or, if no explicit tool compensation is active, the TCS1.
The figure below shows the active TCSp and the remaining inactive tool
coordinate systems:
z y
TCSDEF x.. y.. ..
PCS x xt
Type: 1 2 3 Type: 2 1 3
yt
BCS
BCS zt
z y z y
ltp
zt yt xt TCSp
MACODA yt Ttp CPL command
xt
TC
TCS1
x x yt
ltc zt
zt
TCS1 Ttc
TCSc
xt
Restrictions:
D The command TCSDEF can only be used if an axis transformation
with orientation identification 3 (tensor orientation) is active.
Tool compensations
Example:
N10 COORD(1) Axis transformation on
N20 x300 y100 phi315 Movement of the TCS1 to the initial
position
N30 TCSDEF x100 y150 phi0 Movement of the TCS1 to the initial posi-
tionool compensation to
N40 phi45 rotation of the TCSp
N45 ... Position and orientation data related to
... the TCSp
N50 TCSUNDEF Programming related to the TCS1 again
200 yt
y = 315
xt
yt
TCSp
100
x
TCS1
Tool xt
PCS
100 200 300
yt
y
N50
TCS1
xt
yt
N45: = 45
xt
200 yt
= 45 y
xt yt
BCS
N30: (150,100) TCSp
100
N20: (100, 300) x
TCS1
xt
Tool = 315
Tool compensations
The tool coordinate systems TCS1a and TCS1b of the two gripping de-
vices are compensated to a joint TCSp of the sheet steel plate. If the
sheet steel plate is to be moved in space, you only have to program the
position and orientation of the joint TCSp.
Gripping device 1
z
y
PCS x
Gripping device 2
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 89
and Controls
Tool compensations
8.1.4 Assigning
Explicit tool compensation
1. Enter all settings for your application as described in Section 5.7.4.
2. Please note the selection of the transformation type: The TCS can
only be shifted and rotated for certain types (see restrictions on page
85).
8.1.5 Activating
Explicit tool compensation
1. Enter all settings for your application as described in Section 5.7.5.
2. The function is activated e.g. with the CPL-TC function.
8.1.6 Deactivating
Explicit tool compensation
1. Enter all settings for your application as described in Section 5.7.6.
2. The function is reset for every coordinate switching COORD(n).
Geometry compensations
CAUTION
Input of wrong tool dimensions results in incorrect contour!
As the tools are subject to wear in the course of machining, their
length or radius will change, depending on the tool type. This ef-
fect also occurs in case of sharpening.
Therefore verify that all tool data always correspond to the actual
dimensions of the tools employed when you are working with ge-
ometry compensations!
Take new measurements of the tools used at regular intervals (de-
pending on e.g. tool life, tool contact time) and update the tool
data provided.
Geometry compensations
1st compensation group 2nd compensation group 1st compensation group 2nd compensation group
Standard External compensation General compensation Standard External compensa- General compensation
compensation (G145..G845) (G147..G847) compensation tion (G145..G845) (G147..G847)
H Hext L(2)1 L(2)2 L(2)3 D Rext R
added
+
added
no compensation +
permitted between the compensation
the 1st and 2nd com- programmed last is
pensation group! applicable!
Max. 4 length compensations active simultaneously: The radius compensations of the 1st and 2nd com-
the length compensation of the 1st compensation group pensation group are added and/or replace each other
as well as the three length compensations of the 2nd partially.
compensation group have an effect on the respective
different axes (determination via MACODA or G78).
For details on the individual geometry compensation types, see the fol-
lowing pages:
D Standard compensation (1st compensation group): page 813 ff.
D External compensation (1st compensation group): page 814 ff.
D General compensation (1st compensation group): page 817
ff.
Geometry compensations
H H, D
1st compensation group: G145..G845 (Hext) 1st compensation group: G145..G845 (Hext , Rext)
Machine Machine
Z
Z
Combined tool
Hext1 Hext1,Rext1
Hext2 Hext2,Rext2
... ...
1st Compensation group: H + G145..G845 (Hext) 1st compensation group: H, D + G145..G845 (Hext , Rext)
Machine Machine
Z Z
2nd Compensation group: G147..G847 (L(2)3) 2nd compensation group: G147..G847 (L(2)3, R)
Machine Machine
Z Z
H, D
L(2)3
2nd Compensation group: G147..G847 (L(2)1, L(2)2, L(2)3) 2nd Compensation group: G147..G847 (L(2)1, L(2)2, L(2)3, R)
Machine Machine
X, Y, Z Anglehead tool X, Y, Z
R
L(2)1 (assigned to the X axis) L=resulting length L(2)1 (assigned to the X axis) L=resulting length
L(2)2 (assigned to the Y axis) L(2)2 (assigned to the Y axis)
compensation compensation
L L(2)3 (assigned to the Z axis) L L(2)3 (assigned to the Z axis)
1st+2nd Compens. group: H, G147..G847 (L(2)1, L(2)2, L(2)3) 1st+2nd compensation group: G145..G845 (Hext, Rext)
Machine or G147..G847 (L(2)3, R)
Z Z1 Z2 Z3
Machine
Z Z1
H must not be
assigned to the Z1,
Hext, Rext L(2)3, R
H L(2)1 L(2)2 L(2)3 Z2 and Z3 axis
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 813
and Controls
Geometry compensations
Precondition:
D Compensation group 1 has to be released in MP 7050 00410.
Function:
The standard compensation takes into account the tool dimensions
length and radius. For this purpose, a maximum of 48 compensation
value pairs can be stored in each geometry compensation table.
Spindle axis
(e.g. Z axis)
Chucking device
Length (H)
Tool
Radius (D)
Restrictions:
D The following have an additive effect on the standard compensa-
tion:
D the length compensation value of a possibly active external com-
pensation (G145.. G845)
D the radius compensation value of a possibly active external com-
pensation or the radius compensation value of a possibly active
general compensation (G147.. G847).
D If with regard to the path depth or drilling direction the tool is ob-
structed by a machining axis which is not arranged paraxial to the
working spindle, a drill axis switch has to be performed before the
machining phase so that the length compensation value is taken into
account correctly (G78, see page 832).
814 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
Geometry compensations
Precondition:
D Compensation group 1 has to be released in MP 7050 00410.
Function:
The external compensation (also referred to as 1st external com-
pensation) takes into account the tool dimensions length and ra-
dius, as the standard compensation does.
In contrast to the standard compensation, however, the compensation
values are not provided via the geometry compensation table but trans-
ferred by the PLC automatically to the CNC (required program module
B22WZKOR) in dependence on the tool number (T word) after a tool is
exchanged (via M function).
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 815
and Controls
Geometry compensations
. The CNC internally saves all compensation values. Read and write
access to these values is thus possible using CPL (TC command).
Chucking device
Length (Hext3)
Tool Length (Hext2)
Length (Hext1)
Radius (Rext3)
Radius (Rext2)
Radius (Rext1)
Restrictions:
D The following have an additive effect on the external compensation:
D the length compensation value of a possibly active standard
compensation (H)
D the radius compensation value of a possibly active standard
compensation (D).
D The radius compensation value of the external compensation is
overwritten by the radius compensation value of a general com-
pensation activated later (G147.. G847).
816 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
Geometry compensations
D If with regard to the path depth or drilling direction the tool is ob-
structed by a machining axis which is not arranged paraxial to the
working spindle, a drill axis switch has to be performed before the
machining phase so that the length compensation value is taken into
account correctly (G78, see page 832).
D If the PLC changes the currently active external compensation val-
ues in the course of the execution of a part program, this change will
only become active in the block being under preparation as the
next block.
Under certain circumstances this can mean that even more blocks
are due to execution without this change.
In order to avoid this effect you must program the WAIT CPL com-
mand directly after the block, causing the PLC to hand over the new
compensation values. By doing so you hold the block preparation of
the PNC until all program blocks ahead of WAIT have been exe-
cuted.
D Following the control units start-up, the compensation values saved
internally are set to zero. Internal values may only be changed by
PLC or CPL.
D In case of control reset, the compensation values saved within the
NC are maintained.
Relevant G functions:
G145..G845: Activating the corresponding compensation value pair of
the external compensation.
G146: Deactivating the compensation value pair of the exter-
nal compensation.
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 817
and Controls
Geometry compensations
Precondition:
D Compensation group 2 has to be released in MP 7050 00410.
Function:
The general compensation (also referred to as 2nd external com-
pensation) corresponds to the external compensation with regard to
the functions, except for some extensions.
In this context too, compensation values are transferred by the PLC au-
tomatically to the CNC (required program module B22WZKOR) in de-
pendence on the tool number (T word) after a tool is exchanged (via M
function).
A maximum of 8 compensations sets are possible for each tool. In
contrast to the external compensation, a compensation set consists of
D L(2)1, L(2)2, L(2)3: length compensation or shift values
D R: Radius compensation
D TO: cutting edge orientation
(Description of cutting edge orientation, see 821 ff.)
The following compensation values are used in dependence on the tool
type:
D Drilling tool (L(1)3)
D Milling tool (L(1)3,R)
D Lathing tool (L(2)1,L(2)3,R,TO)
D Anglehead tool (L(2)1, L(2)2, L(2)3, R, TO)
. The CNC internally saves the compensation sets. Read and write
access to these values is thus possible using CPL (TC command).
818 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
Geometry compensations
Example 1:
Length compensations for the simultaneous machining of a workpiece
using a maximum of 3 similar tools:
Tool T01 T02 T03
Example 2 :
Constant three-dimensional tool shift:
The resulting three-dimensional tool shift in the direction of the tool
axis is calculated on the basis of the shift values of the axes involved.
+Z
Tool
+Y
+
constant
three-dimensional
L(2)3 (Z) tool shift
L(2)1 (X)
L(2)2 (Y)
+ +X
Shift values: L(2)1 , L(2)2, L(2)3
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 819
and Controls
Geometry compensations
Restrictions:
D The radius compensation value of an active standard compensa-
tion (D) acts additively with the radius compensation value of an ac-
tive general compensation (G147..G847).
D The radius compensation value of the general compensation is
overwritten by the radius compensation value of an external com-
pensation activated later (G145.. G845).
D The default assignment of the length compensation values L(2)1 to
L(2)3 to the individual logical axes of a channel is preset channel-spe-
cific in MP 7050 00420.
In this context, the individual compensations have to be assigned to
different axes. In addition, there may be no overlapping with the drill
axis of the 1st compensation group during axis assignment. As a con-
sequence, the compensations of the 1st and 2nd compensation
group cannot act additively.
D If with regard to the path depth or drilling direction the tool is ob-
structed by a machining axis which is not arranged paraxial to the
working spindle, a drill axis switch has to be performed before the
machining phase so that the length compensation value is taken into
account correctly (G78, see page 832).
D If the PLC changes the currently active compensation values in the
course of the execution of a part program, this change will only be-
come active in the block being under preparation as the next
block.
Under certain circumstances this can mean that even more blocks
are due to execution without this change.
In order to avoid this effect you must program the WAIT CPL com-
mand directly after the block, causing the PLC to hand over the new
compensation values. By doing so you hold the block preparation of
the PNC until all program blocks ahead of WAIT have been exe-
cuted.
D Following the control units start-up, the compensation values saved
internally are set to zero. The internal values may only be changed
by the PLC or CPL.
D In case of control reset, the compensation values saved within the
NC are maintained.
D The general compensation can be used in connection with the PLC
program module B22WZKOR (external tool compensation) only
from V4.4.1 on.
Geometry compensations
Relevant G functions:
G147..G847: Activating the corresponding compensation set of the
general compensation.
G148: Deactivating the compensation set of the general com-
pensation.
Geometry compensations
the material is not cut completely ... the contour is infringed ...
P
P
Contour
R S R R
Hx Contour
S Hx
Hz
SA
W
W
SA
Hz
R: Cutting edge radius
S: Cutting edge center
W: Tool zero point
P: Theoretical cutting edge tip (= measured tool tip)
Hx: Length compensation in x direction
Hy: Length compensation in y direction
SA: Tool symmetry axis
The cutting edge orientation compensation has the effect that the S tool
center point is now located on the programmed contour instead of P.
The tool radius compensation then guides the S cutting edge center
point to the programmed contour on an equidistant at distance R.
The cutting edge orientation (TO) and the cutting edge radius (R) are
needed for the cutting edge compensation.
The cutting edge orientation TO=1 to TO=8 describes the basic orienta-
tion of the tool, related to the main and second axis (see figure below).
The cutting edge orientation compensation is deactivated with TO=9.
822 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
Geometry compensations
R R R R
R R R R
Z
SA SA
TO= 3 (2) TO= 4 (1)
R R R R
SA R R SA
R R
Z
SA
TO= 5 (5) TO= 7 (7) TO= 8 (6)
TO= 6 (8)
6 (8) = Cutting edge orientation TO=6 in the coordinate system rotating to the right
(Cutting edge orientation TO=8 in the coordinate system rotating to the left)
Geometry compensations
DHx = R
SK
R
Contour
R S
Hx
SA
W
DHz = R Hz
R: Cutting edge radius
S: Cutting edge center without shift
SK: compensated position of the cutting edge center point
W: Tool zero point
Hx: Length compensation in x direction
Hy: Length compensation in y direction
Hx: additional length compensation in x direction
Hy: additional length compensation in y direction
SA: Tool symmetry axis
The tool radius compensation then shifts the path by the value of the
cutting edge radius so that the cutting edge is positioned precisely on
the programmed contour.
824 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
Geometry compensations
Geometry compensations
8.2.6 Assigning
1. Make sure that the required compensation group (1 and/or 2) is re-
leased for the respective channel in MP 7050 00410.
Individual Effect Default setting
parameter
1 Release/inhibit compensation group 1 (=released)
1
(for H compensation value within
the standard compensation and for
external compensation)
2 Release/inhibit compensation group 0 (=inhibited)
2
(for general compensation)
Geometry compensations
Geometry compensations
CAUTION
Danger of damage to the machine or the workpiece!
Do not initiate a control reset during machining.
Geometry compensations
2. Enter name.
3. Define directory for the table:
via SWITCH DIRECTORY softkey
4. Press OK softkey.
5. Fill table with length and radius compensation values for machining.
8.2.7 Activating
Standard compensation
Precondition:
D Geometry compensation table for the machining program exists and
contains the correct compensation values of the required tools.
D Tools for machining are available.
Geometry compensations
8.2.8 Deactivating
Standard compensation
Precondition:
D The tool must no longer be involved in the machining process.
Geometry compensations
The table editor is available (see PNC operating instructions) for com-
fortable editing of these tables at the control unit.
The table editor starts automatically when a geometry compensation
table has been selected in GOM MANAGE and you press the EDIT soft-
key (for prerequisites, refer to Relevant MACODA parameters, MP
3080 00200).
If the control unit loads the selected table into the NC editor (ASCII edi-
tor), the required preconditions have not been fulfilled. In these cases,
we recommend that you close the editor without changing the table and
edit the table manually via MANAGE " TABLES and subsequent path/
file selection via the table editor.
Table name
The table name is composed of a freely selected file name and a file
name extension (e.g. test.geo).
The file name extension can be changed, for details, see MP
3080 00200 on page 831.
Structure
A geometry compensation table is structured as follows:
D 1 headline containing an internal system coding of the table
D 48 lines for radius compensation values (2nd to 49th line)
D 1X = <Value>
:
D48X = <Value>
Relevant G functions:
G22 K <Path/table name>:
Activating a geometry compensation table via NC block.
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 831
and Controls
Geometry compensations
8.2.10 Activating
To activate a geometry compensation table via NC block, use G22 with
address K:
G22 K<Path><Table name>
. If <Path> has not been specified, the PNC uses the search path
(MP 3080 00001) to search for the <Table name>.
Example:
Activating the geometry compensation table test.geo in the root direc-
tory:
G22 K/test.geo
Compensation switchover
Function:
Machining on machine tools may be performed using tools of different
sizes, with the tool clamped in different directions, depending on the
machine, or oriented in any direction in space in case of the correspond-
ing machine kinematics.
Compensation switchover
L1 X
X
WCS X WCS
Precondition:
D Geometry compensations (see page 810 ff.) have been properly
established.
Restrictions:
D Drill axes must be linear axes and be suitable for the machine kine-
matics. The tool has the corresponding drive (e.g. spindle).
D The axis addresses programmed under G78 refer to the workpiece
or tool coordinates (XT, YT, ZT).
D The required compensation group (1 and/or 2) has to be released in
MP 7050 00410.
D A certain length compensation within a compensation group may not
be assigned to several axes at one point in time (see MP
7050 00420).
Compensation switchover
Relevant G functions:
G78..: Switch over of the drill axis.
Program-controlled assignment of an existing length
compensation to a coordinate (in the WCS) or to a work-
ing range coordinate (in the TCS) on the channel.
For parameters, see DIN Programming Instructions.
G79.. .: Deactivating drill axis switching.
Compensation groups 1 and/or 2 can be reset to the set-
tings in MP 7050 00420.
For parameters, see DIN Programming Instructions.
G145..845: External tool compensation ON
G147..847: General tool compensation ON
G81..86, G186: Boring cycles
8.3.1 Assigning
1. Make sure that the required compensation group (1 and/or 2) is re-
leased for the respective channel in MP 7050 00410.
2. Use MP 7050 00420 to determine channel-specifically which logical
axes are assigned to which length compensation.
The setting made here acts as default setting in the respective chan-
nel and can be modified via G78.
G79 sets the active setting for compensation group 1 and/or 2 back
to the default setting.
Example: the Z axis (log. axis number 3) is assigned the length com-
pensation H or L3 from compensation group 1. Because the com-
pensation values are taken into account automatically, it becomes
usable as drill axis.
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 835
and Controls
Compensation switchover
CAUTION
Danger of damage to the machine or the workpiece!
Do not initiate a control RESET during machining.
8.3.2 Activating
Precondition:
D Drill axis switching is activated (see Section 8.3.1).
1. Program G78.
For possible parameters, see DIN Programming Instructions.
2. Activate the corresponding geometry compensations (H,
G145 G845 or G147 G847).
836 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
Compensation switchover
8.3.3 Deactivating
Precondition:
D The drill axis is no longer in contact with the workpiece.
=feed direction
=programmed contour
=equidistant
G42 G41
The radius compensation value of the tool can be made available by the
following geometry compensations:
D Standard tool compensation (D)
D External tool compensation (Rext)
D General tool compensation (R)
Preconditions:
D Tools and their dimensions (compensations) are measured for the
machining process.
D The machining program exchanges the tools in accordance with the
machining phase.
D The PLC or tool compensation table provides the correct compensa-
tions for the tools used.
838 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
Restrictions:
D If the control unit is in a circular mode (e.g. G2, G3, G5), no traversing
movement must be programmed in the G40, G41 and G42 blocks.
D In case of active path compensation, the following functions are not
permitted:
G17 to G20 (plane change-over)
G32 (tapping without compensation chuck)
G70, G71 (inch/metric change-over)
G74 (approach reference point)
G75 (probe input)
G92 (set actual value)
D G76 (traverse to machine-oriented absolute axis position) deacti-
vates an active path compensation.
Relevant G functions:
G41: Switching path compensation on to the left of the
workpiece (seen in the direction of machining), referred
to positive compensation values.
If no traversing movement is programmed in the G41
block, the control unit will activate the compensation
immediately and vertically to the next traversing block.
If a traversing movement is programmed in the G41
block, the control unit will activate the compensation
linearly on the way to the end point of the traversing
movement.
G42: Switching path compensation on to the right of the
workpiece. Apart from that, identical to G41.
G40: Path compensation OFF.
If no traversing movement is programmed in the G40
block, the control unit will activate the compensation
immediately and vertically to the previous traversing
block.
If a traversing movement is programmed in the G40
block, the control unit will deactivate the compensation
linearly on the way to the end point of the traversing
movement.
G145..G845: External tool compensation ON
G147..G847: General tool compensation ON
Relevant interface signals:
NC-O20.5: Set: G41 is active on the respective channel.
NC-O20.6: Set: G42 is active on the respective channel.
If both signals are not active, the path compensation is deactivated
(G40).
8.4.1 Assigning
Using a geometry compensation table:
1. Create a new geometry compensation table:
MANAGE " EDIT NEW FILE " GEO TABLE
2. Enter name.
3. Define directory for the table:
via SWITCH DIRECTORY softkey
4. Press OK softkey.
5. Fill table with length and radius compensation values for machining.
8.4.2 Activating
Using a geometry compensation table:
1. Activate the desired table via G22 K<path/table name>.
2. Program D.. and H.. to select the respective radius and length com-
pensation value from the activated table.
3. Select a starting point which allows a nearly tangential approach to
the contour. Make sure that activation of the compensation does not
lead to a damage of the contour.
4. Program G41 or G42.
8.4.3 Deactivating
Precondition:
D The tool is no longer in contact with the workpiece and has moved
away from the contour.
Safety / Monitoring
9 Safety / Monitoring
Features:
D Two physical traversing ranges (travel limit ranges) can be defined
for each axis. The ranges may overlap.
D The desired traversing range can be selected via two interface sig-
nals at the respective axis interface.
D Monitoring of the limit switches can be deactivated (suppressed) dy-
namically by means of an interface signal.
Restrictions:
D As long as the control unit does not know the absolute axis position
(see interface signal NC-O15.7), the electronic limit switches will not
take effect for this axis (reference point has to be known).
D The limits of the area must not exceed the position limits (S-0-0049,
S-0-0050) set in the drive.
D Exceeding the selected active limit switch range results in a runtime
error.
9.1.1 Activating
1. Adapt MP 1020 00001 through 1020 00004.
CAUTION
Danger of damage to the machine or the workpiece!
Do not initiate a system control reset during machining.
1. Suppress active travel limit range (set NC-I3.2 at the relevant axis
interface).
2. Move axis to the other travel limit range manually.
3. Select other traversing range at the relevant axis interface via
NC-I1.4 and NC-I1.5.
4. Reset the NC-I3.2 signal set previously at the relevant axis interface.
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 93
and Controls
Torque reduction
Features:
D The function can be activated/deactivated via the NC-I3.7 interface
signal Torque reduction.
D Feedback of the function status is received via the axis-related
NC-O17.6 interface signal Torque reduction active.
D The desired temporary torque limit value of the axis can be entered
via MP 1003 00010 and changed program-controlled using G177. A
torque limit value change via G177 becomes active with the next
positive edge of the axis-related NC-I3.7 interface signal.
Restrictions:
D Switching the torque reduction on/off is only permitted with the axis
standing still.
D S-0-0092 has to be interpreted as % of the nominal torque in the
drive (in S-0-0086, percent weighting has to be set as type of
weighting).
Relevant G functions:
G177: Torque reduction.
Torque reduction
9.2.1 Assigning
1. Adapt MP 1003 00010 correspondingly for all relevant axes.
CAUTION
Danger of damage to the machine or the workpiece!
Do not initiate a system control reset during machining.
9.2.2 Activating/deactivating
Precondition:
D The necessary axis-related interface signals are evaluated or gener-
ated, respectively.
D The axis is standing still.
CAUTION
Any random or unintended change of the torque limit value can
cause damage to the workpiece/tool or lead to hazardous states
on the machine.
Therefore consider the possible consequences before you influ-
ence the torque limit value.
1. If required, program the desired torque limit value using G177 if you
do not want to use the value from MP 1003 00010.
2. Specify the L/H edge at NC-I3.7 of the relevant axis interface to acti-
vate the function
or
specify the H/L edge at NC-I3.7 of the relevant axis interface to deac-
tivate the function.
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 95
and Controls
. You can also use the function to limit rapid travel as long as no ref-
erence points have been approached yet.
Restrictions:
D Is only effective in the modes Manual input NC block, Automatic,
Program block and Single step.
D Does not take effect on spindle speeds or on the active path feed.
D A change of the NC-I1.7 interface signal does not act on program
blocks which were already processed by block preparation at the
time the change was performed.
If this behavior is not desired, you have to stop the machining pro-
cess using Feed hold, cancel blocks already prepared using Can-
cel distance to go (see page 729) and continue machining by
means of cycle start.
9.3.1 Assigning
1. Adapt MP 7030 00110.
CAUTION
Danger of damage to the machine or the workpiece!
Do not initiate a system control reset during machining.
9.3.2 Activating/deactivating
1. Set NC-I1.7 at the channel interface in order to activate the limit rapid
travel.
Reset NC-I1.7 in order to deactivate the limit rapid travel.
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 97
and Controls
Features:
D Up to 8 positions per axis can be defined with one corresponding in-
terface signal each.
D In case of rotary axes, the monitoring position may refer to the com-
plete traversing range or to the range between 0 and 360 degrees.
D It is possible to set whether the monitoring is performed at refer-
enced or non-referenced axis only.
Restrictions:
D Monitoring positions refer to the axis coordinate system
D A maximum of 64 monitoring positions throughout the system
9.4.1 Activating
1. Adapt all individual parameters of MP 2010 00100 through MP
2010 00130 which have the same index, for each desired monitoring
position.
CAUTION
Danger of damage to the machine or the workpiece!
Do not initiate a control reset during machining.
Restrictions:
Distance to end point has no effect for
D slave axes with active axis coupling
D handwheel mode
D operation mode Approaching the reference point
9.5.1 Assigning
1. Enter the desired distances in mm or degrees, respectively, into the
corresponding individual parameters of MP 1015 00010.
CAUTION
Danger of damage to the machine or the workpiece!
Do not initiate a control reset during machining.
9.5.2 Deactivating
1. Set the corresponding individual parameters in MP 1015 00010 to
value 1.0.
CAUTION
Danger of damage to the machine or the workpiece!
Do not initiate a control reset during machining.
Area control
M M
Working range Dead range
To be able to define an area, the control unit requires the basic informa-
tion of which system axes define the plane where a control area is to be
located. These data can be parametrized exclusively via MP 8002
00001 and MP 8002 00002.
Any further data such as area position, size or type (dead/working
range) can be parametrized via configuration parameters as presetting
and changed program-controlled via AREADEF NC command. The
program-controlled change of a control area can also be deactivated
selectively using MP 8002 00032.
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 911
and Controls
Area control
Restrictions:
D A max. of 10 control areas may be defined throughout the system.
D To activate a control area, all system axes involved in the area have
to be present on the current channel.
D Area control is possible only if the control unit knows the absolute
position of all axes involved (axes referenced).
D An axis can only be transferred to another channel (Axis transfer
function) if the respective axis is not involved in an active control area
on the channel from which the axis is transferred.
D If all axes of a control area are transferred to another channel, the
control unit replaces all data of the control area both on the channel
from which the axes are transferred as well on the new channel with
the presetting values in the corresponding configuration parame-
ters. The control areas are deactivated in the process.
D In automatic mode, only those activated areas are monitored which
are located in the active plane of the channel. In jog mode, all active
areas of the channel are monitored.
D The two axes involved in a dead range may not be jogged simulta-
neously.
D Traversing movements initiated by handwheel are not monitored.
Relevant NC functions:
AREADEF: Parametrizing control area with regard to position, ex-
tension and type. Activation/deactivation is possible ad-
ditionally.
The programming of an area using AREADEF is only
valid for the current channel and will be effective there
until the area is changed by means of a new AREADEF
command.
Only one single area can be parametrized for each
AREADEF block. For information on syntax, see DIN
Programming Instructions.
AREAVALID: Activating/deactivating control area.
The control unit has to know the position, extension and
type of the area (either by means of parametrization in
MACODA or a previously used AREADEF command).
Syntax: AREAVALID(<Area number>,<Action>)
Please note: <Area number>: 1..10; 1=all areas
<Action>: 0: deactivate
1: activate
912 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
Area control
MP 800200002
MP 800200021
Control area
Center
MP 800200012 MP 800200022
M
MP 800200011 MP 800200001
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 913
and Controls
Area control
9.6.1 Assigning
1. Make sure that the correct system axis numbers have been entered
in MP 8002 00001 and MP 8002 00002 for all areas used.
2. Enter the data for the control area used into the remaining parame-
ters of group 8002. The PNC uses these data as presetting.
These can be overridden later using the AREADEF NC command, if
the value 1 has been assigned using MP 8002 00032.
CAUTION
Danger of damage to the machine or the workpiece!
Do not initiate a control RESET during machining.
9.6.2 Activating
Precondition:
D The control areas used have been assigned correctly in accordance
with Section 9.6.1.
D The Inclined plane function is not effective in connection with a sys-
tem axis involved in the area control.
D All axes involved are present on the channel.
D All axes involved are referenced (axis-related interface signal
NC-O15.7 Reference point is known has been set).
D Handwheel mode is not activated.
9.6.3 Deactivating
CAUTION
Danger of damage to the machine or the workpiece!
After deactivation of control areas, the machine may traverse into
dead ranges or leave the permitted working range again.
Area control
Notes:
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 101
and Controls
Axis compensations
10 Axis compensations
Axis compensations include
D leadscrew error compensation (LSEC)
D cross compensation (CCOMP)
Restrictions:
D Maximum 12000 compensation values for all axes to be compen-
sated.
D The compensation values of an active cross compensation
(CCOMP; see page 107 ff.) reduce the maximum number of LSEC
values possible.
Commissioning of LSEC:
1. Determine compensation values for all relevant axes
2. Enter compensation values into the control unit
3. Activate the compensation values entered
starting point with the step size end point with the
compensation value compensation value
P0 or N0 Pn or Nn
. If both file name types exist for an axis, the PNC automatically eval-
uates the contents of lsecc<Axis number>.tab!
104 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
Seven axis positions were measured for each the positive and negative
traversing direction. The compensation values of the starting point ap-
ply to axis positions below 20 mm. The compensation values of the end
point apply to axis positions greater than 80 mm.
The X axis is defined as 1st axis in the system. Therefore, the LSEC data
for this axis must be entered in file lsecc01.tab .
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 105
and Controls
Error
[m]
10
8
6
4
2
0
2 10 20 30 40 50 60 70 80 90 Setpoint
4 position
6 [m * 1000]
8
10 : Measuring points
: Compensation path in pos. direction
: Compensation path in neg. direction
10.1.3 Activating
1. Copy or load all necessary LSEC files into the root directory (/) or
the User FEPROM (/usrfep) subdirectory (for directory struc-
ture, refer to the Operating Instructions manual).
CAUTION
Danger of damage to the machine or the workpiece!
Do not initiate a control reset during machining.
Possible error messages if an LSEC file contains values that are not al-
lowed:
LSEC: Error when reading the line <n>, file <m> !
or
LSEC: One of the numbers in line <n>, file <m> is too
high !
or
LSEC: Maximum number of LSEC values in line <n>, file
<m> is exceeded !
Meaning:
<n> Line number (1,2,3...)
<m> Name of incorrect LSEC file:
lsec0.tab ... lsec7.tab: old LSEC file name syntax
lsecc01.tab ... lsecc64.tab: new LSEC file name syntax
10.1.4 Deactivating
1. Rename the relevant LSEC files existing in the root directory (/)
or the User FEPROM (/usrfep) subdirectory.
We recommend that you only change the file name extension tab to
off, for example (e.g. lsecc03.tab lsecc03.off ).
CAUTION
Danger of damage to the machine or the workpiece!
Do not initiate a control reset during machining.
y axis
z axis
z level of the milling head of an
ideal machine (no sagging of
workpiece the portal)
workpiece holder
Restrictions:
D Maximum 12000 compensation values for all axes to be compen-
sated.
D The number of compensation values of active LSEC tables (see
page 101 ff.) reduces the maximum number of cross compensa-
tion values possible.
D A max. of two reference axes can be taken into account for a target
axis.
108 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
10.2.1 Assigning
1. If you wish to use the CCOMP function, commission LSEC first. This
is to make sure that the corresponding linearity error of the reference
axis is minimized when determining the CCOMP values.
2. Determine compensation values for all relevant axes
3. Enter compensation values into the control unit
4. Activate the compensation values entered
. If you use a Hirth axis ( page 46) as reference axis, the positions
have to be on the Hirth grid (necessary for compensation value de-
termination).
starting point with the step size end point with the
compensation value compensation value
P0 or N0 Pn or Nn
z axis
Z = 0 m
Z = 30 m
Z = 50 m
Meaning:
## System axis index of the target axis (01 to 64)
$$ System axis index of the reference axis (01 to 64)
D $$ and ## must be different
D System axis index : cf. MP 1003 00004
. Max. two CCOMP files can be created for one target axis because
the CCOMP function is limited to max. two reference axes per tar-
get axis.
The traversing range of the Y axis (0 to 700 mm) was subdivided into a
grid with a step size of 100000 (100 mm).
The absolute axis position of 20000 mm (20 mm) was selected as start-
ing point for CCOMP.
Seven axis positions were measured for each the positive and negative
traversing direction. The compensation values of the starting point ap-
ply to axis positions below 20 mm. The compensation values of the end
point apply to axis positions greater than 620 mm.
Error
[m]
10
8
6
4
2
0
2 20 120 220 320 420 520 620 Setpoint position
4
6 [m * 1000]
8
10 : Measuring points
: Compensation path in pos. direction
: Compensation path in neg. direction
The target axis Z has system axis index 3, the reference axis Y has sys-
tem axis index 2.
Therefore CCOMP data must be entered in file cnc03r02.tab .
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 1013
and Controls
10.2.2 Activating
1. Copy or load all necessary CCOMP files into the root directory (/)
or the User FEPROM (/usrfep) subdirectory (for directory struc-
ture, refer to the Operating Instructions manual).
CAUTION
Danger of damage to the machine or the workpiece!
Do not initiate a control reset during machining.
Possible error messages if a CCOMP file contains values that are not
allowed:
CCOMP: Error when reading the line <n>, file <m> !
or
CCOMP: One of the numbers in line <n>, file <m> is too
high !
or
CCOMP: Maximum number of CCOMP values in line <n>, file
<m> is exceeded !
Meaning:
<n> Line number (1,2,3...)
<m> Name of incorrect CCOMP file
. If more than two CCOMP files exist for one and the same target
axis, the control unit will only take into account the two files it en-
counters first during start-up.
10.2.3 Deactivating
1. Rename the relevant CCOMP files existing in the root directory
(/) or the User FEPROM (/usrfep) subdirectory.
We recommend that you only change the file name extension tab to
off, for example (e.g. cnc03r01.tab cnc03r01.off ).
CAUTION
Danger of damage to the machine or the workpiece!
Do not initiate a control reset during machining.
For definition of all auxiliary functions in the PNC, use the configuration
parameter group 3010. A max. of 30 separate auxiliary functions can be
112 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
Auxiliary functions
Restrictions:
D Marker ranges of the individual types of auxiliary functions may not
overlap.
D The M0 through M319 M functions are reserved for internal pur-
poses.
11.1.1 Assigning
Use the table below to see which configuration parameters are used to
parametrize an auxiliary function type.
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 113
and Controls
Auxiliary functions
Auxiliary functions
Auxiliary functions
Example:
Name and index of 32-bit BCD Order of the aux. functions in the
aux. functions used marker field
STEVE (index: 2) SARAH
SARAH (index: 0) 64 bits free
STEVE
10. The definition of the auxiliary function type bit aux. fct. is completed.
116 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
Auxiliary functions
11. Repeat steps 1. through 10. if you want to define further auxiliary
functions. If all required auxiliary functions have been defined, con-
tinue with 12.
CAUTION
Danger of damage to the machine or the workpiece!
Do not initiate a control reset during machining.
11.1.2 Activating
Parametrized auxiliary functions can be released for use or suppressed
via MP 3010 00010 [1]. This way, you can, e.g. completely parametrize
all auxiliary functions available within a machine series and then only
release those for use which are relevant for a certain machine type / op-
tion.
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 117
and Controls
Auxiliary functions
Example 1:
3010 00010 3010 00030 Auxiliary function is valid
[1] M yes
[2] M500 yes
[1] 3 [3] M999 yes
[4] O no
[5] S? no
Example 2:
By increasing the value in 3010 00010 [1], a further auxiliary function is
released for use. This way, the function range of the machine regarding
auxiliary functions is quickly established:
[30]
3rd option
Function range
*) Index of the individual parameters in 3010 00030, which are assigned a value unequal to 0.
CAUTION
Danger of damage to the machine or the workpiece!
Do not initiate a control RESET during machining.
CAUTION
Danger of damage to the machine or the workpiece!
Do not initiate a control RESET during machining.
Auxiliary functions
Notes:
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 121
and Controls
After activation ( G301), the oscillating axis first traverses to the re-
versing point ( G350) it can reach on the shortest path.
For as long as oscillating is active, the oscillating movement will be
steady and can be differentiated across block limits.
If oscillating is deactivated (see Section 12.1.2), the oscillating axis first
traverses to the next reversing point it can reach. The subsequent pro-
grammed movement will then start.
After control reset, an active oscillating process will only be interrupted
upon reaching the next reversing point.
Restrictions:
D Circular interpolation with combined oscillating movement is not pos-
sible.
D Feed potentiometer does not act on oscillating axes.
D When oscillating is activated, G4, G14/G15, G32, G75, G114/G115,
G374, G590/G591 or G900 must not be programmed.
Otherwise, the interpolation will be stopped abruptly. This may cause
a servo error.
D Oscillating movements are performed according to a cosine function
with a sinusoidal speed pattern and cosine-shaped acceleration pat-
tern.
D In the axis display, the last position before the oscillating movement
starts is shown as end position and value 0 as program value.
Relevant G functions:
G350: Initializing the oscillating axis
(axis selection, reversing points, frequency/speed of the oscil-
lating movement).
The data are retained until they are overwritten by G350 or
control reset is performed.
G301: Activating the oscillating movement.
Programming the path feed and the target positions for a linear
interpolation of the axes involved.
The oscillating movement can also be carried out for a specific
period of time, if no traversing movement has been pro-
grammed in a G301 block.
122 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
Oscillating axis
12.1.1 Activating
Precondition:
D The axis is already available in the system as a synchronous axis
(machining axis) with its speed, dynamics and, if required, its posi-
tioning logic correctly parameterized in accordance with your re-
quirements.
D The necessary axis-related interface signals are evaluated or gener-
ated, respectively.
1. If active, switch the In position function off for the oscillating axis.
2. Program the required initialization via G350.
3. Activate oscillating by programming G301 accordingly.
12.1.2 Deactivating
1. Deselect G301 by another G function of group 2 (e.g. G1).
Features:
D Program-controlled switching on and off of punching/nibbling by
means of G functions G 662 (Nibbling ON), G661 (Punching ON)
and G660 (Punching/nibbling OFF). All three functions form a
modal group, i.e. at any point in time, one of the functions can be ac-
tive only.
For information on groups, see Overview of G instructions in the an-
nex of the DIN Programming Instructions.
D Automatic segmentation of a programmed traversing block into lin-
ear path segments with identical length (block splitting). The end
points of the path segments are always located on the programmed
path.
D Automatic tangential axis setting of the punching/nibbling tool on the
programmed path at the block end via function Tangential tool orien-
tation (see page 1210 ff.).
D Providing a high-speed input and output signal for communication
with a stroke-related punching control.
D PNC-P: plug-in card PNC Highspeed I/O
D PNC-R: module osa dc I/O.
The signal wave between NC and punching control can be controlled
by the NC using a stroke time monitoring system.
Restrictions:
D Nibbling and punching is not suited for machine tools with a free-run-
ning puncher
D Nibbling and punching can only be switched on if MP 8001 00010
(Activation of punching function has been assigned the value 1
D Nibbling and punching can only be used on one channel at any given
point in time.
D Path shape (G408 or G608) must be active
D PNC-P: plug-in card PNC Highspeed I/O required
PNC-R: module osa dc I/O required
D One high-speed digital input and output is necessary to communi-
cate with the punching control
Relevant G functions:
G660: (programming alternative: SPOF)
Punching or nibbling OFF.
G661: (programming alternative: PON)
Punching ON.
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 125
and Controls
12.2.1 Assigning
1. Set MP 8001 00010 (activation of punching and nibbling) to value
1.
2. Set time referenced point (MP 8001 00021) and stroke release
times (MP 8001 00020) in accordance with your application.
3. If desired, parametrize stroke monitoring (MP 8001 00030).
4. Reserve a high-speed digital input and output via MP 4075 00101
and MP 4075 00102.
126 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
CAUTION
Danger of damage to the machine or the workpiece!
Do not initiate a control reset during machining.
12.2.2 Activating
Precondition:
D Punching/nibbling is assigned
D High-speed digital input and output has been reserved via MP 4075
00101 or MP 4075 00102.
D Path shape (G408 or G608) is active
D The necessary interface signals are evaluated or generated, respec-
tively.
12.2.3 Deactivating
1. Program G660.
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 127
and Controls
Features:
D Parametrizable offset angle (angle between symmetry axis of the
tool and the path tangent).
D Taking into account the tool symmetry. This allows the control unit to
optimize the required offset rotation of the tool in case of knees in the
contour automatically (shortest path logic).
D Automatic insertion of intermediate blocks for rotating the tool in
case the knee angle between two contour elements exceeds a para-
metrizable value.
D Communication with the PLC, if automatic insertion of an intermedi-
ate block is necessary due to a knee in the contour. This way, the
PLC can execute any necessary steps (e.g. lift the tool) prior to exe-
cuting the intermediate block, before the NC rotates the tool.
D Complete parametrization of the Tangential tool guidance via G131
in the part program alternatively, or by means of the MACODA pa-
rameters.
D Read access to active parameters of G131 possible via SD function.
Restrictions:
D The Tangential tool orientation function (for nibbling/punching; see
page 1210 ff.) must not be active at the same time
D Only rotary and endless axes are permitted as tool axes
D G131 must never be programmed in a block with a traversing move-
ment.
D Automatic insertion of an intermediate block is not possible if a single
WAIT block has been programmed between 2 traversing blocks with
active Tangential tool guidance.
D Tangent angles at start and end of the programmed contour section
must be located within the travel limit range of the tool axis (if the tool
axis is a rotary axis).
Relevant G functions:
G131: Initializing and activating the Tangential tool guidance.
G131 does not lead to a traversing movement. The tool
axis is only offset with the next traversing block. Depend-
ing on the active adaptation angle, the tools axis rotates
either within an automatically generated intermediate
block or jumps to the offset position.
G130: Deactivating the Tangential tool guidance.
Relevant interface signals:
NC-O4.0: G131 tool rotation (channel interface).
High signal indicates to the PLC that the knee angle be-
tween two contour elements exceeds the currently set
adaptation angle.
You determine via MP 7050 00260 or using G131 pa-
rameter PLC= whether the NC should wait for the re-
lease by the PLC before it executes the intermediate
block.
NC-I3.2: G131 tool rotation release (channel interface).
High signal releases the execution of the intermediate
block by the NC, if MP 7050 00260 or G131 parameter
PLC= has been assigned the value 1.
Any blocks following the intermediate block will only be
executed by the control unit when the PLC resets this
signal.
Relevant SD functions:
SD(131,1) provides the logical axis number of the axis of rotation
SD(131,2) provides the tool symmetry
SD(131,3) provides the offset angle in degrees
SD(131,4) provides the adaptation angle in degrees
12.3.1 Activating
Precondition:
D The axis of rotation is already available in the system as a rotary or an
endless axis with its speed, dynamics and, if required, its positioning
logic correctly parameterized in accordance with its operational re-
quirements.
D MP 7050 00250 (init mode of the offset angle) is parameterized in
accordance with your requirements.
We recommend that all other MACODA parameters which are rele-
vant for the Tangential tool guidance be set to appropriate values.
This way you make sure that the function is initialized correctly even
if not all parameters available have been programmed in the G131
block.
If you want to activate the Tangential tool guidance via G131 block
without parameters, all MACODA parameters need to be set to ap-
propriate values!
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 129
and Controls
12.3.2 Deactivating
1. Program G130.
1210 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
The tool axis moves synchronously with the linear axes defining the
plane arriving at the offset angle at the same time they reach their target
position. The term target position refers both to the end position of the
programmed block and the end position of block segments which the
NC can generate in connection with the automatic block splitting.
If a stroke has to be released at the start of the programmed block al-
ready (may be required for nibbling), the NC automatically generates a
separate block in which the tool axis is first rotated to the required offset
angle.
Features:
D Parametrizable offset angle (angle between symmetry axis of the
tool and the path tangent).
D Taking into account the tool symmetry. This allows the control unit to
optimize the offset rotation of the tool required for a stroke in case of
knees in the contour automatically (shortest path logic).
D Offset angle and tool symmetry are parametrizable in the program
Restrictions:
D The Tangential tool guidance function (see page 127 ff.) must
not be active at the same time
D The Tangential tool orientation can only be programmed while
G662 (Nibbling ON), G661 (Punching ON) or G660 (Punching/
nibbling OFF) are active.
D G631 must be programmed in a separate block.
D The tool axis must be defined via MP 7050 00210. A program-con-
trolled change of the tool axis is not possible.
D Only synchronous endless axes are permitted as tool axes
12.4.1 Activating
Precondition:
D The axis of rotation is already available in the system as a synchro-
nous endless axis with its speed, dynamics and, if required, its posi-
tioning logic correctly parameterized in accordance with your
operational requirements.
D MP 7050 00210 (number of axis of rotation) is parametrized in ac-
cordance with your requirements.
D The necessary axis- and channel-related interface signals are evalu-
ated or generated.
1. If active, deactivate the Tangential tool guidance function for the re-
spective axis (G130).
2. Activate (Nibbling ON), G661 (Punching ON) or G660 (Punch-
ing/nibbling OFF).
3. Activate Tangential tool orientation via G631 block or TTON com-
mand. Set the initialization values of tool symmetry and offset angle
via SYM= or ANG= parameter, depending on your application, in
one and the same block.
12.4.2 Deactivating
1. Program G630.
1212 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
Rounding of corners
: modified contour
: programmed contour
7050 00110
7050 00130 in m
in degrees
E 7050 00120
in m
R
R
Restrictions:
D G34 can only be used in connection with two linear blocks, whereas
G134 acts on circular blocks and helical blocks additionally.
D Both neighboring blocks have to be located on the selected main
plane. In the case of helical blocks, only the components of the circu-
lar plane for rounding are taken into account.
Rounding of corners
Relevant G functions:
G34: Switches on Corner rounding between 2 linear blocks. Using
E address, the maximum admissible deviation between mod-
ified and programmed contour (presetting via
MP 7050 00110) can be influenced temporarily (see G36).
G35: Switches off Corner rounding.
G36: Deletes a maximum admissible deviation programmed via E
address. The value from MP 7050 00110 is effective again.
G134: Switches on Corner rounding between linear or circular
blocks. The desired radius of the transition arc has to be pro-
grammed via R address when G134 is first called. It is effec-
tive until it is overwritten by reprogramming using G134.
. The G34, G35 and G134 G functions form a group and therefore de-
select each other mutually.
12.5.1 Assigning
1. Use MP 7050 00110 to determine the presetting for the maximum
admissible deviation at the block transition between the modified
and the programmed contour.
This data is only relevant when G34 is used.
2. Use configuration parameters 7050 00120 and 7050 00130 to spec-
ify under which conditions it is permitted to insert transition arcs.
CAUTION
Danger of damage to the machine or the workpiece!
Do not initiate a system control reset during machining.
12.5.2 Activating
1. Program G34 or G134, depending on the function that you want.
12.5.3 Deactivating
1. Program G35.
1214 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
You can use on-the-fly block change e.g. if you intend to traverse
along a straight path at different feedrates in dependence on an exter-
nal event.
Block change with Cancel distance to go is suitable e.g. for applica-
tions requiring pressure or torque-driven Traversing to dead stop.
For examples, see G 575 in the DIN Programming Instructions.
CAUTION
The function changes the programmed contour!
This may cause damage to the workpiece and/or the tool!
Only use this function if the tool is not in contact with the work-
piece or damage to workpiece and/or tool can be excluded!
Restrictions:
D A linear traversing movement has to be programmed both in the can-
celled block as well as in the subsequent block (with active G0, G1,
G10, G11, G73 or G200).
D PNC-P: plug-in card PNC Highspeed I/O required
PNC-R: module osa dc I/O required
D The desired high-speed input has to be assigned the G575 func-
tionality in MP 4075 00101.
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 1215
and Controls
Relevant G functions:
G575: Activating Switching NC blocks via high-speed signal
for the duration of the G575 block.
The desired conditions for initiation and the selection of
the digital input can be set via the HS parameters:
HSx=0: low level (x: number of the input)
HSx=1: high level.
The HSSTOP parameter influences the effects of the
function:
without HSSTOP: on-the-fly change of blocks.
No change of speed at the block
transition.
HSSTOP=0: block change with Cancel distance to
go and downslope to v=0.
HSSTOP=1: block change with Cancel distance to
go and velocity jump to v=0.
If the level of the high-speed input for the G575 block
does not change during the machining time, the block is
executed to the end position in accordance with its pro-
gramming (with or without HSSTOP parameter). Then
the PNC executes the next program block.
X50 Y20
N30
X50 Y15
HS1=0
N20
N10
X0 Y5 HS1=1 X50 Y5
X50 Y20
X50 Y15
N30
HS1=0
N10 N20
X0 Y5 HS1=1 X50 Y5
12.6.1 Assigning
1. Make sure that all high-speed inputs which you want to use in con-
nection with the Switching NC blocks via high-speed signal func-
tion are assigned the value 0003 in MP 4075 00101.
CAUTION
Danger of damage to the machine or the workpiece!
Do not initiate a control reset during machining.
12.6.2 Activating
Precondition:
D A linear type of interpolation is active (G0, G1, G10, G11, G73 or
G200).
Tapping
12.7 Tapping
Tapping can be performed in two ways:
D with compensation chuck
D without compensation chuck.
Tapping with
compensation chuck
Function:
As there is no direct (interpolary) synchronization of drill axis feedrate
and spindle rotation when Tapping with compensation chuck, there is
an unintended offset between the drill axis position and the spindle
position (one axis lags behind the other axis).
This offset (limited in time and size) is compensated by using a com-
pensation chuck.
In contrast to tapping without compensation chuck, the spindle is in
Speed mode all the time during the tapping procedure.
Tool
holder
compensation x
chuck
x
x
Tap
Workpiece
Tapping
Restrictions:
D G84 is only permitted in automatic mode.
D Switchover of the drill axis via G78 has been assigned correctly.
D Control reset deselects an active cycle; selection via M02 and M30 is
only performed if G80 has been entered in MP 3030 00001.
D G9321/G9322 (retraction from tapped hole) cannot be used in case
of Tapping with compensation chuck.
Relevant G functions:
G1: Linear interpolation
G84[Z,...]: Tapping cycle Tapping with compensation chuck
G80: deselects cycle
Relevant M functions:
M3, M4, M5 programmed spindle turn right or left, spindle stop
CAUTION
It is possible that the wrong spindle is addressed!
The syntax for available spindle functionalities are determined in
MACODA parameters 1040 00101 ff.
Therefore make sure that the syntax used in the cycle corre-
sponds to the entries in MACODA!
Tapping
Tapping
without compensation chuck
Function 1: Tapping without compensation chuck
Higher demands regarding thread quality require a precise interaction
between drill axis and spindle.
To produce a thread without compensation chuck, the PNC synchro-
nizes the linear infeed movement of the drill axis with the rotation move-
ment of the spindle. No offset is produced in the process because the
infeed position of the drill axis and the spindle rotation interpolate with
each other, i.e. the drill axis and the spindle accelerate/decelerate at
the same time and ratio.
Tool
holder
Tap
Workpiece
Tapping
Tapping
Tapping
Relevant G functions:
G32.. Tapping without compensation chuck (acts block by
block) with specification of the drill axis, infeed depth,
feedrate, sense of rotation of spindle, speed, thread
pitch
G184[Z,...]: Tapping cycle Tapping without compensation
chuck (active G32 required)
G80: deselects cycle
12.7.1 Assigning
1. Set telegrams for the C axis. See Relevant SERCOS parameters:
S-0-0016, S-0-0024.
2. Set operating modes for the C axis. See Relevant SERCOS param-
eters: S-0-0033, S-0-0034.
3. Adjust SERCOS drive data of the C axis/spindle and the drive of the
drill axis so that the in-position data (S-0-0057, S-0-0261) meet the
desired production specifications (thread quality, speed).
4. Set the drive function type of the spindle drive to 3 (spindle can be
switched to C axis operation) in MP 1001 00001.
5. Set spindle type to 1 (SERCOS spindle) in MP 1040 00001.
6. The drive type (e.g. 0=Servodyn) has to be entered in MP 1050
00001.
Tapping
12. Start up the control unit with the set MACODA parameters.
13. Initialize SERCOS.
12.7.2 Activating
G32 (tapping):
D The spindle has to be in spindle mode before it is activated.
D The tool for the tapping process has been installed in the spindle.
Create G32 tapping program or G184 tapping cycle with the following
specifications:
1. Position the tool above the position to be carried out.
2. Set absolute or incremental data via G90/G91.
3. Select program with 2 blocks G32 drilling and G32 retraction.
1. Enter G9321 and G9322 via manual data input with a feedrate value
and activate.
or
call cycle (which contains G9321 and G9322) with the respective
data for retraction.
Tapping
12.7.3 Deactivating
When the second G32 block is completed, the spindle switches from C
axis operation back to spindle mode.
G32, G9321/G9322 is thus deactivated.
1226 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
Probe
12.8 Probe
Function:
The control unit supports the evaluation of a probe signal for synchro-
nous axes fed in at the respective drive. For Servodyn drives, this hard-
ware input is referred to as MT (probe).
. To be able to use the probe function within the control unit, a corre-
sponding probe functionality has to be available in the SERCOS
drive which the NC can access.
The NC activates the drives own probe function and guides the mea-
suring axis to the programmed position at feedrate after programming
the respective G function (G75, G275). Determination of the probe
switching time and saving the encoder position current at the switching
time is performed directly in the drive. This ensures extremely short re-
sponse times and thus highly accurate switching position values.
At the end of the block, the NC reads the switching position value from
the drive.
The communication between NC and the drive can take place in 2 ways:
D via service channel (standard; data are only transmitted if required)
D via cyclical communication.
Since other data can be transmitted on the service channel too, unnec-
essary waiting times may occur in the part program. If this is not accept-
able, use the cyclical communication.
Probe
12.8.1 Assigning
L Make sure that the connected drive supports the probe functionality.
Otherwise, the probe function within the control unit cannot be used.
. Please note that the drive telegram (DT) has to be freely configur-
able for the use of cyclical communication!
CAUTION
Danger of damage to the machine or the workpiece!
Do not initiate a control RESET during machining.
Probe
Cyclical communication
1. Configure MP 1003 00011 and MP 1003 00012 in accordance with
your requirements.
2. Depending on the probe edge parametrized previously, enter
D SERCOS parameters S-0-0130 or S-0-0131 in S-0-0016, and
D SERCOS parameters S-0-0409 or S-0-0410 in S-0-0026.
If you have made any changes, save all SERCOS parameters in the
EEPROM of the drive or enter their values into the relevant SERCOS
files of the NC. The SERCOS files are transferred by the control unit
to the drive during SERCOS initialization (for information on SER-
COS, see page 467 ff.).
CAUTION
Danger of damage to the machine or the workpiece!
Do not initiate a control RESET during machining.
Digitizing
Application options:
D Transfer of the data into an appropriate CAD/CAM system (chang-
ing, visualizing workpieces, implementing design requirements).
D Creating an NC program for direct automatic execution from the
recording data (copying the part on the same or different machine).
Digitizing
internal Offset in
measuring Z direction
system
from external
measuring
Drive Z axis system (laser)
Laser P2=0000002
to X55 (OM1)
P1=0000001
Drive Y axis
Z
Drive X axis Y
P3= 0000003
X x= 111.111
y= 666.666
Servodyn-D z= 100.000
Laser= 150.444
OM1
File structure:
Hard
Stroke Hard disk
disk
PC panel ext. PC
Ethernet or
Ethernet UNIX
computer
Ethernet
formatted
real time data
PNC-R
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 1231
and Controls
Digitizing
Digitizing process:
D The digitizing process must be initialized in the NC program. The dig-
itizing itself is program-controlled, i.e. the process can be started, in-
terrupted, continued and cancelled in the program.
D For digitizing you need a probe (e.g. laser) which scans the work-
piece contactless on a wave-shaped path (see figure below). The la-
ser has its own measuring system which is used to keep a preset
distance (offset) to the surface constant during the scanning pro-
cess, i.e. the signals of the laser measuring system are taken into ac-
count with the internal measuring system of the laser infeed axis
(e.g. Z axis) in real time. Thus it is possible to guide the Z axis along
the axis distance line of the surface in the interpolation cycle (axis
distance control ).
. Extended options in context with the (laser) feed axis (e.g. colli-
sion detection, hole detection) are available when you use the
Axis distance control for digitizing function (see page 1249 ff.).
Digitizing
Level compensation:
The laser follows the axis dis-
tance line (incl. offset) on a
path in the X-Y plane
End position
Pn (x,y,z)
Segment
Z
Starting position
Y
P0 (x,y,z) X
Free-form surface with axis
distance lines
Offset =
distance of
Wave-shaped path of the
laser to
laser in the X-Y plane
surface
Digitizing
Buffer 1 555.555
Buffer 2 555.555 250.444 200.000 444.444 111.111 0000002 already
555.555 250.555 200.111 444.555 111.222 0000003 filled buffer
...
incoming
real time data: 555.555 250.666 200.222 444.666 111.333 0000004
0000007
111.666
666.777
100.111 Reserve buffer
150.555 ... (=MP8006 00002)
... Buffer n
PNC n=MP 8006 00001
SERCOS
interface
Servodyn-D Real time data: Info1=0000001 Info1=0000002
x= 111.111 Info1=0000003
y= 666.666 Z
z= 100.000
Laser= 150.444 Y
Info2=555.555
X
In case of high network load, the data reach the hard disk with delay.
This causes a data jam in the digitizing buffer, i.e. more data arrives
than can be saved.
1234 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
Digitizing
D The control unit sets the channel feed to zero, so that the loading
of real time data is interrupted. This allows full buffers to be saved
first (see RECFILE( , ,<File-I/O=1 or2>).
D Each standstill of the channel axes leads to an automatic interrup-
tion of the loading of real time data. This allows already filled buff-
ers to be saved (see RECTIME( ,<AutoStop=1>, ).
D If the number of reserve buffers is not observed and data cannot
be saved in time as a result, there is an overflow of the digitizing
buffers. Remedy: Increase number of digitizing buffers in MP
8006 00001 (see RECFILE( , ,<File-I/O=0>), or change parame-
ter RECTIME in the RECORDSet NC function.
Restrictions:
D The Digitizing function may be active only once in the PNC at any
point in time throughout the system. Repeated start (e.g. in different
channels) is not permitted.
D Incorrect data entry (e.g. identification number has not been config-
ured in the cyclical axis telegram) or problems with file processing
(e.g. insufficient memory available on the hard disk) lead to a runtime
error.
D If the desired recording file already exists, it is overwritten by a new
digitizing procedure (depending on the parametrization).
D Axis numbers can be selected throughout the system. There is no
restriction to the axes of the channel where the digitizing program
was started.
D An active digitizing process is cancelled at the end of the program at
the latest. The recording file is closed.
D The digitizing procedure is stopped using the RecordBreak instruc-
tion, i.e. the control unit interrupts the loading of real time data. The
opened recording file stays open.
D If the commanded (setpoint) feedrate of the channel and the actual
feedrate of all axes of this channel is equal to 0, the creation of redun-
dant data is avoided (see parameter RECTIME(..,[AutoStop]).
D If saving is not possible because the network load is too high, the fee-
drate of the channel is set to zero (see above) and the recording of
data is aborted at standstill. Buffers which have already been filled
with real time data can be saved in spite of possible network load
(see RECFILE( , ,[File-I/O])).
D Up to 8 measuring points (axis numbers, axis positions, ..) can be
defined (see RECPROBE1 ... RECPROBE8).
D The recorded values can be weighted with a factor for further data
processing (e.g. for a CAD system).
D A formatted output of the recorded values is possible.
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 1235
and Controls
Digitizing
RecordSet NC function:
D All parameters of RecordSet have to written in one line.
D The transfer of all parameters is performed using the RecordSet
command. Digitizing is thus initialized and can be started.
D In case of RecordSet, the input of RECFILE, RECTIME and RECSE-
PARATOR is sufficient if the measuring points (position data) have
been parametrized using RecordSetProbe prior to the RecordSet
command.
This means that the requirement of writing the RecordSet function in
one line is no longer applicable because the RECPROBEx parame-
ters are defined in the lines ahead of RecordSet.
Digitizing
Digitizing
{<Factor>}: Optional,
the unit of measure of the incoming position data is con-
verted into a different unit using a conversion factor (e.g.
1 m = 0.001mm). The position data are saved using the
new unit of measurement in the recording file. The result
is rounded.
{<Format>}: Optional, default: %d, formatting the incoming posi-
tion data into one of the following options:
%d: 4-byte integer,
%f: 4-byte float,
%e: 4-byte float (exponential display)
1238 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
Digitizing
Digitizing
NC function RecordSetProbe
Digitizing
NC function RecordOn
RecordOn Starts the digitizing process.
The recording file is opened.
RecordOn starts the recording and saving of the mea-
sured values (position data). Required parameters have
to be set previously using RecordSet. If the digitizing
function has already been activated, further RecordSet
instructions result in a runtime error.
NC function RecordOff
RecordOff Ends the digitizing process.
RecordOff is used to end the recording of the measured
values and closes the recording file.
Following the RecordOff command, it is possible to re-
start digitizing with RecordOn or to perform a further init-
ialization using RecordSet (...).
NC function RecordBreak
RecordBreak Interrupts the digitizing process.
RecordBreak interrupts the digitizing process, mea-
sured values are no longer recorded and saved, but the
recording file stays open.
The feedrate is not affected by this, so that execution of
the NC program continues. If End of program (e.g.
M30), control reset or RecordOff is detected during the
recording break, the recording file is closed.
NC function RecordContinue
RecordContinue{RECTIME(<Time>, {<AutoStop>}, {<Potentiome-
ter>})}
Digitizing
$1: 15.03.00
NC: PNC 12:15:22
A: Diagnostics / control / memory
Module: BASIS
Free memory
Bosch Software: Basic-Release x.x.x, xxxxxx
(C) Copyright Robert Bosch GmbH xxxx - xxxx
Memory 1: 58208 bytes
Customer extension: none
Memory 2: 2866560 bytes
Memory 3: 31612 bytes
Module:
Memory 4: 0 bytes
Bosch Software: Basic-Release x.x.x, xxxxxx
(C) Copyright Robert Bosch GmbH xxxx - xxxx
Module: SNCI
OK
Digitizing
12.9.1 Assigning
The RecordSet and RecordSetProbe NC instructions used to initialize
and program the digitizing process partly require data that should be set
at the assigning stage already.
Therefore, identify:
D the name or physical number of the axes involved in MACODA (e.g.
1= X axis).
D the relevant SERCOS identification numbers (e.g. actual position of
the motor encoder: S-0-0051) or use the IACTPOS internal mea-
suring point.
D unit and format of the SERCOS identification numbers or of the
IACTPOS internal measuring point, respectively.
D offset of the laser (e.g. SERCOS identification number P-0-0553
Position actual value 2 of the Z axis)
D format, unit and separators of the real time data, so that these can
later be loaded into a CAD or table calculation program for further
processing without any problems.
D if required, include external PC in the network in which the PNC is
working.
D mount directory and PC for saving of the recording file. If required,
include an external PC in the network in which the PNC is working.
D The NC-internal recording of measured values can be synchronized
with an external device. If the value 6 is entered in MP 4075 00102
Assignment of digital outputs, the level of this high-speed output is
changed with every internal recording procedure.
Assigning:
1. Determine the number of possible digitizing buffers with the aid of
Memory 2 (DIAGNOSTICS " CONTROL " MEMORY) and enter
it in MP 8006 00001.
2. Determine reserve buffer (= approx. 30% of MP 8006 00001) and
enter it in MP 8006 00002.
3. If no mount directory for saving the recording file has been defined in
the PNC, you have to link a directory:
to do this, start the T3Config program on the PC panel.
Select the Select NFS-Mount-Directory sub-item in the
T3SWConfig menu item.
You can choose any directory on a released drive (hard disk) of a
networked PC for your mount directory (for more information, please
refer to the Software Installation manual).
4. Due to an axis telegram (SERCOS) with the respective configura-
tion, both the axis actual value and the sensor actual value are avail-
able in the PNC.
For this purpose, modify the SERCOS file by including the SERCOS
parameter for the sensor actual value (e.g. P-0-0553, position ac-
tual value 2) of the connected external measuring system in the sec-
tion for the cyclical drive telegram.
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 1243
and Controls
Digitizing
Example 1: programming the actual position with the IACTPOS internal measur-
ing point of the PNC and (S-0-0053)
RecordSet RECFILE(/mnt/digit/example.dig,1,0) REC-
TIME(8,1,0) RECPROBE1(1,IACTPOS) RECPROBE2(2, IACT-
POS) RECPROBE3(3, IACTPOS) RECPROBE4(3, S-0-0053)
Digitizing
Example 2: programming the actual position with the actual position of the motor
encoder (S-0-0051)
RecordSet RECFILE(/mnt/digit/example.dig,1) RECTIME(8)
RECPROBE1(1, S-0-51) RECPROBE2(2, S-0-0051)
RECPROBE3(3,, S-0-0051)
Example 3: programming the actual position with the IACTPOS internal measur-
ing point of the PNC and an offset (S-0-0053) (position actual value 2)
RecordSetProbe RECPROBE1(X, IACTPOS, 0.0001, %9.3f)
RecordSetProbe RECPROBE2(Y, IACTPOS, 0.0001, %9.3f)
RecordSetProbe RECPROBE3(Z, IACTPOS, 0.0001, %9.3f,101)
RecordSetProbe RECPROBE101(Z, P-0-0553, FACTOR)
RecordSet RECFILE(/mnt/digit/example.dig,1,2) RECTIME(8,1,0)
Digitizing
12.9.2 Activating
Precondition:
D RecordSet has been set according to the machine configuration.
Creating an NC program
1. Select name for the NC program.
2. Insert the parametrized RecordSet at the start of the NC program.
3. Program the path where the laser is supposed to scan the work-
piece.
4. By programming the RecordOn command, you determine from
what point on the position data is recorded.
5. Program the RecordBreak command to temporarily interrupt the
digitizing process (e.g. for traversing outside of the workpiece sur-
face).
Program RecordContinue to continue the digitizing process.
6. Program RecordOff or M30 end of program to end the digitizing
process.
Executing:
7. Start the digitizing process with recording and saving of the position
data.
. If the movement of the laser halts during execution, the cause may
be a bottleneck in transferring the real time data via the network.
Information on the cause of the fault may be found in the recording
file in the [Statistics] area.
In many instance, these problems can be solved by modifying the
settings in RecordSet.
12.9.3 Deactivating
1. The digitizing process can be cancelled via
RecordOff,
end of program,
channel control reset or
system control reset.
1246 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
Digitizing
Type of file
The digitizing result is saved as recording file in ASCII format.
Opening of file:
(start of the recording process)
Open the recording file: RecordOn command.
Incoming position data are saved in the structure indicated below.
Closing of file:
(end of the recording process)
Close the recording file: RecordOff command.
Position data which are still in the buffer are saved.
File structure
The structure of the recording file is divided into 3 sections. The follow-
ing keywords are used to identify the start of a section:
1. [Settings]:
Contains information on configuration, recording file and part pro-
gram used to digitize the workpiece.
2. [Data]:
Contains real time data, organized in lines and columns.
The columns contain the recorded values (e.g. axis position of the X
axis) defined using RECPROBE1..8.
Each line contains a complete block of RECPROBE1..8 of a single
scanning time. Within the data, programmed interruptions are indi-
cated with RecordBreak and a comment. If no comment is entered in
connection with the RecordBreak command, this entry is totally de-
leted.
Column
Digitizing
3. [Statistics]:
Contains statistical information which occurred during the digitizing
process.
[Data] [Data]
<RECPROBE1(<Name>)> {<RECPROBE2(<Name>)} ... {<REC-
PROBE8(<Name>)}
[Statistics] [Statistics]
NmbOfSamples: Number of recorded lines
LimitUsedBuffers: Max. number of buffers available.
The real time data of the digitizing process are
temporarily stored in buffers before they are
written into the file.
MaxUsedBuffers: Max. buffer distance reached.
Saving in the file may be much slower than the
recording of the real time data, depending on
the system or network load. This leads to a
buffer distance between the buffer described in
the PNC at present and the buffer being saved
on the hard disk.
DownSlopesDetected: Number of Exceeding the critical buffer dis-
tance.
If the above mentioned buffer distance exceeds
a maximum value (=MP 8006 00002, the con-
trol unit tries to stop the axis movement in de-
pendence on the File-I/O parameter, in order
to subsequently interrupt the digitizing process.
1248 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
Digitizing
Scanning
direction
Path on which the feed axis is to
Distance between move the measuring device when
measuring device
axis distance control is active
and object surface
when axis distance
control is activated Surface profile
(=reference value)
Deviation > 0
Reference value
(deviation = 0)
Scanning
direction
Deviation < 0
+
7050 00720 7050 00740
7050 00730
7050 00721 7050 00741
Monitoring
Points in the measured data processing path where MACODA parameters take effect
Restrictions:
D Software version V47 (or higher) is required for our Servodyn-D
drives.
D The feed axis must not be removed from the channel (e.g. via axis
transfer) when axis distance control is active.
D Axis distance control is only possible for axes which are not involved
in an axis transformation with active coordinate programming.
D The software limit switches of the feed axis are inactive when axis
distance control is switched on.
D The feed axis cannot be moved to a machine-oriented absolute posi-
tion when axis distance control is active.
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 1251
and Controls
Relevant NC functions:
DistCtrlOn Starts axis distance control. In addition, the current dis-
tance between measuring device and surface is adopted as
reference value.
If programmed alone, the configuration data programmed
via MACODA will take effect.
It is possible optionally to suppress some configuration data
by programming various additional commands.
DCAXIS(<Axis>,<Comp>)
Suppresses MP 7050 00702.
<Axis> Name or number of the channel axis which is to
undergo axis distance control.
<Comp> +1 or 1: takes into account compensation val-
ues in positive movement direction
1: takes into account compensation val-
ues in negative movement direction
DCFILTER(<Time>)
Suppresses MP 7050 00730.
<Time> 0: Filter off
>0: filter on, values in ms
DCLIMIT([<Speed>],[<Accel>])
Suppresses MP 7050 00740 and 7050 00741.
<Speed> Suppresses MP 7050 00740.
Input value depending on active unit of mea-
sure system (G71,G70) in mm/min or inch/min.
<Accel> Suppresses MP 7050 00741.
Input value depending on active unit of mea-
sure system (G71,G70) in m/s2 or 1000 inch/s2.
DCMON([<Collision>],[<Hole>])
Suppresses MP 7050 00750 and 7050 00752.
<Collision> Suppresses MP 7050 00740.
Input value depending on active unit of mea-
sure system (G71,G70) in mm/min or inch/min.
<Hole> Suppresses MP 7050 00741.
Input value depending on active unit of mea-
sure system (G71,G70) in m/s2 or 1000 inch/s2.
Example:
D When the axis distance control is activated, the distance to the sur-
face is 100 mm. The encoder thus reports e.g. the standardized
value 100 mm. This distance is now used as reference value:
Deviation = current, standardized measuring value reference value =
100 mm 100 mm = 0 mm
D The surface contour now drops by 60 mm. The encoder reports the
position 40 mm:
Deviation = current, standardized measuring value reference value =
40 mm 100 mm = 60 mm
The NC immediately compensates the deviation by readjusting the
feed axis. The deviation is thus reduced to 0. At the same time, the
standardized position reported by the encoder increases to 100 mm
again.
D The surface contour now abruptly rises from 40 mm to 100 mm. The
encoder reports the position 160 mm:
Deviation = current, standardized measuring value reference value =
160 mm 100 mm = +60 mm
The NC immediately compensates the deviation by readjusting the
feed axis. The deviation is thus reduced to 0. At the same time, the
standardized position reported by the encoder decreases to 100 mm
again.
MP 7050 000750
Reference value
(deviation = 0)
Reference value
(deviation = 0)
MP 7050 000752
12.10.2 Assigning
1. Make sure that the measured data signals of the measuring device
are suited for the external encoder connection of the drive.
2. Set the relevant SERCOS parameters (see above) in the drive cor-
rectly and save them in the EEPROM or transfer them via the control
unit to the drive during SERCOS initialization (for information on
SERCOS, see page 467 ff.).
Make sure that the function Position monitoring 2nd encoder is de-
activated (P-0-0510; bit 5=0).
3. Check whether the position actual value in P-0-0553 (pulse of exter-
nal encoder) behaves correctly in case of changes in distance be-
tween measuring device and scanned surface.
A decrease in distance must result in an increase in the pulse num-
ber in P-0-0553. The behavior can be set via S-0-0115 (bit 3, direc-
tion of movement or bit 5, counting direction).
4. Enter the SERCOS parameter which contains the position actual
value of the measuring device and is to be transmitted cyclically to
the NC into the drive telegram (S-0-0016).
If the measured data are fed into the drive e.g. as incremental en-
coder signals, enter the SERCOS parameter P-0-0553 into the
drive telegram (S-0-0016).
Check whether the correct telegram has been configured in
S-0-0015. SERCOS parameters contained in S-0-0016 are only
transmitted to the NC if the freely configurable telegram is selected
in S-0-0015.
5. Configure the parameters specified under Relevant MACODA pa-
rameters according to your application.
CAUTION
Danger of damage to the machine or the workpiece!
Make sure that the compensation direction (MP 7050 00702) has
been parametrized correctly.
. MP 7050 00702 and MP 7050 00730 through 7050 752 may also be
influenced via the DistCtrlOn function.
CAUTION
Danger of damage to the machine or the workpiece!
Do not initiate a control RESET during machining.
Spline
12.11 Spline
Function:
Compared to the linear interpolation, spine interpolation achieves
approximately the same surface or contour accuracy with fewer inter-
polation points, because curves are created between the points.
CAD/CAM system
(Creating spline coefficients and
transmitting them to the NC)
Coefficients Coefficients
Transmitting spline N30 X(0.1, 1.25, 0.5, 0.73) B(0.0, 1.0, 0.1, 0.2)
coefficients in NC N40 X(0.2, 1.05, 0.3, 0.51) Y(0.2, 1.2, 0.81, 0.1)
block format ...
N50 Y(0.8, 1.09, 0.1, 0.44) X(0.0, 1.5, 0.3, 0.4)
Spline curve
Workpiece
1260 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
Spline
P5
P9
P1
Interpolation or
Surface points
control points
Machining spline
curve at the workpiece
Spline curve
Workpiece
Advantages:
D Softer contour lines and smoother surfaces on the workpiece.
D The number of points created by the CAD/CAM program or the digi-
tizing process may be reduced, maintaining the required accuracy.
D The machine and its moving parts are exposed to less load by spline
interpolation as opposed to the angular transition of linear interpola-
tion, because the tool changes its direction less abruptly.
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 1261
and Controls
Spline
Y axis
Spline
Y0
Y0+Y1+Y2+Y3
X axis
X0 X0+X1+X2+X3
Spline
P4 P5
P3 P6
Linear interpolation
P2 P9
P1 P7
P8
C spline interpolation
P4 P5
Linear interpolation
P3 P6
P2 P9
P1 P7
P8
B spline interpolation
Advantage:
D The curve bend is principally less pronounced than in C2-continu-
ous cubic splines.
D All curves defined by cone sections (ellipse, circle, parabola, hy-
perbola) can be programmed precisely.
D Less computation required in the NC than for C2-continuous cubic
splines.
D Fewer blocks in the look-ahead (local spline)
Spline
n
r (w) = rj wj w [0,we]
j=0
X(w) X0 X1 X2 X3
Y(w) Y0 Y1 Y2 Y3
Z(w) Z0 Z1 Z2 Z3
r (w) = = + .w + . w2 + . w3
A(w) A0 A1 A2 A3
B(w) B0 B1 B2 B3
Interval size w
w [0,we]
3+1 coefficients
The coefficients are used to calculate the vectors creating the spline
curve in the definition interval 0 through we, the components of which
are the channel coordinates. The channel coordinates are used to cal-
culate the axis positions of the physical axes within the NC, taking into
account an active axis transformation, if required.
1264 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
Spline
Example: Spline r(w) curve with the two channel coordinates x and y
y
Spline curve
r (we )
r (w)
Vector
r (0)
x
Example:
G99 X(0.1, 1.25, 0.5, 0.73) B(0.0, 1.0, 0.1, 0.2) PL0.6
Mixed programming
Within each NC block, coordinates may be programmed either as
spline or as linear segment.
Application example:
N10 G1 X100 Y100 Z20 B10 U0 F1000
N20 SplineDef(3)
N30 G2 X200 Y100 Z30 I100 J0
N40 G99 X(200,1,0.5,0.1) Y(100,1,0.2,0.2) B(10,1.0) Z60 U10 PL10
N50 X(160,20) Y(310,4.0,0.2,0.01) Z0
N60 G1 X10 Y20 Z30 B40
N70 G99 Y(...) ....... PL12
Explanation:
N20: The G99 syntax is assigned a cubic spline.
N40: Changing from path type helical to spline.
X, Y and B have coefficient programming and are considered as
spline members in this block.
Z and U have end point programming and move on a linear path.
The spline parameter w passes through interval [0,10]. The spline
members move correspondingly.
X(w)=200+1.0w+0.5w20.1w3 End point: X(10)=160
Y(w)=1001.0w+0.2w20.2w3 End point: Y(10)=310
B(w)=101.0w+0.0w20.0w3 End point: B(10)=20
N50: Second spline in the NC program. The spline parameter length is
10 (modal effect of PL from N40).
X and Y are spline members, Z moves on a linear path.
N60: Changing to path type linear
N70: Changing to path type spline. PL must be programmed again.
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 1265
and Controls
Spline
Vector Polynomial
n
rj . wj
j=0
r (w) = w [0,we]
n
gj . wj
j=0
Denominator polynomial
G99 X(0.1, 1.25, 0.5, 0.73) B(0.0, 1.0, 0.1, 0.2) DN(1.0,0.0,1.0)
Application example:
N00 ;ellipse as rational monomial spline
0001 A=100
0002 B=50
N10 G1 F50000 X[A] Y0 Z0
N20 SplineDef(2)
N25 G108 G99
N30 X(A,0,A) Y(0,2*B) DN(1,0,1) PL1
N40 X(0,2*A,A) Y(2*B,2*B) DN(2,2,1)
N50 X(A,0,A) Y(0,2*B) DN(1,0,1)
N60 X(0,2*A,A) Y(2*B,2*B) DN(2,2,1)
N80 G1
Spline
Spline curve ry (w)=0
Spline
ri1 ri
Tangent
ri1 (w)
ri (w)
ri2 (w)
ri2 ri+1
ri+2
ri+1 (w)
Tangent calculation:
The tangential transition is set via parametrization (for information on
spline ID, see Section 12.11.5). The following methods are available for
this purpose:
D Bessel method
The programmed points ri1 , ri , ri1 determine a parabola (2nd de-
gree spline). This results in the tangent in ri .
Length and direction of the tangent depend on the selected spline
parametrization (see page 1269).
1268 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
Spline
ri1 ri
Tangent
Parabola
ri (w)
ri+1
D Akima method
The tangent in ri points in the direction of the bisector of the two
chords ri1 ri and ri ri1. The tangent length depends on the selected
spline parametrization (see page 1269).
ri1 ri
Chord ri1 ri Chord ri ri+1
Tangent=
ri (w) ri+1 bisector
D Chordal method
The tangent in ri points in direction of the chord ri1 ri1.
ri1 ri Tangent= parallel
with chord
ri1 ri+1
Chord ri1 ri+1 ri (w)
ri+1
Spline
D Type =11: the first/last spline starts tangentially to the linear block of
the preceding/subsequent block.
The curve slope will be smoother and display fewer unexpected bends,
the better the position and distances of the interpolation points are
taken into account. Therefore, a combination of the above mentioned
parametrization methods may be required depending on the interpola-
tion points specified.
The spline parameter length can also be specified manually via param-
eter PL<w> instead of using the parametrization calculated by the NC.
P2 P3 P2 P3 P2 P3
P6 P1
P6
P4 P4 P4
P1 P6
P1
P5 P5
P5
Equidistant Chordal Centripetal
parametrization parametrization parametrization
1270 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
Spline
Orientation vector
r (w) Tool vector orientation as
spline
Tool path at the
workpiece = spline Orientation
contour coordinates rx , ry, rz
rz
=0_ y
ry
z rx
x
r
r
r
r =60_
Tool
y
Tool moves
z back to
r
x =0_
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 1271
and Controls
Spline
=0_ orientation-
vector
r ()
=60_
r r
Tool
r
r
Spline
Examples
N0 SplineDef(1213,x,y,z,O)
;Linear coordinates and orientation are spline members (C1)
;5 axis transformation with vector orientation
N0 Coord(1)
N0 G99 G8
N1 y20
N2 y40 theta30
N3 y60 theta0
N4 y80
N5 ...
Explanation:
N1: the theta orientation movement of the tool starts in this block al-
ready
N4: the theta orientation movement of the tool only ends in this block
z
0
20
30 40
y
0 20 40 60 80 60
80
y
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 1273
and Controls
Spline
ri1 (w)
ri+1 (w)
ri1 ri+2
ri+1 (w)
Spline curve with C1-
tangential transitions
Spline
w e is the angle between the start and the end orientation vector of
~
the block.
This w ~
e of spline i(w) differs from w e of spline r i(w) .
Spline
Examples
If the program is executed using the setting MP 8007 00099[3] = 1, this
results in the theta-y path shown in the following figure.
Spline
0
20
40
30
y 60
0 20 40 60 80
80
y
0
20
30 40
y
0 20 40 60 80 60
80
y
Spline
Control points
For a B spline curve with degree p, at least p+1 different control points
have to be defined. Within the spline sequence, there have to be at least
p NC blocks (with end point unequal to start point).
Double control points are not supported, i.e. they are filtered out by the
NC. The result is a spline without traversing movement.
Point weights
The control points can be given a Point Weight using the syntax PW ...
By different weighting it is thus possible to influence the path of the
spline curve at every control point (depending on the degree of the
spline even in the area surrounding the control point). A point weight of
0 is not permitted.
1278 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
Spline
Control point
Example:
3rd degree B spline:
Explanation:
N0: Selection of a 3rd degree B spline
N1: Starting point of the spline curve tangentially to the connection
line
start point - end point
N1-N2: Non-traversing block
N1-N20: Determining 21 control points
N3-N20: 18 splines which are executed
N20: End point of the spline curve tangentially to the connection line
start point - end point
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 1279
and Controls
Spline
Restrictions:
The following functions cannot be programmed with splines:
D Tensor orientation: this concerns the tensor syntax Ox(..), Oy(..) and
Oz(..) as well as the Eulerian angles phi, theta, psi.
D Polar coordinate interpolation
D G41/G42 path compensation
D Canceling the distance to go
D Punching and nibbling with contour calculation
D Circle or helix with tangential entry to previous spline element
D Chamfers and radiuses
D Tangential tool guidance
D Precision programming
D Area control
1280 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
Spline
Spline
Relevant G functions:
D Spline with coefficient programming
G99 with modal parameters:
<CoordName >(..)
Coefficient programming of individual coordinates
(CoordName) with their polynomial coefficients.
O1(..), O2(..), =3(..)
Coefficient programming of the vector orientation
(working range coordinate programming (Coord(..)) has
to be activated first)
DN(..) Denominator polynomial in case of coefficient pro-
gramming for the description of rational monomial
splines (Bezier spline, rational B spline (NURBS), all
cone sections).
PL(..) Spline parameter length
Spline
Relevant NC functions:
SplineDef(<Id>,<Members>)
Definition of the spline type
The following applies:
<Id>: Spline type, see table on page 1279
<Members>: Determines the coordinate or axis names which partici-
pate in the spline movement. Coordinates/axes which
are not listed can only be moved linearly.
Specifying <Members> is not applicable to type 0.
Default: 0
12.11.6 Assigning
1. Configure the parameters specified under Relevant MACODA pa-
rameters according to your application.
12.11.7 Activating
Precondition:
D Before you use G99 in the NC program for the first time, the initializa-
tion SplineDef has to be programmed or the initialization stored in the
MACODA init string has to be taken over.
12.11.8 Deactivating
D The path type spline is deactivated by programming a different path
type, e.g. using G1, G2, G3 etc. The corresponding function has to
be applied.
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 1283
and Controls
Below a certain path speed Vpath , the laser power is limited to an adjust-
able minimum value. Over a certain path speed Vpath, the laser power is
maintained at an adjustable maximum value.
Between VMin and VMax the laser power is adapted in dependence on
the path speed, see figure:
A [%]
(Voltage in %)
Vpath
VMin VMax [mm/min]
The effective path speed Vpath results from the speeds of the selected
coordinates:
D by selecting the active plane (APL) or the active space (ASP). In this
context, a possibly active axis transformation or coordinate trans-
formation (inclined plane) is taken into account.
D by direct selection of coordinates in the part program:
D no axis transformation active:
all pseudo coordinates (axes) of a channel can be selected.
D an axis transformation is active:
working range and pseudo coordinates can be selected. The se-
lected working range coordinates are linked to the transformation
active at this point in time.
1284 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
Restrictions:
D The available analog outputs limit the number of channels which the
function can use.
D When the Inclined plane function is used, it is only possible to use
the active space with PL(ASP) for coordinate selection to generate
the speed Vpath .
D The operation with axes and coordinates is supported with active 5
axis transformation.
D When an error occurs (runtime error, diagnostics class 1 error), when
Drive under control (no FG (enable), drive off) is deactivated for a
drive involved in the path and in case of Feed hold, no laser voltage
is output.
Relevant G functions:
LFPON Starts the path-speed-dependent laser power control.
If programmed alone, the configuration data programmed
via MACODA will take effect. Additional parameters can be
programmed optionally.
LFP Parametrizes the active laser power control via part pro-
gram.
PL(<Plane designation>)
Coordinate selection for the path speed cal-
culation via plane selection
<Plane des- APL: Current plane (G17, G18, G20)
ignation> ASP: Current space
MCD: MACODA values
12.12.1 Assigning
Precondition:
Analog outputs must be available:
D at the PNC-P via PROFIBUS-DP
D at the PNC-R via the osa dc I/O module.
12.12.2 Activating
Following control unit start-up, the power control is deactivated and the
settings from the relevant MACODA parameters are selected.
Entries from MP 7060 00010 Default state upon start-up and MP
7060 00020 Default state upon a control reset overwrite this preset-
ting.
The laser power control can be activated using the presettings stored in
MACODA and, if required, it can be influenced additionally in the part
program using parameters:
1. switching on the laser power control with LFPON (with the default pa-
rameters) or
2. switching on the laser power control with additional parameters:
LFPON LL(..) UL(..) PL(..).
The active laser power control can be set in the part program using: LFP
LL(..) UL(..) PL(..).
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG 1287
and Controls
Example 1 :
Setting the MACODA parameters:
4075 00104 [3] 701 Channel 1 uses the 3rd analog output
7050 00810 [1] 20 Lower power limit value 20% (= 2V)
[2] 90 Upper power limit value 90% (= 9V)
7050 00815 [1] 500 Lower speed limit value 500 mm/min
[2] 2000 Upper speed limit value 2000 mm/min
7050 00820 [1] 2 The path actual speed is obtained from the
active plane.
Part program:
N010 G17 G8 G62 F2500
N020 G0 X0 Y0 Z0
N110 G1 X10 LFPON Laser on
N120 Y10
N130 X0
N140 Y0 LFPOFF Laser off
Caution: The axes have not reached their
end point
N200 G54
N210 X10 LFPON Laser on
N220 Y10
N230 X0
N240 Y0
N250 G4 F0.5 LFPOFF Laser off after dwell time
N300 G55
N310 X10 LFPON Laser on
N320 Y10
N330 X0
N340 Y0 G61 LFPOFF Laser off when in position window is
reached
M30 All MACODA data are effective again
Explanation:
The output voltage ranges between 2 and 9 V.
When the path speed in the active plane exceeds 2000 mm/min, 9 V are
output.
When the path speed falls below 500 mm/min, 2 V are output, e.g. at the
start of the movement, at the corners (depending on the maximum axis
step change), at the end of the movement.
Deactivating the laser:
N140: When the laser is deactivated, the axes have not yet reached
the end point because of the lag. That is why the machined part
will be defective.
N250: Deactivating the laser is delayed by a programmed time.
N340: The laser is deactivated when all axes have reached the in
position window.
1288 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
Example 2 :
Setting the MACODA parameters:
4075 00104 [3] 701 Channel 1 uses the 3rd analog output
7050 00810 [1] 20 Lower power limit value 20% (= 2V)
[2] 90 Upper power limit value 90% (= 9V)
7050 00815 [1] 200 Lower speed limit value 200 mm/min
[2] 1500 Upper speed limit value 1500 mm/min
7050 00820 [1] 2 The path actual speed is obtained from the
active plane.
Part program:
N010 G17 G8 G62 F2500
N020 G0 X0 Y0 Z0
N030 LFP UL( ,1800) Upper speed limit value 1800 mm/min
N040 LFP CD(X,Y) Coordinate selection X and Y
N050 X10 LFPON Laser on
N060 Y10
N070 X0
N080 Y0 G61 LFPOFF Laser off when in position window is
reached
N090 G62 G54
N100 LFPON PL(APL) Selecting active plane and activating laser
N110 X10
N120 Y10
N130 X0
N140 Y0 G61 LFPOFF Laser off when in position window is
reached
M30 All MACODA data are effective again
Explanation:
The output voltage ranges between 2 and 9 V.
N030 Upper speed limit value 1800 mm/min
N040 When the path speed in the selected coordinates (X and Y)
with the active plane (N100) exceeds 1800 mm/min, 9 V are
output.
When the path speed falls below 200 mm/min, 2 V are output.
12.12.3 Deactivating
1. LPCOFF (or LFPOFF) deactivates the power control at the end of
the NC block.
2. Following control reset and M2/M30, the power control is deacti-
vated and the settings from the relevant MACODA parameters are
effective again.
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG A1
and Controls
Appendix
A Appendix
A.1 Abbreviations
Abbreviation Description
Aux.fct. Auxiliary function
C: Drive name, in this case drive C (hard
disk drive)
CCOMP Cross Compensation
CEST Central European Summer Time
CET Central European Time
ESD Electro-Static Discharge
Abbreviation for all terms relating to
electro-static discharge, e.g. ESD pro-
tection, ESD hazards, etc.
Fx Function key with number x
GOM Group Operating Mode
HP Main Program (Hauptprogramm)
LSEC Lead Screw Error Compensation
MDI Manual Data Input mode
MP MACODA configuration parameter
MSD Machine-Status Display
MTB Machine-Tool Builder
NC, CNC Numerical Control (Computerized Nu-
merical Control)
OI Operator Interface
PE Protective Earth
PLC Programmable Logic Controller
SK Softkey
SP Subprogram
UTC Universal Time Coordinated (formerly
GMT)
A2 Bosch Rexroth AG Electric Drives PNC 1070 073 871 / 02
and Controls
Appendix
Appendix
A.3 Index
Appendix
Appendix
Appendix
Appendix
Appendix
Notes:
1070 073 871 / 02 PNC Electric Drives Bosch Rexroth AG A1
and Controls
Bosch Rexroth AG
Electric Drives and Controls
Bgm.-Dr.-Nebel-Str. 2
97816 Lohr a. Main, Germany
info@boschrexroth.de
www.boschrexroth.de
Printed in Germany
DOK-PNC***-NC*FUNCTION-FK02-EN-P