Ciros Advanced Mechatronics Manual 1
Ciros Advanced Mechatronics Manual 1
Ciros Advanced Mechatronics Manual 1
Advanced
Mechatronics
Manual
572761 EN
01/2010
Order No.: 572761
Status: 01/2010
Authors: Christine Lffler
Graphics: Doris Schwarzenberger
Layout: 01/2010, Beatrice Huber, Julia Saenscheidt
2
Contents
What is CIROS Advanced CIROS Advanced Mechatronics is an application from the CIROS
Mechatronics? Automation Suite.
CIROS Advanced Mechatronics is a PC based graphic 3D simulation
system for distributed automation systems. These systems consist of
different, internetworked, intelligent stations. The distributed systems
represent automation processes of varying complexity.
In the documentation and software, these systems are also referred to
as process models or workcells.
The simulated systems are also available as actual systems. With these
you can successfully apply and consolidate the knowledge gained on
the virtual automation systems using actual systems.
In addition to the ready-made process models, CIROS Advanced
Mechatronics also offers you the option of simulating process models of
your own design. You can create and modify process models using
CIROS Professional, which is a further application available from the
CIROS Automation Suite.
Structure of the manual The manual is divided into the following subject areas:
Chapter 2 contains information and instructions regarding the
installation and licencing of CIROS Advanced Mechatronics.
Chapters 3 and 4 describe the system and the main operational
functions of CIROS Advanced Mechatronics.
Chapter 5 deals with the didactic aspects and lists the training
contents taught with CIROS Advanced Mechatronics. It further
represents the training concept and the resulting possibilities for
use in lessons.
Chapters 6 and 7 describe actual problems in relation to the training
contents, methodological procedures towards solutions and
implementation in CIROS Advanced Mechatronics.
Conventions Specific notation is used for texts and key combinations and key
sequences to help you find information more easily.
Notation Meaning
Bold This format is used for command names, menu names, dialog box names,
directory names and command options.
Key1+key2 A plus symbol (+) between the key names means that the keys quoted must
be pressed simultaneously.
Key1key2 A minus symbol (-) between the key names means that the keys quoted must
be pressed in sequence.
Additional support Further descriptions and support is available via the online Help. The
online Help consists of:
CIROS Help for operation and
CIROS Advanced Mechatronics Assistant.
The menu of the online Help provides functions that you are already
familiar with from a standard Internet browser. These include: Next and
Back, Select Home Page, Print Selected Topics, Show/Hide the
Navigation bar or Set Options for Internet Connection.
Moreover, via extension registers such as Content, Search, Favourites,
you also have the option of conveniently navigating through the
information in CIROS Advanced Mechatronics Help.
Our telephone hotline is available at any time, should you have any
queries during the installation or operation of CIROS Advanced
Mechatronics.
If you wish to modify one or several sample PLC programs, then the PLC
programs must be installed in an additional subdirectory specified by
you, where you can effect your changes. You can then download the
modified programs to the appropriate station of your system and
execute these. You can of course also download the modified PLC
programs to an external PLC, in which case the respective station of the
system using an external PLC.
You can also copy the user models into a folder other than into the
standard preset folder. You will find the information for this in CIROS
Advanced Mechatronics Assistant.
For the user modells created with the help of CIROS Advanced
Mechatronics Assistant the following directory structure is created:
OPC-Client
EzOPC (OPC-Server)
External
PLC
In order to ensure that the stations of the system interact correctly, they
need to exchange information.
The default communication links used between the stations are
established automatically.
In the next step you can establish or change the communication links
yourself and make the necessary adjustments in the PLC programs.
A further focal point is the creation of your own PLC programs for
individual stations. These PLC programs are downloaded to an external
PLC and CIROS Advanced Mechatronics exchanges the input/output
signals with the external PLC via the OPC interface.
3.2 Systems can be created from one or several stations. Each station
A distributed system in represents an "intelligent unit", which independently executes specific
CIROS Advanced machine functions.
Mechatronics An "intelligent unit" consists of a station, a predefined sequence with
predefined communication interface, a PLC program, an internal PLC
and an optional robot program. The predefined sequence of the PLC
controlled stations can of course be modified by the user.
Two types of system can be created from the stations listed above:
MPS Standard systems,
MPS 500-FMS systems.
Note A system can also be configured of only one station. This enables you to
teach all the training contents for which only one individual station is
required.
If changes are made in the communication link, you need to make sure
that the PLC programs of the respective stations make available the
communication information accordingly and conversely also evaluate it
again.
Processing station
Handling station
Storing station
Testing station
Buffer station
Robot station
Sorting station
Separating station
Distributing station
When you start the simulation of a system, the internal PLC executes the
sample PLC program forming part of the station. This enables you to
familiarise yourself with the running of a system immediately after
modelling in the simulation.
Detailed information regarding the functional scope of the internal PLC
can be found on the CIROS online Help.
3.6 If you are creating and testing your own PLC programs for the individual
Controlling a station with stations of a system, we recommend that you download the programs
external PLC to an external PLC and execute them from this. The advantage of this is
that you can use the PLC and the programming system of your choice.
Also, the testing and diagnostic functions provided by the programming
system are thereby available to you in the PLC program for fault finding.
This includes the status display of PLC input/outputs and variables, the
online display of the PLC program and also the read-out of machine
statuses.
You do not need any additional hardware components if you use the
Soft-PLC S7-PLCSIM or CoDeSys SP PLCWinNT as external PLC.
If you use a hardware PLC as external PLC, you will need EasyPort and
the data cable for the exchange of input/output signals. EasyPort
transmits the input/output signals of the PLC to the OPC server EzOPC
via the serial or USB interface of the PC. The OPC server passes on the
data to the selected station during the system simulation and,
conversely, the statuses of the sensors and actuators of the
corresponding station are communicated to the external PLC.
EasyPort
PLC
The task for trainees is to identify and describe the fault occurring
during system operation and to subsequently determine the cause of
the fault. The trainees enter the suspected fault in the dialog box for
error elimination.
If the fault has been correctly identified, the system then operates
correctly. The entries in the dialog box for fault elimination are logged
and can be viewed by trainers and teachers.
LEDs on the sensors and valves indicate the electrical status of the
process components.
LEDs on the PLC inputs and outputs on the control console indicate
the status of the communication realised via these inputs and
outputs.
If compressed air is applied to a cylinder connection, then the
connection is highlighted in blue. The compressed air tubing itself is
not simulated.
The statuses of the PLC inputs/outputs are shown in separate
windows.
A Manual Operation window provides an overview of all process
statuses and process activities.
In the Manual Operation window you can also display the
communication links between two selected stations.
If you want to execute the sequence step-by-step, then use the Manual
Operation window as tool for control. By setting stops, you can stop the
process at defined points.
If a PLC program is not active during system simulation, you can use the
Manual Operation window to activate individual process activities,
whereby you can for example control the movement of a cylinder or the
switching on or off of an electric motor.
3.9 Here you obtain information about the directory and file structure of
Directory and file CIROS Advanced Mechatronics.
structure of CIROS This information is useful if,
Advanced Mechatronics You want to make available the model of a system to other users,
You want to modify the sample PLC programs for the individual
stations of a system.
Directory structure The following directory structure is created if you install CIROS
following the installation Advanced Mechatronics with the default settings offered.
of CIROS Advanced
Mechatronics
Programs
. . . ciros advanced mechatronics.en
bin
FD_PLC_ADV
...
...
MB4
S7
313c___1 PLC programs for
MPS 500-FMS stations
Samples
...
Models
MPS500-FMS51 MPS 501-FMS system
Model Workcell for
MPS 501-MPS system
Programs PLC program for
MPS 501-FMS system
MPS500-FMS57 MPS 507-FMS system
MPS System MPS Standard system
with separating with separating station
Multi-Bit-IO
MPS VE-PR MPS Standard system with
distributing and testing stations
(multi bit communication)
Model
Programs
One-Bit-IO
MPS VE-PR MPS Standard system with
distributing and testing stations
(one bit communication)
MPS VE-PR-SO MPS Standard system with
distributing, testing and
sorting stations
(one bit communication)
The S7 project with the sample PLC programs for the individual stations
is stored in the directory S7. These original PLC programs must not be
modified! The same applies to S7 programs and process models in the
folder Samples.
Project structure for the The example of a system is used to show what files form part of a
modelled systems modelled system and what information is stored in these files. A system
is also known as a process model or workcell. All files which are part of
the graphic representation of the system are filed in the user-defined
subdirectory.
File Description
*.bmp Various bitmap files required for the graphic display of the system. The
bitmap files required are dependent on which stations are used in the
system.
A system also includes PLC programs, which are executed either via an
internal or external PLC. These PLC programs control the running of
individual system stations. The file *.ini includes a reference to the
memory location of the PLC programs.
You need to keep this in mind if you want to copy a system you have
modelled yourself to another PC and simulate from there.
If you want to copy the process model of a system, the best way to
proceed is as follows:
Select all the files forming part of the system. These are all the files,
which have the name of the respective system and all the bitmap
files.
Copy the selected file to a subdirectory of the desired PC. The
subdirectory on the target PC must have the same name and the
same path as on your PC.
If the station is operated using the sample PLC programs, make sure
that the sample PLC programs on the new PC are stored in the same
path as on your PC. If this is not the case, start CIROS Advanced
Mechatronics on the new PC and download the copied process
model. Then download the desired PLC program from the relevant
directory on the new PC to the internal PLC of the individual system
stations. By downloading the PLC programs, the reference in the ini
file to the memory location of the PLC programs is automatically
corrected. The system can now be simulated.
If one or several stations of the system are controlled via your own
created PLC programs, then these programs must also be available
on the new PC. The PLC program must be downloaded to the
corresponding system stations on the new PC.
Note To enable you to create a wide range of different system, the library has
been extended with the addition of new station models. The new
standards regarding circuit diagram design are taken into consideration
in the PLC programs and circuit diagrams. "Old" and "new" standards
differ with regard to the designations of valve coils, pushbuttons and
switches as well as indicator lights.
4.1 The stations models for the configuration of a system are available in
Creating a new MPS two libraries:
Standard system from MPS stations library,
preassembled station MPS 500-FMS library.
models
If you want to model a new MPS Standard system, then use the models
from the MPS stations library.
Station models for an MPS Standard system are arranged directly next
to one another.
The alignment and connection of models is effected in a simple way via
specified coupling points on the models. The automatic alignment
ensures that the StationLink sensors of neighbouring stations are also
correctly positioned. The StationLink sensors are optical sensors which
transmit the communication signal.
Note A system can also be configured of just one station, whereby you can
teach all the training contents in CIROS Advanced Mechatronics for
which only a single station is required.
Handling adjusted
combine your
MPS Standard
for termination
Distributing
stations
Testing
Buffer
Distributing Standard
Distributing adjusted
for testing
Testing
Processing
Buffer
Separating
Storing Stock up
Robot
Robot assembly
Sorting
combine your
Storing Stock up
Robot assembly
stations
Separating
Sorting
Robot
Distributing Standard
Distributing adjusted
for testing
Testing
Processing
Buffer
Separating
Storing Stock up
Robot
Robot assembly
Sorting
Two sequences are available for the storing station: The station can
stock up or take our workpieces. Each sequence is realised via a
separate PLC program. If the station is at the beginning of the material
flow it thus forms the first station of a system consequently
workpieces are taken out. In this case you will require the variant
Storing Station Take out. If the storing station forms the end of a
system, then you use the variant Storing Station Stock up.
The operation of the system with the prepared PLC programs can only
be simulated fault-free if a system is correctly assembled.
2. Activate the command New in the File menu. Click onto MPS
System.
The window Create MPS System is now displayed.
3. Select a directory as memory location for the new system and enter
the file name. Under file type, select CIROS Workcells (*.mod).
Then click onto Save.
8. If the representation of the station is too small, you can change this
using the commands in the View menu.
9. Make sure that the Edit Mode is selected. You can establish this by
the check mark next to the Edit Mode command in the Modeling
menu. Now add the testing station as an additional station.
10. All stations are added at the same position in the workspace. Move
the newly added testing station, by highlighting the testing station
and, by holding down the left mouse button, moving the mouse
pointer to the desired position.
11. The two models are next to one another, but are not yet connected.
In order to ensure that the operating and transfer points coincide
during the production run of the system, the station models must be
appropriately aligned and connected.
12. Now align the testing station model with the distributing station
model.
To do so, click onto the lower, grey shaded coupling point of the
testing station. Hold down the left mouse button and drag the
coupling point to the coupling point of the distributing station.
The testing station is now connected to the distributing station.
13. Add the sorting station as the last station. This station is also shown
at the predefined position in the activity window.
14. Click onto the newly added, still highlighted station and move it up
next to the testing station.
15. Connect the sorting station model with the upper free coupling
point of the testing station model.
To do so, click onto the grey shaded coupling point of the sorting
station. Hold down the left mouse button and drag the coupling
point to the free coupling point of the testing station.
The highlighting of the model is cancelled as soon as you click
outside of the station model.
Exit the edit mode as soon as your system is configured. Change to the
view mode to obtain a realistic 3D representation of the system.
Note Once you have created or modified a system, a Save prompt will be
displayed when you close the process model.
If you want to save the changes, answer the prompt with Yes or answer
with No if you want to discard the changes.
4.2 The station models to configure a system are available in two libraries:
Creating an MPS 500- MPS Stations library,
FMS system from MPS 500-FMS library.
preassembled station
models If you want to model an MPS 500-FMS system, then use the station
models from the MPS 500-FMS library.
S HL RM
Small parts store
Presorting
HH
P H VI
V B
The positioning and alignment of the models is effected simply via the
specified coupling points on the models.
In the case of MPS 500-FMS systems, the station models are aligned
with the transport system model and connected to it. The connection or
coupling points correspond to the stopper positions of the transport
system. As a result of establishing the connections, the default
communication links used are also simultaneously established.
2. Activate the New command in the File menu. Click onto MPS
System.
The Create MPS System window is now displayed.
3. Select a directory to store the new system. Enter the file name.
Under file type, select CIROS Workcells (*.mod). Then click onto
the Save button.
6. First, insert the transport system model from the MPS 500-FMS
library by clicking onto Transport System. A preview then displays
the model. Now click onto the Add button.
Alternatively, you can add a model by clicking onto the
corresponding model entry.
The system now consists of the model of the transport system,
which is shown in green as it is still highlighted.
8. Move the transport system model into the centre of the workspace.
To do so, highlight the model via a mouse click. Then drag the
mouse pointer to the desired position by holding the left mouse
button down.
10. All stations are added at the same position in the workspace. Move
the newly added product input station combination. The operating
position for product input is at the bottom left of the transport
system.
11. The two models are next to one another, but are not yet connected.
To ensure that the operating and transfer points coincide during the
production run of the system, the models must be appropriately
aligned and connected.
12. Now align the model for product input with the transport system
model by clicking onto the grey shaded connecting point of the
stations for product input. Hold down the left mouse button and
drag the connecting point onto the connecting point of the transport
system.
The station combination for product input is now connected to the
transport system.
13. Next enter the station combination for the processing sequence by
double clicking onto Processing in the MPS 500-FMS library. This
station combination is also shown at the predefined position in the
activity window.
14. Connect the newly added, still highlighted model to the lower
middle connecting point of the transport system model by
clicking onto the grey shaded coupling point of the highlighted
processing model. By holding down the left mouse button drag the
coupling point to the lower, middle coupling point of the transport
system model.
15. Finally, add the model for product output. Again, this model is
shown at the predefined position in the activity window.
16. Move the newly added product output station combination. The
operating position for product output is at the top left of the
transport system.
17. Connect the product output model to the top left connecting point of
the transport system.
The highlighting of the model is cancelled as soon as you click
outside of the station model.
18. The system is created. The default communication links used have
been automatically established during modelling of the system.
19. Now exit the Edit Mode and change to the View Mode to obtain a
realistic 3D representation of the system.
3. Close the Model Libraries window. This will give you more space for
the system representation.
The system is created and correctly connected. You can now simulate
system product straight away.
Note If you have newly created or modified the process model of a system, a
save prompt will be displayed when you close the process model.
If you want to save the changes, then answer the prompt with Yes, or
answer the prompt with No, if you want to discard the changes.
4.3 You can modify the model of a system and for example add further
Modifying an existing stations. How you proceed for this and what you need to observe
system depends on what communication links are to be used within the system.
In MPS Standard systems, optical sensors are used as standard to
effect communication.
If the stations of an MPS Standard system are correctly positioned
and connected, using the connecting points, then the
communication links are automatically established by means of this
process.
If you change an MPS Standard system for which you have realised
multi-bit communication via I/O connection, then the
communication links must be re-established.
If you only use the default communication links prepared and want
to establish these, then activate the command Create
Communication Links in the Modeling menu.
All other communication links are to be established in the Manual
Operation window.
Multi-bit communication via I/O connection is available as standard
in MPS 500-FMS systems.
When modelling, or also modifying such a system, the
communication links are set up automatically.
However, if you modify an MPS 500-FMS system where you are not
using the prepared default communication links, you need to set up
the communication links yourself after modelling. User-defined
communication links are set-up in the Manual Operation window.
Note You will need the Object Properties function if you use a station in a
system several times and wish to identify the individual stations. You
identify a station by its name.
Example: If you are using the buffer station twice in your system, the
name of the station added first is Buffer and the name of the
subsequently added buffer station is Buffer_1.
7. If you now wish to add another station to your system, change to the
top view representation in View by activating the Standard
Views/Top View command in the View menu.
9. Make sure that edit mode is selected. You can establish this by the
check mark next to the command Edit Mode in the Modeling menu.
10. Now open the model libraries by activating the Model Libraries
command in the Modeling menu.
11. In the case of the sample system, this is an MPS Standard system.
For modifications to the system, you will need the stations of the
MPS Stations library. Open the library by clicking onto the +
symbol in front of MPS Stations library.
12. Carry out your modifications to the system. If you want to expand
the system by adding assembly functions, then add for example the
Pick & Place and Fluidic Muscle Press stations between the sorting
and testing stations.
13. To add the desired stations, highlight the sorting station and move
it up.
14. Now insert the Pick & Place station by double clicking the library
entry Pick & Place Station.
15. Position the added station next to the testing station by clicking
onto the highlighted Pick & Place station and move the mouse
pointer to the desired position by holding down the left mouse
button.
16. Connect the new Pick & Place station to the testing station by
clicking onto the bottom, grey shaded coupling point of the Pick &
Place station. Drag the coupling point to the coupling point of the
testing station by holding down the left mouse button.
The testing and Pick & Place stations are now interconnected.
17. Use the same method to add the Fluidic Muscle Press station.
Connect this station to the Pick & Place station.
18. Finally, connect the sorting station to the Fluidic Muscle Press
station.
To do so, highlight the sorting station. Then drag the coupling point
of this station to the unoccupied coupling point of the Fluidic
Muscle Press station whilst holding the left mouse button.
19. The changes to the system are completed. The communication links,
realised via the optical StationLink sensors, are automatically set up
via the correct positioning and connection of the stations.
Close the library and change to the view mode to obtain a realistic
3D display of the system.
20. Deactivate edit mode in the Modeling menu by clicking onto the
Edit Mode command. The check mark next to Edit Mode disappears.
21. To obtain a perspective view of the 3D model, select for example the
Standard Views/Default Settings command in the View menu. By
using the commands under View you can move, rotate or zoom to
obtain an appropriate view of your system.
22. Save the modified status of the system by activating Save in the File
menu if you want to keep the current file name. Select the Save as
command if you want to save the system under a new name.
Note In the same way as you can expand a system by adding new stations
you can also remove existing stations of a system, whereby you proceed
as follows:
Highlight the respective station. Open the context-sensitive menu via
the right mouse button, where you activate the Remove command. The
station highlighted is removed.
MPS Standard systems In an MPS Standard systems, communication takes place in the
form of 1-bit connection via optical sensors as standard. As soon as
the stations of a system are correctly positioned and connected with
the help of the coupling points, the optical sensors are also correctly
positioned to transmit communication signals. The prerequisites for
error-free transmission of communication information are therefore
in place.
The absolute addresses of the PLC inputs and outputs of a station
connected to the optical sensors can be found in the allocation list
of the sample PLC program. You will find the technical
documentation and information regarding the sample PLC program
in the CIROS Advanced Mechatronics Assistant.
To open the CIROS Advanced Mechatronics Assistant, activate the
Examples and Models of CIROS Advanced Mechatronics
command in the Help menu.
If you have expanded the 1-bit communication in a MPS Standard
system to multi-bit communication via I/O connection, then you will
need to create the additionally required communication links in the
virtual system.
Only if these communication links have been set up, can the
information exchange between the system stations take place
during simulation.
Different PLC inputs and outputs are available for the transmission
of communication information.
To enable you to work with a networked system promptly, the
communication links between the stations are already prepared.
You can establish these at the click of a button (Modeling/I/O
Configuration/Create Communication Links), whereby specific PLC
outputs of a station are connected to specific PLC inputs of
neighbouring stations. Conversely, a number of PLC inputs of a
station are of course also connected with PLC outputs of
neighbouring stations.
You can see all I/O communication links set up for an MPS system
in the Manual Operation window.
Control I4 Q6 I4 Q6 I4 Q6
console I5 Q7 I5 Q7 I5 Q7
Q4 I6 Q4 I6 Q4 I6
Q5 I7 Q5 I7 Q5 I7
The tables below list the allocation of the symbolic PLC addresses used
for communication to the absolute PLC addresses.
IP_N_FO Q0.7
Allocation of symbolic PLC addresses to the absolute PLC addresses for a number of MPS Standard
stations
Control I4 Q6 I4 ST1_OUT0
console I5 Q7 I5 ST1_OUT1
I6 ST1_OUT2
I7 ST1_OUT3
Q4 I6 Q4 ST1_IN0
Q5 I7 Q5 ST1_IN1
Q6 ST1_IN2
Q7 ST1_IN3
The prepared default communication links for a small MPS 500-FMS system; only working position 1 of the
transport system is allocated
The tables show the allocation of the symbolic PLC addresses used for
communication to the absolute PLC addresses.
IP_N_FO Q0.7
Allocation of symbolic PLC addresses to the absolute PLC addresses for a number of MPS 500-FMS stations
Note The transport system station has the communication interface shown
for each of the six working positions. The name of the communication
variable includes a reference to the working position for the purpose of
differentiation. The working position is identical to the stopper position.
The communication variable for working position 2, i.e. the processing
working position, starts with ST2_. These variables do of course have a
different absolute address than the variable starting with ST1_.
You will find the complete list of the communication variables of the
transport system station in CIROS Advanced Mechatronics Assistant.
Display of communication Communication links are created and displayed in the Manual
links Operation window.
The righthand part of the window shows the process activities. These
are the variables which adjust the simulation of the process model. The
user cannot change the value of these variables. Examples of process
activities are sensor signals or also the values of communication
outputs.
The signal flow of a communication links runs from right to left. You can
see this by the orientation of the arrow at the end of the links.
1. Make sure that the desired MPS is loaded. The example selected
shows an MPS 500-FMS system. This system consists of a
transport system, the distributing and testing stations in the form of
product input and the handling and sorting stations in the form of
product output.
7. You can now simulate the running of the prepared PLC programs.
1. Make sure that the desired MPS system is loaded. The selected
example shows an MPS 500-FMS system. The system consist of a
transport system, the distributing and testing stations in the form of
product input and the handling and sorting stations as product
output.
11. Proceed in the same way if you require further communication links
between the stations of your system.
4. Click onto the entry, whose connection you want to delete. In this
exampIe, this is the I4 Communication entry of the testing station.
If you want to see the communication output with which
14 Communication is connected, then scroll down in the righthand
section of the window until the connection is fully displayed.
4.5 The production run of the system can be simulated as soon as a system
Simulating a system is modelled and the necessary communication links are set up.
Note The user can disconnect the connection between station models and
PLC selectively in order to manually control individual process
components.
The status bar informs you regarding the operating status of the
system:
Note In CIROS Advanced Mechatronics the two simulation modes Cycle and
Running are identical.
1. Make sure that the system is in the initial position by executing the
Reset Workcell command in the Simulation menu.
2. Activate the Start command in the Simulation menu.
The simulation is active. You can identify the simulation mode in the
status line via the Running entry.
Alternatively you can also activate simulation via the Start Cycle
menu entry or via the Stopped button in the status bar.
4.6 If system simulation is active, you can operate each station controlled
Operating and monitoring via the sample PLC program using the pushbuttons and switches of the
a system corresponding control console. You can identify the status of simulation
on the status bar.
Process module
Control console of MPS Standard station Control console of transport system station
I4
I5
Start Stop
Q4
Reset Auto/Man
Q5
GND
Q1 Q2
I/O
Blue
Black
Red
Metal
Blue
Black
Red
Metal
1. Make sure that the system is in the initial position and that there are
no workpiece on the stations. You realise this by activating the
Reset Workcell command in the Simulation menu.
4. Carry out the reset function for each station by clicking onto the
Reset button. We recommend that you carry out the resetting of the
individual stations against the material flow.
Note Not every workpiece is suitable for every station. If you have selected a
workpiece which cannot be processed by a station, this workpiece
cannot not be generated for the station.
8. Start the sequence of each station by clicking onto the Start button.
This starts the automatic mode of the station. We recommend that
you start the stations in the sequence in which they are arranged in
the material flow.
9. With the key actuator you can choose between continuous cycle
(switch position vertical) and individual cycle (switch position
horizontal) for the sequence of a station.
10. You can interrupt the sequence of a station at any time by pressing
the STOP button. If you want to restart the station, you need to carry
out the Reset function beforehand.
If a station is controlled via a PLC program you have created, then you
will know how the running and operation of the station are defined.
If a station is not controlled via a PLC program, you can selectively
trigger the process actuators manually. You will need the manual
operation window functions for this.
Note Slides filled with workpieces, which result in the production process
stopping, can be emptied via appropriate commands in the manual
operation window.
1. Make sure that the system is in the initial position and that there are
no workpieces on the stations. This applies in particular to the
pallets of the transport system station, the storage slots of the
automated warehouse station and the slides of the sorting station.
Remove all workpieces by activating the Reset Workcell command
in the Simulation menu.
6. Carry out the reset function for the stations mentioned by clicking
onto the Reset button.
10. The illuminated Start button on the MPS stations indicates that
the corresponding stations are in the initial position and that the
start precondition is fulfilled.
11. As soon as you have filled the magazine of the distributing station
with workpieces, i.e. with basic cylinder bodies, the start
precondition for this station is also fulfilled. The Start button is
illuminated.
12. Fill the magazine by clicking onto the desired workpiece on the
workpiece table. The selected workpiece, a red basic cylinder body,
is shown depressed.
Then click onto the symbolic workpiece on the distributing station.
With each mouse click the magazine is filled with the workpiece
selected.
13. Start the sequence of each station by clicking onto the Start button.
14. With the AUTO/MAN key actuator you can choose between
continuous cycle (switching position vertical) and individual cycle
(switching position horizontal) for the sequence of a station.
15. You can interrupt the sequence of a station at any time by pressing
the STOP button. If you want to restart the station, you need to carry
out the Reset function beforehand.
Note regarding the The automated warehouse station only participates actively in the
automated warehouse production process if product output for the process is not or is no
station longer available for the process.
Note regarding the quality The quality assurance station identifies the housing for a measuring
assurance station instrument as a reject part. The station passes on this information to the
transport system station and the transport system station passes on the
information to the robot assembly station. The robot then rejects the
transferred reject part.
Note If a station is controlled via a PLC program you have created, you will
know how the running and operation of the station is defined.
If the station is not controlled via a PLC, you selectively trigger the
process actuators manually. You will need the functions of the
Manual Operation window for this.
Slides filled with workpieces and which result in the production
process stopping, can be emptied using appropriate commands in
the Manual Operation window.
LEDs on the sensors and valves indicate the electrical status of the
process components.
The LEDs on the inputs/outputs on the control console, provided for
the I/O connection, indicate the status of the communication
signals.
If air is applied at a cylinder connection, the connection is
highlighted in blue.
The pneumatic tubing itself is not shown.
In the windows Inputs and Outputs you can identify the status of the
PLC signals for the station selected.
The Manual Operation window provides you with an overview of all
process statuses and process activities of the system and also
displays all the communication links.
The designation of a component is shown by clicking onto the
connection or the LED of a process component. This designation is
identical to the designation in the circuit diagram.
One exception is the designations of the supply ports. These form
part of the valves which supply the supply port with air.
Note You can also display additional information regarding the sensors. The
settings for this are effected in model explorer.
Activate the command Model Explorer in the Modeling menu.
A tree structure is displayed.
Click onto the top entry. In the case of an MPS 500-FMS system,
the entry is MPS 500.
Now activate the context-sensitive menu via the right mouse button
and select the Properties command.
The window Properties for workcell is displayed.
Activate the Sensor Simulation register.
In the Visualisation section click onto the two check boxes for the
entries Show Measuring Range and Show Measured Value(s). Both
boxes are now shown with a tick.
4.7 You can freely adjust the perspective view of a modeled system. With a
Changing the view of a few central commands you can rotate, move, enlarge or minimize the
system representation of the process model.
Reference point
Turn Angle
Z
You can also activate the Move command by holding down the Shift key
and then pressing the left mouse button.
You can also activate the Rotate command by holding down the Ctrl key
and then pressing the left mouse button.
To tilt the system in any direction, hold down the Alt key and left mouse
button and move the mouse.
You can also activate the Zoom command by holding down the key
combination Shift+Ctrl and then pressing the left mouse button.
If you have a mouse with a scroll wheel, you can easily enlarge or
minimise the system view by using the scroll wheel.
Activate the Zoom-Out command in the View menu. The picture is now
reduced to 80%.
4.8 The Inputs and Outputs windows show which signals are applied at the
The Inputs and Outputs inputs and outputs of the PLC for the selected station. 0 signals are
windows shown in red and 1 signals in green. If the input or output signal is
forced, the value is shown in angle brackets, e.g. <1>.
2. Select the station whose PLC inputs you wish to observe. To do so,
click onto the Controller Selection in the Programming menu. Select
the desired PLC in the Current column via a mouse click.
Note The Controller Selection window displays all the stations of the
modelled system which have their own internal controller. The
controllers are switched to active by default. If system simulation is
started, for example via the Start command in the Simulation menu,
then the PLC programs of the active controllers are started in
sequence4. If system simulation is stopped, the execution of the PLC
programs in the active controllers is also stopped. The status as to
whether or not a PLC is operating is shown in the Start/Stop column.
So that you know which process signal it is, the signal names include
the relevant designations from the circuit diagrams.
Example: STATION_1B2: The PLC input which is connected to sensor
1B2.
2. Select the stations whose PLC you wish to observe by clicking onto
the Controller Selection command in the Programming menu.
Select the desired PLC in the Current column.
Note The Controller Selection window displays all the stations of the
modelled system which have their own internal controller. The
controllers are switched as active by default. If simulation of the system
is started, for example via the Start command in the Simulation menu,
the PLC programs of the active controllers are started in sequence. If
system simulation is stopped, then the execution of the PLC programs is
also stopped in the active controllers. The status as to whether or not a
PLC is operating is displayed in the Start/Stop column.
So that you know which process signal it is the signal names include the
relevant designation from the circuit diagrams.
Example: STATION_1M1: The PLC output which is connected to valve
coil 1M1.
You can monitor all process activities in the righthand section of the
window.
The process statuses include status of sensors, valve coils and
communication outputs. Here, 1 signals are indicated by a green
illuminated LED.
Process statuses are variables that are set and correspondingly
displayed by the process model simulation. The user cannot change the
value of these variables.
The status of signals is also shown in the Value column. If the signal is
forced, the value is shown in angled brackets.
You can show or hide the display of the Value column. You will find the
relevant command in the context-sensitive menu via the right mouse
button.
The signal flow of a communication link runs from right to left. You can
see this by the orientation of the arrows at the connection ends.
Additional information I/O connections are connections between the inputs and outputs of the
regarding the I/O system.
connections
Differentiation should be made between
PLC inputs and outputs on the controller side,
Process inputs and outputs on the process side.
PLC outputs, for example the signal for a valve coil, are input signals for
the process.
Conversely the process generates output signals, for example sensor
signals, which are then connected to a PLC input.
Symbol Meaning
Important You may only delete those I/O connections, which you have created
yourself as communication links. Otherwise it may no longer be
possible to simulate the system correctly.
1. Make sure that the desired system is loaded. The example selected
shows an MPS Standard system, which is made up of the
distributing, testing and sorting stations.
Note You can show or hide the middle section of the Manual Operation
window headed I/O Connections as required. To do so, activate or
deactivate the Show I/O Connections command in the context-sensitive
menu via the right mouse button.
Note You can of course also disconnect the controller from just one station.
To do so, highlight the required station in the Process Activity section of
the Manual Operation window. Then open the context-sensitive menu
via the right mouse button and select the Disconnect Selected
Controllers command.
7. To control the system via the PLC programs in the controllers again,
move the mouse pointer into the left section of the Manual
Operation window to the Process Activities. Open the context-
sensitive menu via the right mouse button and select the Restore
I/O Connections command.
Notes The execution of the Reset Workcell command in the Simulation menu
also causes the inputs/outputs of the system to be reconnected to the
inputs/outputs of the controllers.
2. Start the system simulation and make sure that the system is
controlled via the PLC programs.
Open the Controller Selection window if the system is controlled via
the sample PLC programs of the individual stations. To do so, click
onto the Controller Selection command in the Programming menu.
By the symbol of the green arrowhead in the Start/Stop column you
will see that all three controllers of the system shown are operating
and the PLC programs are being executed in the controllers.
8. If you want to delete the stop, click onto the line with the stop point
with the right mouse button. Open the context-sensitive menu via
the right mouse button and select the command Stop at Value
Change. This command is realised in the form of a toggle function.
The stop is removed. Alternatively you can also select the Delete All
Stops command.
Note that you can also set stop at the signals in the Process Status
section of the window.
2. Start simulation of the system and make sure that the system is
controlled via PLC programs. You can establish the operational
status of the individual controllers in the Controller Selection
window.
9. Open the context-sensitive menu via the right mouse button if you
want to remove the stops again. Select the Delete All Stops entry,
doing so for both window sections.
A sample PLC program for S7-300 is available for each station. When
you load a station from the library, the sample PLC program is
automatically loaded to the internal PLC of the respective station. Once
simulation of the system is started the internal PLC executes the S
program. You can of course also download a different S7 program to the
internal PLC of a station. If doing so, you need to keep in mind the
following: Only complete project files with the file extension S7P can be
loaded. The projects must have been created with the SIMATIC Manager
and conform to the Siemens MC7 code at the binary level. This is the
case with all STEP-7 programs created in LDR, FCH, STL or GRAPH.
1. Load the desired MPS system. The sample selected displays an MPS
Standard system. The system is made up of the distributing, testing
and sorting stations.
Note If you have modified the PLC program for a station in the corresponding
internal PLC, the modified PLC program will of course be executed once
simulation is started.
3. Select the station whose PLC program you want to modify. The PLC
program is to be executed by the internal PLC.
To do so, activate the Controller Selection command in the
Programming menu. In the Controller Selection window click on to
the required station in the Currentcolumn.
4. Select the Open command in the File menu to open the Open File
window.
Note Another option is also available for loading PLC programs to the internal
PLC of station.
4. The just loaded PLC program for each internal PLC is shown in a
clearly set out tree structure.
Click onto the + symbol in front of the station whose PLC program
you want to change. In the exampIe the testing station has been
selected. Highlight the Program entry.
5. Open the context-sensitive menu via the right mouse button and
select the Load command.
The required PLC program is loaded. You can now simulate the
operation of the system.
3. A clearly set out tree structure shows the just loaded PLC program
for each internal PLC.
4. Click onto the + symbol to display the name and structure of the PLC
program.
The PLC program can consist of the following modules: Organisation
modules, data modules, functions and system functions.
5. Click onto the + symbol again to display the modules of the PLC
programs.
You can view the contents of the module by double clicking onto a
module.
This is how the sample PLC programs are filed on the computer
1. Select the Open command in the File menu. The Open File window is
now displayed.
2. Select S7 Project (*.S7P) under file type.
All the files of this format available in the active directory are
displayed.
3. Navigate into the directory in which you have installed the Software
package CIROS Advanced Mechatronics software package. From
there change to the directory \CIROS Advanced
Mechatronics\bin\FD_PLC_ADV\S7 where four subdirectories are
shown.
The directory MPSC_V22 contains the S7 project mpsc_v22.s7p,
where you will find the sample PLC programs for all MPS
Standard stations.
The directory FMS50__1 contains the sample PLC programs for
the transport system of MPS 500-FMS systems.
The directory 313C__1 contains the sample PLC programs for the
individual stations of MPS 500-FMS systems.
The directory Store contains the sample PLC programs for the
automated warehouse station.
The program name provides information about the PLC program and the
station model to which it belongs:
The initial digit corresponds to the station number.
The two letters after the first digit indicate the station:
VE: Distributing station
PR: Testing station
BE: Processing station
HA: Handling station
PU: Buffer station
MO: Assembly station
SO: Sorting station
PP: Pick&Place station
FM: Fluidic Muscle Press station
TR: Separating station
LA: Storage station
The letters starting with underscore indicate the programming
language of the PLC program:
AS: The programming language GRAPH,
KFA: The programming languages LDR, FCH and STL,
The internal PLC supports to a large extent the command set of the S7-
400 controllers, whereby the programs can be created in ladder
diagram, function chart, statement list or in the form of graphic
sequence control.
Note You must never modify the sample PLC programs shown here because
these are the standard default programs required for the simulation of
an MPS system.
If you want to make changes to the PLC programs, then install these a
second time using the specially provided installation command of
CIROS Advanced Mechatronics Assistant.
4.11 S7-PLCSIM is a soft PLC, which executes the PLC programs created in
Controlling a system STEP 7. A wide range of different testing and diagnostic functions for
station using the external fault finding in the PLC program are available within STEP 7. These
Soft PLC S7-PLCSIM testing and diagnostic functions include for example the status display
of variables or the online display of the PLC program. You can use these
functions if you create the PLC program for a station of a system in
STEP-7 and then test the PLC program in conjunction with the
simulation of the system.
The exchange of PLC input/output signals between the system and the
soft PLC S7-PLCSIM is effected via the EzOPC program. The EzOPC
program forms part of the CIROS Automation Suite and has been
installed on your PC together with the CIROS Advanced Mechatronics
application.
EzOPC is automatically invoked by CIROS Advanced Mechatronics as
soon as you start simulation of the system. The prerequisite for starting
EzOPC is of course that at least one station of the system is controlled
via an external PLC.
Note If you work with the operating system Vista, please make sure that the
used S7-PLCSIM-Version is Vista compatible.
This is how you control a station of the virtual system using S7-
PLCSIM
7. Make the necessary setting for the desired station, i.e. that this is to
be controlled via an external PLC by activating the Switch external
PLC internal PLC command in the Modeling menu.
9. Highlight the desired station via mouse click. Activate the context-
sensitive menu via the right mouse button and select the Switch
command.
Alternatively changeover the controller by double clicking the
desired station.
10. For the selected station OPC server is now entered in the Type
column. The name FestoDidactic.EzOPC.2 is now displayed under
program name/OPC server. This entry means the process signals for
the selected station are exchanged via an OPC server named
FestoDidactic.EzOPC.2.
14. Click onto EzOPC in the start bar. The EzOPC window is now
displayed, where you configure the communication between CIROS
Advanced Mechatronics and S7-PLCSIM.
The overview indicates that CIROS Advanced Mechatronics is
connected to
S7 PLCSim via the virtual controller of EzOPC. The table shows which
components are installed individually and whether EzOPC is in the
process of accessing this component.
Make sure that the communication links of your EzOPC are
configured as shown below. The desired communication links are
established by clicking onto the appropriate button.
15. Now click onto the Virtual Controller register where the virtual
controller status and your inputs/outputs are displayed. 8 input
bytes and 8 output bytes are preset for data exchange. You can
accept this presetting unaltered.
If a 1-signal is applied to an input/output byte bit, then this is shown
illuminated.
16. Click onto the S7-PLCSIM register and check the settings. Here, the
status of S7-PLCSim simulation and its inputs/outputs is displayed.
8 input bytes and 8 output bytes are preset for data exchange. You
can accept this presetting unaltered. However, only the first 4 bytes
are required.
If a 1-signal is applied to an input/output byte bit, then this is shown
illuminated.
18. Start S7-PLCSIM by clicking onto the check box next to RUN in the
CPU window. The LED for RUN should now start flashing.
20. Make sure that the PLC inputs and outputs for the right station are
displayed by activating the Controller Selection command in the
Programming menu. Select the controller for the desired station in
the Current column. For the example this should be the distributing
station.
21. If errors still exist in the PLC program, then the online representation
in STEP 7 provides excellent support during fault finding. To do so,
call up the program module in which you suspect the fault. Activate
the Monitor command in the Test menu. You can now monitor which
PLC program sections are executed or not in parallel with the
simulation of the process.
4.12 CoDeSys SP PLCWinNT is a Soft PLC which executes the PLC programs
Controlling a station of created in CoDeSys.
the system using the
external Soft PLC The PLC input and output signals are exchanged between the system
CoDeSys SP PLCWinNT simulation and the Soft PLC CoDeSys SP PLCWinNT via the EzOPC
program. EzOPC is part of the CIROS Automation Suite, and will have
been installed on your PC together with the CIROS Advanced
Mechatronics application.
Note If you are using the MS Windows Vista operating system, ensure that
the version of CoDeSys SP PLCWinNT which you are using is Vista-
compatible.
EzOPC
CIROS
Process model
simulation
2. Make sure that the Util.lib library is entered in the Resources tab.
If this is not the case, add the Util.lib library using the Library
Manager: Double-click on Library Manager in the Resources tab. In
the Insert menu, select Additional Library. Find the location where
Util.lib is stored. The default location for the library is in the
directory c:\Program Files\3S Software\CoDeSys\Library.
Once you have selected the Util.lib library, click on the Open button.
Close the Library Manager window.
3. Next, define the input/output signals to be exchanged with the
CIROS process model via the OPC interface. The input/output
signals in the example project can be easily identified by the
extension OPC. The input/output signals are defined as global
variables.
You can open the Global_Variables window by opening the Global
Variables folder in the Resources tab, then double-clicking on
Global_Variables.
6. Make sure that the Soft PLC CoDeSys SP PLCWinNT is set as the
target system for the project. To do this, double-click on Target
Settings in the Resources tab. 3S CoDeSys SP PLCWinNT must be
set as the configuration.
9. In the tree structure, click on Server and set an Update Rate of 100
for the OPC server. Alternatively, you can also use the preset value.
10. In the tree structure, click on PLC and enter the name of the PLC
project.
Note
The project name must exactly match the name of the CoDeSys
project file. If the project is changed, the name must also be
changed here to match.
13. Click the New button to define the parameters for the new
connection channel. Enter the name of the channel and select
Tcp/lp as the device.
16. Next, prepare the input/output bytes which are to be transferred via
the OPC interface for data exchange. To do this, activate the Options
command in the Project menu in CoDeSys. In the Options window,
click on Symbol configuration.
17. Select Dump symbol entries, then click on the configure symbol file
button.
This opens the Set object attributes window.
18. Open the Global Variables folder and select the objects AB1 (BYTE)
and EB0 (BYTE). Hold down the Ctrl key while selecting.
Place a tick in each check box and close the Set object attributes
and Options windows.
23. If the current project is different to the PLC program in the Soft PLC,
you will be asked whether you wish to load the current PLC program
when you log in. Click Yes.
The current project is loaded into the Soft PLC.
27. Click on the desired station to highlight it. Click the right mouse
mutton to open the context-sensitive menu. Select the Switch
command.
Alternatively, you can switch the control system by double-clicking
on the desired station.
28. The column Type now shows OPC Server for the selected station.
The Program Name/OPC Server column now shows the server name
FestoDidactic.EzOPC.2. This means that the process signals for the
selected station are exchanged via an OPC server with the name
FestoDidactic.EzOPC.2.
31. Start the simulation of the system. To do this, open the Simulation
menu and select Start.
As the simulation starts, the EzOPC program is automatically
opened. You can see this because EzOPC appears in the start bar.
Note When the system simulation starts, the EzOPC communication program
also starts up. When starting EzOPC, both communication users
CoDeSys SP PLCWinNT and the system simulation must already be
active. Only if this is the case will the communication links be correctly
set up.
32. Click on the EzOPC button in the Start bar. The EzOPC window
opens. Here you can configure the communication between CIROS
Advanced Mechatronics and CoDeSys SP PLCWinNT.
The overview shows that CIROS Advanced Mechatronics is
connected to CoDeSys SP PLCWinNT via the EzOPC virtual control
system. The table shows details of which components are installed
whether EzOPC directly accesses these components.
Make sure that the communication links of your EzOPC are
configured as shown below. You can create the desired
communication link by clicking the corresponding button.
33. Next, click on the Virtual Controller tab. This displays the status of
the virtual controller and its I/Os. 8 input bytes and 8 output bytes
are preset for data exchange. You can use this preset without
modifying it.
If logic 1 applies to any bit of the input/output byte, this bit is
represented by a brighter colour.
34. Click on the CoDeSys tab and check the settings. This tab shows the
status of the CoDeSys SP PLCWinNT simulation and its inputs/
outputs. 8 input bytes and 8 output bytes are preset for data
exchange. You can use this preset without modifying it. However,
only the first 4 bytes are required.
If logic 1 applies to any bit of the input/output byte, this bit is
represented by a brighter colour.
37. Start running the PLC program in the Soft PLC. To do this, open the
Online menu and click Run.
You can see the current status of the Soft PLC CoDeSys SP PLCWinNT
in the CoDeSys SP PLCWinNT window.
38. Operate the system. Pay particular attention to the behaviour of the
station to which you have added the PLC program yourself. You
might find it helpful to follow the statuses of the PLC inputs and
outputs for the station in question.
To open the Inputs and Outputs windows, go to the View menu,
select Inputs/Outputs and activate the Show Inputs and
Show Outputs commands.
39. Make sure that the PLC inputs and outputs are shown to the right
station. To do this, go to the Programming menu and activate the
Controller selection command. Select the control system for the
desired station in the Current column. In the example, this would be
the Distributing station.
4.13 If you are creating and testing your own PLC programs we recommend
Controlling a station of that you load the programs to an external PLC and execute them from
the system using an there.
external PLC
If you are programming in STEP 7, you can use the soft PLC S7-PLCSIM
as PLC, in which case you will not require any additional hardware
components.
You can however also use any other control and programming system,
in which case you load the PLC program to your hardware PLC. The PLC
program is to control a selected station of your virtual system.
The exchange of PLC input/output signals between the system
simulation and your external PLC is effected via the serial or the USB
interface of the PC and via the EasyPort interface. In addition the EzOPC
program is involved in the exchange of process signals.
The advantage of this configuration is that you can use the PLC and the
programming system of your choice. Also the testing and diagnostic
functions provided by the programming system for this purpose are
available to you for fault finding in the PLC program.
EasyPort
PLC
You can however also select another configuration and install the two
software packages on one PC. Your PC needs to be equipped with two
serial interfaces or one serial and one USB interfaces if you want to use
the testing and diagnostic functions of the programming system during
simulation of the virtual system.
The EzOPC program The EzOPC program organises the exchange of PLC input/output signals
between the virtual system simulation and the external PLC. EzOPC
does not access the signals of the external PLC directly but via the
EasyPort interface.
The EzOPC program forms part of the CIROS Automation Suite and has
been installed on your PC in conjunction with the CIROS Advanced
Mechatronics application. EzOPC is automatically invoked by CIROS
Advanced Mechatronics as soon as simulation of the system starts.
Prerequisite for starting EzOPC is of course that at least one station of
the system is controlled via an external PLC.
Configuration of EzOPC for data exchange with an external PLC via EasyPort
1. Load the desired PLC program to the external PLC. The external PLC
is in the STOP operating status.
2. Connect the PC with CIROS Advanced Mechatronics to the external
PLC via the EasyPort interface.
The data cable Pt. No. 162 305 connects the serial interface of
the PC to the serial interface RS232 of EasyPort.
If you are using the USB interface, then use the data cable of
Order No. 540699.
The PLC input output signals for the process are applied at port 1
of EasyPort.
The PLC input/output signals for the control console are
transmitted via port 2.
If you are using EasyPort without USB interface:
Select the following setting for the DIP switches under Mode on
EasyPort:
1 ON (bottom), 2 OFF, 3 OFF.
If you are using EasyPort with USB interface:
Make sure that address 1 is set for EasyPort.
The set address can be read or changed by pressing the two
arrow buttons. Simultaneously pressing both buttons stores the
address and exits address mode.
Process model
1 2 3
ON
S7 EduTrainer EasyPort
RING IN OUT MODE RS232 - 24V +
CPU313C-2 DP CP 343-2
SF SF
BF 0 0 PWR
DC5V 1 1 APF
FRCE 2 2 CER
RUN 3 3 AUP
STOP 4 4 CM
PUSH
5 5 EasyPort D16
6 6 B
RUN
7 7 20+
STOP
MRES 10+
IN OUT SET
A STATUS SHORT
9
0 0 8
1 1 7 INPUT
2 2 6 OUTPUT
3 3 5 0 7 8 15
4 4 4
5 5 3
6 6 2
7 7 1
0 PORT 1 PORT 2
B
3
1
Note The two sockets marked EMERGENCY-STOP must be bridged so that the
output modules of the PLC receive the voltage supply.
Process model
1 2 3
ON
EasyPort
RING IN OUT MODE RS232 - 24V +
EasyPort D16
STATUS SHORT
INPUT
OUTPUT
0 7 8 15
PORT 1 PORT 2
XMA2 XMG1
PLC board
7. Highlight the required station via a mouse click. Activate the context
sensitive menu via the right mouse button and select the Switch
command.
Alternatively changeover the controller by clicking onto the required
station.
8. OPC Server is entered for the selected station in the Type column.
FestoDidactic.EzOPC.2 is shown under Program name/OPC Server.
This means that the process signals for the selected station are
exchanged via an OPC server named FestoDidactic.EzOPC.2.
12. Click onto EzOPC in the start bar to open the EzOPC window. Here
you configure the communication between H CIROS Advanced
Mechatronics and EasyPort.
15. Now check the range of inputs/outputs via which data exchange is
to be effected in the virtual controller. To do so, click onto the
Virtual Controller register.
8 input bytes and 8 output bytes are preset for data exchange. You
can accept these presettings unaltered. Only the first 4 bytes are
required.
16. Click onto the EasyPort register where the status of the connected
EasyPort and its inputs and outputs are displayed. If a 1-signal is
applied to an input/output byte bit, then this is shown illuminated.
20. Operate the system and in particular observe the behaviour of the
station for which you have created the PLC program, whereby it may
be helpful to observe the statuses of the PLC inputs and outputs of
the relevant station. Open the inputs and outputs window by
activating the Show Inputs/Show Outputs command under the
Inputs/Outputs entry in the View menu.
21. Make sure that the PLC inputs and outputs for the right station are
displayed. Activate the Controller Selection command in the
Programming menu and select the controller for the desired station.
4.14 Use the Fault Setting window to set specific faults in the functional
Setting faults in a system sequence of a system. Use the internal S7 PLC and the sample PLC
programs provided to control the system. This ensures that any
potential process malfunction is caused solely by the process
components. The PLC programs operate error-free.
The setting of faults is permissible for authorised persons only and the
dialog for the setting of faults is therefore password protected.
The default setting for the password is didactic. This password can be
changed at any time.
The following data is required if you want to create a fault in the case of
one of the listed process components:
Type of fault,
Start of malfunction,
Duration of malfunction.
Various faults can occur in the case of some components. You can select
these in a selection list.
The error statuses are effected in the simulation of the modelled system
as soon as the fault simulation is active.
Note Default malfunction however only becomes active if the fault simulation
mode is activated.
6. Now set a malfunction for example for the PLC input 1B1.
Double click the appropriate field in the Type column. A selection list
is displayed. Open this list and select the type of fault, for example
cable break.
The fault is to become active at the start of simulation and remain
active until the fault is removed from the fault setting. No entries are
therefore required in the Begin column.
The duration of the fault is arbitrary. No entries are therefore
required in the Duration column.
This is how you start simulation of the system with set faults
Example The MPS system viewed consists of the distributing, testing and sorting
stations. The sequence of the system stops once a workpiece is ejected
at the distributing station. The next step - moving the swivel arm into
the magazine position - is not executed.
By observing and evaluating the system, you realise that voltage is
applied at sensor 1B1 of the distributing station, but not at the
corresponding PLC input. You therefore conclude a cable break at the
PLC input 1B1.
5. Double click no fault in the line PLC input 1B1 and select cable
break from the selection list.
The button is illuminated in yellow.
If the fault has been identified correctly, the distributing station
sequence will be executed error-free in the next simulation cycle.
Note If you have correctly identified and entered the fault, the sequence
of the system will be executed error-free in the next simulation cycle.
If the cause of the fault has not been identified correctly, the fault
will continue to exist.
If you have erroneously identified and entered the cause of the fault
as a mechanically misaligned sensor, you have created an additional
fault in the process. The fault is active as of the next simulation
cycle.
4.16 Each action in the Fault Localisation window is recorded in a log file.
Logging error elimination Authorised persons have the option of viewing the log file.
The log file contains a list of activities carried out in the fault localisation
window. The entries contain the following data
Date
Time
1. Open the fault log window by activating the Fault Log entry in the
Extras menu under Fault Simulation.
2. The dialog box for the password entry is now displayed.
Enter the password. The preset default password is still valid,
provided that you have not changed this since installing CIROS
Advanced Mechatronics.
Enter didactic under password.
Note that the password is case sensitive.
Confirm your entry with OK.
Note If you want to delete the fault log, activate the context-sensitive menu
via the right mouse button and select the appropriate command.
Main training aims The general training aims of CIROS Advanced Mechatronics are to
achieve the following skills
To design and construct PLC controlled systems in the form of
distributed systems,
To specify, design and test communication between the intelligent
stations of a distributed system,
To create, modify and test the PLC programs for the individual
stations of a distributed system or complete system,
To carry out systematic fault finding as part of servicing and
maintenance of distributed systems.
This training aim deals with all the topics which can be addressed by
means of simulated processes of distributed systems. The main focus of
training is aimed at a methodical procedure.
General training aims The following general training aims can be derived from the main
training aims:
The user designs a production process in the form of a distributed
process and creates the appropriate system.
The user understands "intelligent units" as re-usable technological
modules, whereby certain specific control functions are realised.
The user selects a transport system for a system and integrates this
into the system.
The user familiarises himself/herself with preassembled MPS
standard or MPS 500-FMS systems and understands their design
and mode of operation.
The user familiarises himself/herself with component based
automation (object-oriented procedure during the design and
construction of a system) in practice and uses this.
The user specifies the communication interface between the
different "intelligent units" of a distributed system.
The user designs the communication of a distributed system.
The user designs, modifies and tests PLC programs for individual
"intelligent units".
The user practises structured and modular PLC programming.
The user transmits communication information to the PLC program
in the form of parameters via an interface.
The user incorporates, tests and observes communication
information in the PLC programs of the "intelligent units".
The user locates and eliminates faults in the individual "intelligent
units".
The user carries out systematic fault finding in complex systems.
Significance of training Industrial development over the last few years has been governed by an
contents in industrial ever increasing degree of automation, more and more complex work
practice processes and faster operational sequences. The keywords here are
optimal utilisation of high investment, flexible and cost effective
production. These include:
High machine efficiency,
Reduction in downtimes,
Modularisation of systems and distributed intelligence,
Optimisation of systems,
Continual improvement processes.
5.2 The target group for CIROS Advanced Mechatronics includes all those
Target group whose vocational line of activity involves networking, PLC programming
and the maintenance and servicing of networked systems or who
require basic knowledge of these subjects.
These include:
Vocational training
Mechatronic engineers
Electronics engineers, for example specialising in automation
technology
Plant electronics engineers
Industrial mechanics
Specialist qualification in the metal and electrical engineering field
Training at technical colleges and universities
5.3 The following prior knowledge is required for training and working with
Prior knowledge CIROS Advanced Mechatronics:
Basic knowledge of control technology: Structure of an automated
system
Basic knowledge of PLC technology: Design and mode of operation
of a PLC
Basic knowledge of PLC programming and handling of a PLC
programming tool such as the programming system SIMATIC STEP 7
Basic knowledge of pneumatic control technology: Drives, control
elements
Basic knowledge of sensor technology: Limit switches, contactlessly
operating proximity sensors
Basic knowledge of design, wiring and tubing up of
electropneumatic systems.
Basic knowledge of electrotechnology: Electrical variables, the
correlation and calculation thereof, DC and AC current, electrical
measuring techniques
Basic knowledge of how to read and interpret circuit diagrams
Skills in dealing with and operating Windows programs
The tables only lists those training aims which form part of CIROS
Advanced Mechatronics training.
Mechatronics Training area 9: Describing the information structure of a system with the
engineer Examining the help of circuit diagrams and technical documentation.
information flow in
Analysing signals and establishing possible error
complex mechatronic
sources.
systems
Measuring and detecting signal faults in bus systems.
Mechatronics Training area 4: Fault finding on simple modules with the help of
engineer Examining the energy measuring technology.
and information flow in
electrical, pneumatic
and hydraulic modules
Documentating faults.
5.6 CIROS Advanced Mechatronics can be used in many different ways for
Training scenarios for vocational and further training. Here are a few examples:
CIROS Advanced CIROS Advanced Mechatronics in the form of an introduction for
Mechatronics the purpose of motivation, preparation and as a knowledge
database for actual MPS systems:
The user has an actual MPS system which he/she wants to
understand and operate.
With CIROS Advanced Mechatronics users have the possibility of
creating their actual MPS system in the form of a virtual system.
With the help of this virtual system, users can familiarise themselves
with the automation components and stations of their system.
Information is available on the online Help and via an online
Assistant. Since the control and communication of the system can
be automatically generated, the user does not require any
knowledge of PLC programming and networking of systems for this
phase. System production can be immediately simulated and the
behaviour of the system observed. In line with the users problem
definition, one can acquire comprehensive basic knowledge
regarding electrical and pneumatic processes and the components
involved or practise and improve the programming of distributed
systems.
CIROS Advanced Mechatronics in the form of an introduction for
the purpose of motivation and preparation on the subject of
distributed automation systems:
CIROS Advanced Mechatronics can be used independently of
actual systems. On the basis of a library with automation stations,
the user plans and designs distributed systems of varying
complexity. Typical automation stations include warehouse
administration, robots, processing machines and transport systems.
Information regarding the components and stations is available to
the user on the online Help and via an online Assistant. Since the
control and communication of the system can be automatically
generated, the user does not require any knowledge of PLC
programming and networking of systems. The sequence of the
system can be simulated immediately and the behaviour of the
system observed.
The systematic procedure you use and the knowledge you acquire can
be used in any way you choose and of course also on actual systems.
6.1 The following training aims can be taught with the help of CIROS
Training aims Advanced Mechatronics:
Familiarisation with and understanding of the design and mode of
operation of a distributed system.
Familiarisation with typical components for the realisation of
automated systems: Sensors and limit switches, pneumatic valves,
pneumatic linear and rotary drives, electrical DC motors,
programmable logic controllers.
Modelling distributed systems from intelligent stations.
Operating and observing distributed systems.
Networking the stations of a distributed system.
Familiarisation with different production processes.
Evaluating technical documentation.
Researching information.
Recognising the advantage of a simulated system for industrial
operation.
6.2 CIROS Advanced Mechatronics supports you with the following during
Support via CIROS the creation and familiarisation with distributed systems:
Advanced Mechatronics Library with prepared stations or station combinations. The stations
are intelligent, autonomous system sections which perform specific
machine functions.
Editor for the modelling of systems.
Simulation of the modelled system in 3D representation and the
execution of the sample PLC in the internal controllers of the
individual stations.
Windows for PLC inputs/outputs:
Status display of the PLC inputs/outputs of a station.
Manual Operation window:
Status display of all process sequences and statuses.
Manual Operation window:
Manual triggering of process sequences.
CIROS Advanced Mechatronics Assistant: Makes information
available online such as the description and circuit diagrams of
stations.
6.3
Example: Configuration of
a distributed system from
MPS Standard stations
and simulating production
5. Create the required system using the station models from the MPS
Stations Library. A brief description and preview of the individual
models is displayed if you highlight the library entry for the model
and then click onto the Details button.
7. Now check which station you need for the required system and how
the system is to be configured.
Result Your investigation shows that you will need the Pick & Place and Fluidic
Muscle press stations for the assembly process. In addition you will
also need the handling station adjusted for successor station and the
sorting station. The stations are placed directly next to one another and
are coupled via optical sensors.
8. Now create the system. First insert the handling station. To entries
are available to you for this station in the library. Since an additional
station will be added to the handling station, you require the
handling station adjusted for successor station. Highlight the
entry Handling Adjusted for Successor via a mouse click. Then
click the Add button.
The system now consists of the handling station adjusted for
successor station model. This station is shown in green since it is
still highlighted.
10. Now enter the Pick & Place station as an additional station.
11. All stations are inserted at the same position of the work space.
Move the newly added Pick & Place station by clicking onto the
highlighted station and moving the mouse pointer to the required
position whilst holding down the left mouse button.
12. The two models are positioned next to one another but are not yet
connected. To ensure that working and transfer positions coincide
during the production run of the system, both station models must
be correspondingly aligned and connected.
13. Now align the Pick & Place station model with the handling station
adJusted for successor station.
To do so, click onto the bottom grey shaded coupling point of the
Pick & Place station. Hold down the left mouse button and drag the
coupling point onto the coupling point of the handling station -
adjusted for successor station.
The Pick & Place station is now connected to the handling station
adjusted for successor station.
14. Now enter the Fluidic Muscle press station as the next station. This
station is also shown at the predefined point in the activity window.
15. Click onto the newly added, still highlighted station and move this
up next to the Pick & Place station.
16. Connect the Fluidic Muscle press station model to the upper, free
coupling point of the Pick & Place station model.
To do so click onto the lower, grey shaded coupling point of the
Fluidic Muscle press station. Hold down the left mouse button and
drag the coupling point to the free coupling point of the Pick &
Place station.
17. Add the sorting station as the last station. Connect the sorting
station to the Fluidic Muscle press station.
18. The system is now configured. Change into the view mode to obtain
a realistic 3D representation of the system.
Deactivate the Edit Mode command in the Modeling menu by
clicking onto the Edit Mode command. The check mark next to the
Edit Mode entry is removed.
23. Each station has an internal PLC. The supplied sample PLC program
is executed with the start of virtual system simulation.
The stations can now be operated using the keys and switches of
the corresponding control console. The sequence of operation is
defined in the PLC program.
24. Once simulation is started, the illuminated reset button requests the
reset function for all stations. The system is moved into the initial
position via the reset function.
Result Initial position for the handling station: Linear axis in "predecessor
station" position (1B2=1) and lifting cylinder retracted (gripper up)
and gripper open.
Initial position for the Pick & Place station: Feed separator advanced
and conveyor motor off. Mini slide up and mini slide retracted and
vacuum off.
Initial position for the Fluidic Muscle Press station: Linear drive
retracted and rotary drive in pick-up position ("predecessor station
position") and pressb up.
Initial position for the sorting station: Locking device advanced and
sorting gate 1 retracted and sorting gate 2 retracted and conveyor
motor off.
26. Execute the reset function for each station by clicking the reset
button. We recommend that you carry out the reset of the individual
stations against the material flow.
In the case of this system, this means: Execute the reset mode of the
sorting station, then the reset mode of the Fluidic Muscle press
station, followed by that of the Pick & Place station and finally the
reset mode of the handling station.
29. Make sure that the workpieces necessary for the production process
of the system are available:
One workpiece housing at the transfer position of the handling
station,
At least one workpiece insert on the slide of the Pick & Place
station.
30. To supply a workpiece to the handling station, click onto the desired
workpiece on the workpiece table. For example select the red
measuring instrument housing. Then click onto the symbolic
workpiece of the handling station.
A red measuring instrument housing is made available on the
workpiece holder of the handling station.
31. Now fill the slide of the Pick & Place station with measuring
instruments by clicking onto the symbolic measuring instrument of
the Pick & Place station.
32. Start the sequence of each station by clicking onto the start button.
The automatic mode of the station is started. We recommend that
you start the stations in the order in which they are arranged in the
material flow.
33. With the key actuator you can select either continuous cycle (switch
position vertical) or individual cycle (switch position horizontal) for a
station sequence.
34. The sequence of a station can be interrupted at any time by pressing
the stop button. If you want to restart the station, you need to
execute the reset function first.
35. If a slide of the sorting station is filled with workpieces, the station
does not accept any additional workpieces. Warning light Q1 is
illuminated.
The PLC programs are created such that they can be used for stand
alone operation of the stations. At the same time, these PLC programs
also support working with the stations in a network whereby minimal
information about process inputs/outputs is exchanged between the
stations.
Note In the case of the distributing station only the StationLink receiver is
mounted.
In the case of the sorting station, only the StationLink emitter is
mounted.
7.1 The following training aims can be taught with the use of CIROS
Training aims Advanced Mechatronics:
Understanding simple communication between the stations of a
distributed system.
Realising simple communication between stations via process
inputs/outputs.
Incorporating simple communication into the PLC program of a
station.
Understanding structured, programmed PLC programs.
Evaluating technical documentation.
Researching information.
Recognising the advantage of a simulated system for industrial
operation.
7.2 Proceed step by step to analyse the networking and information flow in
Methods a system. Each step deals with an important aspect of communication.
7.4
Example: Analysing
information flow in a
distributed MPS
Standard system
4. Close the model library and select a perspective view of the system
by activating the Standard Views/Default Setting command in the
View menu. Using the command in the View menu, create the
desired representation of the system.
6. Use the technical documentation for the two stations for information
as to how communication functions:
Which information is transmitted?
Which data type carries the signal which transmits information?
Result
Material flow
7. Refer to the technical documentation for the two stations to find out
what system resources the PLC uses to realise communication.
To do so activate the Examples and Models of CIROS Advanced
Mechatronics command in the Help menu. Click onto the CIROS
Advanced Mechatronics entry. In the chapter MPS Standard you
will find the appropriate stations and relevant technical
documentation.
Result
0-Signal 1-Signal
1-Signal 0-Signal
8. Refer to the technical documentation for the two stations to find out
which components are used to transmit the information "Station
occupied".
14. Make sure that the required workpieces are available for the
production process of the system.
Fill the magazine of the distributing station with, for example, red
basic cylinder bodies. To do so, click onto the required workpiece on
the workpiece table. Then click onto the symbolic workpiece on the
distributing station. Each mouse click on the symbolic workpiece
causes the magazine to be filled with a workpiece.
15. Start the sequence of each station by clicking onto the start button.
We recommend that you start the stations in the order in which they
are arranged in the material flow.
16. Once all the workpieces have been tested and sorted, stop the
simulation by clicking onto the Running field.
17. Next observe the status of the communication variables during the
production process of the system.
To do so, open the Manual Operation window in the Modeling
menu.
18. Hide the section of the window with the display of I/O connections
as you do not need this information. Activate the context-sensitive
menu via the right mouse button and deactivate the Show I/O
Connections command.
19. If you merely want to observe the changes in communication
signals, then set the stops at the appropriate signals. Simulation
stops as soon as the relevant signal changes its value and you can
observe the sequence at your leisure.
20. Double click the + symbol in front of the distributing station in the
lefthand section of the window. All the process sequences of the
distributing station are now displayed.
The process statuses of the testing station can be displayed in the
righthand section of the window.
22. Open the PLC inputs window to also observe the communication
signal of the distributing station.
Activate the Show Inputs command under Inputs/Outputs in the
View menu.
24. Start simulation of the system by clicking onto the Stopped button
in the status bar.
26. Fill the magazine of the distributing station with correct workpieces
again.
27. Acknowledge the activity and click onto the illuminated start button.
28. The distributing station ejects a new workpiece from the magazine
and passes it on to the testing station. Simulation then stops
because the Variable IP_N_FO of the testing station changes its
value. The testing station signals "station occupied=1", because
the station has no requirement. A workpiece is already present in
the holder.
31. The testing station now tests the current workpiece. As soon as the
station has completed the process of testing and passed on the
workpiece to the sorting station, it can accept a new workpiece. The
testing station changes the value of the variable IP_N_FO. It now
sends the signal "Station occupied=0". The signal change causes
simulation to stop.
33. In the next simulation cycle, the signal "station occupied" is read
inverted as "successor station free" by the distributing station. It is
therefore permissible for the distributing station to start output.
34. With the simulation of the system you have now analysed how
communication between the distributing and testing stations
functions.
In the GRAFCETs for the stations you can reproduce in detail how
and at which points in the PLC program communication is taken into
consideration. You will find the GRAFCETs in the technical
documentation for the stations.
35. You can analyse the communication between the testing and sorting
stations in the same way by using simulation and the technical
documentation.