SimulationUnitHelpEN en-US
SimulationUnitHelpEN en-US
Runtime system 7
The programming interface
of SIMULATIONUnit 8
OPC server 9
06/2018
Legal information
Warning notice system
This manual contains notices you have to observe in order to ensure your personal safety, as well as to prevent
damage to property. The notices referring to your personal safety are highlighted in the manual by a safety alert
symbol, notices referring only to property damage have no safety alert symbol. These notices shown below are
graded according to the degree of danger.
DANGER
indicates that death or severe personal injury will result if proper precautions are not taken.
WARNING
indicates that death or severe personal injury may result if proper precautions are not taken.
CAUTION
indicates that minor personal injury can result if proper precautions are not taken.
NOTICE
indicates that property damage can result if proper precautions are not taken.
If more than one degree of danger is present, the warning notice representing the highest degree of danger will be
used. A notice warning of injury to persons with a safety alert symbol may also include a warning relating to property
damage.
Qualified Personnel
The product/system described in this documentation may be operated only by personnel qualified for the specific
task in accordance with the relevant documentation, in particular its warning notices and safety instructions. Qualified
personnel are those who, based on their training and experience, are capable of identifying risks and avoiding
potential hazards when working with these products/systems.
Proper use of Siemens products
Note the following:
WARNING
Siemens products may only be used for the applications described in the catalog and in the relevant technical
documentation. If products and components from other manufacturers are used, these must be recommended or
approved by Siemens. Proper transport, storage, installation, assembly, commissioning, operation and
maintenance are required to ensure that the products operate safely and without any problems. The permissible
ambient conditions must be complied with. The information in the relevant documentation must be observed.
Trademarks
All names identified by ® are registered trademarks of Siemens AG. The remaining trademarks in this publication
may be trademarks whose use by third parties for their own purposes could violate the rights of the owner.
Disclaimer of Liability
We have reviewed the contents of this publication to ensure consistency with the hardware and software described.
Since variance cannot be precluded entirely, we cannot guarantee full consistency. However, the information in
this publication is reviewed regularly and any necessary corrections are included in subsequent editions.
1 Task..............................................................................................................................................................9
1.1 Simulation of PROFINET IO DP with SIMIT UNIT PN.............................................................9
1.2 Simulation of PROFIBUS DP with SIMIT UNIT PB................................................................10
1.3 Name......................................................................................................................................11
2 Quick Start Guide.......................................................................................................................................13
2.1 Installation of SIMULATIONUnit.............................................................................................13
2.2 Connecting a SIMIT UNIT......................................................................................................13
2.3 Data export from Step 7.........................................................................................................13
2.4 Data export from TIA Portal...................................................................................................14
2.5 Creation of a simulation project..............................................................................................15
3 Program structure of SIMULATIONUnit.....................................................................................................19
3.1 The portal view.......................................................................................................................19
3.1.1 Project....................................................................................................................................19
3.1.2 System...................................................................................................................................20
3.2 The Project view.....................................................................................................................23
3.2.1 Project navigator....................................................................................................................23
3.2.2 Menu and Quick Launch toolbar............................................................................................24
3.2.3 The hardware view.................................................................................................................25
3.2.4 The IO view............................................................................................................................28
3.2.5 The hardware editor...............................................................................................................29
3.2.6 Function blocks......................................................................................................................30
3.2.7 Worksheets............................................................................................................................31
3.2.8 Log window............................................................................................................................31
3.2.9 System settings (Options)......................................................................................................32
3.2.10 Window arrangement.............................................................................................................33
4 Simulation of PROFIBUS components.......................................................................................................35
4.1 Setup and coupling of the simulation of PROFIBUS systems with the SimbaProfibus
box / SIMIT UNIT PB..............................................................................................................35
4.1.1 Information on creating a simulation......................................................................................35
4.2 SIMIT UNIT PB......................................................................................................................35
4.2.1 Cabling...................................................................................................................................36
4.2.2 Installation and heat dissipation.............................................................................................36
4.2.3 Description of the LEDs.........................................................................................................36
4.3 SimbaProfibus........................................................................................................................37
4.3.1 Cabling...................................................................................................................................37
4.3.2 Installation and heat dissipation.............................................................................................38
4.3.3 Description of the LEDs.........................................................................................................38
4.4 Addressing the box................................................................................................................39
SIMULATIONUnit V9.1
System Manual, 06/2018 3
Table of contents
SIMULATIONUnit V9.1
4 System Manual, 06/2018
Table of contents
SIMULATIONUnit V9.1
System Manual, 06/2018 5
Table of contents
SIMULATIONUnit V9.1
6 System Manual, 06/2018
Table of contents
SIMULATIONUnit V9.1
System Manual, 06/2018 7
Table of contents
SIMULATIONUnit V9.1
8 System Manual, 06/2018
Task 1
For the effective and fast setup of a test environment for function and FAT tests of S7/PCS7
systems, it is necessary, in addition to simulating pure fieldbus components, to replicate the
behavior of complete aggregates or aggregate groups. SIMULATIONUnit (SU) is a powerful
tool for this.
With a SIMIT UNIT PN, up to 256 PROFINET I/O devices (e.g. ET200S PN, CP1616 as device)
can be simulated at one PROFINET IO line.
The SIMULATIONUnit software allows the configuration of up to 32 PROFINET channels in
one project. It is also possible to simulate SIMIT UNIT PNs and SIMIT UNIT PBs in a project.
The simulation of PROFINET IO can be carried out using any PROFINET IO controller:
● PROFINET CPU from the SIMATIC S7-300 and S7-400 product range
● External Ethernet CPs, e g. CP443-1 Advanced, CP343-1 Advanced
● CP1616 as master
● Additional PROFINET IO standard controllers
SIMULATIONUnit V9.1
System Manual, 06/2018 9
Task
1.2 Simulation of PROFIBUS DP with SIMIT UNIT PB
See also
Quick Start Guide (Page 13)
With a SIMIT UNIT PB up to 125 DP standard slaves (e.g. ET200M, SIMOCODE) can be
simulated on 2 channels at PROFIBUS DP buses with a user selectable transmission rate. In
total, up to 250 PROFIBUS slaves can be simulated.
SIMULATIONUnit enables the configuration of up to 32 SIMIT UNIT PBs in one project.
The simulation of PROFIBUS DP can be carried out using any PROFIBUS master system:
● DP CPU from the SIMATIC S7-300 and S7-400 product range
● DP CPU or DP CP from the S7-1200 and S7-1500 product range
● External DP communication processors e g. CP443-5, IM467
● CP 581 with PROFIBUS DP coupling
● Additional PROFIBUS DP standard masters
See also
Quick Start Guide (Page 13)
SIMULATIONUnit V9.1
10 System Manual, 06/2018
Task
1.3 Name
1.3 Name
SIMULATIONUnit V9.1
System Manual, 06/2018 11
Task
1.3 Name
SIMULATIONUnit V9.1
12 System Manual, 06/2018
Quick Start Guide 2
This page contains a short description for installing and setting up a simulation project.
Click on the links for more detailed information on the individual points.
SIMULATIONUnit V9.1
System Manual, 06/2018 13
Quick Start Guide
2.4 Data export from TIA Portal
Also export the hardware configuration as a .cfg file. Menu Station → Export…
SIMULATIONUnit V9.1
14 System Manual, 06/2018
Quick Start Guide
2.5 Creation of a simulation project
SIMULATIONUnit V9.1
System Manual, 06/2018 15
Quick Start Guide
2.5 Creation of a simulation project
● Select and configure SIMIT UNIT: Menu "Configuration" -> "Import hardware". In the
following program view "Import hardware (Page 40)", you can add the import files such as
system data blocks (.dat), OMS files (.oms) and HW Config export (*.cfg), TIA OMS files
(.oms) or XML files with hardware information. Finally, you can press the "Import" button
to start the import for all bus systems.
SIMULATIONUnit V9.1
16 System Manual, 06/2018
Quick Start Guide
2.5 Creation of a simulation project
● After successful hardware import the program is located in the hardware editor
(Page 29). Here you can change the imported configuration, if necessary.
● The imported hardware must be assigned (Page 29) to a SIMIT UNIT located in the network.
You must either enter the IP address of the SIMIT UNIT in the field IP or click on Scan
network and drag a module from the list onto the imported hardware.
Note
The selected IP address has to be in the same subnet as the simulation computer!
When simulating PNIO systems, the IP address of the SIMIT UNIT must be in a different
IP subnet than the simulated devices!
SIMULATIONUnit V9.1
System Manual, 06/2018 17
Quick Start Guide
2.5 Creation of a simulation project
SIMULATIONUnit V9.1
18 System Manual, 06/2018
Program structure of SIMULATIONUnit 3
SIMULATIONUnit uses two different views (Portal view and Project view) for arranging control
functions into logical groups.
3.1.1 Project
Open, create or delete simulation projects.
SIMULATIONUnit V9.1
System Manual, 06/2018 19
Program structure of SIMULATIONUnit
3.1 The portal view
Creating a project: Select a folder in which the new project is created and select a project
name.
SIMULATIONUnit creates a folder with the entered project name and the ending .spf
(SIMULATIONUnit project folder). The project must not be created in an existing folder with
the ending .spf.
Open project: Double-click on a project under "Last opened projects" or click on the button and
select the file Project.xml within a SIMULATIONUnit project folder with the ending .spf.
Delete project: If you answer the question "Delete project from disk?" with Yes, the project is
deleted from the list and from the disk.
3.1.2 System
The "System" mask, in turn, contains several system functions.
Device import
Here, new devices can be imported from GSD (for Profibus) or GSDML files (for Profinet) to
the SIMULATIONUnit database.
The new devices are available if you create a new project after this or perform a hardware
import.
One or more GSD or GSDML (xml) files can be selected. The system checks whether this
gateway is already installed, and whether the file to be installed is newer than the existing one.
If you click on "Import", all files with the checkbox selected in the Import column are imported.
Note
The imported files are stored in the user directory (C:\Users\User\AppData\Roaming
\SIMULATIONUnit\hwlib) and are still available after a software update.
SIMULATIONUnit V9.1
20 System Manual, 06/2018
Program structure of SIMULATIONUnit
3.1 The portal view
Scan network
In this view you can find or configure SIMIT UNITs available in the network and carry out
firmware updates.
Click into the corresponding field to change a value and then enter a new value. Then press
the "Save changes" button.
To perform a firmware update, select a SIMIT Unit from the list and click on firmware update.
The current firmware is displayed. A suitable .upd file must be selected for the device. Follow
the instructions of the software.
SIMULATIONUnit V9.1
System Manual, 06/2018 21
Program structure of SIMULATIONUnit
3.1 The portal view
Language settings
In this view you can select the language setting of the program.
SIMULATIONUnit V9.1
22 System Manual, 06/2018
Program structure of SIMULATIONUnit
3.2 The Project view
Elements
Type Comment
Hardware Hardware tree of the configured SIMIT UNITs or bus lines.
I/Os IO addresses of the imported or configured devices.
SIMULATIONUnit V9.1
System Manual, 06/2018 23
Program structure of SIMULATIONUnit
3.2 The Project view
Type Comment
Bit memories A list of all variables used in the function instances.
Function blocks User-defined function blocks and their installed instances.
Worksheets For a better overview, you can drag and drop individual IO values and function
blocks onto a worksheet.
Note
Operator control and monitoring of IO values is possible in all of the above-mentioned views
at the same time.
Menu File
● "Create project…" - create a new, empty .spf project folder
● “Open project…"
● “Close project"
● "Save Project As..."
● "Export I/O mapping" - saves all I/O values to a .csv file
● “Import I/O mapping" - loads all I/O values from a .csv file
● "Exit" - Close project and exit SIMULATIONUnit
Menu Configuration
● Edit hardware
● Import hardware
● Devices GSD import
Menu Simulation
● "Connect all" - Establish a connection to all SIMIT UNITs
● "Disconnect" - Disconnect from all SIMIT UNITs
● "Load" - Load project to the SIMIT UNITs
● "Delete" - Delete loaded project from the SIMIT UNITs
● Start runtime system
● Stop runtime system
SIMULATIONUnit V9.1
24 System Manual, 06/2018
Program structure of SIMULATIONUnit
3.2 The Project view
Menu Settings
● Options
Menu Help
● "Info" - Version information and copyright
● “Manual" - this help
At the far right, there is a small icon which displays the usage of the selected cycle time.
Setting options or a more accurate view can be found under cycle time setting. If the symbol
is shown against a yellow background, the set cycle time cannot be achieved.
The hardware view shows the SIMIT UNITs and their configuration in a tree structure.
Depending on the element, direct control of the IOs or different actions with the hardware
elements via shortcut menus are possible (e.g. device failure, alarms, module failure, etc.).
The mask on the right contains a search field to search for all elements in the tree view. Press
the Return button to search for the next element.
SIMULATIONUnit V9.1
System Manual, 06/2018 25
Program structure of SIMULATIONUnit
3.2 The Project view
PROFIBUS slave
Redundant PROFIBUS slave
PROFINET device
PROFINET device, active at port P2
Redundant PROFINET device, active at port P1
Redundant PROFINET device, active at port P2
Module or submodule
I/O
I/O bit with value 0 (false)
I/O bit with value 1 (true)
The background color indicates the state
colorless - only exists in the project / not connected
green - simulation active, I/O data exchange available
light blue - downloaded but there is no connection to the controller
red - fault
gray - listening mode: I/Os are controlled by a different program
yellow - passive redundant PROFIBUS slave
yellow-green - fail-safe operation active
Listening mode
If more than one instance of a simulation program accesses the same channel of a SIMIT
UNIT, then all instances except one switch to listening mode.
In listening mode all inputs and outputs of the SIMIT UNIT are read and displayed, but cannot
be operated. Downloading is not possible. The background color of all devices, modules and
channels is gray in the hardware view. In the hardware view, behind the SIMIT UNIT, you will
see the text "Controlled by SimWhatever.exe".
● If SIMULATIONUnit and another simulation program (e.g. Simit) are accessing the same
channel, then the SIMULATIONUnit instance changes to listening mode.
● If two or more instances of the same simulation program are accessing the same channel,
then the first started instance is active and all others switch to listening mode.
● Connection attempts from different PCs to the same SIMIT UNIT are blocked by the box.
SIMULATIONUnit V9.1
26 System Manual, 06/2018
Program structure of SIMULATIONUnit
3.2 The Project view
With online connected boxes, it is possible to permanently save the projects in the boxes via
a shortcut menu in the hardware view. In this way, you can easily configure pre-configured
simulation boxes, which after power on immediately simulate the required devices again.
In the hardware view, the corresponding box then has the comment * AutoStartProject *.
If a USB stick is inserted in the front of the SIMIT UNIT PN or PB, an Autostart project can be
written to the USB mass storage device or loaded from there.
A cover is found on the rear of the SIMIT UNIT PN/PB. A Micro SD card is located behind it.
If an SD card and not a USB stick is inserted in the SIMIT UNIT PN/PB, the Autostart project
is written to the SD card or loaded from there.
If neither the SD card nor the USB stick is inserted, the Autostart project is saved in the internal
flash memory of the SIMIT UNIT PN/PB or loaded from there if available.
SIMULATIONUnit V9.1
System Manual, 06/2018 27
Program structure of SIMULATIONUnit
3.2 The Project view
The IO view shows all IOs configured in the project in a list view. Here, in addition to logical
addresses, any imported signal names or comments are displayed. The I/Os can also be
controlled and observed here. The IO view can be restricted to certain I/Os using a filter.
SIMULATIONUnit V9.1
28 System Manual, 06/2018
Program structure of SIMULATIONUnit
3.2 The Project view
The menu command Configuration → "Edit hardware" opens the hardware editor. Here you
can see the hardware tree of the project in the left section (analog to the hardware view). In
the right section, either the properties of the object selected on the left are displayed or can
be edited here.
Example: If a SIMIT UNIT is selected in the hardware tree, its properties such as the IP address
are shown on the right. This can be freely edited or found using network scan. After a network
scan in the bottom part of the window, all SIMIT UNIT boxes found are shown. The IP address
can be dragged to the SIMIT UNIT in the hardware tree.
If a SIMIT UNIT PN is selected in the hardware tree, you can also edit the topology settings.
If a topology was configured in Step 7 / or in the TIA Portal, you must enter the device number
and port number of the first simulated device behind the PNIO controller here. In addition, the
port number of the first device must be entered. If the project contains additional redundancy,
these values have to be edited also for the second controller.
If no topology is set up in Step 7 / TIA, you can use the default settings.
Optionally you can also import an export file (.cfg) for each channel into your hardware. In this
case, all module names from the S7 project are copied to the SIMULATIONUnit project. If you
SIMULATIONUnit V9.1
System Manual, 06/2018 29
Program structure of SIMULATIONUnit
3.2 The Project view
do not import a cfg file, the original device names from the device catalog in the
SIMULATIONUnit project are shown.
You can also assign a symbol file from PCS 7 to the imported hardware here.
The second tab on the right contains the hardware catalog of SIMULATIONUnit. You can use
it to configure hardware configurations manually. Devices can be dragged and dropped into
the hardware tree with the mouse.
Right-clicking a device/module in the hardware tree opens a menu for editing:
● Remove removes the selected elements from the hardware tree
● Copy copies the selected elements to the clipboard
● Cut copies the selected elements to the clipboard and then deletes them
● Paste inserts the elements from the clipboard
Ctrl + mouse-click selects an additional element
Shift + mouse-click selects all elements from the previous to the element currently selected
The set options are saved with Save changes and the respective files are also imported.
Double-clicking on a saved function opens the view of the function instances for operator
control and monitoring. For more detailed information on functions and function instances,
refer to Runtime system (Page 95).
SIMULATIONUnit V9.1
30 System Manual, 06/2018
Program structure of SIMULATIONUnit
3.2 The Project view
3.2.7 Worksheets
Worksheets are freely configurable windows in which the user can place any I/Os and function
instances using "drag and drop". This allows objects to be grouped by function to obtain a
better overview in the simulation project.
At the bottom of the project view window, you can find the view of the log file. Important events,
warnings and errors that occurred during the simulation are written here. The log file can be
saved to any text file for further diagnostics.
SIMULATIONUnit V9.1
System Manual, 06/2018 31
Program structure of SIMULATIONUnit
3.2 The Project view
The menu command "Settings" → "Options" opens a mask for adjusting global program options.
In the upper part of this mask you can set whether SIMULATIONUnit should save the input
image on closing. That is useful to get the same scenario when opening the project again.
It is also possible to adjust the internal program cycle.
The program cycle should be adjusted in such a way that a safe transmission of all telegrams
from and to the box within one cycle is guaranteed!
In the lower section, the range of used MAC addresses for the import of PNIO devices can be
specified.
SIMULATIONUnit V9.1
32 System Manual, 06/2018
Program structure of SIMULATIONUnit
3.2 The Project view
SIMULATIONUnit V9.1
System Manual, 06/2018 33
Program structure of SIMULATIONUnit
3.2 The Project view
SIMULATIONUnit V9.1
34 System Manual, 06/2018
Simulation of PROFIBUS components 4
4.1 Setup and coupling of the simulation of PROFIBUS systems with the
SimbaProfibus box / SIMIT UNIT PB
PROFIBUS components are simulated using the SimbaProfibus box / SIMIT UNIT PB on the
real PROFIBUS master.
Data exchange between the SIMBAProfibus box / SIMIT UNIT PB and the PC takes place
over the network at the control port of the box.
The following requirements apply with regard to PROFIBUS parameters or the number of
PROFIBUS slaves to be simulated:
● Maximum number of devices on a bus: 125
● Maximum baud rate (DP): 12 MBaud
SIMULATIONUnit V9.1
System Manual, 06/2018 35
Simulation of PROFIBUS components
4.2 SIMIT UNIT PB
4.2.1 Cabling
Power supply
SIMULATIONUnit V9.1
36 System Manual, 06/2018
Simulation of PROFIBUS components
4.3 SimbaProfibus
4.3 SimbaProfibus
4.3.1 Cabling
Power supply
The power for the box can be supplied over either PS1 or PS2.
PS1 You can connect to a power supply with a voltage between 9 V and 36 V, 2 A here.
PS2 The connection has to be made with 2 wires linked to a power supply with a voltage between 9 V and 36 V,
2 A (for example 24 V supply PS307 from Siemens).
SimbaProfibus
Connect up to 8 PROFIBUS lines to the 9-pole D-sub connector at the sides of the enclosure.
The PROFIBUS line connected to CH0 is identified as SU-Profibus_x[0] in the
SIMULATIONUnit project. CH1 corresponds to SU-Profibus_x[1], etc.
If you want to simulate a redundant system, you have to connect the redundant PROFIBUS
lines to opposite ports on the SIMBAProfibus. You can therefore simulate H systems only at
channels 0 and 1, or at channels 2 and 3, or at channels 4 and 5, or at channels 6 and 7.
SIMULATIONUnit V9.1
System Manual, 06/2018 37
Simulation of PROFIBUS components
4.3 SimbaProfibus
Migration gateway
If a migration gateway box is used, the lines to be simulated must be connected to channel 0
or 2. The PROFIBUS lines to be listened to are connected on the respective opposite side to
channel 1 or 3.
SIMULATIONUnit V9.1
38 System Manual, 06/2018
Simulation of PROFIBUS components
4.4 Addressing the box
The imported hardware must be assigned to a SIMIT UNIT located in the network. You must
either enter the IP address of the SIMIT UNIT in the field IP or click on Scan network and drag
a module from the list onto the imported hardware.
SIMULATIONUnit V9.1
System Manual, 06/2018 39
Simulation of PROFIBUS components
4.6 Creating a project
NOTICE
Do not create a (*.spf) project folder within a different project folder.
Manual configuration
Menu "Configuration" → "Edit hardware"
When configuring SIMULATIONUnit using the hardware editor, the hardware components
have to be dragged from a library with drag and drop. SIMULATIONUnit only checks the logical
consistency of the configuration (for example, device numbers).
NOTICE
SIMULATIONUnit does not check the consistency of the logical addresses like STEP7
Hardware Config! This means that in the event of duplicate assignment of logical addresses,
inconsistencies or unintended signal changes may occur during simulation.
SIMULATIONUnit V9.1
40 System Manual, 06/2018
Simulation of PROFIBUS components
4.7 STEP 7 Hardware Config export
Importing hardware
Menu "Configuration" → "Import hardware".
In the following program view, import files from Step 7 such as system blocks (.dat), TIA Portal
OMS files (.oms) or XML files can be selected and the selection can be imported into the
SIMULATIONUnit project.
It is also possible to import hardware data from an XML file from a different SU project.
SIMULATIONUnit V9.1
System Manual, 06/2018 41
Simulation of PROFIBUS components
4.7 STEP 7 Hardware Config export
The sdb????.dat files are located on the SIMATIC PC in the directory: ~\SIEMENS
\STEP7\S7tmp\SDBDATA\program\DOWN\rXXsXX or ~\SIEMENS\STEP7\S7tmp\SDBDATA
\s7hwcnfx\DOWN\rXXsXX
If the SDB files cannot be found in the specified directory, they have been deleted again after
compilation or download by S7/PCS7. To initiate for S7/PCS7 to get the SDB files after
compilation and download, copy the "UnlockHWConfig.exe" program (you can find the
program in the installation folder in the "TIAImport" folder when you have selected "TIA Import"
during installation) to the PC on which STEP7 is installed. Run the "UnlockHWConfig.exe"
program with administrator rights.
After a restart of S7/PCS7 and after recompilation or download of the hardware structure, the
SDB files are then available in the folder specified above.
Note
For a correct hardware import of packed addresses with PROFINET, it is absolutely necessary
to complete the hardware import by importing the *.cfg file.
SIMULATIONUnit V9.1
42 System Manual, 06/2018
Simulation of PROFIBUS components
4.7 STEP 7 Hardware Config export
SIMULATIONUnit V9.1
System Manual, 06/2018 43
Simulation of PROFIBUS components
4.7 STEP 7 Hardware Config export
4.7.3 Symbols
Symbolic addresses from the symbol table of an S7 project can be adopted by importing a
symbol file (.seq or .asc) in SIMULATIONUnit. It is possible to assign a symbol file to the system
data block directly during the hardware import. The symbol file can, however, also be imported
later (also possible if, for example, the SIMULATIONUnit configuration was created manually).
In this case, only one symbol table and no system data block must be assigned to the
corresponding box in the list.
SIMULATIONUnit V9.1
44 System Manual, 06/2018
Simulation of PROFIBUS components
4.8 Hardware export from TIA Portal
NOTICE
This step is only necessary if you have edited the symbols and want to also use them in
SIMULATIONUnit. In SIMATIC Manager, open the symbol table of the STEP 7 project in
question and export it in *.seq format. The language set up in SIMULATIONUnit must be the
same as the project language of the STEP 7 project.
SIMULATIONUnit V9.1
System Manual, 06/2018 45
Simulation of PROFIBUS components
4.8 Hardware export from TIA Portal
SIMULATIONUnit V9.1
46 System Manual, 06/2018
Simulation of PROFIBUS components
4.9 Download, display and diagnose hardware
In the TIA Portal, PLC tags → Show all tags. Then click on the Export button.
NOTICE
The slave type or modules are not queried here. In addition, slaves which are available in the
simulation box but which are not configured are not detected.
Checking is only project-wide and is displayed as a warning in the log file.
In case of doubt, the entire configuration should always be downloaded again.
SIMULATIONUnit V9.1
System Manual, 06/2018 47
Simulation of PROFIBUS components
4.9 Download, display and diagnose hardware
4.9.1 Displays
After connection, the box is first shown against a green background in the hardware tree.
If a different project than the opened one is loaded to the SIMIT UNIT, the SIMIT UNIT is
marked orange.
After successful download of the configuration the PROFIBUS devices are shown as
"defective" (shown in red).
If communication takes place between the master and the devices, the devices are displayed
against a green background.
In the last case, it will be additionally shown whether devices are redundant (one or two bus
connections) and in case of redundancy whether the device is the active (green) or the inactive
device (yellow).
SIMULATIONUnit V9.1
48 System Manual, 06/2018
Simulation of PROFIBUS components
4.10 Redundant H systems
Note
When configuring an H system for 4-channel or 8- channel PROFIBUS boxes, it is necessary
to always configure the H system for an "even numbered" channel (0,2,4,6) and the subsequent
channel.
Simulation of two "half" H machines on two consecutive channels is not possible.
SIMULATIONUnit V9.1
System Manual, 06/2018 49
Simulation of PROFIBUS components
4.10 Redundant H systems
352),%86'3
352),%86'3
(WKHUQHW
3URILEXV'36ODYHV
SIMULATIONUnit V9.1
50 System Manual, 06/2018
Simulation of PROFIBUS components
4.10 Redundant H systems
352),%86'3
(WKHUQHW
352),%86'3
3URILEXV'3VODYHV
352),%86'3
● One redundant controller with one redundant PROFIBUS DP line and Y-link.
Note
The simulation of F-modules downstream from the Y-link is not supported.
SIMULATIONUnit V9.1
System Manual, 06/2018 51
Simulation of PROFIBUS components
4.10 Redundant H systems
352),%86'3
352),%86'3
(WKHUQHW
3URILEXV'36ODYHV
</LQN
</LQN
SIMULATIONUnit V9.1
52 System Manual, 06/2018
Simulation of PROFIBUS components
4.11 Fail-safe
4.11 Fail-safe
The fail-safe functionality can also be simulated with SIMBAProfibus boxes / SIMIT UNIT PBs.
Operation is possible for both fail-safe "F" on the first channel as well as in combination with
a redundant system "FH".
SIMULATIONUnit V9.1
System Manual, 06/2018 53
Simulation of PROFIBUS components
4.12 Systems with Foundation Fieldbus components
Some digital fail-safe modules contain an assigned enable bit (yellow) in addition to the actual
data bits; the enable bit can be used to lock or enable the respective channel.
In older faceplates, any existing additional input bits must always be set to 0. The fail-safe
block in SIMIT UNIT PB only works in conjunction with the integrated redundancy block (also
with non-redundant fail-safe).
Then export the PDM configuration to the same folder in which the cfg file is located. It is useful
to manually delete any old PDM export files as this is not done by PDM.
SIMULATIONUnit V9.1
54 System Manual, 06/2018
Simulation of PROFIBUS components
4.12 Systems with Foundation Fieldbus components
During PDM export, select the object with all subordinate objects and networks in the lower
left.
SIMULATIONUnit V9.1
System Manual, 06/2018 55
Simulation of PROFIBUS components
4.12 Systems with Foundation Fieldbus components
Now import the cfg file for each PROFIBUS line during the HW import in SIMULATIONUnit.
See also Import hardware (Page 40).
NOTICE
It is currently not possible to map all functions of the FF system in the simulation. Error
messages are issued for certain FF functions because the SIMBAProfibus box acknowledges
missing functions or functions for which no data is not available in the box with FF system
error messages.
SIMULATIONUnit V9.1
56 System Manual, 06/2018
Simulation of PROFIBUS components
4.13 Restrictions when simulating PROFIBUS components
SIMULATIONUnit V9.1
System Manual, 06/2018 57
Simulation of PROFIBUS components
4.13 Restrictions when simulating PROFIBUS components
SIMULATIONUnit V9.1
58 System Manual, 06/2018
Simulation of PROFINET components 5
5.1 Introduction to simulation with PROFINET
SIMIT UNIT
6,08/$7,218QLW
5HDGDQG:ULWH ,QSXW 2XWSXW ,QSXW 2XWSXW ,QSXW 2XWSXW 31,2 3/&
6LPXODWLRQ
3URFHVV9DOXHV 9DOXHV 9DOXHV 9DOXHV 9DOXHV 9DOXHV 9DOXHV &RPPXQLFDWLRQ 8VHUSURJUDP
SURJUDP
6LPXODWHG3URFHVV9DOXHV
5HDO
&38
7&3,3
3RUW
5HDOWLPH
(WKHUQHW
3RUW
,3 ,3 ,3
6LPXODWHG31,2'HYLFHV 352),1(7
PROFINET components are simulated with the SIMBA PNIO or SIMIT UNIT PN box at the
real PROFINET IO controller. Data between a SIMBA PNIO box / SIMIT UNIT PN and the
simulation PC is transmitted over a TCP/IP connection. With a SIMBA PNIO Standard or SIMIT
UNIT PN 128, up to 128 PROFINET IO devices can be simulated on a PROFINET IO line.
With a SIMBA PNIO Premium or SIMIT UNIT PN 256, up to 256 PROFINET IO devices can
be simulated.
The SIMBA PNIO box / SIMIT UNIT is not integrated in the hardware configuration in the
SIMATIC S7 project. The box is not logged on as a PROFINET device.
The SIMBA PNIO box / SIMIT UNIT behaves in a neutral manner in the SIMATIC system and
is an independent hardware module.
Note
Substitute values for CPU stop:
SIMBA PNIO box/SIMIT UNIT generally supports the function "Substitution values with CPU
Stop" of devices, especially of ET 200SP. If necessary, request device description files form
the manufacturer which include information on substitute values. Import the device description
files into SIMULATIONUnit. If the function is recognized during the import, the following
functions are generated in the project:
● DQ_substitute
● AQ_substitute
SIMULATIONUnit V9.1
System Manual, 06/2018 59
Simulation of PROFINET components
5.1 Introduction to simulation with PROFINET
Feature SIMBA PNIO Standard SIMBA PNIO Premium SIMIT UNIT PN 128 SIMIT UNIT PN 256
Article No.: 9AE4120-1AA00 9AE4120-1AB00 9AE4120-2AA00 9AE4120-2AB00
Max. number of devi‐ 128 256 128 256
ces
PROFINET interfaces 1 1 1 2 z)
I/O data ✓ ✓ ✓ ✓
Minimum cycle time 250 μs 250 μs 250 μs 250 μs
Data records ✓ ✓ ✓ ✓
Device and module fail‐ ✓ ✓ ✓ ✓
ure
Bus failure ✓ ✓ ✓ ✓
Channel diagnostics ✓ ✓ ✓ ✓
IRT class 2 ✓ ✓ ✓ ✓
IRT class 3 ✓ ✓
PROFIsafe V1.0 (PN/ ✓ ✓ ✓ ✓
PN coupler)
PROFIsafe V2.4 ✓ ✓ ✓ ✓
PROFIsafe V2.6 ✓ ✓
Fast Startup ✓ ✓ ✓ ✓
Advanced startup ✓ ✓
(CPU 1200/1500)
Multidevices (IE/PB restricted 2) restricted 2) restricted 2) restricted 2)
Link)
I&M data ✓ ✓ ✓ ✓
Shared Device ✓ 1)
✓ 1)
✓ 1)
✓ 1)
Redundancy MRP ✓ 3) ✓
System redundancy S2 ✓
System redundancy ✓
R1
System redundancy
R2
Save project perma‐ ✓ ✓ ✓ ✓
nently
Save project to USB/ ✓ ✓
SD
Integrated switch ✓
Extended diagnostics
via SNMP
Dynamic Frame Pack‐
aging
Fail-safe values at ✓ ✓
CPU Stop
High-precision time
stamping
SIMULATIONUnit V9.1
60 System Manual, 06/2018
Simulation of PROFINET components
5.2 SIMIT UNIT PN
Feature SIMBA PNIO Standard SIMBA PNIO Premium SIMIT UNIT PN 128 SIMIT UNIT PN 256
Shared I/O (MSI/MSO)
Time Based I/O
Fragmentation
IRT with highest per‐
formance
Isochronous mode
MRPD
1)
Projects with Shared Devices can be loaded into the SIMBA PNIO / SIMIT UNIT PN, but only access by one PNIO controller
is supported.
2)
Some devices support the ISO protocol for exchange of configuration and diagnostic data by STEP 7 (e.g. IE/PB Link).
The ISO protocol and the associated simulation of the configuration and diagnostic data transmission for the devices in
question is not supported by SIMBA PNIO / SIMIT UNIT PN; the PNIO part of the device will work, however. Simulation of
IE/PB links with S7-300 CPU does not work.
3)
MRP client configurations are supported, but the ring cannot be closed with the single-channel SU.
z)
You cannot simulate two separate PROFINET networks, but only one network with two interfaces to two PNIO controllers
(e.g. for redundancy).
SIMULATIONUnit V9.1
System Manual, 06/2018 61
Simulation of PROFINET components
5.2 SIMIT UNIT PN
SIMULATIONUnit V9.1
62 System Manual, 06/2018
Simulation of PROFINET components
5.3 SIMBA PNIO
SIMULATIONUnit V9.1
System Manual, 06/2018 63
Simulation of PROFINET components
5.3 SIMBA PNIO
RT Ethernet 1 This port has to be connected to the automation system. It simulates a complete
PROFINET I/O strand or parts of it. It can be either connected directly to a PROFI‐
NET IO controller (for example CP443-1) or indirectly over one or more switches
(for example SCALANCE X208). The transmission speed is 100 Mbps. The polarity
of the Ethernet cable is detected automatically, which means normal or cross-con‐
nect cables can be used.
RT Ethernet 2 Not activated.
RT Ethernet 3 Not activated.
RT Ethernet 4 Not activated.
Control Port 1 The simulation program is controlled via this port. A PC with the SIMULATIONUnit
software must be connected to the SIMBA PNIO box over the interface.
Control Port 2 Not activated.
The TCP/IP port can be connected directly to your simulation computer or indirectly over one
or more switches. The transmission speed and polarity of the Ethernet cable is set
automatically, which means normal or cross-connect cables can be used.
Digital I/O
The box has 8 digital inputs and 8 digital outputs. These are electrically isolated from the rest
of the box using optocouplers.
Inputs
3LQ
3LQ 2SWRFRXSOHU
'LJLQSXW )3*$
([WJURXQG
3LQ
([WYROWDJH
3LQ 2SWRFRXSOHU
3LQ N˖
3LQ )3*$
'LJRXWSXW
([WJURXQG
3LQ
SIMULATIONUnit V9.1
64 System Manual, 06/2018
Simulation of PROFINET components
5.3 SIMBA PNIO
Inactive interfaces
This box was not only specially developed for SIMBA. In some versions it contains other
interfaces which are not used here:
Serial 1 This port is only used for development purposes and must not be used by users.
Serial 2 Not activated.
USB The box comes with 2 USB host ports. They are not activated.
SIMULATIONUnit V9.1
System Manual, 06/2018 65
Simulation of PROFINET components
5.4 Configuration
5.3.4 Reset
The box comes with one Reset button. After Reset the box switches to startup mode. All data
stored on the module is lost in this case, except for the IP address setting. While the StartUP
LED is flashing the box cannot be accessed either via the Web interface or the
SIMULATIONUnit.
5.4 Configuration
5.4.1 Availability
To access the box over the Web interface, the TCP/IP port has to be connected to a PC
(Hardware connections (Page 63) and Examples of interconnecting hardware (Page 67)). The
boot phase of the SIMBA PNIO/SIMIT UNIT PN has to be finished, which means Power and
Ready LEDs light up. Access to the Web interface is possible during simulation.
First of all, an IP address has to be assigned to the SIMBA PNIO/SIMIT UNIT PN. This address
is then used to access the module.
NOTICE
The selected IP address must be reachable from the simulation PC (same subnet) and must
be located in a different IP subnet than the simulated devices. If necessary, a second IP
address can be assigned in the PC (e.g. for simultaneous connection to a CPU 319F and a
SIMBA PNIO/SIMIT UNIT PN).
Example:
SIMULATIONUnit V9.1
66 System Manual, 06/2018
Simulation of PROFINET components
5.4 Configuration
address, subnet mask and ,if necessary, the default gateway and the name of the box. Click
on the "Save changes" button to save this information in the box.
3&6,08/$7,21
(6 8QLW
(WKHUQHW (WKHUQHW
&3
&3$GY
68
6
352),1(7,2
SIMULATIONUnit V9.1
System Manual, 06/2018 67
Simulation of PROFINET components
5.4 Configuration
3&6,08/$7,21
8QLW (6
6ZLWFK
(WKHUQHW
&3
&3$GY
68
6
352),1(7,2
Both controllers (for ES and for SIMBA PNIO/SIMT UNIT PN) are connected in the same
network.
The PROFINET IO line is separate. If real devices are present, they can be interconnected by
using a switch, bearing in mind any configured topology.
SIMULATIONUnit V9.1
68 System Manual, 06/2018
Simulation of PROFINET components
5.4 Configuration
(66,08/$7,21 QHWZRUN
8QLW
LQWHUIDFHFDUGV
(WKHUQHW
(WKHUQHW
&3
&3$GY
68
6
352),1(7,2
SIMULATIONUnit V9.1
System Manual, 06/2018 69
Simulation of PROFINET components
5.5 Network connection
(66,08/$7,21 QHWZRUN
8QLW LQWHUIDFHFDUG
(WKHUQHW
&3$GY
68
6
352),1(7,2
This solution works but is not the best if the network is also connected to an external network.
The external network may cause a disruption of the cyclic I/O communication if there is a lot
of data traffic.
Important: For the following CPUs as of version 5.1 and higher, the control interface (TCP/IP
interface of SIMBA PNIO) and the simulation interface (real-time Ethernet interface of SIMBA
PNIO) must be separated from a hardware perspective:
● CPU 414-3PN/DP
● CPU 416-3PN/DP
● CPU 416F-3PN/DP
SIMULATIONUnit V9.1
70 System Manual, 06/2018
Simulation of PROFINET components
5.5 Network connection
You can also connect all networks with the help of switches. The network may cause a
disruption of the PROFINET IO communication if there is a lot of data traffic. In addition,
communication between SIMULATIONUnit PC and SIMIT UNIT is slowed down.
See also
Simulation of the topology (Page 78)
SIMULATIONUnit V9.1
System Manual, 06/2018 71
Simulation of PROFINET components
5.5 Network connection
6+&38
6,08/$7,213&
352),1(7,2
(WKHUQHW
6,0,781,731
When you simulate redundancy at R1, disconnect the ports in the simulation project (see also
Simulation of the topology (Page 78)).
By connecting two ports, P1 and P2 of a SIMIT UNIT PN 256, to the two ports of a single PLC,
you create a ring.
6&38
0535LQJ
6,0,781,731
NOTICE
Do not connect both ports P1 and P2 to a single CPU without an MRP configuration; otherwise
you create a loop that results in a very high network load.
SIMULATIONUnit V9.1
72 System Manual, 06/2018
Simulation of PROFINET components
5.6 Creating a project
5.5.2 Network with multiple SIMIT UNITs and real PROFINET devices
Real PROFINET devices can also be integrated into the network. They must be deleted from
the SIMULATIONUnit project.
NOTICE
Do not create a (*.spf) project folder within a different project folder.
SIMULATIONUnit V9.1
System Manual, 06/2018 73
Simulation of PROFINET components
5.6 Creating a project
Manual configuration
Menu "Configuration" → "Edit hardware"
When configuring SIMULATIONUnit using the hardware editor, the hardware components
have to be dragged from a library with drag and drop. SIMULATIONUnit only checks the logical
consistency of the configuration (for example, device numbers).
NOTICE
SIMULATIONUnit does not check the consistency of the logical addresses such as STEP7
Hardware Config. This means that in the event of duplicate assignment of logical addresses,
inconsistencies or unintended signal changes may occur during simulation.
SIMULATIONUnit V9.1
74 System Manual, 06/2018
Simulation of PROFINET components
5.6 Creating a project
In the "Default data" field, data can be entered which is available as default values on every
download in the SIMIT UNIT PN. The data must be entered as hex values separated using
commas.
If necessary, a record can also be deleted from the project. To do this, right-click on the data
record and select in the menu: Remove element
Importing hardware
Menu "Configuration" → "Import hardware".
In the following program view, import files from Step 7 such as system blocks (.dat), TIA Portal
OMS files (.oms) or XML files can be selected and the selection can be imported into the
SIMULATIONUnit project.
It is also possible to import hardware data from an XML file from a different SU project.
Hardware export from STEP 7 is performed in exactly the same way as for PROFIBUS projects.
Hardware export from the TIA Portal is performed in exactly the same way as for PROFIBUS
projects.
When copying the SDB files, you must ensure that all sdbxxx.dat files are copied because
SIMULATIONUnit or links within an SDB file are evaluated for other SDB files.
Avoiding MAC address conflicts
If you use more than one SIMBA PNIO box / SIMIT UNIT PNs in the network and load and
configure them from different computers, it is important that the devices used in the project do
not use a MAC address that is already in use on another box to avoid conflicts. For this reason,
you can assign the MAC addresses to be used by the SIMBA PNIO/SIMIT UNIT PN and the
maximum number of devices under Settings → Options before importing.
SIMULATIONUnit V9.1
System Manual, 06/2018 75
Simulation of PROFINET components
5.7 Download, display and diagnose hardware
5.7.1 Displays
After connection, the box is first shown against a green background in the hardware tree.
If a different project than the opened one is loaded to the SIMIT UNIT, the SIMIT UNIT is
marked orange.
After successful download of the configuration, you can see the PROFINET devices as
"downloaded" (turquoise background).
SIMULATIONUnit V9.1
76 System Manual, 06/2018
Simulation of PROFINET components
5.7 Download, display and diagnose hardware
If the communication between the PNIO controller and the devices is established, the devices
are displayed against a green background.
In the latter case you can also see that a fail-safe module (yellow) is active.
NOTICE
Devices which are present in the simulation box but not configured are not detected. In case
of doubt, the entire configuration should always be downloaded again. Real devices should
be manually deleted after import.
SIMULATIONUnit V9.1
System Manual, 06/2018 77
Simulation of PROFINET components
5.8 Simulation of the topology
SIMIT UNIT PN
6,08/$7,2181,7
5HDGDQG:ULWH 3/&
6LPXODWLRQ
3URFHVV9DOXHV 8VHUSURJUDP
SURJUDP
5HDO
'HYLFH 'HYLFH 'HYLFH &38
7&3,3
3RUW
6LPXODWHG31,2'HYLFHV 352),1(7
SIMBA PNIO/SIMIT UNIT PN simulates the behavior of a PROFINET network at a single point
in the network: the defined port of the first simulated device. It is directly connected to the
controller.
In the case of the SIMIT UNIT PN 256, an additional device, which communicates as the first
device with the connected PNIO controller, can be configured for simulation port P2.
Therefore when the configuration is created, the number of the first device and port number
which is connected to the rest of the world must be specified. In this example, Device 1 and
Port No. 2 must be configured.
● Topology information cannot be imported from STEP 7 or TIA Portal.
● The topology of all devices behind the first device does not matter when you are creating
a SIMULATIONUnit project.
● If no or incorrect topology information is configured in SU, then Port 1 of the next best device
in the project is declared as the first device.
The topology information can be entered in the menu Configuration → Edit hardware if an
SIMIT UNIT PN is selected.
SIMULATIONUnit V9.1
78 System Manual, 06/2018
Simulation of PROFINET components
5.8 Simulation of the topology
The following figure shows the settings required in SIMULATIONUnit. Select the "Disconnect
SU channels" option in any case. This setting is used to prevent switch communication on the
SIMIT UNIT:
SIMULATIONUnit V9.1
System Manual, 06/2018 79
Simulation of PROFINET components
5.10 Simulation of fail-safe modules (PROFIsafe V2)
SIMULATIONUnit V9.1
80 System Manual, 06/2018
Simulation of PROFINET components
5.10 Simulation of fail-safe modules (PROFIsafe V2)
Some digital fail-safe modules contain an assigned enable bit (yellow) in addition to the actual
data bits; the enable bit can be used to lock or enable the respective channel.
In addition, in the hardware view you can also see some status bits as the last channels, which
provide information about the status of the fail-safe communication.
Meaning of the most important status bits:
If fail-safe operation is activated, all status bits = 0 and the fail-safe module has a yellow border.
5.10.1 Troubleshooting
The output byte "DIAG" of the F-instance DB blocks in STEP 7/TIA provides information about
the error state.
SIMULATIONUnit V9.1
System Manual, 06/2018 81
Simulation of PROFINET components
5.11 Simulation of redundancy
SIMULATIONUnit V9.1
82 System Manual, 06/2018
Simulation of PROFINET components
5.11 Simulation of redundancy
You can simulate a redundancy switch by simulating a device failure at port P1 or P2. Right-
clicking on a PROFINET device displays these items in the menu.
Note
For a non-redundant device on the second line
● Manually attach a non-redundant device in SIMULATIONUnit to the first line:
Example: All redundant devices and non-redundant devices which are attached to
PROFINET line 100 were imported at SU line 0. An additional non-redundant device, which
was imported on SU line 1, was configured on the PROFINET line 101.
Possible solution: Change to the "Edit hardware" mode in SIMULATIONUnit. Attach the
individual device from SU line 1 to SU line 0.
● Use an additional SIMIT UNIT PN for the non-redundant devices on the second line.
Possible solution: Connect both SIMIT UNITS to the CPU. The first SIMIT UNIT simulates
all redundant devices on the first line. The second SIMIT UNIT simulates all non-redundant
devices on the second line.
SIMULATIONUnit V9.1
System Manual, 06/2018 83
Simulation of PROFINET components
5.13 Shared Device simulation
Note
Procedure for STEP 7 V5.6
1. Create a project in SIMULATIONUnit.
2. Import (Page 40) the hardware in the following order:
– SDB files of the first CPU which configures the header module of the Shared Device.
– CFG file of the first CPU
– SDB files of the second CPU that does not configure the header module of the Shared
Device.
An error message is displayed which signals that the header module was not
recognized. The error is remedied in the next step.
3. Import the CFG file of the second CPU to the hardware editor.
4. Click "Apply changes".
Only the modules that are assigned to the respective devices are displayed. The header
module is necessary for the SIMIT UNIT PN for the first as well as the second CPU.
SIMULATIONUnit V9.1
84 System Manual, 06/2018
Manipulation of the simulated devices 6
6.1 I/O values
I/O values in SIMULATIONUnit can be controlled and monitored in the hardware view, the I/O
view and in function instance windows in the runtime system or even self configured
worksheets. It is ensured that the same IO value is always consistent in all windows. The I/O
values are updated approximately every second in all windows.
Symbolic addresses
Symbolic addresses can also be managed and displayed in SIMULATIONUnit (see IO view,
second column).
SIMULATIONUnit V9.1
System Manual, 06/2018 85
Manipulation of the simulated devices
6.2 Alarm generation and triggering
The menu shown contains the conversion definitions for the most used sensors and actuators.
In addition, the analog value can also be displayed as "raw data" as a decimal or hexadecimal
value.
If you have selected an analog value in the hardware view, you will also see the menu
command "Use unit as default for the module”, which can be used to simultaneously set all
analog values of the selected module to the same unit.
Device fault
Open the hardware view. Right-clicking on an element of the hardware view opens a shortcut
menu with the possible actions. With a SIMIT UNIT, you can let the entire line fail, for example.
Right-click on devices to have the corresponding device fail.
It is also possible to simulate device faults with the help of the runtime system. Use the
"DeviceAusfall" basic function for this.
SIMULATIONUnit V9.1
86 System Manual, 06/2018
Manipulation of the simulated devices
6.2 Alarm generation and triggering
The three inputs of the function must be parameterized with the line number (HwId), slave
number (Slv) and the control bit (Control). The slave number can be assigned parameters as
follows:
● HwId = Number of the SU line
● Slv = PROFIBUS address of the slave
● Control = 0: Slave has failed
● Control = 1: Slave simulated
<Diagnose>
<MENU>
<INDEX>0</INDEX> // Index via which the alarm can be triggered (index 0 should always
be the reentry of standard diagnostics!)
<LEVEL>1</LEVEL> //Abstraction level to which the entry relates (0 = Slave, 1 = Module,
2 = Channel)
<ITEMTYPE>MODULE</ITEMTYPE> //Object type for which the entry is displayed.
<FUNCTION>DPALARM</FUNCTION> //Editing function, currently always "DPALARM"
<DATA>$IDENTBLOCK,01,02,03,04,99</DATA> //Hex. diagnostic bytes according to
standard diagnostics or pre-defined macro blocks
<ACTIVE>0</ACTIVE> //Active state of the object after triggered alarm
<NAME>Standard diagnostics</NAME> //Menu display name
</MENU>
<MENU>
...
</MENU>
</Diagnose>
A data block has to be created for every alarm if it does not already exist.
Diagnostic data can be used as comma-separated hex bytes (e.g. "43,00,00") or as pre-defined
diagnostic macros. Both entry types can be used in any combination.
SIMULATIONUnit V9.1
System Manual, 06/2018 87
Manipulation of the simulated devices
6.2 Alarm generation and triggering
Diagnostics macros
Diagnostic macros are defined keys which can be inserted in the "DATA" area. When the
program detects a key of this sort, a data block is automatically generated. In addition, for
every macro there must be a Tag of the same name with the required parameterization data
in the XML file, if necessary.
Module status
<DATA>...,$MODULEBLOCK,.... </DATA>
<MODULEBLOCK>
<ERRORVALUE>1</ERRORVALUE> //0 module ok, 1 defective, 2 - wrong module, 3 - no module
<MODULEBLOCK>
Channel-related diagnostics
<DATA>...,$CHANNELBLOCK,.... </DATA>
<CHANNELBLOCK>
<ERRORVALUE>3</ERRORVALUE> //Error type in accordance with PROFIBUS standard
<CHANNELBLOCK>
Alarm block
<DATA>...,$ALARMBLOCK,.... </DATA>
<ALARMBLOCK>
<REASON>PullModule</REASON>
//Alarm type: "PullModule", "PlugModule", "Process", "DiagError", "DiagOK"
<MODULEERROR>00101007</MODULEERROR>
//Module error type for diagnostic interrupts (32 bit)
<CHANNELERROR>10</CHANNELERROR>
//Channel error type for diagnostic interrupts (here, for example, wire break)
<ALARMBLOCK>
Standard block
<DATA>$STANDARDBLOCK</DATA>
This block does not have any parameterized data. Its inclusion in the menu only causes the reset of
any diagnostic information to standard diagnostics.
The index must be unique across the entire diagnostics file. The "DiagDP.xml" file is read first. If a type-
related alarm file is present, this is also read in. If identical indices are detected, the type-related alarm
file overwrites the standard alarm.
SIMULATIONUnit V9.1
88 System Manual, 06/2018
Manipulation of the simulated devices
6.2 Alarm generation and triggering
Device fault
Open the hardware view. Right-clicking on an element of the hardware view opens a shortcut
menu.
Here you will find different menu commands for simulating device faults, depending on the
simulated device type, e.g. for PROFINET: Device fault, device return. In addition, you can
also simulate a fault of the whole line. For this, right-click on the symbol of the SU module and
the "Line fault" function is executed in the shortcut menu.
It is also possible to simulate device faults with the help of the runtime system. Use the
"DeviceAusfall" basic function for this.
The three inputs of the function must be parameterized with the SU number (HwId), device
number (Slv) and the control bit (Control). The device number can be assigned parameters as
follows:
● HwId = Number of the SU line
● Slv = PROFINET address of the device
● Control = 1: Device simulated
● Control = 0: Device has failed
SIMULATIONUnit V9.1
System Manual, 06/2018 89
Manipulation of the simulated devices
6.2 Alarm generation and triggering
In a Simba project folder you can find the VendorID and DeviceID in
the "project.xml" file under the XML key "TYPE".
The alarm file has the following structure:
<Diagnose>
<MENU>
<INDEX>0</INDEX>
<NAME>short circuit</NAME>
<SUBTYPE>CHANNEL</SUBTYPE>
<FUNCTION>PNIOALARM </FUNCTION>
<ACTIVE>2</ACTIVE>
<ERRTYPE>1</ERRTYPE>
</MENU>
<MENU>
...
</MENU>
</Diagnose>
A data block has to be created for every alarm if it does not already exist.
SIMULATIONUnit V9.1
90 System Manual, 06/2018
Manipulation of the simulated devices
6.3 PROFIsafe V1 (F_SEND, F_RECV)
SIMULATIONUnit V9.1
System Manual, 06/2018 91
Manipulation of the simulated devices
6.3 PROFIsafe V1 (F_SEND, F_RECV)
CRC_enable
To enable CRC processing in the SIMIT UNIT, this parameter must contain the value 80h.
NOTICE
In case of a broken connection (e.g. pulling the PROFIBUS cable), the CPU has to be
restarted for reintegration. Otherwise, its internal telegram counter is not reset.
SIMULATIONUnit V9.1
92 System Manual, 06/2018
Manipulation of the simulated devices
6.3 PROFIsafe V1 (F_SEND, F_RECV)
6.3.5 Troubleshooting
The output byte DIAG of the F_SENDDP/F_RECV_DP blocks in Step 7/TIA provides
information about the fault condition.
SIMULATIONUnit V9.1
System Manual, 06/2018 93
Manipulation of the simulated devices
6.3 PROFIsafe V1 (F_SEND, F_RECV)
SIMULATIONUnit V9.1
94 System Manual, 06/2018
Runtime system 7
The runtime system integrated in SIMULATIONUnit is used for processing aggregate and
typical functions which are essential for the FAT test of PCS 7 systems. These functions are
generated as a block and can then be instanced as often as required.
The SIMIT UNIT PN also offers the possibility of downloading most aggregate and typical
functions to the box and then executing them in the real-time runtime system.
The cycle time of the functions is the PROFINET send clock.
SIMULATIONUnit V9.1
System Manual, 06/2018 95
Runtime system
7.2 Editing function block types
Double-click "Function blocks" in the navigation bar on the left to create a new function block.
Right-clicking on a function block and selecting the menu command "Edit function" opens a
function block for editing.
Name: The name of the function block must be entered here. If another block with the same
name already exists, it is overwritten at Save.
Type: The place where the function block is to be executed.
Some of the basic functions are suitable for several types. The table 'Implemented basic
functions' provides information on which basic functions can be executed where.
Integration of basic functions
SIMULATIONUnit V9.1
96 System Manual, 06/2018
Runtime system
7.2 Editing function block types
Here, one or more basic functions from the list on the right are added, which can be executed
from top to bottom. In this example the basic functions Switch and PT_1 are added.
Switch has 3 inputs and 1 output
PT_1 has 2 inputs and 1 output
Global inputs
Global inputs are inputs for the function block to which you can interconnect I/Os, flags or
constants in the function instances.
A global input can be created by right-clicking → "Add global input"
An entry IN0, IN1, IN… then appears in the column Global input.
If the same global input is to be interconnected to several basic function inputs, then the same
input can be selected from the drop box in different lines. Click the text in the Input column to
change the name of the global input.
Global outputs
Global outputs are outputs for the function block to which you can interconnect I/Os or flags
in the function instances.
A global output can be created by right-clicking → "Add global output"
A text with the name of the output then appears in the Global output column. Click on the text
to change it.
Constants
Constants can be interconnected to individual inputs of the basic functions.
Right-click on the input of a basic function and select "Constant as input". The value 0 is
displayed in the Input column.
Click on the value to change it. Only numerical values are possible.
SIMULATIONUnit V9.1
System Manual, 06/2018 97
Runtime system
7.3 Block instances
Inserting an instance
Right-click on Instances → Add instance.
All inputs and outputs of the instance must be interconnected in order to activate the instance.
From the hardware view, the I/O view or flag view, I/Os can be dragged to an input or output
with the mouse. It is also possible to enter the name of the I/O in the input field. Numerical
constants can also be connected to the inputs. To do this, enter the number in the input field.
(De)activating instances
/ Activate/deactivate instance If the instance is deactivated, it is not processed by the
runtime system.
Mark an instance
/ ✓ The user can mark an instance as "checked" here. This setting does not affect the
simulation.
Renaming an instance
Right-click on an instance name → Rename instance. Any instance name can be entered.
SIMULATIONUnit V9.1
98 System Manual, 06/2018
Runtime system
7.4 Start/stop runtime system
Five columns, which must have the following entries, are evaluated:
● Name of the function
● Name of the instance
● I/O address, flag or constant
● Parameter number
● I/O type
– 1 = input
– 2 = output
– 3 = flag at input
– 4 = flag at output
– 5 = constant
To obtain a template, you can create function instances as described under Inserting an
instance and then export them as .csv files. To do this, right-click in the block instance window
and select "Export instances" in the pop-up menu.
To import instances, right-click in the block instance window and select "Import instances" in
the pop-up menu.
The structure of a .csv file for import or export can be seen in the following example:
Function name; Instance name; Log. address; Parameter number; I/O type;
Motor; Motor_0; S000A0.0; 0; 2;
Motor; Motor_0; S000AW256; 1; 2;
Motor; Motor_0; S000E0.0; 0; 1;
Motor; Motor_0; S000EW256; 1; 1;
SIMULATIONUnit V9.1
System Manual, 06/2018 99
Runtime system
7.5 Implemented basic functions
The SU PNIO function Functions is always executed cyclically. The cycle time is the
PROFINET send clock.
Existing PC software functions can be converted to SU PNIO functions and vice versa if all
basic functions are present for both function types. Compatible functions are listed in the
following chapter.
Restrictions:
All inputs, outputs or flags that are connected to the inputs and outputs of the simulation box
hardware functions must belong to the same simulation box. The connection of constants to
function inputs is also possible. Flags can be connected for operation at function inputs. Flags
at function outputs are allowed, they are, however, only managed internally and are not
displayed in the SIMULATIONUnit interface.
SIMULATIONUnit V9.1
100 System Manual, 06/2018
Runtime system
7.5 Implemented basic functions
SIMULATIONUnit V9.1
System Manual, 06/2018 101
Runtime system
7.5 Implemented basic functions
SIMULATIONUnit V9.1
102 System Manual, 06/2018
Runtime system
7.5 Implemented basic functions
SIMULATIONUnit V9.1
System Manual, 06/2018 103
Runtime system
7.5 Implemented basic functions
SIMULATIONUnit V9.1
104 System Manual, 06/2018
Runtime system
7.5 Implemented basic functions
SIMULATIONUnit V9.1
System Manual, 06/2018 105
Runtime system
7.5 Implemented basic functions
SIMULATIONUnit V9.1
106 System Manual, 06/2018
Runtime system
7.5 Implemented basic functions
SIMULATIONUnit V9.1
System Manual, 06/2018 107
Runtime system
7.7 Flag memory
SIMULATIONUnit V9.1
108 System Manual, 06/2018
The programming interface of SIMULATIONUnit 8
8.1 General
The programming interface integrated in SIMULATIONUnit offers a user-friendly API which
enables the convenient coupling of almost any simulation system to SIMULATIONUnit or to
the simulation hardware. The simulation system does not need to take care of the functioning
of the hardware, this function is covered by the configuration with SIMULATIONUnit.
8.2 Configuration
The following commands can be used to access SIMIT UNITs outside of
SIMULATIONUnit.exe. This is an API interface from simbakern.dll for 32-bit systems or
simbakern64.dll for 64-bit systems. The commands may be executed even if
SIMULATIONUnit.EXE has not been started before. SIMULATIONUnit.exe can run in the
background, however, while a different program takes over control. SIMULATIONUnit.exe then
switches to listening mode.
Supported operating systems are WINDOWS 32-bit (Win7) or WINDOWS 64-bit (Win7/8/10).
Exported functions therefore always have the call format PASCAL (corresponds to the WINAPI
definition). Structure elements in structures have BYTE alignment (close-packed).
Input and Output names are always seen from a CPU view. The return codes are identical for
all functions (see Return codes (Page 124)).
The simbakern.dll exports more functions than are described in this documentation. In order
not to endanger the project consistency, only the functions described in this chapter can be
used.
SIMULATIONUnit V9.1
System Manual, 06/2018 109
The programming interface of SIMULATIONUnit
8.3 Online
8.3 Online
SIMULATIONUnit V9.1
110 System Manual, 06/2018
The programming interface of SIMULATIONUnit
8.3 Online
SIMULATIONUnit V9.1
System Manual, 06/2018 111
The programming interface of SIMULATIONUnit
8.3 Online
NOTICE
When using SIMBA2_ReadIO and SIMBA2_ReadIO_Unit, sufficient buffer space for the
resulting string value must be assigned by the application program.
SIMULATIONUnit V9.1
112 System Manual, 06/2018
The programming interface of SIMULATIONUnit
8.3 Online
SIMULATIONUnit V9.1
System Manual, 06/2018 113
The programming interface of SIMULATIONUnit
8.3 Online
SIMULATIONUnit V9.1
114 System Manual, 06/2018
The programming interface of SIMULATIONUnit
8.3 Online
NOTICE
hwindex == -1 (alll channels) is not possible here.
The functions are used to save and delete the Autostart project. To permanently save a project,
SIMBA2_SaveProjectFlash must first be called with the appropriate hardware index and
SIMULATIONUnit V9.1
System Manual, 06/2018 115
The programming interface of SIMULATIONUnit
8.3 Online
subsequently SIMBA2_DownloadAll with the same hardware index. This results in the
configuration being saved when loading in the flash of the module. The download process can
be monitored with SIMBA2_GetDownloadStatus.
SIMULATIONUnit V9.1
116 System Manual, 06/2018
The programming interface of SIMULATIONUnit
8.3 Online
NOTICE
The application is responsible for the validity of an event to be registered.
If you are running your application as a second instance together with SIMULATIONUnit.exe,
you can only use SIMBA2_Register…NamedEvent for registration as cross-process events
must have names.
Detection of the end of transmission of the I/O data between the PC and box.
If the application performs the synchronization between the PC and the box itself, the end of
data transmission can be signaled by an event.
int SIMBA2_RegisterCyclicIOReadyEvent(int hwindex, HANDLE
eventhandle)
int SIMBA2_UnRegisterCyclicIOReadyEvent(int hwindex)
Parameter:
SIMULATIONUnit V9.1
System Manual, 06/2018 117
The programming interface of SIMULATIONUnit
8.4 Functions for using the DLL with your own GUI
8.4 Functions for using the DLL with your own GUI
The following functions can only be executed from the first instance which has loaded
"SIMBAkern.dll". This essentially involves functions for configuration, hardware import and the
display of the configured I/Os.
SIMULATIONUnit V9.1
118 System Manual, 06/2018
The programming interface of SIMULATIONUnit
8.5 Read/change parameter in project
SIMULATIONUnit V9.1
System Manual, 06/2018 119
The programming interface of SIMULATIONUnit
8.5 Read/change parameter in project
Key value
IPADDR The IP address (e.g."192.168.0.1")
CHANNELNO Channel number of an SU box
FIRSTDEVICE Device number of first device behind the PNIO controller
FIRSTPORT Port number of the first device behind the PNIO controller at SU port P1
SECONDDE‐ Device number of the second device behind a second PNIO controller (with two-
VICE channel SU)
SECONDPORT Port number of the first device behind a second PNIO controller (with two-channel
SU)
SIMULATIONUnit V9.1
120 System Manual, 06/2018
The programming interface of SIMULATIONUnit
8.5 Read/change parameter in project
SIMULATIONUnit V9.1
System Manual, 06/2018 121
The programming interface of SIMULATIONUnit
8.5 Read/change parameter in project
SIMULATIONUnit V9.1
122 System Manual, 06/2018
The programming interface of SIMULATIONUnit
8.5 Read/change parameter in project
SIMULATIONUnit V9.1
System Manual, 06/2018 123
The programming interface of SIMULATIONUnit
8.7 Return codes
The version of the SIMBAkern.dll is output with para = 0, the version of the hardware library
with para = 1. The SIMIT UNIT modules send their version ID after SIMBA2_ConnectAll is
called. After successful connection, the version ID can be read out with
SIMBA2_GetErrorString.
SIMULATIONUnit V9.1
124 System Manual, 06/2018
The programming interface of SIMULATIONUnit
8.7 Return codes
SIMULATIONUnit V9.1
System Manual, 06/2018 125
The programming interface of SIMULATIONUnit
8.7 Return codes
SIMULATIONUnit V9.1
126 System Manual, 06/2018
OPC server 9
9.1 Purpose
The OPC server for SIMULATIONUnit enables an OPC client to access the process values of
an open project.
The server supports the OPC communication service "Data access" (OPC DA) in accordance
with specification V2.0.
9.2 Installation
During the installation of SIMULATIONUnit, the OPC server is registered on the PC. OPC
clients running on the same computer are now able to get access via the OPC interfaces.
OPC clients which are running on remote systems connected over a network may require
additional information in order to access the SIMULATIONUnit OPC server.
For this purpose the file SimbaOpcServerProgId.reg is provided. This file is located in the
SIMULATIONUnit directory in the directory OPC (usually under "C:\%32-bit programs%\
%SIMULATIONUnit Installation folder%\OPC\" ).
To register the server on the remote client, copy the file SimbaOpcServerProgId.reg to the
client computer. The data content is then entered in the client’s registry with a double-click.
This gives the client all the necessary information to connect to the OPC server.
Remote OPC communication usually requires for adjustments to be made to the DCOM
security settings. The DCOM settings can be edited with the Microsoft program dcomcnfg.exe.
Please refer to the documentation provided by Microsoft for more information.
SIMULATIONUnit V9.1
System Manual, 06/2018 127
OPC server
9.4 User interface
The OPC server starts with the same project and takes control of the IOs. It automatically
connects to the SIMIT UNITs and starts the exchange of data.
NOTICE
The OPC server cannot modify a hardware configuration or download it to boxes. This must
be done with SIMULATIONUnit before the OPC server is started.
The program terminates automatically when the last client logs off.
Number of OPC items The number of process values defined in the SIMULATIONUnit project.
Number of active items Shows the number of process values that are currently being exchanged with
connected clients.
SIMULATIONUnit V9.1
128 System Manual, 06/2018
OPC server
9.5 Cycle time
SIMULATIONUnit V9.1
System Manual, 06/2018 129
OPC server
9.5 Cycle time
SIMULATIONUnit V9.1
130 System Manual, 06/2018
XML import of hardware data 10
10.1 Basics for XML import
SIMIT supports the import of the hardware configuration of controllers of third-party vendors
via an XML hardware import interface.
An XML file that conforms to the formats described below can be imported into SIMIT (SU
import / XML import). This creates an executable and loadable PROFIBUS or PROFINET
project.
The user can thus configure a simulation relatively easily using a suitable export of the
hardware data from his configuration tool or also using an XML editor.
SIMULATIONUnit V9.1
System Manual, 06/2018 131
XML import of hardware data
10.3 XML format for the import of a PROFINET line
<HARDWARE>
<COMMENT/>
<NAME>SimbaPNIO_2[0]</NAME> Name of the simulation box, name is freely assignable,
the number in the square brackets at the end indicates
the channel of the box and must be present.
<HWTYPE>PNIO</HWTYPE> Type of simulation box. For PROFINET "PNIO"
<IOSUBSYSTEM>100</IOSUBSYSTEM> PROFINET system ID
<FIRSTDEVICE>6</FIRSTDEVICE> Topology information, the device that is directly behind
the controller and is thus simulated at the external inter‐
face of the simulation box.
<FIRSTPORT>1</FIRSTPORT> The corresponding port for this.
SIMULATIONUnit V9.1
132 System Manual, 06/2018
XML import of hardware data
10.3 XML format for the import of a PROFINET line
SIMULATIONUnit V9.1
System Manual, 06/2018 133
XML import of hardware data
10.3 XML format for the import of a PROFINET line
<SUBSLOT>
<NAME>Port 1</NAME> Subslot for a port of the PNIO interface
<INDEX>32769</INDEX>
<TYPE>0000C000</TYPE>
<INLEN>0</INLEN>
<OUTLEN>0</OUTLEN>
<IOPS_Length>1</IOPS_Length>
<IOCS_Length>1</IOCS_Length>
</SUBSLOT>
<SUBSLOT>
<NAME>Port 2</NAME>
<INDEX>32770</INDEX>
<TYPE>0000C000</TYPE>
<INLEN>0</INLEN>
<OUTLEN>0</OUTLEN>
<IOPS_Length>1</IOPS_Length>
<IOCS_Length>1</IOCS_Length>
</SUBSLOT>
</PNIOSLOT>
<PNIOSLOT> Slot example for an input module
<NAME>SM 321 DI16xDC24V</NAME>
<ORDERNUMBER>6ES7 321-1BH50-0AA0</
ORDERNUMBER>
<INDEX>1</INDEX>
<TYPE>00009FC2</TYPE>
<API>0</API>
<CHILDTYPE>SUBSLOT</CHILDTYPE>
<SUBSLOT>
<TYPE>00000000</TYPE>
<INDEX>1</INDEX>
<NAME>14</NAME>
<INLEN>2</INLEN>
<OUTLEN>0</OUTLEN>
<IOPS_Length>1</IOPS_Length>
<IOCS_Length>1</IOCS_Length>
<LOGIN>6</LOGIN> Logical input address, must be unique AS-wide. Data is
exchanged from the interface via this address.
<CHILDTYPE>CHANNEL</CHILDTYPE>
</SUBSLOT>
</PNIOSLOT>
... Additional allocated slots
<PNIOSLOT>
<NAME>FDO10xDC24V/2A</NAME>
<INDEX>4</INDEX>
SIMULATIONUnit V9.1
134 System Manual, 06/2018
XML import of hardware data
10.5 Syntactic validation of generated XML files
<TYPE>000008C1</TYPE>
<API>0</API>
<CHILDTYPE>SUBSLOT</CHILDTYPE>
<SUBSLOT>
<TYPE>00000000</TYPE>
<INDEX>1</INDEX>
<INLEN>6</INLEN>
OUTLEN>6</OUTLEN>
<IOPS_Length>1</IOPS_Length>
<IOCS_Length>1</IOCS_Length>
<LOGIN>18</LOGIN>
<LOGOUT>18</LOGOUT> Logical output address, must be unique AS-wide. Data is
exchanged from the interface via this address.
</SUBSLOT>
</PNIOSLOT>
</PNIODEV>
... Additional PNIO devices
<PNIODEV>
...
</PNIODEV>
</HARDWARE>
SIMULATIONUnit V9.1
System Manual, 06/2018 135
XML import of hardware data
10.5 Syntactic validation of generated XML files
To check your XML file, copy the following text block from the second line into your XML file
and then load the entire file into a DTD Validator.
If you do not want to copy the text every time, copy the text block into a text file (for example,
"SIMXMLImport.dtd"), and install only a link to this text file for the validation in your XML files
in the second line.
<!DOCTYPE HARDWARE SYSTEM "SIMITXMLImport.dtd">
The first and last line of the text block must be omitted for use in an external DTD file.
XML validators on the Internet are, for example:
● https://www.xmlvalidation.com (https://www.xmlvalidation.com)
● https://www.w3schools.com/xml/xml_validator.asp (https://www.w3schools.com/xml/
xml_validator.asp)
SIMULATIONUnit V9.1
136 System Manual, 06/2018
XML import of hardware data
10.5 Syntactic validation of generated XML files
However, they only work if the DTD is directly integrated into the XML file.
The "XMLNotepad2007" from Microsoft is suitable for offline XML validation.
SIMULATIONUnit V9.1
System Manual, 06/2018 137
XML import of hardware data
10.5 Syntactic validation of generated XML files
SIMULATIONUnit V9.1
138 System Manual, 06/2018
FAQs (Frequently Asked Questions) 11
11.1 In the SIMULATIONUnit project, there are more PROFIBUS devices
behind a DP/PA link than in the STEP7 project. Why does the
simulation of the PA slaves that exist in both projects not work?
The PA devices are processed as an image in the IM157. We simulate this image with
SIMULATIONUnit and not the bus structure of the PA bus.
For this reason, the position of the subsequent devices changes in the image by adding or
removing a PA device. In addition, the length of the IO data of the IM157 changes so that the
bus master no longer exchanges any cyclic data. This is why a complete PA line can no longer
be simulated. The only remedy is to use an original IM157 with a PA-SIMBA directly on the
PA bus (or use a consistent configuration).
11.3 Can I simulate the active bus line of two fault-tolerant systems with
two successive channels of a SIMBAProfibus-Box/SIMIT UNIT PB?
No. An H system uses two CPUs which exchange information over a cross connection about
the I/O device status or if necessary, assign parameters to the existing I/O devices.
For this reason, there must also be a corresponding relationship between the channels of a
redundant slave in the SIMBAProfibus box / SIMIT UNIT PB. This relationship is created by
activating a corresponding firmware block. In the case mentioned above, one of the two H-
system would always have a bus failure because the SIMBAProfibus box / SIMIT UNIT PB
always has one channel of the slave identified as active and the other one as passive.
In addition, the SIMBAkern.dll automatically recognizes an installed H system and therefore
always reads the CPU outputs from the active channel and writes CPU inputs only from channel
0 to both PROFIBUS channels.
SIMULATIONUnit V9.1
System Manual, 06/2018 139
FAQs (Frequently Asked Questions)
11.8 My project is correct, but the simulation does not work. What can I do?
For PROFINET fail-safe modules see Simulation of fail-safe modules (PROFIsafe V2)
(Page 80)
11.5 SIMULATIONUnit does not recognize the device which I would like to
simulate. What can I do?
You can import the device description files (Page 122) in SIMULATIONUnit.
The new devices are available if you create a new project after this or perform a hardware
import.
See also
Simulation of the topology (Page 78)
11.7 Can I simulate multiple PROFINET lines with one SIMIT UNIT PN and
one SIMULATIONUnit project?
You can group several lines from a STEP 7 / TIA project to form one SIMULATION UNIT project
if the following conditions are met:
● all device names, device numbers and IP addresses are unique and only present once in
the project
● no IRT topology is configured
No devices can be grouped to form a simulation project from different STEP 7 / TIA projects
because the I/O addresses must also be unique, which is usually not the case for different
projects.
11.8 My project is correct, but the simulation does not work. What can I do?
Contact Technical Support. (https://support.industry.siemens.com/My/ww/en/
requests#createRequest)
Provide as detailed a description of the problem as possible and which error messages are
displayed. If possible, provide your STEP 7 project or at least an export of the Step 7 HwConfig
(.cfg).
SIMULATIONUnit V9.1
140 System Manual, 06/2018