ibaPDA Interface S7 Xplorer - v2.6 - en
ibaPDA Interface S7 Xplorer - v2.6 - en
Manual
Issue 2.6
Contacts
Unless explicitly stated to the contrary, it is not permitted to pass on or copy this document, nor
to make use of its contents or disclose its contents. Infringements are liable for compensation.
© iba AG 2025, All rights reserved.
The content of this publication has been checked for compliance with the described hardware
and software. Nevertheless, discrepancies cannot be ruled out, and we do not provide guaran-
tee for complete conformity. However, the information furnished in this publication is updated
regularly. Required corrections are contained in the following regulations or can be downloaded
on the Internet.
The current version is available for download on our web site www.iba-ag.com.
Windows® is a brand and registered trademark of Microsoft Corporation. Other product and
company names mentioned in this manual can be labels or registered trademarks of the corre-
sponding owners.
2
ibaPDA-Interface-S7-Xplorer Contents
Contents
1 About this documentation.................................................................................................6
Issue 2.6 3
ibaPDA-Interface-S7-Xplorer Contents
4.1 License..................................................................................................................... 70
4.2 Visibility of the interface.......................................................................................... 70
4.3 Log files.................................................................................................................... 71
4.4 Connection diagnostics with PING........................................................................... 72
4.5 Connection table..................................................................................................... 72
4.6 Diagnostic modules................................................................................................. 74
4.7 Connection diagnostics with PG/PC interface......................................................... 79
4.8 Error messages........................................................................................................ 80
5 Appendix......................................................................................................................... 86
Issue 2.6 4
ibaPDA-Interface-S7-Xplorer Contents
Issue 2.6 5
ibaPDA-Interface-S7-Xplorer About this documentation
Other documentation
This documentation is a supplement to the ibaPDA manual. Information about
all the other characteristics and functions of ibaPDA can be found in the ibaPDA
manual or in the online help.
Issue 2.6 6
ibaPDA-Interface-S7-Xplorer About this documentation
1.2 Notations
In this manual, the following notations are used:
Action Notation
Menu command Menu Logic diagram
Calling the menu command Step 1 – Step 2 – Step 3 – Step x
Example:
Select the menu Logic diagram – Add – New function
block.
Keys <Key name>
Example: <Alt>; <F1>
Press the keys simultaneously <Key name> + <Key name>
Example: <Alt> + <Ctrl>
Buttons <Key name>
Example: <OK>; <Cancel>
Filenames, paths Filename, Path
Example: Test.docx
Issue 2.6 7
ibaPDA-Interface-S7-Xplorer About this documentation
Danger!
The non-observance of this safety information may result in an imminent risk
of death or severe injury:
Warning!
The non-observance of this safety information may result in a potential risk of
death or severe injury!
Caution!
The non-observance of this safety information may result in a potential risk of
injury or material damage!
Note
A note specifies special requirements or actions to be observed.
Tip
Tip or example as a helpful note or insider tip to make the work a little bit easier.
Other documentation
Reference to additional documentation or further reading.
Issue 2.6 8
ibaPDA-Interface-S7-Xplorer System requirements S7-Xplorer
Note
The ibaPDA-Interface-PLC-Xplorer license contains, among others, the license for
this interface.
System restrictions
■ Restrictions SIMATIC TIA-Portal:
SIMATIC TIA-Portal STEP 7 V14 SP1 or higher is a prerequisite for generating address
books from TIA Portal projects.
■ Restrictions S7-1200 CPU:
For the TIA connection mode with S7-1200 CPUs, only firmware versions ≥ V4 are sup-
ported by the S7-Xplorer module.
■ Restrictions LOGO! and S7-200:
Only LOGO!-controllers of the 0BA7 and 0BA8 families are supported.
Access to absolute operands only
The controllers SIMATIC LOGO! and SIMATIC S7-200 are to be configured via special soft-
ware tools. Both project types cannot be read by ibaPDA. Hence, address books cannot
be generated for a signal selection by means of the symbolic names or CFC connectors.
■ Restrictions for S5:
Since ibaPDA cannot read SIMATIC STEP 5 projects, yet, address books for the signal se-
lection cannot be created with the symbolic names.
Issue 2.6 9
ibaPDA-Interface-S7-Xplorer System requirements S7-Xplorer
License information
Order no. Product name Description
31.001042 ibaPDA-Interface-PLC-Xplorer Extension license for an ibaPDA system adding
all additional Xplorer data interfaces.
(Full specifications under www.iba-ag.com)
31.000001 ibaPDA-Interface-S7-Xplorer Extension license for an ibaPDA system adding
the data interface S7-Xplorer (interface to
SIMATIC S7) with 16 connections.
31.100001 one-step-up-Interface-S7-Xplorer Extension license for 16 additional S7-Xplorer
connections (max. 14 extension licenses)
Issue 2.6 10
ibaPDA-Interface-S7-Xplorer System requirements S7-Xplorer
Note
To use more than 16 data connections per interface, you can purchase the one-
step-up-… extension licenses separately for each interface. Up to 16 further
connections to PLCs can be established on each one-step-up-license. Up to 240
connections can be configured and used per data interface with the multiple
purchase or multiple release of these licenses (up to 15 in total).
Exception of SIGMATEK: Here, only up to 4 licenses (64 connections) can be acti-
vated.
Consider the limitation of the number of signals by the ibaPDA base license.
Issue 2.6 11
ibaPDA-Interface-S7-Xplorer PLC-Xplorer data interface to SIMATIC S7 systems
Issue 2.6 12
ibaPDA-Interface-S7-Xplorer PLC-Xplorer data interface to SIMATIC S7 systems
Note
It is recommended carrying out the TCP/IP communication on a separate net-
work segment to exclude a mutual influence by other network components.
Issue 2.6 13
ibaPDA-Interface-S7-Xplorer PLC-Xplorer data interface to SIMATIC S7 systems
Issue 2.6 14
ibaPDA-Interface-S7-Xplorer PLC-Xplorer data interface to SIMATIC S7 systems
3. Select Server connection, enter a TSAP (e.g. "20.00") and activate Accept all connection
requests. The used TSAP has to be the same TSAP as in ibaPDA, see ì Module LOGO!,
page 55.
When using a LOGO! 0BA8, this is not required. However, the user has to consider here that ev-
ery connection to the PLC has a 10 seconds timeout. Hence, an open connection is closed auto-
matically if for a period of 10 seconds no user data are being exchanged.
Issue 2.6 15
ibaPDA-Interface-S7-Xplorer PLC-Xplorer data interface to SIMATIC S7 systems
Issue 2.6 16
ibaPDA-Interface-S7-Xplorer PLC-Xplorer data interface to SIMATIC S7 systems
3. Select Server connection, enter a TSAP (e.g."10.00") and activate Accept all connection
requests. The used TSAP has to be the same TSAP as in ibaPDA, see ì Module S7-200,
page 52.
Issue 2.6 17
ibaPDA-Interface-S7-Xplorer PLC-Xplorer data interface to SIMATIC S7 systems
Depending on the settings a read and/or write access on the CPU by ibaPDA may be permitted
or not.
Issue 2.6 18
ibaPDA-Interface-S7-Xplorer PLC-Xplorer data interface to SIMATIC S7 systems
For the S7-1200, this option is only available firmware V4.0 or higher.
As of TIA Portal V19 and CPU firmware V3.1 (V4.7 for S7-1200), activate the PUT/GET access for
S7-1500 and S7-1200 CPUs as follows:
1. In the project navigation, navigate to Security settings – Users and roles – Roles tab.
2. Add a new role and enter a name, e.g. "Put/Get".
3. In the Runtime rights tab, select your PLC under Function rights categories.
4. Under Function rights, activate the access level HMI access.
5. Under Users and Roles, go to the Users tab.
6. Activate the user "Anonymous".
7. Confirm the following message with <OK>.
8. Under Assigned roles, assign the newly created role to the anonymous user.
9. In the Device view, open the properties of the CPU.
10. In the section navigation, navigate to Protection & Security – Connection mechanisms.
11. Activate the option Permit access with PUT/GET communication from remote partner.
12. Save and compile the configuration and load the changes into the CPU.
You can find further information in the SiePortal under
https://support.industry.siemens.com/cs/ww/en/view/109925755.
Issue 2.6 19
ibaPDA-Interface-S7-Xplorer PLC-Xplorer data interface to SIMATIC S7 systems
Access protection
You can configure an access protection for an S7-1200 and S7-1500 CPU. The following depen-
dencies on ibaPDA apply:
Issue 2.6 20
ibaPDA-Interface-S7-Xplorer PLC-Xplorer data interface to SIMATIC S7 systems
Caution
Consider that writing data to the PLC might influence programs running on the
PLC and can result in unwanted reactions and processes. Therefore ensure that
activating the S7-Xplorer outputs does not involve any risks.
Issue 2.6 21
ibaPDA-Interface-S7-Xplorer PLC-Xplorer data interface to SIMATIC S7 systems
Issue 2.6 22
ibaPDA-Interface-S7-Xplorer PLC-Xplorer data interface to SIMATIC S7 systems
Issue 2.6 23
ibaPDA-Interface-S7-Xplorer PLC-Xplorer data interface to SIMATIC S7 systems
Basic settings
Module Type (information only)
Indicates the type of the current module.
Locked
You can lock a module to avoid unintentional or unauthorized changing of the module settings.
Enabled
Enable the module to record signals.
Name
You can enter a name for the module here.
Comment
You can enter a comment or description of the module here. This will be displayed as a tooltip
in the signal tree.
Module No.
This internal reference number of the module determines the order of the modules in the signal
tree of ibaPDA client and ibaAnalyzer.
Timebase
All signals of the module are sampled on this timebase.
Issue 2.6 24
ibaPDA-Interface-S7-Xplorer PLC-Xplorer data interface to SIMATIC S7 systems
Module Layout
No. analog signals/No. digital signals
Define the number of configurable analog and digital signals in the signal tables. The default
value is 32 for each. The maximum value is 1000. The signal tables are adjusted accordingly.
Note
Observe the maximum number of signals permitted by your base license for
ibaPDA.
Note
Take into consideration that the number of signals, which are read by a CPU, in-
fluences the minimum achievable update cycle. The more signals acquired, the
longer the achievable update time.
S7
CPU name (not available with all modules)
Address book to which this module is connected. This is where the symbolic operands are se-
lected.
Update time
Specifies the reference update time in which the data is requested from the PLC. During mea-
surement, the real current update time may be higher than the specified value if the PLC needs
more time to transmit the data. You can check in the connection table how fast the data is actu-
ally updated.
Access mode
The amount of data that an S7 can read in a single message is limited. Therefore, for larger
amounts of data, several messages are used which can be controlled via the following send be-
havior:
■ Parallel mode: Messages are sent directly in succession without waiting for a response from
the S7 (fast mode, but not supported by some PLCs or adapters).
■ Sequential mode: Messages are only sent consecutively after the S7 has responded to the
first message.
Issue 2.6 25
ibaPDA-Interface-S7-Xplorer PLC-Xplorer data interface to SIMATIC S7 systems
Other documentation
You can find further information in the ibaPDA manual.
Issue 2.6 26
ibaPDA-Interface-S7-Xplorer PLC-Xplorer data interface to SIMATIC S7 systems
Note
When using the TIMER operand type with S7-200 controllers, you have to con-
sider that this type has different fixed time bases depending on the operand ad-
dress. Unlike the S7-300/S7-400 controllers, this type cannot be selected in the
configuration and cannot be read by ibaPDA.
This is why you have to multiply the read value with the time base determined
from the S7-200 manual for getting an absolute time value in milliseconds in
ibaPDA.
1)
no access on optimized blocks
Issue 2.6 27
ibaPDA-Interface-S7-Xplorer PLC-Xplorer data interface to SIMATIC S7 systems
After you have set the desired operand address, click <OK> to exit the dialog.
Thereafter, you can enter the signal name in the Name column.
You can enter the desired operand address also directly in the S7 Operand column without using
the S7 operand editor.
Issue 2.6 28
ibaPDA-Interface-S7-Xplorer PLC-Xplorer data interface to SIMATIC S7 systems
→ Now you can access symbol addresses using the S7 CFC- and Symbol Browser (in short: sym-
bol browser).
Issue 2.6 29
ibaPDA-Interface-S7-Xplorer PLC-Xplorer data interface to SIMATIC S7 systems
After selecting the variable, the symbol browser shows the operand address, the data type and
a comment.
Issue 2.6 30
ibaPDA-Interface-S7-Xplorer PLC-Xplorer data interface to SIMATIC S7 systems
Green The operand is valid. You can transfer it to the signal table with <Add> or <OK>.
Yellow The operand has a data type that does not match the selected row or table, e. g. in
case you have selected a Boolean variable as analog value or an integer value as dig-
ital value.
Red The operand has a data type that is not supported by ibaPDA, or the operand is a
constant.
Show only allowed operands
If you activate this option, the symbol browser shows only operands and symbols that ibaPDA
supports or that match the signal table from which you opened the browser (i.e. no red and yel-
lows ones).
Signal name, signal comment 1 and 2
Usually, ibaPDA adopts the symbolic signals name from STEP 7 as signal name in the I/O Manag-
er. Using these three drop-down menus, you can change the signal name and both comments.
Please select an option from the alternatives offered. If a signal name or comment in the signal
table should not be changed, select Do not change.
Issue 2.6 31
ibaPDA-Interface-S7-Xplorer PLC-Xplorer data interface to SIMATIC S7 systems
Note
If no connectors are shown in the CFC tab, the SCL sources might not have been
translated in the STEP 7 project. Activate the following options in the dialog for
compiling the program in the SIMATIC software:
Issue 2.6 32
ibaPDA-Interface-S7-Xplorer PLC-Xplorer data interface to SIMATIC S7 systems
Note
When compiling a CFC program, DB addresses are assigned automatically in
STEP 7 to the connectors. It may happen that other DB addresses are assigned
to connectors, depending on the scope of the program changes that have been
made between two compilation runs.
In this case, also the address book for ibaPDA has to be generated again. The
symbolically configured signals are automatically checked in the I/O Manager
whereas the related absolute S7 operands are updated.
Issue 2.6 33
ibaPDA-Interface-S7-Xplorer PLC-Xplorer data interface to SIMATIC S7 systems
For more information on the module settings see ì General module settings, page 24.
Issue 2.6 34
ibaPDA-Interface-S7-Xplorer PLC-Xplorer data interface to SIMATIC S7 systems
Connection mode
Selection of the TCP/IP connection mode
Connection type
Selection of the connection type PG, OP, or other connections (determines which type of con-
nection resource is occupied on the CPU).
Timeout
Specify a value for the timeout in seconds for establishing the connection and for read access.
If the time set here is exceeded, ibaPDA declares the controller as not accessible or not respon-
sive.
Address
IP address of the controller
Rack
Rack number of the controller (default: 0)
Slot
Slot number of the controller in the rack
(Use "0" for S7-1500 CPUs.)
<Test>
ibaPDA tests the connection to the CPU and displays available diagnostic data.
Issue 2.6 35
ibaPDA-Interface-S7-Xplorer PLC-Xplorer data interface to SIMATIC S7 systems
Activate S7 routing
Activate this option if the S7-CPU and the ibaPDA computer are not in the same network, but
only communicate over a gateway that supports S7 routing. Such a gateway can be e.g. an IE/PB
link, over which a S7-CPU can be reached without an Ethernet connection.
Two additional input fields appear:
■ Address of device acting as gateway: Enter the IP address of the gateway.
■ S7 subnet ID of target net: Enter subnet ID from STEP 7 NetPro or TIA Portal.
For more information on S7 routing, see ì S7 routing, page 93.
CPU Name
Selection of the linked address book
Tip
If you do not know the rack number and/or slot number, enter "0" and click the
<Test> button.
ibaPDA then tries to establish a connection. If the connection is successfully
established, ibaPDA scans the relevant rack for available CPUs. ibaPDA lists the
CPUs found with rack number and slot numbers. The CP to which ibaPDA is
directly connected is always at the top.
When you click on an S7-CPU (hyperlink), ibaPDA establishes the connection and
displays the CPU diagnostic data.
Note
For the communication with the CPU, port 102 must be allowed in the target sys-
tem. If the data traffic runs via an external firewall, then you must also allow port
102 through this firewall.
Issue 2.6 36
ibaPDA-Interface-S7-Xplorer PLC-Xplorer data interface to SIMATIC S7 systems
Note
If you want to use this connection type, the Siemens software SIMATIC Net
(e.g. SIMATIC Manager or Softnet) has to be installed. When using the modules
CP55…, CP56… and the MPI adapter, the installation of the device drivers is suffi-
cient.
Note
ibaPDA does not support the SIMATIC PC/PPI cable as well as the SIMATIC USB/
PPI cable for connecting S7-200 CPUs. For this purpose, either use a CP56xx (PPI)
on the computer side, or a CP243-1 with TCP/IP on the PLC side.
Connection mode
Selection of the PC/CP connection mode
Connection type
Selection of the connection type PG, OP, or other connections (determines which type of con-
nection resource is occupied on the CPU).
Timeout
Specify a value for the timeout in seconds for establishing the connection and for read access.
If the time set here is exceeded, ibaPDA declares the controller as not accessible or not respon-
sive.
Issue 2.6 37
ibaPDA-Interface-S7-Xplorer PLC-Xplorer data interface to SIMATIC S7 systems
Note
Configure available access points in SIMATIC Net with the "PG/PC interface set-
tings" tool by Siemens.
For the connection of ibaPDA-Interface-S7-Xplorer to SIMATIC S7 via PC/CP con-
nections, iba generally recommends setting a specific access point for ibaPDA
when ibaPDA-Interface-S7-Xplorer and SIMATIC Manager run on the same com-
puter. With an own access point, there is no longer the risk that the access for
ibaPDA-Interface-S7-Xplorer will be disturbed in case the standard access point is
changed in the SIMATIC Manager.
Issue 2.6 38
ibaPDA-Interface-S7-Xplorer PLC-Xplorer data interface to SIMATIC S7 systems
<Test>
ibaPDA tests the connection to the CPU and displays available diagnostic data.
When you click on an S7-CPU (hyperlink), ibaPDA establishes the connection and displays the
CPU diagnostic data.
Activate S7 routing
Activate this option if the S7-CPU and the ibaPDA computer are not in the same network, but
only communicate over a gateway that supports S7 routing. Such a gateway can be e.g. an IE/PB
link, over which a S7-CPU can be reached without an Ethernet connection.
Two additional input fields appear:
■ Address of device acting as gateway: Enter the IP address of the gateway.
■ S7 subnet ID of target net: Enter subnet ID from STEP 7 NetPro or TIA Portal.
For more information on S7 routing, see ì S7 routing, page 93.
Issue 2.6 39
ibaPDA-Interface-S7-Xplorer PLC-Xplorer data interface to SIMATIC S7 systems
Note
If no PLC or CPU is displayed for the MPI access point, check the interface setting
in the SIMATIC Manager.
ibaPDA does not detect an online connection if a PG/PC interface with interface
parameterization "AUTO" has been set for MPI adapter or CPs in the SIMATIC
Manager.
In this case, you need to change the interface or the access point.
Issue 2.6 40
ibaPDA-Interface-S7-Xplorer PLC-Xplorer data interface to SIMATIC S7 systems
Connection mode
Selection of the TCP/IP S7-1x00 connection mode.
Connection type
Selection of the connection type PG, OP, or other connections (determines which type of con-
nection resource is occupied on the CPU).
Timeout
Specify a value for the timeout in seconds for establishing the connection and for read access.
If the time set here is exceeded, ibaPDA declares the controller as not accessible or not respon-
sive.
Address
IP address of the controller
Password
Depending on the configuration in the controller, access to the PLC may be protected by a pass-
word. In this case, enter this password here.
Use secure communication
The S7-1500 controller supports secure communication via TLS encryption with TIA Portal v17
or higher. In TIA Portal, you can set secure PG/PC and HMI communication.
If you have activated this option in the controller, you must also activate secure communication
in ibaPDA.
CPU Name
Selection of the linked address book (only TIA Portal address books available).
Note
The TCP/IP S7-1x00 connection mode does not support the use of absolute oper-
and addresses.
Note
For the communication with the CPU, port 102 must be allowed in the target sys-
tem. If the data traffic runs via an external firewall, then you must also allow port
102 through this firewall.
Issue 2.6 41
ibaPDA-Interface-S7-Xplorer PLC-Xplorer data interface to SIMATIC S7 systems
<Test>
ibaPDA tests the connection to the CPU and displays available diagnostic data.
Issue 2.6 42
ibaPDA-Interface-S7-Xplorer PLC-Xplorer data interface to SIMATIC S7 systems
For more information on the module settings see ì General module settings, page 24.
Module layout
No. of decoders
Define the number of configurable decoders in the digital signal table. The default value is 32.
The maximum value is 128. The signal tables are adjusted accordingly.
Issue 2.6 43
ibaPDA-Interface-S7-Xplorer PLC-Xplorer data interface to SIMATIC S7 systems
Connection configuration
Set the connection of the S7-Xplorer Decoder module in the same way as the connection for an
S7-Xplorer module:
ì Connection mode TCP/IP, page 35
ì Connection mode PC/CP, page 37
ì Connection mode TCP/IP S7-1x00, page 41
Digital tab
The declaration of the digital signals is done on two levels. First define the source signals, which
are broken down for the digital signals (bits).
You can open each source signal via the <+> button to display the list of associated digital sig-
nals. Then define the individual digital signals of the source signal.
The individual columns of the signal table have the following meanings:
Source signal
Decoder
Enter a name for the source signal.
S7 Operand/S7 Symbol
Enter the S7 operand to which the signal is assigned and, if applicable, the S7 symbol.
DataType
Enter the data type of the signal. The data type also determines the number of digital signals.
ibaPDA automatically derives the possible data type from the S7 operand or S7 symbol.
Active
If you activate the source signal, it is acquired with all digital signals. You can deactivate individ-
ual digital signals.
Issue 2.6 44
ibaPDA-Interface-S7-Xplorer PLC-Xplorer data interface to SIMATIC S7 systems
Note
ibaPDA only takes the activated digital signals into account for the number of
licensed signals, i.e. no additional signal for the source signal.
Note
The module S7-Xplorer redundant seizes two licensed connections. Please check
whether the total number of licensed connections is also sufficient when using
redundant modules.
ibaPDA always reads data only from one CPU, which is called active CPU. It is decided on the
basis of the CPU status and the connection status from which CPU the data are taken.
With only one CPU connected, data is taken from this CPU. If both CPUs are connected and only
one of them in the RUN status, ibaPDA chooses the latter CPU is chosen. If both are connected
and in RUN status, then ibaPDA chooses the first CPU (connection 0). This does not apply to a
S7-400H system. In that case ibaPDA chooses the CPU with the RUN MASTER status.
If there is a change of the CPU status or the connection status of the active connection, ibaPDA
switches the connection. A change of the CPU status or the connection status of the currently
inactive connection, does not cause a switch-over of the connection.
This is the coupling of two "normal" S7-Xplorer connections that ibaPDA switches in case of an
error. It is not a so-called "fault tolerant connection". This is why there may be signal gaps of 1
to 2 seconds during a switching operation.
The connected controllers may be an S7-400H controller pair (fault tolerant) or two standard
S7 controllers. A prerequisite is that the acquired operands occupy in both controllers identical
addresses.
Issue 2.6 45
ibaPDA-Interface-S7-Xplorer PLC-Xplorer data interface to SIMATIC S7 systems
ibaPDA supports the following controllers, connection modes and selection methods:
Note
The redundancy module for the S7-1500H is not required. The controller pro-
vides a system-wide system IP address, which always allows access to the active
CPU.
Note
A download of the HW Config is not possible while ibaPDA acquires data. Stop
the ibaPDA data acquisition first.
Issue 2.6 46
ibaPDA-Interface-S7-Xplorer PLC-Xplorer data interface to SIMATIC S7 systems
For more information on the module settings see ì General module settings, page 24.
Connection configuration
Configure both connections on the tabs Connection 0 and Connection 1. You can change the
name of the tabs in the Connection name fields.
For details concerning the module settings see ì Module S7-Xplorer, page 34.
The option Enable Software Redundancy refers to a Siemens software package that enables
redundancy for standard automation systems of the S7-300 and S7-400. The status bit DB 101.
DBX 9.0 indicates the state "Station is Master."
Issue 2.6 47
ibaPDA-Interface-S7-Xplorer PLC-Xplorer data interface to SIMATIC S7 systems
For diagnosis of the status of both connections, there are special signals available on the Digital
tab. These occupy the first 4 signal positions:
Signal Meaning
$PDA_PrimaryConnected Connection 0 established
$PDA_PrimaryActive Data acquisition active over connection 0
$PDA_SecondaryConnected Connection 1 established
$PDA_SecondaryActive Data acquisition active over connection 1
One signal out of the two signals {PDA_PrimaryActive} and {PDA_SecondaryActive} is always
TRUE even if none of the two connections is active.
Issue 2.6 48
ibaPDA-Interface-S7-Xplorer PLC-Xplorer data interface to SIMATIC S7 systems
For more information on the module settings see ì General module settings, page 24.
Issue 2.6 49
ibaPDA-Interface-S7-Xplorer PLC-Xplorer data interface to SIMATIC S7 systems
Connection configuration
Issue 2.6 50
ibaPDA-Interface-S7-Xplorer PLC-Xplorer data interface to SIMATIC S7 systems
For more information on the module settings see ì General module settings, page 24.
Connection configuration
Enter the IP address of the S5-LAN-adapter on the Connection tab in the Address field and click
<Test>.
Note
As the AS511 interface is operated with only 9600 Baud, the data throughput
that can be reached is correspondingly low.
Measured update times with a CPU948:
■ 32 bytes: 220 ms
■ 64 bytes: 260 ms
■ 96 bytes: 290 ms
■ 128 bytes: 330 ms
■ 160 bytes: 450 ms
Other documentation
For more information about the usage of the adapters, see the specific product
documentation.
Issue 2.6 51
ibaPDA-Interface-S7-Xplorer PLC-Xplorer data interface to SIMATIC S7 systems
For more information on the module settings see ì General module settings, page 24.
Connection configuration
Select the desired connection mode in the Connection tab:
Note
If you access an S7-200, the programming device access is always used internally.
However, this can only be used once simultaneously. This means that if you ac-
cess the S7-200 that way, STEP 7-Micro/WIN cannot access at the same time. To
avoid this, you can use a projected connection in ibaPDA.
Issue 2.6 52
ibaPDA-Interface-S7-Xplorer PLC-Xplorer data interface to SIMATIC S7 systems
Connection mode
Selection of the TCP/IP connection mode
Timeout
Specify a value for the timeout in seconds for establishing the connection and for read access.
If the time set here is exceeded, ibaPDA declares the controller as not accessible or not respon-
sive.
Address
IP address of the controller
<Test>
ibaPDA tests the connection to the CPU and displays available diagnostic data.
When you enable the Use projected connections option, you have to enter Local TSAP and Re-
mote TSAP as well.
Issue 2.6 53
ibaPDA-Interface-S7-Xplorer PLC-Xplorer data interface to SIMATIC S7 systems
Connection mode
Selection of the PC/CP connection mode
Connection type
Selection of the connection type PG, OP, or other connections (determines which type of con-
nection resource is occupied on the CPU).
Timeout
Specify a value for the timeout in seconds for establishing the connection and for read access.
If the time set here is exceeded, ibaPDA declares the controller as not accessible or not respon-
sive.
Access point for applications
Selection of the access point that is to be used
For more information on creating and configuring an access point, see ì Setting PG/PC interfa-
ce/defining new access point, page 90.
Address
IP address of the controller
<Test>
ibaPDA tests the connection to the CPU and displays available diagnostic data.
Issue 2.6 54
ibaPDA-Interface-S7-Xplorer PLC-Xplorer data interface to SIMATIC S7 systems
When you enable the Use projected connections option, you have to enter Local TSAP and
Remote TSAP as well.
For more information on the module settings see ì General module settings, page 24.
Issue 2.6 55
ibaPDA-Interface-S7-Xplorer PLC-Xplorer data interface to SIMATIC S7 systems
Connection configuration
Enter the IP address of the LOGO! in the Address field on the Connection tab and the Local TSAP
and Remote TSAP as configured in the LOGO! (see ì Configuration of LOGO!, page 14). Click
<Test>.
Issue 2.6 56
ibaPDA-Interface-S7-Xplorer PLC-Xplorer data interface to SIMATIC S7 systems
Issue 2.6 57
ibaPDA-Interface-S7-Xplorer PLC-Xplorer data interface to SIMATIC S7 systems
Note
Depending on the configured protection-level access of the S7 CPU, writing val-
ues into the CPU may be not possible.
Enable the S7 outputs in the interface settings, see ì General interface settings, page 21.
You can configure the module via the Outputs tab. You do not have to add it separately. The
module is available as soon as you add an S7-Xplorer module in the Inputs register.
For more information on the module settings see ì General module settings, page 24.
Module-specific settings
Calculation timebase
Timebase (in ms) used for the calculation of the output values.
Technically, the calculation timebase is identical to the timebase of the input module. This
means a change in the calculation timebase also changes the module timebase of the input side
and vice versa!
The calculation timebase is not the same as the output timebase, with which the values are out-
put!
Issue 2.6 58
ibaPDA-Interface-S7-Xplorer PLC-Xplorer data interface to SIMATIC S7 systems
Signal configuration
You can configure the signals to be output in each case via the expression editor. Open the ex-
pression editor via the <fx> button in each signal row.
Other documentation
Further information about the expression editor can be found in the ibaPDA
manual, part 4.
Note
ibaPDA reads and writes all signals for an Xplorer module via a common connec-
tion. Therefore, the total number of configured signals influences the update
time.
Issue 2.6 59
ibaPDA-Interface-S7-Xplorer PLC-Xplorer data interface to SIMATIC S7 systems
There are different types of address books for the different S7 project types:
■ STEP 7: SIMATIC Manager project
(not for S7-Xplorer modules with connection mode TCP/IP S7-1x00)
■ TIA Portal: TIA Portal Project
S7 operands in English/German
Here you can choose the language in which the S7 operands will later be available when brows-
ing through the signal tables.
<Create address books>
This button opens the "S7 address book generator" dialog. You can select the source directory
of an S7 project for creating the S7 address book. This can be a local or network drive.
<Import address books>
Import address books which are already available as ZIP files.
<Delete selected address books>
Delete address books from the ibaPDA server’s directory.
Issue 2.6 60
ibaPDA-Interface-S7-Xplorer PLC-Xplorer data interface to SIMATIC S7 systems
Unload S7 address book when the acquisition is running to reduce the memory usage
By enabling this option, the address book is outsourced to the hard disk during the acquisition
in order to free up the main memory for the acquisition.
Table
List of all address books that are currently available in the system with name, creation date,
path of STEP 7 project or IP address of the CPU in case of online generated address books and
location where the address book is used.
CPU Name
Name of the CPU
Step 7 HW Config export
A HW config export file can be selected as an option (useful when using an iba bus monitor in
sniffer mode)
Comment language
Selection of the language that is to be imported for comment texts (only available for SIMATIC
TIA portal projects)
<Add project>
Adds a new project to the list
Remove project>
Removes the marked project from the list
<Create address books>
Creates address books from the selected projects
Note
You can overwrite the entry in the CPU Name field. Thus, you can assign a
unique name for the CPU that differs from that in the STEP 7 project. This is es-
pecially interesting when you use several STEP 7 projects in which the CPUs have
the same name.
Issue 2.6 61
ibaPDA-Interface-S7-Xplorer PLC-Xplorer data interface to SIMATIC S7 systems
Note
When address books of these projects are generated, TIA Portal projects must be
compiled, saved and closed.
Issue 2.6 62
ibaPDA-Interface-S7-Xplorer PLC-Xplorer data interface to SIMATIC S7 systems
Address books that have been created online also contain operand type address information
and hence can be used in connection mode TCP/IP as well. Just change the connection mode
after creating the address book.
Issue 2.6 63
ibaPDA-Interface-S7-Xplorer PLC-Xplorer data interface to SIMATIC S7 systems
Prerequisites
■ S7-PLCSIM version 5.4.3.0 or higher
■ ibaPDA-S7-Xplorer Proxy
System topologies
■ Single user
All components run running on one computer.
■ Distributed installation
ibaPDA is not installed on the computer with S7-PLCSIM and ibaPDA-S7-Xplorer Proxy.
Issue 2.6 64
ibaPDA-Interface-S7-Xplorer PLC-Xplorer data interface to SIMATIC S7 systems
Status
Current operating state
Issue 2.6 65
ibaPDA-Interface-S7-Xplorer PLC-Xplorer data interface to SIMATIC S7 systems
Port
Used port
<Start>, Stop>
Manually starting and stopping the ibaPDA-S7-Xplorer Proxy
Auto-start when Windows starts
ibaPDA-S7-Xplorer Proxy is automatically started when starting the system and runs in the back-
ground.
S7 configuration
Starts the configuration dialog to set the SIMATIC PG/PC interface.
Diagnostics
Shows the ibaPDA server currently connected.
Module
Shows the modules currently active.
3. In the drop-down menu Access point of the application, select the line <Add/Delete>.
Issue 2.6 66
ibaPDA-Interface-S7-Xplorer PLC-Xplorer data interface to SIMATIC S7 systems
4. Specify the new access point: Enter a name, e.g. "ibaPLCSim", and optionally a description
for better understanding.
Confirm the entries with <Add> and <Close>.
Issue 2.6 67
ibaPDA-Interface-S7-Xplorer PLC-Xplorer data interface to SIMATIC S7 systems
Issue 2.6 68
ibaPDA-Interface-S7-Xplorer PLC-Xplorer data interface to SIMATIC S7 systems
Other documentation
Further information can be found in the documentation for SIMATIC S7-1500
S7-PLCSIM-Advanced.
https://support.industry.siemens.com/cs/de/en/view/109760835
Issue 2.6 69
ibaPDA-Interface-S7-Xplorer Diagnostics
4 Diagnostics
4.1 License
If the interface is not displayed in the signal tree, you can either check in ibaPDA in the I/O Man-
ager under General – Settings or in the ibaPDA service status application whether your license
for the interface ibaPDA-Interface-S7-Xplorer has been properly recognized. The number of li-
censed connections is shown in brackets.
The figure below shows the license for the Codesys Xplorer interface as an example.
Visibility
The table Visibility lists all the interfaces that are available either through licenses or installed
cards. These interfaces can also be viewed in the interface tree.
You can hide or display the interfaces not required in the interface tree by using the checkbox in
the Visible column.
Interfaces with configured modules are highlighted in green and cannot be hidden.
Selected interfaces are visible, the others are hidden:
Issue 2.6 70
ibaPDA-Interface-S7-Xplorer Diagnostics
Issue 2.6 71
ibaPDA-Interface-S7-Xplorer Diagnostics
2. Enter the command "ping" followed by the IP address of the communication partner and
press <ENTER>.
→ With an existing connection you receive several replies.
Issue 2.6 72
ibaPDA-Interface-S7-Xplorer Diagnostics
The connected target systems (controllers) are identified by their name or IP address in the first
(left) column.
Depending on the interface type the table shows error counters, read counters and/or data
sizes, as well as the cycle times, refresh times and/or update times of the different connections
during the data acquisition.
Click the <Reset statistics> button to reset the error counters and the calculation of the
response times.
Additional information is provided by the background color of the table rows:
Color Meaning
Green The connection is OK and the data are read.
Yellow The connection is OK, however the data update is slower than the config-
ured update time.
Red The connection has failed.
Gray No connection configured.
Issue 2.6 73
ibaPDA-Interface-S7-Xplorer Diagnostics
Issue 2.6 74
ibaPDA-Interface-S7-Xplorer Diagnostics
For example, the IP (v4) address of a Generic TCP module (see fig. above) will always be split
into 4 parts derived from the dot-decimal notation, for better reading. Also other values are
being determined, as there are port number, counters for telegrams and errors, data sizes and
telegram cycle times. The following example lists the digital values of a diagnostic module for a
Generic TCP module.
Issue 2.6 75
ibaPDA-Interface-S7-Xplorer Diagnostics
Diagnostic signals
Depending on the interface type, the following signals are available:
Issue 2.6 76
ibaPDA-Interface-S7-Xplorer Diagnostics
Issue 2.6 77
ibaPDA-Interface-S7-Xplorer Diagnostics
Issue 2.6 78
ibaPDA-Interface-S7-Xplorer Diagnostics
Issue 2.6 79
ibaPDA-Interface-S7-Xplorer Diagnostics
Issue 2.6 80
ibaPDA-Interface-S7-Xplorer Diagnostics
Issue 2.6 81
ibaPDA-Interface-S7-Xplorer Diagnostics
Issue 2.6 82
ibaPDA-Interface-S7-Xplorer Diagnostics
Issue 2.6 83
ibaPDA-Interface-S7-Xplorer Diagnostics
Issue 2.6 84
ibaPDA-Interface-S7-Xplorer Diagnostics
Issue 2.6 85
ibaPDA-Interface-S7-Xplorer Appendix
5 Appendix
Number of MPI adapt- MPI adapt- MPI adapt- CP5611 TCP/IP L2B *)
signals er (COM) er (USB, er (USB, PROFIBUS,
38.4 kBd DeltaL) Siemens) 12 Mbit/s
38.4 kBd
1 108 52 40 24 12 1
11 130 62 51 26 13 1
21 155 78 54 27 13 1
32 160 78 55 27 13 1
42 171 78 56 27 14 1
53 189 94 60 29 15 1
64 280 140 90 42 18 1
*) 1 ms is the ibaPDA time base which is supported by iba cards such as ibaCom-L2B-8-8, for
example. But the actual measurement cycle, in fact, is depending on the PROFIBUS cycle time
(with 2 slaves: 0.98 ms; with 8 slaves: 1.6 ms, provided 12 Mbit/s) and the program cycle (OB1
or OB35)
Issue 2.6 86
ibaPDA-Interface-S7-Xplorer Appendix
Issue 2.6 87
ibaPDA-Interface-S7-Xplorer Appendix
Issue 2.6 88
ibaPDA-Interface-S7-Xplorer Appendix
For this purpose, install ant start he ibaPDA-S7-Xplorer Proxy on the computer with the STEP 7/
SIMATIC NET installation (computer B).
Unlike the configuration with S7-PLCSIM, you must set a real interface (e.g. the network inter-
face card) as access point for applications. Install the access point on computer B.
Issue 2.6 89
ibaPDA-Interface-S7-Xplorer Appendix
Procedure
1. Open the dialog for configuring the PG/PC interface with the <Configure PG/PC interface>
button.
2. Under Access Point of the Application select the row <Add/Delete>.
Issue 2.6 90
ibaPDA-Interface-S7-Xplorer Appendix
3. Define a new access point: Enter a name, e.g. "PDA", and optionally a description for a bet-
ter understanding.
Confirm your entries with <Add> and <Close>.
Issue 2.6 91
ibaPDA-Interface-S7-Xplorer Appendix
Issue 2.6 92
ibaPDA-Interface-S7-Xplorer Appendix
5.5 S7 routing
S7 routing is defined as the possibility to use S7 controls as router to access secondary target
systems, i.e. controls or drives, which are in different subnets. This also includes changing the
bus system (Ethernet, PROFIBUS, MPI).
Reference
For more information about the S7 Routing, refer to:
■ Which modules support the "S7 Routing" function in S7 subnets?
https://support.automation.siemens.com/ww/view/en/584459
■ Which requirements must be fulfilled and what do I have to observe if I want
to execute routing?
https://support.industry.siemens.com/cs/ww/en/view/2383206
■ How do you enable cross-project S7 Routing in the TIA Portal and in
STEP 7 V5.x?
https://support.industry.siemens.com/cs/ww/en/view/109474569
The engineering computer (also with ibaPDA) is to access the CPU412 controller. The computer
and the controller are not directly connected via a common network/bus. The connection has to
run over the CPU314C controller.
"Passing" the communication through this controller is called S7 Routing.
In our example, engineering computer and CPU314C are also located in two different (logic)
subnets. You need an (IP) router for establishing a communication connection. This is complete-
ly independent of the S7 Routing function and should not be mixed up with it.
Issue 2.6 93
ibaPDA-Interface-S7-Xplorer Appendix
Issue 2.6 94
ibaPDA-Interface-S7-Xplorer Appendix
→ Result:
Now, the connection line from PG/PC to the network has to be marked in yellow.
In the following figure, the communication path is shown using arrows (these are not dis-
played in SIMATIC NetPro).
3. Finally, load all hardware configurations and connection data from NetPro.
Issue 2.6 95
ibaPDA-Interface-S7-Xplorer Appendix
→ The connections between the controllers and to the computer are shown in TIA Portal.
3. Download the programming of the controller "PLC1" and then the programming of the con-
troller "PLC2".
Issue 2.6 96
ibaPDA-Interface-S7-Xplorer Appendix
4. In the controller "PLC2", set the connection from "PLC1" to the computer as the connection
to the interface/subnet.
Activate S7 routing
Enable this option to use S7 routing.
Address
Enter the address of the target control (here CPU412)
Address of device acting as gateway
Enter the address of the gateway (here CPU314C).
S7 subnet ID of target net
Enter the subnet ID from STEP 7 NetPro or TIA Portal.
Issue 2.6 97
ibaPDA-Interface-S7-Xplorer Appendix
Issue 2.6 98
ibaPDA-Interface-S7-Xplorer Appendix
The engineering computer (also with ibaPDA) is to access the CPU319 controller. The computer
and the controller are not directly connected via a common network/bus. The connection has to
run over the CPU412 controller.
"Passing" the communication through this controller is called S7 Routing.
Issue 2.6 99
ibaPDA-Interface-S7-Xplorer Appendix
→ Result:
Now, the connection line from PG/PC to the network has to be marked in yellow.
In the following figure, the communication path is shown using arrows (these are not dis-
played in SIMATIC NetPro).
3. Finally, load all hardware configurations and connection data from NetPro.
Activate S7 routing
Enable this option to use S7 routing.
Address
Enter the address of the target control (here CPU319).
Address of device acting as gateway
Enter the address of the gateway (here CPU412).
S7 subnet ID of target net
Enter the subnet ID from STEP 7 NetPro.
Note
If you need support for software products, please state the number of the licen-
se container. For hardware products, please have the serial number of the device
ready.
Contact
Headquarters
iba AG
Koenigswarterstrasse 44
90762 Fuerth
Germany
Mailing address
iba AG
Postbox 1828
D-90708 Fuerth, Germany
Delivery address
iba AG
Gebhardtstrasse 10
90762 Fuerth, Germany