Beruflich Dokumente
Kultur Dokumente
and Controls
Hydraulics
Rexroth IndraWorks
Simulation
Application Description
Pneumatics
Service
R911317008
Edition 03
Title
Rexroth IndraWorks
Simulation
Type of Documentation
Document Typecode
Internal File Reference
Purpose of Documentation
Record of Revision
Copyright
Validity
Published by
Application Description
DOK-IWORKS-SIMU****V01-AW03-EN-P
RS-de78b78b0a6846ac009c70d0829c30df-3-en-US-2
This documentation describes the functions of simulation component View3D,
virtual control panel, virtual control and its operation in IndraWorks.
Edition
Release Date
Notes
120-2700-B304-01/EN
06.2006
First edition
120-2700-B304-02/EN
10.2006
Supplements
120-2700-B304-03/EN
02.2007
Supplements
Note
I/III
Table of Contents
Table of Contents
Page
1
1.1
1.2
1.3
2
2.1
2.1.1
2.1.2
2.2
3
3.1
3.1.1
3.1.2
3.1.3
3.1.4
3.2
3.2.1
3.2.2
3.2.3
3.2.4
3.2.5
3.2.6
3.2.7
3.2.8
General.......................................................................................................................... 1
Why Simulation?..................................................................................................................................... 1
What is Simulated?................................................................................................................................. 1
Goals of Simulation in IndraWorks......................................................................................................... 1
Quick Start................................................................................................................... 15
5.1
5.2
5.2.1
5.2.2
5.2.3
5.2.4
5.2.5
5.2.6
II/III
Table of Contents
Page
5.3
5.3.1
5.3.2
5.3.3
5.4
5.4.1
6
6.1
6.1.1
6.1.2
6.1.3
6.2
6.2.1
6.2.2
6.2.3
6.2.4
6.2.5
6.3
6.3.1
6.3.2
6.3.3
6.4
6.4.1
6.4.2
6.4.3
6.4.4
6.4.5
6.4.6
6.4.7
Operation in IndraWorks.............................................................................................. 29
Creating a Model.................................................................................................................................. 29
General.............................................................................................................................................. 29
Creating a Simple 3D Model ............................................................................................................. 29
Importing eM-RealNC Models .......................................................................................................... 29
Using the Virtual User Panel................................................................................................................. 29
Configuration..................................................................................................................................... 29
Configuration in IndraWorks........................................................................................................... 29
Supplements to the configuration file ............................................................................................ 30
Connection to Virtual Control ............................................................................................................ 31
Start................................................................................................................................................... 32
Contextual Menu in the Virtual User Panel ....................................................................................... 32
Error Messages and Remedies......................................................................................................... 33
Using 3D Visualization.......................................................................................................................... 33
3D Models in IndraWorks.................................................................................................................. 33
Importing 3D models ..................................................................................................................... 33
Opening, renaming and deleting 3D models ................................................................................. 35
Process Connection.......................................................................................................................... 35
Connecting 3D objects with IndraMotion MTX axis values ............................................................ 35
Configuring the process connection .............................................................................................. 35
Establishing a connection to the control ........................................................................................ 37
3D Visualization Operation................................................................................................................ 37
Basic 3D visualization functions .................................................................................................... 37
Manipulating 3D objects ................................................................................................................ 38
Changing settings of the View3D model ........................................................................................ 38
Using the Virtual Control....................................................................................................................... 38
Installation of MTX Emulation............................................................................................................ 38
General........................................................................................................................................... 38
Projecting Emulation.......................................................................................................................... 39
Restoring an existing project.......................................................................................................... 39
Projecting the HMI............................................................................................................................. 39
General........................................................................................................................................... 39
Designing the NC Core...................................................................................................................... 41
General........................................................................................................................................... 41
Projecting the PLC............................................................................................................................. 45
General........................................................................................................................................... 45
Starting and Exiting MTX Emulation.................................................................................................. 47
General........................................................................................................................................... 47
Starting Operation Desktop............................................................................................................... 48
III/III
Table of Contents
Page
7
7.1
7.2
8
8.1
8.2
8.3
8.4
Communication............................................................................................................ 49
OPC...................................................................................................................................................... 49
SCP...................................................................................................................................................... 49
Index............................................................................................................................ 53
1/53
General
General
1.1
Why Simulation?
Due to the ever-increasing competitive pressure among the manufacturers of
machines, we are always looking for new ways of minimizing the costs for a
machine project. This includes every phase of the machine life cycle (construc
tion, commissioning, production). Due to more and more powerful computer
systems, simulation is becoming more and more important: in the future, there
may even be virtual factories in which all the processes of a production plant
can be reproduced virtually. One component of this virtual factory is the virtual
machine, which can be used, with the help of suitable simulation tools, to sup
port the individual phases of the machine life cycle.
1.2
What is Simulated?
There are suitable simulation techniques for every phase of the machine life
cycle. These simulation techniques are clearly delimited from one another, but
also have shared points of intersection, such as the transfer of construction data
for the machine from the CAD system to the 3D visualization system.
For example, FEM (Finite Element Method) analysis or MBS (Multi-Body Sim
ulation) analysis is used in the construction phase of a machine, while the
commissioning phase is more concerned with behavioral simulation. For pro
duction, on the other hand, process optimization (e.g. cycle time optimization)
is in the foreground.
Now, if we examine the simulation techniques during the commissioning phase,
we can make a further distinction. On the one hand, there is hardware-in-theloop simulation; on the other, there is software-in-the-loop simulation.
1.3
Hardware-inthe-loop
Software-inthe-loop
2/53
General
3/53
2.1
Intended Use
2.1.1
Introduction
The Bosch Rexroth products are developed and manufactured according to the
latest state of the art. Before delivery, they are checked for operational safety.
The products may only be used in the proper manner. When they are not used
as intended, situations may arise which result in damage to person or material.
Bosch Rexroth, as the manufacturer of the products, will not as
sume any warranty, liability or payment of damages in case of
damage resulting from a non-intended use of the products. If he
fails to use the products as intended, the user will be solely respon
sible for any resulting risks.
Before using the Bosch Rexroth products, the following prerequisites must be
fulfilled to ensure that they are used as intended:
2.1.2
Everyone who in any way deals with one of our products must read and
understand the corresponding notes regarding safety and regarding prop
er use.
If the products are hardware, they must be kept in their original state, i.e.
no constructional modifications may be made. Software products may not
be decompiled; their source codes may not be modified.
It must be ensured that the products are installed according to the regu
lations mentioned in the documentation.
2.2
Improper Use
Using the devices outside of the above-referenced areas of application or under
operating conditions other than described in the document and the technical
data specified is defined as "inappropriate use".
The Rexroth simulation tools may not be used if
4/53
Bosch Rexroth has not specifically released them for that intended pur
pose. In this connection, observance of the statements in the General
Safety Notes is imperative!
5/53
3.1
3.1.1
WARNING
3.1.2
Only assign trained and qualified persons to work with electrical installa
tions:
Only persons who are trained and qualified for the use and operation
of the device may work on this device or within its proximity. The
persons are qualified if they have sufficient knowledge of the assem
bly, installation and operation of the product, as well as an under
standing of all warnings and precautionary measures noted in these
instructions.
6/53
Follow all safety regulations and requirements for the specific application
as practiced in the country of use.
make sure that the delivered components are suited for his individual
application and check the information given in this documentation
with regard to the use of the components,
make sure that his application complies with the applicable safety
regulations and standards and carry out the required measures,
modifications and complements.
Operation is only permitted if the national EMC regulations for the appli
cation are met.
Other countries:
3.1.3
7/53
Warning symbol
Fig.3-1:
3.1.4
Signal word
Danger
Warning
Caution
DANGER
Health hazard for persons with heart pacemakers, metal implants and
hearing aids in proximity to electrical equipment!
WARNING
CAUTION
Risk of injury by improper handling! Risk of bodily injury by bruising,
shearing, cutting, hitting or improper handling of pressurized lines!
CAUTION
8/53
CAUTION
3.2
3.2.1
High electrical voltage! Danger to life, electric shock and severe bodily
injury!
DANGER
Do not operate electrical equipment at any time, even for brief measure
ments or tests, if the equipment grounding conductor is not permanently
connected to the mounting points of the components provided for this
purpose.
Before working with electrical parts with voltage potentials higher than
50 V, the device must be disconnected from the mains voltage or power
supply unit. Provide a safeguard to prevent reconnection.
Install the covers and guards provided with the equipment properly before
switching the device on. Before switching the equipment on, cover and
safeguard live parts safely to prevent contact with those parts.
9/53
High housing voltage and high leakage current! Risk of death or bodily
injury by electric shock!
DANGER
3.2.2
Before switching on, the housings of all electrical equipment and motors
must be connected or grounded with the equipment grounding conductor
to the grounding points. This is also applicable before short tests.
Over the total length, use copper wire of a cross section of a minimum of
10 mm2 for this equipment grounding connection!
3.2.3
defective components
1)
2)
10/53
11/53
For the above reasons, ensure personal safety by means of qualified and
tested higher-level monitoring devices or measures integrated in the in
stallation.
They have to be provided for by the user according to the specific condi
tions within the installation and a hazard and fault analysis. The safety
regulations applicable for the installation have to be taken into consider
ation. Unintended machine motion or other malfunction is possible if safety
devices are disabled, bypassed or not activated.
Keep free and clear of the machines range of motion and moving parts.
Possible measures to prevent people from accidentally entering the
machines range of motion:
Mount the emergency stop switch in the immediate reach of the operator.
Verify that the emergency stop works before commissioning. Do not op
erate the device if the emergency stop switch is not working.
Make sure that the drives are brought to a safe standstill before accessing
or entering the danger zone.
cleaning of equipment
12/53
3.2.4
Health hazard for persons with heart pacemakers, metal implants and
hearing aids in proximity to electrical equipment!
WARNING
3.2.5
Persons with heart pacemakers and metal implants are not permitted to
enter following areas:
Those with metal implants or metal pieces, as well as with hearing aids,
must consult a doctor before they enter the areas described above. Oth
erwise health hazards may occur.
CAUTION
3.2.6
Before accessing motors after having switched them off, let them cool
down for a sufficiently long time. Cooling down can require up to 140 mi
nutes! Roughly estimated, the time required for cooling down is five times
the thermal time constant specified in the Technical Data.
13/53
3.2.7
Battery Safety
Batteries consist of active chemicals enclosed in a solid housing. Therefore,
improper handling can cause injury or material damage.
3.2.8
14/53
15/53
Quick Start
Quick Start
In the following, the execution sequence that makes it possible to sensibly op
erate the various simulation components of IndraWorks is described for an
IndraMotion MTX project. It is not suitable for a user who has no prior knowledge
of the simulation components. The inexperienced user should first read the
entire documentation to become familiar with the subject matter.
Execute the following steps to be able to simulate an IndraMotion MTX project
on a PC:
1.
2.
3.
Start the IndraMotion MTX emulation (also see chapter 6.4.6 "Starting
and Exiting MTX Emulation" on page 47)
4.
Set the communication settings for the IndraMotion MTX and the PLC to
localhost.
5.
6.
The NC kernel data must be restored (also see chapter 6.4.4 "Designing
the NC Core" on page 41).
7.
The PLC program must be loaded and started (also see chapter 6.4.5
"Projecting the PLC" on page 45)
8.
Activate the IndraWorks project for Operation Desktop (also see chapter
6.4.3 "Projecting the HMI" on page 39)
9.
10. Start the Windows program Virtual Control Panel (also seechapter 6.2.2
"Connection to Virtual Control " on page 31).
You can find detailed information about IndraMotion MTX emulation
in the Virtual Commissioning of the MTX chapter of the documen
tation IndraMotion MTX Commissioning.
If a machine model exists, it can be loaded into the 3D viewer and controlled
using data from the emulation via OPC. To do this, proceed as follows:
1.
Add a new model to the project (also see chapter "Importing 3D models "
on page 33)
2.
Link the OPC items to the objects of the model (also see chapter "Con
necting 3D objects with IndraMotion MTX axis values " on page 35)
3.
17/53
5.1
Project Explorer
The simulation components can be found in the Project Explorer in the node
Simulation -> 3D Visualization.
Fig.5-1:
Project node Simulation
Project Explorer
Within node Simulation, you can find the entry Virtual Control Panel, which can
be used to open the Configuration dialog box of the Virtual Control Panel.
If the node Simulation and/or the entry Virtual Control Panel does
not exist, it can be added as follows using the project node:
In the dialog box Add new element, open the template Virtual
Control Panel from the category Virtual Components.
5.2
3D Visualization
5.2.1
General Description
The View3D 3D visualization system is used to represent a machine model as
a three-dimensional volume model (3D scene).
18/53
Rotating a 3D scene
Zoom function
Wireframe representation
Fig.5-2:
View3D in IndraWorks
3D view
The 3D view is used to display the 3D scene (see chapter 5.2.2 "Model
Visualization " on page 19).
2.
Scene tree
The scene tree represents the logical and kinematic structure of the scene.
Individual objects of the model can be marked for further processing in the
scene tree (for example, objects can be hidden in the 3D view).
19/53
OPC server
You can access the OPC server of the control in order to communicate
with the IndraMotion MTX here (see chapter 5.2 "3D Visualization" on
page 17).
4.
5.2.2
Model Visualization
Basic functions
Coordinate system
The following figure shows the basic arrangement of the main coordinate sys
tem of a View3D model.
20/53
Marking 3D objects
Rotating a 3D scene
Fig.5-3:
Coordinate system
An object can be marked by clicking the left mouse button; this is indicated by
a yellow frame. A marked object is also highlighted in the scene tree. Con
versely, clicking the left mouse button on a part of the scene tree highlights the
corresponding part in the model with a yellow frame.
The marking can be removed by clicking the left mouse button on a blank space
outside of the model.
To allow the 3D model to be viewed from every perspective, the 3D scene can
be rotated.
Mouse operation
If the mouse is moved within the 3D view with the left mouse button held
down, the model rotates according to the mouse movements. If the mouse
is moved to the left or right, the model rotates around the Y-axis. If the
mouse is moved up or down, the model rotates around the X-axis.
Moving a 3D scene
Keyboard operation
The model can be rotated around the Y-axis using keys <Ins> and
<Del>.
To position the 3D model, the 3D scene can be moved in View3D.
If the mouse is moved within the 3D view with the center mouse button held
down, the 3D scene is positioned according to the mouse movement.
21/53
To be able to better see the details in the 3D model, you can zoom into the 3D
scene.
Mouse operation
If the mouse is moved within the 3D view with the right mouse button held
down, the view zooms into the 3D scene. Moving the mouse upwards
zooms out of the model. Moving the mouse downwards zooms into the
model.
Keyboard operation
You can zoom within the 3D view using the <PgUp> and <PgDn> keys.
Pressing the <PgUp> key zooms into the model; pressing the <PgDn> key
zooms out of the model.
Moving/rotating objects
Pressing key <Pos 1> moves the 3D scene into a predefined camera position.
This is an internal basic setting that cannot be changed.
For these functions, the entry Rendering always active must have
been switched on in dialog box Model properties (also see chapter
5.2.6 "Properties of the View3D Model " on page 25).
To move an object, it must be marked beforehand. Then press one of the keys
<X>, <Y> or <Z> to select the desired axis direction for the move. In addition,
you must now move the mouse (with the left mouse button held down) to the
left or right in order to move the object.
If you press and hold the right mouse button instead of the left one, the object
is rotated around the selected axis.
Keys <0> to <9> can be used to save and call 10 different camera positions.
To do this - see the explanation in chapter "Basic functions" on page 19 - the
camera position is changed and then saved using key combination <Ctrl+num
ber>.
A camera position (viewpoint) can be called again by pressing one of the keys
<0> to <9>.
Explosion/implosion
For these functions, the entry Rendering always active must have
been switched on in dialog box Model properties (also see chapter
5.2.6 "Properties of the View3D Model " on page 25).
Pressing the <End> key brings manipulated objects back to the basic position
(implosion).
If you then press the <E> key, the objects move back to the manipulated posi
tion (explosion).
For these functions, the entry Rendering always active must have
been switched on in dialog box Model properties (also see chapter
5.2.6 "Properties of the View3D Model " on page 25).
5.2.3
Scene Tree
General
The object structure of the 3D scenes is shown in the scene tree. Each indi
vidual kinematics object has 6 degrees of freedom: X-Y-Z translation and X-YZ rotation. The degrees of freedom are a component of the objects listed in the
tree, but are not shown explicitly. The individual nodes of the tree have a
checkbox with which they can shown or hidden in the 3D model. If an OPC item
is assigned to at least one of the degrees of freedom of the kinematics object,
the corresponding icon in the tree node changes.
22/53
Fig.5-4:
Scene tree
Object properties
The properties of a 3D object can be changed using the Object properties dialog
box.
Fig.5-5:
Object properties
The dialog box can be opened by calling contextual menu Properties for a 3D
object in the scene tree.
The menu item is active only if the selected node has subnodes.
The point of rotation and the angle of a kinematics object can be modified in
the Object properties dialog box.
Also see chapter "Handling instruction: Rotating a View3D object around a
user-defined point of rotation" on page 36 and chapter "Handling instruction:
Moving a View3D object in any direction in space" on page 36
23/53
Assignment
Using drag-and-drop, an OPC item can be assigned to a degree of freedom of
a kinematics object. If an OPC item from the OPC tree is dropped onto a node
of the scene tree, the following dialog box opens.
Fig.5-6:
Assigning an object
The dialog box contains a selection box in which you must specify precisely to
which of the 6 degrees of freedom the OPC item is assigned. An offset, which
is included in the calculation of the OPC item's value, can also be specified.
5.2.4
OPC Configuration
The OPC Server window is used to access process data via an OPC server.
All the OPC servers that are locally installed on the computer are located in
node Local. Use tree node Manual to explicitly search the network for a
computer whose locally installed OPC servers are listed.
All standard OPC items of an OPC server are listed in the node called Basic
Items. The items of the IndraMotion MTX OPC servers (OPC.IwSCP.1) are
grouped into NC Axes, NC Corrections and NC Spindles.
24/53
Fig.5-7:
OPC server
The contextual menu of node Manual contains menu items Add Computer
and Remove Computer. The first menu item can be used to search the net
work for a computer using its name or IP address. The second menu item is
active only if the computer found within the network is selected; it can be used
to remove the computer from the list.
5.2.5
Assignment List
General
Assignment
The assignment list indicates the assignment of the OPC item to a correspond
ing degree of freedom of a kinematics object. It contains the columns OPC
Item, Offset, OPC Server and Computer. This information precisely de
fines an OPC item.
Fig.5-8:
25/53
5.2.6
Fig.5-9:
See also chapter "Changing settings of the View3D model " on page 38.
Scaling factor for process values
The scaling factor affects all the process values that are associated with 3D
objects in the View3D model.
It is used to globally adapt the scaling of the View3D model to the process
values.
See also chapter "Handling instruction Changing the scaling factor for process
values" on page 35.
When this setting is active, the 3D model is continuously rerendered (i.e. the
3D model is continuously recalculated). This is a good idea if, for example, you
want to switch between various viewpoints at the touch of a button.
When the process connection is active, rendering is automatically
activated.
This is the name of the OPC group that is used when someone logs onto an
OPC server.
The OPC update rate specifies the time (in milliseconds) in which process val
ues are updated by the OPC server.
5.3
5.3.1
General Description
The Virtual User Panel is used as a replacement for the real VAM 40 during
emulation. The appearance and functions replicate the real VAM 40. In the
current version, the texts are available only in English and German.
26/53
Fig.5-10:
5.3.2
Configurator
The Virtual User Panel is configured in IndraWorks Engineering. Then the con
figuration file of the Virtual User Panel must be supplemented by the user (also
see chapter "Supplements to the configuration file " on page 30).
Fig.5-11:
Project node Simulation with sub
node Virtual User Panel
The configuration page of the keyoperated switch
Configuration in IndraWorks
Project node Virtual User Panel is used to call the pages for configuring the
virtual VAM 40.
The individual switch settings are labeled on the configuration page of the keyoperated switch.
27/53
This page is used to label the keypads with texts or previously generated im
ages. Each individual key can be allocated by entering a text or by dragging
and dropping an image from the symbol list.
The configuration page of the quick-stop module can be used to make various
settings for the two keys:
Function
Since the keys on the real VAM 40 are hardware-wired and the switches
are equipped with make and break contacts, these settings can also be
selected here. If a key is not wired, None can be set.
5.3.3
The configuration file contains the assignment of the individual keys. In addition,
the user must enter all the PLC variables that are required for communication
with the Virtual User Panel (also see chapter "Supplements to the configuration
file " on page 30).
The individual keys, switch settings, lamps and overrides can then use these
settings to control the PLC program and to display the status.
The Application
The application is separate; it is used to control the PLC program in IndraMotion
MTX emulation. This can be started independently of IndraWorks Engineering
or IndraWorks Operation. When the Virtual User Panel is started, the configu
ration is read out of the currently active project.
In this version, there must be a connection to the emulation when
the Virtual User Panel is started. This can be implemented, for ex
ample, by triggering a connection test in the contextual menu of the
MTX project node.
5.4
Virtual Control
5.4.1
General Description
A virtual control is the most important simulation component because, just like
the real control, it regulates the entire process. It contains the same functions
as the real control and is identically parametrized, programmed and operated.
Therefore, the method of operation does not change for the user if he switches
between a virtual control and a real one; only the communication parameters
of the Engineering interface must be reset. However, since the virtual control
runs under Windows, its only limitation is that it is not real-time-capable.
With the emulation of the IndraMotion MTX machine tool control, Bosch Rexroth
has such a virtual control.
For further information regarding IndraMotion MTX emulation, see chapter 6.4
"Using the Virtual Control" on page 38.
29/53
Operation in IndraWorks
Operation in IndraWorks
6.1
Creating a Model
6.1.1
General
The import format for 3D scenes into View3D is VRML (Virtual Reality Modeling
Language). Files in the format VRML 2.0 (or VRML97) are supported.
VRML files are recognized by the file extension .wrl (world).
Most 3D modelling tools can export 3D scenes in VRML format.
The import of compressed VRML files (the file extension is also
.wrl) is not supported by View3D.
6.1.2
6.1.3
6.2
6.2.1
Configuration
Configuration in IndraWorks
Creating a Virtual User Panel
In order to be able to configure a Virtual User Panel, a project must have been
created in IndraWorks.
A Virtual User Panel is created in an existing project in IndraWorks by selecting
and confirming Project node right mouse button Add new element Virtual
User Panel. This then appears in the Simulation node as subnode Virtual User
Panel.
By <double-clicking> (or clicking the right mouse button on Open) the node
of the Virtual User Panel, the configuration pages open.
30/53
Operation in IndraWorks
When labelling an individual key, first highlight the desired key on the keypad.
Then switch to the text field of Labelling the key and enter the text.
The keys are assigned using drag-and-drop. First select any image in the
Symbols category. Then press the left mouse button and drag the cursor to
the desired key.
If only the image of VAM or the symbols can be seen because of too less place,
a bitmap can be assigned alternatively via the key context menu. This can be
reached viafocussing the key in image selecting the bitmaps right mouse
button assign bitmap of the last focussed key.
The new labels can be entered in the text fields of the (Top) key and (Bottom)
key. Line breaks and line lengths are not taken into account. However, the
label is immediately shown in the VAM 40 display.
Since the keys on the real VAM 40 are hardware-wired and the switches are
equipped with make and break contacts, these settings must be selected here.
This is accomplished by setting function Break-contact or Make-contact. If
the key was not wired, set None.
To execute mutual locking of the two keys, the checkmark Mutual locking of
the keys must be set.
2.
Enter the PLC variables for the individual keys in the keypad under keypad
1 and 2.
e.g. <KY_X1Y3>iStart</KY_X1Y3>
3.
Enter the PLC variables for each individual LED under LED_Keypad_1
and LED_Keypad_2
e.g. <LED_X2Y2Y>qStart</LED_X2Y2>
4.
Enter the PLC variables for the spindle and feedrate override under the
point Override
e.g. <OVR1>iFeedrate</OVR1> for the spindle and feedrate override
5.
key-operated
switch
under
31/53
Operation in IndraWorks
e.g. <KEY_P1>iVAM_KEY_S1</KEY_P1> for the first switch setting from
the left
6.
Enter the PLC variables for the functions of the quick-stop module keys
under Quick_Stop_Module
e.g. (Top) key <MOD_KY1>iK_Pow_On</MOD_KY1>
7.
Enter the PLC variable for the LED in (Top) key under Quick_Stop_Mod
ule
e.g. <MOD_LED_KY1>qL_Pow_On</MOD_LED_KY1>
8.
Enter the PLC variables for the simulation of the EMERGENCY STOP
under Emergency_Stop
e.g. <KY>iEmergency_stop</KY>
After making the supplements, save the file and close it.
6.2.2
Preparations in IndraWorks
Engineering
Preparations in IndraLogic
Set the project in which the Virtual User Panel was configured to Active.
This is accomplished by selecting and executing menu item Project Ac
tivate for IndraWorks Operation.
Execute
a
connection
test
via
the
control,
IndraMotion_MTX_P60 right mouse button Connection test.
e.g.
32/53
Operation in IndraWorks
Fig.6-1:
Preparations in IndraLogic
In the PLC program, create all the variables that are to receive a connec
tion with the Virtual User Panel as Global variables. These variables are
used to activate the individual switch settings, buttons, lamps and over
rides.
These are created as follows: Variable name: BOOL, e.g. iStart: BOOL;
Do not assign an address; remove it if necessary!
6.2.3
Start
The Virtual User Panel is started via Start Program Files IndraWorks Vir
tual User Panel or using the IndraWorks Virtual User Panel icon on the
desktop.
6.2.4
Function Always in the foreground is used to always keep the virtual user
panel in the foreground so that it does not disappear behind Operation Desktop
when this is being used. It can be activated/deactivated at any time by selecting
33/53
Operation in IndraWorks
Transparent Function
6.2.5
Remedy: Open IndraWorks Engineering and set the project in which the Virtual
User Panel was configured to Active. This is accomplished by selecting menu
item Project Activate for IndraWorks Operation. Then restart the IndraWorks
Virtual User Panel.
Remedy: Open IndraWorks Engineering and create an existing or new project.
Within it, create a Virtual User Panel via Project node right mouse
button Add new element Virtual User Panel . Then proceed according to
chapter "Configuration in IndraWorks" on page 29.
Remedy: Close the Virtual User Panel, call IndraWorks Engineering and rees
tablish the connection via Control e.g. IndraMotion_MTX_P60 right mouse
button Execute connection test.
This error message can have various causes; therefore various remedies are
available:
1.
Check whether the variable name in the configuration file is written cor
rectly.
2.
Check whether the PLC variables were stored under Global variables
and are of type BOOL. Exception: Override activation uses BYTE varia
bles.
3.
6.3
Using 3D Visualization
6.3.1
3D Models in IndraWorks
Importing 3D models
General
In order to be able to open a 3D model in the View3D 3D visualization system,
it must first be imported into the IndraWorks project. Models in VRML format
and in the internal d3d format are accepted as the import format (also
seechapter 6.1 "Creating a Model" on page 29).
In the dialog box Add new element, open the template 3D model from the
category Virtual components.
34/53
Operation in IndraWorks
Fig.6-2:
Select an import file for the 3D scene. Press the <Browse...> button to
open a file selection dialog box in which the 3D model (VRML/d3d) can
be selected.
Fig.6-3:
35/53
Operation in IndraWorks
Press the <Finish> key. The View3D model is added to node 3D visuali
zation in the project tree.
Deleting a 3D model
6.3.2
Highlight the desired View3D model within node 3D visualization using the
mouse or the cursor keys and open it using contextual menu Open or by doubleclicking.
The name of the View3D model can be changed in the Project Explorer. To do
this, select contextual menu Rename on the View3D model in the Project Ex
plorer or press key <F2>. Then the name can be changed and entered by
pressing the <Enter> key.
A View3D model can be deleted from the IndraWorks project in the Project
Explorer using contextual menu Delete or with key <Del>.
Process Connection
Communication with the IndraMotion MTX must have been established in order
to be able to access IndraMotion MTX OPC items.
To establish communication to the IndraMotion MTX, one of the following steps
must be carried out once before opening a 3D model in View3D:
In window OPC Server, open the node for the IndraMotion MTX OPC
server (OPC.IwSCP.1) in node Local (local OPC server).
Select an OPC item and, with the left mouse button held down, drag it onto
a translation or rotation action in the OPC assignment list (e.g. in group
NC Axes X (Phys.No.=1), command position, ACS for the command po
sition of the X-axis in the axis coordinate system).
The data of the OPC item now appear in the OPC assignment list. The
object receives a green marking in the scene tree.
Using menu item View3D Model properties... in the main menu, open
dialog box Properties of the View3D model.
The scaling of the 3D model can be adapted to the values of the OPC item
using Scaling factor for process values.
36/53
Operation in IndraWorks
The scaling factor can also be changed while a process connection
is active. In this way, the 3D model can be used to immediately
check the changes.
If the scaling factor is set too high, the 3D objects move beyond
the end position (they may even be moved out of the visible
area of the 3D Viewer).
Change the offset value of the OPC item in the OPC assignment list.
It is not possible to change the point of rotation using end elements of the scene
tree.
IW Engineering / Simulation: Changing the point of rotation of a View3D object
Enter the X, Y and Z coordinates of the point of rotation and activate the
values by pressing the <OK> or <Accept> button.
The coordinates for the point of rotation can be determined using
the cursor function. See chapter "Basic 3D visualization functions "
on page 37.
It is not possible to change the angle using end elements of the scene tree.
IW Engineering / Simulation: Changing the angle of a View3D object
Enter the angles for the X, Y and Z coordinates and confirm these by
pressing the <OK> or <Accept> button.
Example: If a machining station in the XY plane is rotated by 30 relative
to the main coordinate system, this angle must be entered for the Z coor
37/53
Operation in IndraWorks
dinate (rotation around the Z-axis) to correct the direction of movement for
the X- and Y-axes.
Communication with the IndraMotion MTX must have been established in order
to be able to access IndraMotion MTX OPC items.
To establish communication to the IndraMotion MTX, one of the following steps
must be carried out once before opening a 3D model in View3D:
The process connection is started and the 3D objects are supplied with
the process values of the control.
The process connection must be active (this can be recognized by the check
mark on menu item Start in the main View3D menu).
IW Engineering / Simulation: Terminating a View3D process connection for
control
In the main menu, select menu item View3D Start.
The following actions are now carried out:
6.3.3
3D Visualization Operation
Open the Cursor dialog box via the main menu View3D Cursor ....
Using the arrow keys of the input fields for the X-, Y- and Z-coordinates,
move the cursor to the desired point in space. The increment of the cursor
movement can be set via Delta to 1 0.1 0.01 or 0.001.
The coordinates of the point can now be read in the Cursor dialog box.
38/53
Operation in IndraWorks
Wireframe representation
The representation of the 3D model can be switched between Solid and Wire
frame in View3D. If the checkmark on menu item Wireframe is set in the main
View3D menu, the model is displayed as a wireframe. Otherwise, the 3D model
is shown as a solid.
Manipulating 3D objects
Handling instruction: Moving a View3D object
This handling instruction describes how a single View3D object in the 3D model
can be moved.
IW Engineering / Simulation: Moving a View3D object
Press the <X>, <Y> or <Z> key while simultaneously pressing the left
mouse button. The object can now be moved in the X, Y or Z coordinate
direction by moving the mouse to the left or right.
Press the <X>, <Y> or <Z> key while simultaneously pressing the right
mouse button. The object can now be rotated around the X, Y or Z coor
dinate axis by moving the mouse to the left or right.
The scaling factor for process values can be changed using the corresponding
input field in the dialog box.
Rendering of the 3D scene can be switched on/off using the Rendering always
active checkmark.
The name of the OPC group can be changed in field Group name under OPC
settings.
The update time for the OPC group can be entered (in milliseconds) in input
field Update rate under OPC settings.
OPC settings can be changed only if the process is inactive.
6.4
6.4.1
General
Description
Brief Description
MTX Emulation is copied from the installation CD; proceed according to the
dialog boxes of the installation program. We recommend using the default val
ues.
39/53
Operation in IndraWorks
Boundary conditions
If the default memory size of 0.5 MB is not sufficient, the RAM file system
memory of the emulation must be increased to 3 MB:
Figure
Flowchart
Example
IndraWorks Commissioning In
Documentation :
structions
Fig.6-4:
6.4.2
Instruction
Documentation
MTX Emulation
Link
Projecting Emulation
IndraWorks Engineering can be used to restore existing projects that were cre
ated previously or on another computer for real systems or MTX emulation.
The transfer (= restoration) of an IndraWorks project from a real control to em
ulation is described here. An IndraWorks project file contains, among other
things, the control parameters, the Profibus configuration, the PLC program,
the definition files for the M- and F-keys and the logbooks, as well as the user
screens.
The project is restored using function Restore in menu Project.
Flowchart
Documentation :
Fig.6-5:
6.4.3
Example
IndraWorks Commissioning In
structions
Instruction
Restoring data
Documentation
Data backup
Link
General
Description
Brief Description
Boundary conditions
The projected HMI data can be effective in the user interface only if they are
downloaded to the Runtime folder of the user interface.
The Runtime folder need be set only if the installation path of the target control
(emulation) differs from the installation path of the source control on which the
project was created.
40/53
Operation in IndraWorks
IW Engineering / HMI BTV 40: Open the Properties dialog box and make set
tings
Click the right mouse button on the node of the HMI device in the Project
Navigator.
Fig.6-6:
Select the Properties dialog box by clicking the left mouse button on
Properties. The dialog box for setting the properties for the HMI project
opens.
Fig.6-7:
Enter the path for the Runtime installation of the MTX (this is usually iden
tical to the installation path of the MTX).
41/53
Operation in IndraWorks
IW Engineering / Project: Activating an IndraWorks project
Fig.6-8:
6.4.4
Download the HMI project in the Runtime folder by pressing the Activate
command.
This IndraWorks project is displayed the next time that the MTX user in
terface is started.
General
Description
Brief Description
Among other things, the NC core data contains the the usrfep and the root files,
the machine data as well as the database tables for the system and tool data.
The data of the NC core is located in the IndraWorks project tree below the
device node IndraMotion MTX P60.
To restore the NC core data of a project, which has been created on a real
control, one first has to adapt the Properties of the IndraMotion MTX P60 and
then activate the NC core data in two steps.
With the right mouse key, click on the device node IndraMotion MTX
P60. The properties dialog box of the IndraMotion MTX P60 will open.
42/53
Operation in IndraWorks
Fig.6-9:
In the input field IP address, select the entry localhost and exit the di
alog box by pressing OK.
Start the IndraMotion MTX Emulation by executing the file emu.bat. The
file emu.bat is located in the following directory: ...\Program Files
\Rexroth\IndraWorks\mtx\emu\ (see also handling instruction Start-up of
the Emulation).
In the following dialog boxes, select the desired archive and, for the time
being, load only the data of the User FEPROM.
43/53
Operation in IndraWorks
Fig.6-10:
Fig.6-11:
Now, select and reload all NC core data, except for the already loaded
data of the user FEPROM.
Close the emulation and IndraWorks Engineering again and restart them.
The emulation is now working with the loaded NC core data.
44/53
Operation in IndraWorks
Any changed data (e.g. configuration parameter, tool data) will only
be effective if the emulation is ended by entering 14 in the DOS
window.
Exits IndraWorks.
2.
Exit the emulation in the DOS window by entering 14. The changed pa
rameters are saved on the computer by writing the files typ3ram.pxf and
t3usrfep.pxf on the PC and the changes become effective upon the next
startup of the emulation.
3.
Restart emulation.
4. Restart IndraWorks.
Via bootstrap which can be compared to the execution of startup of a real MTX
with startup mode 6, the RAM file system of control is created again.
A new root file system is created via bootstrap; as a result, all the
data of the old file system are lost. If an intact user FEPROM file
system exists, the PLC boot project and configuration data are loa
ded from there.
Bootstrap is necessary to apply for example the modifications on the tool da
tabase size as well as the structure of tool data records.
1.
2.
Exits IndraWorks.
3.
4.
5.
Restart emulation.
6. Restart IndraWorks.
Creating a user FEPROM file system which can be compared to execution of
startup mode 7 of real MTX is necessary if all project-specific data can be de
leted on a control or if the user FEPROM file system can is damaged.
The user FEPROM is created via creation of the user FEPROM file
system , but all the data of the old file system are lost. The root file
system remains. The permanent CPL variables will be deleted.
1.
Exits IndraWorks.
2.
3.
Delete the user FEPROM file system, i.e. delete the file ...\Program Files
\Rexroth\IndraWorks\mtx\emu\typ3ram.pxf.
4.
Restart emulation.
5.
Restart IndraWorks.
45/53
Operation in IndraWorks
6.4.5
General
Description
Brief Description
Highlight node IndraMotion MTX P90\Logic and use the right mouse
button to open the Properties dialog box.
Fig.6-12:
46/53
Operation in IndraWorks
Fig.6-13:
In the Properties dialog box (see above), open tab IndraLogic directo
ries and, if necessary, change the path information for the installation
paths of the emulation. Only one path entry may be made.
Fig.6-14:
In IndraWorks, click the right mouse button on node Logic and execute
command Update. The IndraLogic project is now set to Emulation and
can be started.
47/53
Operation in IndraWorks
Figure
Flowchart
Example
Documentation : IndraWorks System Description
Fig.6-15:
6.4.6
Instruction
Documentation
Working with projects
Link
General
Description
Brief Description
Boundary conditions
Emulation covers both the NC kernel and the PLC; these can be started and
stopped together. Windows application Sco.exe is provided for this purpose; its
functionality at runtime can be checked using a DOS window.
The emulation system must be restarted to, for example, transfer MACODA
changes or tool data configuration modifications.
Emulation must always be started before beginning work with IndraWorks
Engineering (project interface) and the IndraMotion MTX user interface.
You can see if emulation has started up without errors if the feedback is
the following screen.
Fig.6-16:
Starting emulation
Fig.6-17:
Instruction
Documentation
Starting emulation
Link
48/53
Operation in IndraWorks
Fig.6-18:
Stopping emulation
Modified data (e.g. machine parameters or tool data) are saved only
after emulation is exited by entering 14 in the DOS window.
Figure
Flowchart
Example
Documentation : IndraWorks Commissioning
Fig.6-19:
Instruction
Documentation
Stopping emulation
Link
Restart emulation.
Figure
Flowchart
Example
Documentation : IndraWorks Commissioning
Fig.6-20:
6.4.7
Instruction
Documentation
Restarting the Emulation System
Link
The MTX user interface is started for a real application. To do this, a link
(IndraWorks HMI) is placed on the desktop during the installation of MTX
Emulation.
49/53
Communication
Communication
7.1
OPC
The View3D 3D visualization system can access IndraMotion MTX process
data via OPC.
Data are exchanged with the IndraMotion MTX using OPC items, which are
provided by the IndraMotion MTX OPC server (OPC.Iw.SCP.1).
Queries are passed on internally to the OPC server using the Scalable Com
munication Platform (SCP), which is also used for communication with the
IndraMotion MTX user interface.
7.2
SCP
The SCP (Scalable Communication Platform) is the standardized IndraWorks
communication platform. All communication between Bosch Rexroth products,
such as Virtual Control Panel and the PLC, is carried out using SCP.
Data are exchanged between Virtual Control Panel and the PLC using SCP
items, which consist of the names of PLC variables, starting with PLC.Pvl,.PLC
variable name.
You can find additional information in the SCP documentation.
51/53
8.1
Helpdesk
Our service helpdesk at our headquarters in Lohr, Germany, will assist you with
all kinds of enquiries.
Contact us:
By Fax
+49 (0) 9352 40 49 41
8.2
By email: service.svc@boschrexroth.de
Service Hotline
Out of helpdesk hours please contact our German service department directly:
+49 (0) 171 333 88 26
or
+49 (0) 172 660 04 06
Hotline numbers for other countries can be found in the addresses of each
region (see below).
8.3
Internet
Additional notes regarding service, maintenance and training, as well as the
current addresses of our sales and service offices can be found on
http://www.boschrexroth.com
Outwith Germany please contact our sales/service office in your area first.
8.4
Helpful Information
For quick and efficient help please have the following information ready:
your phone / fax numbers and e-mail address so we can contact you in
case of questions
53/53
Index
Index
Symbols
3D visualization
Assignment list 24
Basic 3D visualization functions 37
Changing settings of the View3D model 38
Configuring the process connection 35
Connecting 3D objects with IndraMotion MTX ax
is values 35
Creating a simple 3D model 29
Establishing a connection to the control 37
Functions for manipulating 3D objects 21
Importing 3D models 33
Importing eM-RealNC models 29
Manipulating 3D objects 38
Model visualization 19
Object properties 22
OPC configuration 23
Opening, renaming and deleting 3D models 35
Properties of the View3D model 25
Scene tree 21
Wireframe representation 38
Behavioral simulation 1
Error messages 33
FEM 1
Handling instruction
Changing the offset for process values 36
Changing the scaling factor for process values
35
Controlling a View3D object using an
IndraMotion MTX process value 35
Determining the coordinates of a point in space
37
Importing a 3D model 33
Increasing the RAM file system memory of the
emulation 39
Moving a View3D object 38
Moving a View3D object in any direction in space
36
Projecting the HMI for MTX emulation 39
Restarting the emulation system 48
Restoring an existing project for MTX emulation
39
Inappropriate use 3
Intended Use
Applications 3
Cases of Application 3
Introduction 3
Key-operated switch 29
Language 19
Machine model 15
MBS 1
Non-Intended Use
Consequences, Exclusion of Liability 3
Project explorer 17
Quick-stop module 30
Virtual factory 1
Virtual machine 1
Virtual user panel
Contextual menu 32
Virtual User Panel 25
Notes
Bosch Rexroth AG
Electric Drives and Controls
P.O. Box 13 57
97803 Lohr, Germany
Bgm.-Dr.-Nebel-Str. 2
97816 Lohr, Germany
Phone +49 (0)93 52-40-50 60
Fax
+49 (0)93 52-40-49 41
service.svc@boschrexroth.de
www.boschrexroth.com
R911317008
Printed in Germany
DOK-IWORKS-SIMU****V01-AW03-EN-P