KST CNC 21 en
KST CNC 21 en
KUKA.CNC 2.1
For KUKA System Software 8.3
Issued: 09.04.2013
KUKA.CNC 2.1
Copyright 2013
KUKA Roboter GmbH
Zugspitzstrae 140
D-86165 Augsburg
Germany
This documentation or excerpts therefrom may not be reproduced or disclosed to third parties without
the express permission of KUKA Roboter GmbH.
Other functions not described in this documentation may be operable in the controller. The user has
no claims to these functions, however, in the case of a replacement or service work.
We have checked the content of this documentation for conformity with the hardware and software
described. Nevertheless, discrepancies cannot be precluded, for which reason we are not able to
guarantee total conformity. The information in this documentation is checked on a regular basis, however, and necessary corrections will be incorporated in the subsequent edition.
Subject to technical alterations without an effect on the function.
Translation of the original documentation
KIM-PS5-DOC
2 / 75
Publication:
Bookstructure:
Version:
Contents
Contents
1
Introduction ..................................................................................................
1.1
1.2
1.3
1.4
2.1
Safety ............................................................................................................
Installation ...................................................................................................
11
4.1
11
4.2
11
4.3
12
4.4
12
Planning .......................................................................................................
13
5.1
13
15
6.1
15
6.1.1
15
6.1.2
16
6.1.3
18
19
20
6.2
21
6.3
21
6.3.1
23
6.3.2
23
23
24
26
26
6.4.1
27
6.4.2
27
6.4.3
29
6.4.4
30
6.4.5
32
6.4.6
33
6.4.7
35
6.5
37
6.6
38
6.7
6.1.3.1
6.1.3.2
6.3.2.1
6.3.2.2
6.3.2.3
6.4
39
6.7.1
40
6.7.2
41
6.7.3
42
3 / 75
KUKA.CNC 2.1
Operation ......................................................................................................
43
7.1
Menus ........................................................................................................................
43
7.2
43
7.2.1
45
7.2.2
46
7.2.3
47
7.2.4
48
7.2.5
50
7.2.6
51
7.2.7
52
7.2.8
52
7.3
53
7.4
54
7.4.1
54
7.5
55
7.6
55
7.7
56
Diagnosis ......................................................................................................
57
8.1
57
58
Programming ...............................................................................................
59
9.1
59
9.2
59
9.3
60
9.4
60
9.5
61
10
Troubleshooting ..........................................................................................
63
63
65
8.1.1
11
4 / 75
65
65
Index .............................................................................................................
73
1 Introduction
Introduction
1.1
Target group
This documentation is aimed at users with the following knowledge and skills:
1.2
1.3
Safety
Notes
These hints serve to make your work easier or contain references to further
information.
5 / 75
KUKA.CNC 2.1
1.4
Terms used
Term
Description
EMI
CAD
Computer-aided design
In CAD, special software is used to create a 3D model
on the computer, e.g. of a workpiece. This model can
then be integrated into an NC program by means of a
CAM system.
CAM
Computer-aided manufacturing
CAM designates the manufacturing steps leading from
a CAD model to an NC program. The software used for
this is independent of the CNC machine, so an NC program can be created during the work preparation
phase.
G-code
KR C
KRL
KUKA.CNCHMI
KUKA smartHMI
MDI
NC
Numerical control
The NC is an electronic device for the computer-aided
control of machine tools. The NC is able to read a data
set of control commands from a storage medium, convert them to work and motion sequences, and process
them one after the other.
NC program
PLC
6 / 75
2 Product description
Product description
2.1
Overview of KUKA.CNC
Functions
Areas of application
Water-jet cutting
Laser cutting
Milling of shaped parts from soft materials, e.g. wood, plastic, foam
material, etc.
Machining tasks in which high process forces are generated, but with low
accuracy requirements:
Software components
Robot
Tool
Workpiece
KUKA.CNC
7 / 75
KUKA.CNC 2.1
The programming of CNC using G-code is not covered by this documentation. The CNC documentation, e.g. the CNC programming and
diagnostic instructions, descriptions of functions and parameters,
etc., are supplied with the software on the KUKA.USBData stick (directory
DOC\pdf).
Functional
principle
Using the NC controller kernel on the robot controller means that NC programs
can be processed directly, i.e. without prior conversion to KRL programs, and
executed by the robot.
Communication
The robot controller communicates with the technology controller via a field
bus. There are different bus systems for the robot controller that are configured with WorkVisual.
Further information about the bus systems can be found in the corresponding KUKA documentation. Information about bus configuration
is contained in the WorkVisual documentation.
Teach mode
8 / 75
3 Safety
Safety
This documentation contains safety instructions which refer specifically to the
software described here.
The fundamental safety information for the industrial robot can be found in the
Safety chapter of the Operating and Programming Instructions for System Integrators or the Operating and Programming Instructions for End Users.
The Safety chapter in the operating and programming instructions
must be observed. Death to persons, severe injuries or considerable
damage to property may otherwise result.
When using the CNC Multiprog template and programming with Multiprog, the relevant specifications from the Safety chapters in the
documentation for KUKA.PLC ProConOs and KUKA.PLC Multiprog
must always be observed.
9 / 75
KUKA.CNC 2.1
10 / 75
4 Installation
Installation
4.1
System requirements
KR C4 or KR C4 compact
Hardware
Software
Robot controller:
Standard laptop/PC:
Compatibility
KUKA.CNC must not be installed on a robot controller together with the following technology packages:
KUKA.ConveyorTech
KUKA.CNC can be used with KUKA.RoboTeam, but only for program synchronization (Program Cooperation) and not for motion synchronization (Motion Cooperation).
The KRC function generator may only be used together with KRL programs.
Use in conjunction with NC programs is not possible.
4.2
Precondition
No program is selected.
T1 or T2 operating mode
Procedure
LOG file
11 / 75
KUKA.CNC 2.1
4.3
Uninstalling KUKA.CNC
It is advisable to archive all relevant data before uninstalling a software package.
Expert user group
Precondition
Procedure
1. Select Start-up > Install additional software in the main menu. All additional programs installed are displayed.
2. Select the entry KUKA.CNC and press Uninstall. Reply to the request for
confirmation with Yes. Uninstallation is prepared.
3. Reboot the robot controller. Uninstallation is resumed and completed.
A LOG file is created under C:\KRC\ROBOTER\LOG.
LOG file
4.4
Description
The CNC development environment must be installed on the start-up computer together with WorkVisual and Multiprog. It contains the Multiprog libraries
required for the CNC and a CNC template that can be used in Multiprog.
Precondition
WorkVisual is installed.
Procedure
12 / 75
5 Planning
Planning
5.1
Description
13 / 75
KUKA.CNC 2.1
14 / 75
6.1
6.1.1
Function
Type
Description
M2
CNC_M02_Out
BOOL
CNC_M02_In
BOOL
CNC_Spindle_CW_Out
BOOL
CNC_Spindle_CW_In
BOOL
CNC_Spindle_CCW_Out
BOOL
CNC_Spindle_CCW_In
BOOL
CNC_Spindle_Stop_Out
BOOL
CNC_Spindle_Stop_In
BOOL
CNC_ToolChange_Out
BOOL
CNC_ToolChange_In
BOOL
CNC_Cooling_OnOff_Out
BOOL
CNC_Cooling_On_In
BOOL
CNC_Cooling_Off_In
BOOL
CNC_Vacuum_OnOff_Out
BOOL
CNC_Vacuum_On_In
BOOL
CNC_Vacuum_Off_In
BOOL
M3
M4
M5
M6
M8/M9
M10/M11
15 / 75
KUKA.CNC 2.1
Function
Type
Description
M30
CNC_M30_Out
BOOL
CNC_M30_In
BOOL
CNC_Tool_Number
INT
CNC_Spindle_Speed
INT
Type
Description
CNC_Cooling_OnOff
BOOL
CNC_Spindle_OnOff
BOOL
CNC_Vacuum_OnOff
BOOL
With use of the KUKA.CNC template in Multiprog, these PLC variables can be found in the declaration of the global variables under the
group System M-Function signals.
6.1.2
Description
There are 16 user-specific digital I/O data available in the KUKA.CNC. In the
NC program, a digital output is always switched on by an M function (e.g.
M100) and switched off again by a second M function (e.g. M101). M functions
M100 to M131 are thus available for the user-defined technology functions.
If additional M functions are required, these can be integrated into the
KUKA.CNC after consultation with KUKA Roboter GmbH.
(>>> 11 "KUKA Service" Page 65)
Example of a user-defined output:
Function
Type
Description
M100/M101
CNC_M100_M101_Out
BOOL
CNC_M100_In
BOOL
CNC_M101_In
BOOL
16 / 75
PLC variable
Type
Description
CNC_M100_M101_OnOff
BOOL
CNC_M102_M103_OnOff
BOOL
CNC_M104_M105_OnOff
BOOL
PLC variable
Type
Description
CNC_M106_M107_OnOff
BOOL
CNC_M108_M109_OnOff
BOOL
CNC_M110_M111_OnOff
BOOL
CNC_M112_M113_OnOff
BOOL
CNC_M114_M115_OnOff
BOOL
CNC_M116_M117_OnOff
BOOL
CNC_M118_M119_OnOff
BOOL
CNC_M120_M121_OnOff
BOOL
CNC_M122_M123_OnOff
BOOL
CNC_M124_M125_OnOff
BOOL
CNC_M126_M127_OnOff
BOOL
CNC_M128_M129_OnOff
BOOL
CNC_M130_M131_OnOff
BOOL
Precondition
Procedure
1. Open the channel parameter configuration via the menu sequence CNC >
Configuration > Channel parameters.
2. Click twice on Next to switch to the configuration page of the synchronization parameters.
3. Configure the desired synchronization type and if necessary the additive
parameter for the corresponding user-defined M command.
17 / 75
KUKA.CNC 2.1
Description
Additive parameters which can be configured for the user-defined M command in addition to the synchronization type.
Green check mark = additive parameters activated for the M
command selected in point 1
Description
There are two methods for mapping technology functions to the periphery:
The I/O mapping itself is performed in the same way in both cases. The two
methods differ in terms of the operator actions carried out before mapping.
The mapping method via the KUKA.CNC WorkVisual
catalog element should only be used if Multiprog is not
available.
18 / 75
Procedure
Example
6.1.3.1
Precondition
Procedure
19 / 75
KUKA.CNC 2.1
cation are opened automatically. On the PLC tab of the mapping editor,
the technology functions of KUKA.CNC are available as global variables
in the groups User M-Functions I/O and User M-Functions signals.
5. Connect the required PLC variables to the field bus I/Os by means of
Drag&Drop.
Once all the required I/Os have been mapped, code generation can be
started and the project can then be transferred to the robot controller and
activated. Once the project has been activated, the signal goes via the
field bus to the periphery when a mapped technology function is called in
the NC program.
6.1.3.2
Description
Precondition
Procedure
1. Start WorkVisual.
The Project Explorer is displayed.
2. Load the current controller project.
3. Open the Catalog Management via the menu sequence File > Catalog
Management....
4. Click on Open in the Catalog Management.
5. Navigate to the catalog element and open it.
The KUKA.CNC catalog element is automatically added to the list of project catalogs for the current project.
6. Close the Catalog Management.
The KUKA.CNC catalog element is displayed in the view of catalogs that
are available in the project.
7. Add the KUKA.CNC catalog element to the robot controller:
On the Hardware tab, select Add in the context menu of the robot controller.
The catalog element KUKA.CNC is located on the KUKA.CNC tab. Add
the KUKA.CNC catalog element. KUKA.CNC is now displayed in the robot controller under Options.
8. Set the robot controller as the active controller via the context menu. Select the correct version of the system software. The mapping editor opens
automatically.
The technology functions User M-Functions are now available on the
PLC tab.
9. Connect the required PLC variables to the field bus I/Os by means of
Drag&Drop.
Once all the required PLC variables have been mapped, code generation
can be started and the project can then be transferred to the robot controller and activated.
Once the project has been activated, the signal goes via the field bus to
the periphery when a mapped technology function is called in the NC program.
20 / 75
6.2
6.3
Description
In many cases, it is necessary to work with several different tools. For example, different milling heads may be used in a milling application. For this purpose, it is possible to perform a tool change.
The TCP data for the CNC are determined by $Tool in the KRC. Unlike in the
case of the base, the last valid TCP is not used for CNC mode; instead, the
tool data or number can be specified via the CNC. To update the TCP, CNC
mode is interrupted, $Tool is updated and CNC mode is restarted.
Determination of the TCP data varies according to the variable cncReferenceTool (local integer variable in the program CNCMotion.dat).
Variant 1
If the variable cncReferenceTool > 0, a reference TCP is loaded from $config.dat and used to define the spindle mount. Based on this TCP, when a tool
is selected in the CNC code (X), the values from the CNC tool configuration
21 / 75
KUKA.CNC 2.1
for the selected tool X are linked to the data of the reference tool and $Tool is
updated with the result.
22 / 75
6.3.1
Description
The default tool change method of the KRC can also be used with KUKA.CNC.
For this purpose, all the tools to be used must be calibrated using the customary calibration methods of the KRC and correspondingly entered in the tool
management ($config.dat) of the KRC. The tool change is performed as usual
via a KRL program. For this method, the value of cncReferenceTool must be
0 (variant 1) .
Further information is contained in the operating and programming instructions for the KUKA System Software (KSS).
6.3.2
Description
6.3.2.1
For the NC controller, the tool is e.g. the milling head mounted on the spindle
mount. The tool offset from the spindle mount to the TCP (= tip of spindle) must
be measured for every tool. A reference tool must be calibrated in the KRC
and its index stored in cncReferenceTool (variant 2). The offsets entered in
the CNC tool configuration are accordingly linked to this reference tool in the
case of a tool change.
Tool calibration
Description
The CNC tool data refer to a reference tool on the KRC. For this reference tool,
the offset from the robot flange to the tool mount, e.g. of the milling spindle, is
measured. The standard KUKA tool calibration methods can be used for this,
e.g. the XYZ 4-point and ABC 2-point methods.
The calibration data must be saved under the tool number used for CNC operation. For subsequent CNC operation, the index of the reference tool must
be entered as the value of the variable cncReferenceTool in the data list
KRC:\R1\TP\CNC\cncMotion.dat, e.g.:
cncReferenceTool = 5
The tool offset from the spindle mount to the TCP (= tip of spindle) must be
measured mechanically for every tool by means of a coordinate measuring
machine and entered in the CNC tool configuration.
23 / 75
KUKA.CNC 2.1
6.3.2.2
Spindle mount
Description
The tool data configuration can be found in the menu of the configuration interface under CNC > Configuration > Tool data. On this configuration page,
tools of the CNC can be selected and the corresponding tool data entered or
changed.
Tool data can also be modified online by means of variable access in
the NC program. Information about this can be found in the CNC programming instructions.
24 / 75
Description
10
11
Accept and save the entered tool data for the current tool
25 / 75
KUKA.CNC 2.1
Following installation of KUKA.CNC, the CNC tool configuration already contains a number of activated tools
that must be adapted by the start-up technician according to the tools actually
used. Tools that are not required must be deactivated and any further tools
required must be activated.
If the CNC function tool radius correction is to be used, the tool radius must be correctly configured. This applies for both variant 1 and
variant 2 of the tool change.
Incorrectly configured tool data may result in damage to
the workpiece, the machine or other objects in the vicinity
of the robot. In such cases, this may also constitute a danger to persons. After a change to the tool data, these should therefore be checked for correctness in the set-up mode T1.
6.3.2.3
G01 G91
T4 M6
G01 G91
T5 M6
G01 G91
T0 M6
G01 G91
Z100 F1000
Z100 F1000
Z100 F1000
Z-300 F1000
N080 M30
The command T4 M6 in the above example means that the tool with the number 4 (T4 = Tool 4), that was configured via the tool data during start-up, is to
be selected.
6.4
Managing NC programs
Description
26 / 75
Editing NC programs
(>>> 6.4.3 "Editing NC programs" Page 29)
Deleting NC programs
(>>> 6.4.4 "Deleting NC programs" Page 30)
6.4.1
Description
Depending on the user that is currently logged on, it is possible to toggle between two or three directories for the current NC program directory.
6.4.2
Description
New NC programs can be created via the CNC HMI. The newly created NC
programs are saved to the hard drive in the currently selected NC working directory.
Procedure
27 / 75
KUKA.CNC 2.1
28 / 75
6.4.3
Editing NC programs
Description
Procedure
29 / 75
KUKA.CNC 2.1
Description
6.4.4
Deleting NC programs
Description
NC programs which are no longer required can be deleted via the CNC HMI.
If an NC program is deleted, it is removed from the hard
drive and can no longer be restored. It is advisable to
back up the NC programs at regular intervals using the KRC archiving mechanism.
Precondition
30 / 75
Procedure
31 / 75
KUKA.CNC 2.1
6.4.5
Item
Description
Description
After editing, an NC program can be saved under a new name, with all the
changes made. Saving an NC program under a new name without making any
changes duplicates the content of the file in a second file with a different name.
Procedure
32 / 75
Description
If a file is already saved under the same name, a message is displayed to the effect that this file already exists.
The file is therefore not saved. In this case, steps 3 and 4 must be repeated
and a different name must be entered.
6.4.6
Description
Precondition
Procedure
33 / 75
KUKA.CNC 2.1
34 / 75
Importing NC programs
Description
NC programs can be imported via the CNC HMI. For example, these may be
NC programs on network drives enabled on the controller, on USB sticks
plugged into the controller or on one of the partitions of the controller. The files
are copied using the import mechanism into the prg directory, where they can
then be edited and run.
Procedure
35 / 75
KUKA.CNC 2.1
36 / 75
Item
Description
5. The file is located in the prg directory and can now be used.
6.5
Description
Various zero point offset groups can be specified and selected in the NC program using the G commands G54 to G59. In each of these groups, an offset
can be specified in the X, Y and Z directions.
The groups G54 to G59 can be used to activate zero point offsets within an
NC program. The command G53 resets the currently selected zero point offset.
The zero offset data are configured via the corresponding configuration page
on the KRC user interface. The configuration page is accessed via the menu
sequence CNC > Configuration > Zero offsets.
Further information about the zero offset data and their
use can be found in the NC documentation and in the
CNC online help. The CNC online help is located in the KUKA.CNC option
in the DOC directory.
Overview
37 / 75
KUKA.CNC 2.1
Item
Description
Zero point offset of the group selected under item 2, in the direction of the X axis in millimeter.
Zero point offset of the group selected under item 2, in the direction of the Y axis in millimeter.
Zero point offset of the group selected under item 2, in the direction of the Z axis in millimeter.
6.6
Description
The configuration page for clamp offset data allows different clamp offset
groups to be selected and the corresponding clamp offset data to be specified.
The configuration page is accessed via the menu sequence CNC > Configuration > Clamp offsets.
Selecting the clamp offset index before NC program start allows the corresponding clamp offset group to be loaded. Each clamp offset group contains
the clamp offset data for the X, Y and Z directions.
When the NC program is started, the selected clamp offset data are taken into
account in the coordinates. The start axis configuration of the NC channel is
defined in the channel parameters.
Further information about the clamp offset data and their use can be
found in the NC documentation and the CNC online help. These are
located in the KUKA.CNC option in the DOC directory.
38 / 75
Overview
6.7
Item
Description
Accept and save the entered clamp offset data for the currently
selected group. If configuration page is closed without saving,
any changes made are discarded.
Channel parameters
Description
The configuration interface for the general channel parameters is opened via
the menu sequence CNC > Configuration > Channel parameters. The configuration interface consists of several pages, which can be toggled using the
buttons Next and Back. Before switching pages or closing the configuration
interface, any changes made should be saved using the Save button. Unsaved changes will be rejected.
Precondition
39 / 75
KUKA.CNC 2.1
6.7.1
Description
This configuration page is used to add axes to the current axis group or to remove them. In addition, a number and a name can be assigned to each axis.
Further information about the axis groups and their use can be found
in the NC documentation and the CNC online help. These are located
in the KUKA.CNC option in the DOC directory.
Overview
40 / 75
Item
Description
List of axes that have not yet been assigned to an axis group.
List of axes that are assigned to the axis group. The axis itself,
and the number and name of this axis within the axis group are
displayed.
Number of the axis selected in list 2 within the group. This box
can be used to change the number of the axis.
Name of the axis selected in list 2 within the group. This box can
be used to change the name of the axis.
This button is used to remove the axis selected in list 2 from the
axis group, thereby making it an ungrouped axis again.
6.7.2
Configuring spindles
Description
This configuration page allows the configuration of spindles. It must be ensured that only the spindles configured here are addressed in the NC program.
This applies to both position-controlled and PLC-controlled spindles.
Overview
Description
41 / 75
KUKA.CNC 2.1
6.7.3
Description
42 / 75
The configuration options provided on this configuration page are described in Section (>>> 6.1.2 "User-defined technology functions"
Page 16).
7 Operation
Operation
7.1
Menus
The following menus and commands are specific to this technology package:
Display
CNC
7.2
CNC-HMI
Call
43 / 75
KUKA.CNC 2.1
Item
1
Description
CNC-HMI window
The window contains information about the axis positions and the
status of the CNC.
It is possible to switch between the display of the axis-specific position (ACS) and the Cartesian position (PCS).
Status bar
Main window
The window contains the display and operator control elements of
the selected operating mode.
Operation mode
Description
Operating mode Standby mode
The version information is displayed in Standby mode.
Operating mode Automatic mode
ACS/PCS view
Button
Description
In the CNC-HMI window, the axis-specific position
(ACS) is displayed.
Pressing the button switches to the display of the Cartesian position (PCS).
(>>> 7.2.3 "Display of the Cartesian position (PCS)"
Page 47)
In the CNC-HMI window, the Cartesian position (PCS)
is displayed.
Pressing the button switches to the display of the axisspecific position (ACS).
(>>> 7.2.2 "Display of the axis-specific position (ACS)"
Page 46)
This button is only available if the diagnosis or the spindle configuration has been opened and edit mode is active.
Switches back to the display of the axis-specific position
(ACS).
44 / 75
7 Operation
Diagnosis &
Settings
Description
In the CNC-HMI window, it switches to the axis positions.
In the CNC-HMI window, it switches to the diagnostic
functions.
In the CNC-HMI window, it switches to the technology
settings.
Switches the selected NC program in the main window
to Teach mode. Robot positions can be taught.
The information window is minimized.
7.2.1
Status bar
The status bar indicates the status of the CNC interface and the CNC, the current error status, and information about override and velocity. The status bar
is always visible as long as the information window is not hidden.
Overview
Description
Status of the CNC interface
(>>> "Status of CNC interface" Page 45)
Current velocity
Command velocity
Status of CNC
interface
Icon
Description
CNC interface is not active.
CNC interface is active.
45 / 75
KUKA.CNC 2.1
Status of CNC
Icon
Description
CNC is not active.
CNC is active. NC program or MDI block is being executed.
CNC has been stopped. NC program or MDI block has
been stopped.
CNC signals an error.
Causes of the
CNC stop
The cause of the CNC stop is indicated by the LED on the icon lighting up yellow.
Icon
Description
The motion has been stopped, e.g. due to a programmed
stop or because the Stop CNC button has been pressed.
Program run mode Single Step is active.
Waiting for wait time to elapse (G04 in the NC program)
The interpolator has no motion blocks available.
Program run mode Single Step: Stop after every program
line
Waiting for acknowledgement of PLC
Waiting for axis, e.g. axis exchanged (NC command
#CALL AX)
Current program override (POV) is 0%.
Status of the Soft PLC
White = Soft PLC running
Yellow = Soft PLC not running
7.2.2
46 / 75
7 Operation
Description
Description
Axis or spindle at standstill
Axis or spindle in motion
The axis is mastered.
The axis is not mastered.
The axis or spindle has reached the target position.
If the target position has not yet been reached, no icon is
displayed.
7.2.3
47 / 75
KUKA.CNC 2.1
Description
In some cases, the display of the Cartesian position on the KUKA.CNC-HMI does not match the display of the Cartesian position on
the KUKA smartHMI. The reason for this is that the robot controller,
unlike the NC controller kernel, uses status and turn values.
The following icons indicate the status of the axis or spindle:
Icon
Description
Axis or spindle at standstill
Axis or spindle in motion
The axis is mastered.
The axis is not mastered.
7.2.4
Technology settings
Here it is possible to switch the external spindle, the vacuum and the spindle
cooling on and off, and to set the spindle speed and override.
48 / 75
7 Operation
Description
Spindle ON button
The spindle is switched off. Pressing the button switches the spindle on.
Spindle OFF button
The spindle is switched on. Pressing the button switches the spindle off.
Vacuum ON button
The vacuum is switched off. Pressing the button switches the vacuum on.
Vacuum OFF button
The vacuum is switched on. Pressing the button switches the vacuum off.
Cooling ON button
The cooling is switched off. Pressing the button switches the cooling on.
Cooling OFF button
The cooling is switched on. Pressing the button switches the cooling off.
Accepts the spindle speed entered in the box to the left
of the button
Unit: RPM
Decreases the spindle override (increment 5%)
49 / 75
KUKA.CNC 2.1
7.2.5
Description
Program progress
Description
Select NC program button
The file view is opened and the NC program can be selected.
Edit button
Opens the selected NC program in the CNC-HMI window. The program can be edited.
Start CNC button
Starts the selected NC program.
Stop CNC button
Stops the NC program.
50 / 75
7 Operation
Button
Description
Reset CNC button
Resets the NC program.
Maximize button
If the information window is hidden, the button for displaying the information window is displayed at the bottom of the screen.
7.2.6
Description
Program run modes
(>>> 7.4.1 "Program run modes" Page 54)
Program progress
Description
Edit button
Opens the MDI block in the CNC-HMI window. The MDI
block can be edited.
Start CNC button
Starts the MDI block.
Stop CNC button
Stops the MDI block.
Reset CNC button
Resets the MDI block.
51 / 75
KUKA.CNC 2.1
7.2.7
Teach mode
Robot positions can be taught in Teach mode, e.g. to program the approach
motion of the robot. During teaching, an NC subprogram call is inserted into
the NC program. The taught motion blocks are saved in this subprogram.
The subprogram name has the following structure:
L NC program name_TTime stamp_Subprogram number.sub
Example: L default_T20110621_155955.sub
Description
Start teach mode button
Activates Teach mode and inserts a subprogram call
into the line indicated in red in the editor.
Teach button
Writes the current robot position into the subprogram.
This button is only available if Teach mode is activated.
Save button
Saves the subprogram in the program directory
C:\KRC\ROBOTER\Isgnc\prg and terminates Teach
mode. Switches to Standby mode.
7.2.8
Edit mode
The NC blocks of an NC program and MDI blocks can be edited in Edit mode.
Detailed information about the scope of the NC language can be
found in the CNC programming instructions.
52 / 75
7 Operation
Description
Terminates Edit mode and switches back to the display
of the axis-specific position (ACS).
Save button
Saves the changes in the NC program or MDI block.
7.3
Procedure
Select the created KRL program, start it and execute it as far as the CNC
selection block (MOVE EMI).
Description
Precondition
CNC operation is now active and the message CNC_ADAPTER: CNC motion
active (Axial) is displayed in the message window. NC programs can now be
executed.
53 / 75
KUKA.CNC 2.1
In interactive mode, the robot remains under servo-control, even if no NC program is currently being executed.
7.4
Selecting an NC program
Precondition
Procedure
Description
Description
Switches back to the main window.
Edit button
Opens the selected NC program in the CNC-HMI window. The program can be edited.
Select button
Opens the selected NC program in the main window.
7.4.1
54 / 75
7 Operation
Button
Description
Run mode is inactive.
Backwards
Single step
Optional stop
Block skip
7.5
Deselecting an NC program
In the CNC, it is not necessary to deselect NC programs. An NC program remains selected until another NC program is selected.
7.6
Procedure
Restarting the NC program after it has been stopped with the STOP key:
Restarting the NC program after it has been stopped with the EMERGENCY
STOP button:
1. Release the EMERGENCY STOP pushbutton.
2. Acknowledge acknowledgement messages in the message window of the
smartHMI.
3. Switch on the drives.
4. Press the Start key.
Issued: 09.04.2013 Version: KUKA CNC 2.1 V1 en (PDF)
55 / 75
KUKA.CNC 2.1
7.7
56 / 75
8 Diagnosis
Diagnosis
8.1
Diagnostic functions
Overview
Channel errors
General errors
TRACE function
The following CNC data can be recorded:
Command and actual values of the CP motion, e.g. velocity and acceleration
The path data are written to the TRACE file
PathTrace_yyyy_mm_dd_hhmmss00.log.
57 / 75
KUKA.CNC 2.1
Button
Description
The channel error messages are displayed in the CNCHMI window.
Pressing the button switches to the display of the general errors (Gen.).
The general error messages are displayed in the CNCHMI window.
Pressing the button switches to the display of the channel errors (Chn.).
The CNC diagnosis is carried out.
Description
The ISG monitor Display R2 is available under C:\KRC\ROBOTER\ISGNC\TOOLS\DISPLAY R2. This monitor can be used to display the recorded
TRACE data as curves. Precise information about operation of the monitor can
be found in the help file Display.HLP.
Alternatively, the recorded TRACE data can be opened in a spreadsheet, e.g.
to create diagrams.
Procedure
58 / 75
9 Programming
Programming
9.1
Structure of an NC subprogram
Description
Example
9.2
Precondition
Procedure
NC program is selected.
Operating mode T1
1. Select the Diagnosis & Settings button and switch the NC program to
Teach mode.
2. Position the cursor in the line into which a subprogram call is to be inserted. The line is marked in red.
3. Press the Start teach mode button. Teach mode is activated and a subprogram call is inserted.
4. Move the robot to the desired position by jogging with the jog keys.
5. In the CNC-HMI window, display either the axis-specific position (ACS) or
the Cartesian position (PCS). During teaching, either the axis-specific position or the Cartesian position is written to the subprogram accordingly.
6. Press the Teach button. The position is written to the subprogram.
7. If additional points are to be taught in the subprogram, repeat steps 4 to 6.
8. Press the Save button. The subprogram is saved and Teach mode is terminated.
59 / 75
KUKA.CNC 2.1
9.3
Description
If, for example when approaching a workpiece, axis space errors or errors arising from singularities occur, the orientation of the robot must be changed and
re-taught.
Precondition
NC program is selected.
Operating mode T1
Procedure
1. Open the NC program with Edit and delete the NC line that contains the
subprogram call and the position to be re-taught.
2. Save the NC program with Save.
3. Select the Diagnosis & Settings button and switch the NC program to
Teach mode.
4. Position the cursor in the line into which a new subprogram call is to be
inserted. The line is marked in red.
5. Press the Start teach mode button. Teach mode is activated and a subprogram call is inserted.
6. Move the robot to the new position with the desired orientation by jogging
with the jog keys.
7. In the CNC-HMI window, display either the axis-specific position (ACS) or
the Cartesian position (PCS). During teaching, either the axis-specific position or the Cartesian position is written to the subprogram accordingly.
8. Press the Teach button. The position is written to the subprogram.
9. If additional points are to be re-taught in the subprogram, repeat steps 6
to 8.
10. Press the Save button. The subprogram is saved and Teach mode is terminated.
9.4
Description
A tool change is programmed in the NC program with the T number for the tool
selection and machine function M06 for the tool change. By default, M06 calls
a subprogram so that the robot automatically moves to the tool magazine, for
example, and changes the tool there.
In the case of a manual tool change, the motion to the tool magazine is dispensed with. The new tool must also be selected in the same way with the T
number and M06, however.
60 / 75
9 Programming
Example
...
N010
N020
N030
N040
N050
N060
...
9.5
Batch mode
Description
61 / 75
KUKA.CNC 2.1
62 / 75
10 Troubleshooting
10
Troubleshooting
10.1
Errors in NC operation
In the case of errors in NC operation, an error message is generated by the
CNC and displayed in the message window. At the same time, program execution is canceled and, if possible, the motion is stopped on the contour.
NC errors must be acknowledged via the KUKA.CNC-HMI by means of the
Reset CNC button. The program is reset. When restarted, program execution
starts again at the beginning of the program.
The CNC error messages, the causes of the errors and the remedies
are described in the documentation CNC diagnostic instructions.
63 / 75
KUKA.CNC 2.1
64 / 75
11 KUKA Service
11
KUKA Service
11.1
Requesting support
Introduction
Information
Model and serial number of the energy supply system (if applicable)
11.2
Application used
Availability
KUKA Customer Support is available in many countries. Please do not hesitate to contact us if you have any questions.
Argentina
Australia
65 / 75
KUKA.CNC 2.1
66 / 75
Belgium
Brazil
Chile
China
Germany
11 KUKA Service
France
India
Italy
Japan
Canada
67 / 75
KUKA.CNC 2.1
68 / 75
Korea
Malaysia
Mexico
Norway
Austria
11 KUKA Service
Poland
Portugal
Russia
Sweden
Switzerland
69 / 75
KUKA.CNC 2.1
70 / 75
Spain
South Africa
Taiwan
Thailand
Czech Republic
11 KUKA Service
Hungary
USA
UK
71 / 75
KUKA.CNC 2.1
72 / 75
Index
Index
A
ACS 46
Areas of application 7
Axis groups, configuring 40
C
CAD 6
Calibration, tool 23
CAM 6
Channel parameters 39
Clamp offset data, configuration 38
CNC interface, status 45
CNC operation, activating 53
CNC stop, causes 46
CNC tool data, configuring 24
CNC, status 46
Communication 8
Compatibility 11
Configuration 15
Configuration, axes 40
D
Diagnosis 57
Diagnosis, functions 57
Display, axis-specific position 46
Display, Cartesian position 47
Documentation, industrial robot 5
E
Edit mode 52
EMERGENCY STOP 55
EMI 6
F
Functional principle 8
Functions 7
G
G-code 6
H
Hardware 11
I
Installation 11
Installation, CNC development environment for
Multiprog 12
Installation, KUKA.CNC 11
Internal NC programs, editing 33
Introduction 5
J
Jogging, robot 56
K
Knowledge, required 5
KR C 6
KRL 6
Issued: 09.04.2013 Version: KUKA CNC 2.1 V1 en (PDF)
73 / 75
KUKA.CNC 2.1
tions 42
System requirements 11
T
Target group 5
Teach mode 8, 52
Technology functions 15
Technology functions, CNC 15
Technology functions, mapping to the periphery
18
Technology functions, synchronization 42
Technology functions, user-defined 16
Technology, settings 48
Terms used 6
Terms, used 6
Tool calibration 23
Tool change 21
Tool change, NC program 26
Tool change, programming 60
Tool management 21
Tool management via CNC 23
TRACE data, displaying 58
Training 5
Troubleshooting 63
U
Uninstallation, KUKA.CNC 12
Updating, KUKA.CNC 11
User interface, KUKA.CNC-HMI 43
W
Warnings 5
Z
Zero offset data, configuring 37
74 / 75
KUKA.CNC 2.1
75 / 75