ibaPDA-Request-S7-DP PN ibaNetE P1 v4.2 en
ibaPDA-Request-S7-DP PN ibaNetE P1 v4.2 en
ibaPDA-Request-S7-DP PN ibaNetE P1 v4.2 en
Manual part 1
Issue 4.2
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 2024, 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-Request-S7-DP/PN/ibaNet-E Contents
Contents
1 About this documentation.................................................................................................6
3 ibaPDA-Request-S7-DP/PN/ibaNet-E................................................................................ 12
3 Issue 4.2 3
Contents ibaPDA-Request-S7-DP/PN/ibaNet-E
4 Issue 4.2
ibaPDA-Request-S7-DP/PN/ibaNet-E Contents
6.1 License..................................................................................................................... 82
6.2 Visibility of the interface.......................................................................................... 82
6.3 Log files.................................................................................................................... 83
6.4 Connection diagnostics with PING........................................................................... 84
6.5 Connection diagnostics with PG/PC interface......................................................... 85
6.6 Module diagnostics................................................................................................. 86
7 Appendix......................................................................................................................... 87
Issue 4.2 5
About this documentation ibaPDA-Request-S7-DP/PN/ibaNet-E
Other documentation
This documentation provides supplementary information to the general ibaPDA
manual.
6 Issue 4.2
ibaPDA-Request-S7-DP/PN/ibaNet-E 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 4.2 7
About this documentation ibaPDA-Request-S7-DP/PN/ibaNet-E
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.
8 Issue 4.2
ibaPDA-Request-S7-DP/PN/ibaNet-E About this documentation
Issue 4.2 9
System requirements ibaPDA-Request-S7-DP/PN/ibaNet-E
2 System requirements
The following system requirements apply for use of the ibaPDA-Request-S7-DP/PN/ibaNet-E
data interface:
■ ibaPDA v8.5.0 or higher
■ Base license for ibaPDA
■ Additional license for ibaPDA-Request-S7-DP/PN/ibaNet-E
■ ibaBM-PN, ibaBM-DP, ibaBM-DPM-S, ibaCom-L2B or ibaPDA-interface-ibaNet-E
■ ibaFOB-D board in the ibaPDA computer when using ibaBM-PN, ibaBM-DP, or ibaBM-DPM-S
for coupling using fiber optics
■ SIMATIC S7 controller S7-300, S7-400, S7-400H, S7-1500, WinAC (not all Request S7 variants
are available for all controller types), for access to optimized data blocks S7-1500 firmware
V3 or later
■ If using PC/CP connections:
SIMATIC STEP 7/SIMATIC NET, or
SIMATIC TIA Portal
■ SIMATIC CFC (from V6.0, not for TIA Portal), if signals are to be selected using drag & drop
For integration of Request blocks into S7 program:
■ SIMATIC STEP 7 V5.4 SP5 or higher, or
■ SIMATIC STEP 7 (TIA Portal) V16 or higher (function block libraries for older versions may be
available on request), V18 or higher for access to optimized data blocks
For further requirements for the used computer hardware and the supported operating sys-
tems, refer to the ibaPDA documentation.
System constraints
■ Access to S7-1200 controllers is not supported.
■ Connectors for STEP 7 CFC blocks that have constant values assigned have no operand ad-
dress. They are marked as constant in the address book and cannot be selected as signals.
■ If function blocks (FBs) are used in STEP 7 CFC, the internal static variables for the FB also
appear in the address book because they are handled in exactly the same way as connectors
by the compiler. These are to be ignored.
■ ibaPDA supports the following data types for acquisition:
BOOL, BYTE, WORD, DWORD, INT, DINT, REAL, TIME, CHAR
All other data types appear in the address book but cannot be entered in the signal list.
■ For functions (FCs) with connections of STRING, POINTER, STRUCT or ANY data types under
STEP7 CFC, the interpretation of the SCL code does not work, as the source does not contain
any references to the data types.
10 Issue 4.2
ibaPDA-Request-S7-DP/PN/ibaNet-E System requirements
License information
Order no. Product name Description
31.001310 ibaPDA-Request-S7-DP/PN/ibaNet-E Extension license for an ibaPDA system
for use of Request-S7 with ibaBM-PN,
ibaBM-DP, ibaBM-DPM-S, ibaCom-L2B,
or ibaPDA-interface-ibaNet-E
Issue 4.2 11
ibaPDA-Request-S7-DP/PN/ibaNet-E ibaPDA-Request-S7-DP/PN/ibaNet-E
3 ibaPDA-Request-S7-DP/PN/ibaNet-E
This manual is divided into three main sections:
■ General section, valid for all communication channels:
Chapter ì ibaPDA-Request-S7-DP/PN/ibaNet-E, page 12
■ Variant-specific section with special information for each variant:
Chapter ì Request S7 variants, page 35
Variants for S7-300 and S7-400 are described in Part 2 of the manual.
■ Description of individual S7 function blocks:
Chapter ì Description of Request blocks, page 67
Other documentation
The associated device manuals contain detailed information about the devices:
■ ibaCom-L2B-x-8 board
■ ibaBM-DP
■ ibaBM-DPM-S
■ ibaBM-PN
12 Issue 4.2
ibaPDA-Request-S7-DP/PN/ibaNet-E ibaPDA-Request-S7-DP/PN/ibaNet-E
Via PROFIBUS
■ ibaBM-DP or predecessor ibaBM-DPM-S
■ ibaCom-L2B PCI board
Via PROFINET
■ ibaBM-PN
Via ibaNet-E
■ Default network adapter
Request blocks for ibaPDA-Request-S7-DP/PN/ibaNet-E are available for the following system
configurations:
Issue 4.2 13
ibaPDA-Request-S7-DP/PN/ibaNet-E ibaPDA-Request-S7-DP/PN/ibaNet-E
Note
You can find the Request blocks in the iba S7 library, see ì iba S7 library,
page 87. Always use the latest version of this library.
14 Issue 4.2
ibaPDA-Request-S7-DP/PN/ibaNet-E ibaPDA-Request-S7-DP/PN/ibaNet-E
Note
General settings that are not described here are module-specific settings. These
settings are described in chapter ì Request S7 variants, page 35 under the
respective module version.
Issue 4.2 15
ibaPDA-Request-S7-DP/PN/ibaNet-E ibaPDA-Request-S7-DP/PN/ibaNet-E
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.
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.
Use module name as prefix
This option puts the module name in front of the signal names.
S7
CPU Name
Select the S7-CPU that is connected to this module. When selecting a S7-CPU (incl. the address
book), you can select the signals symbolically. Otherwise, you select the signals via the S7 oper-
and.
This requires that address books have already been generated. Otherwise, the selection list is
empty. Using Create address book in the selection list, you get directly to the address book gen-
erator, see ì Creating address books offline from S7 project, page 32.
16 Issue 4.2
ibaPDA-Request-S7-DP/PN/ibaNet-E ibaPDA-Request-S7-DP/PN/ibaNet-E
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.
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
Here you can specify a value for the timeout in seconds for establishing the connection and for
read accesses. If the time set here is exceeded, ibaPDA declares the controller as not accessible
or not responsive.
Access point for applications
Selection of the access point to be used
For more information on creating and configuring an access point, see
ì Setting PG/PC interface/defining new access point, page 93.
Issue 4.2 17
ibaPDA-Request-S7-DP/PN/ibaNet-E ibaPDA-Request-S7-DP/PN/ibaNet-E
Note
Configure available access points in SIMATIC Net with the "PG/PC interface set-
tings" tool by Siemens.
For the connection of ibaPDA-Request-S7-DP/PN/ibaNet-E to SIMATIC S7 via
PC/CP connections, it is generally recommend setting a specific access point for
ibaPDA when ibaPDA-Request-S7-DP/PN/ibaNet-E and SIMATIC Manager run on
the same computer. With an own access point, there is no longer the risk that
the access for ibaPDA-Request-S7-DP/PN/ibaNet-E will be disturbed in case the
standard access point is changed in the SIMATIC Manager.
18 Issue 4.2
ibaPDA-Request-S7-DP/PN/ibaNet-E ibaPDA-Request-S7-DP/PN/ibaNet-E
Detect S7 restart
The current request configuration is stored in a data block on the CPU. In case the Detect S7
restart option is enabled, ibaPDA can detect if this data block has been deleted or overwritten,
e.g. as a result of loading the offline program or due to a cold restart, and restarts the data ac-
quisition. The configuration data are transferred again. This does not affect a warm restart of
the CPU.
<Test>
ibaPDA tests the connection to the CPU and displays available diagnostic data.
Tip
Error message "DB is not a valid request DB …"
Check the following:
■ The Request block has been loaded into the CPU.
■ The right DB number has been configured on the Request block.
■ The Request block is called in the program.
■ Possibly, the DB is written from another source.
Issue 4.2 19
ibaPDA-Request-S7-DP/PN/ibaNet-E ibaPDA-Request-S7-DP/PN/ibaNet-E
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
Here you can specify a value for the timeout in seconds for establishing the connection and for
read accesses. If the time set here is exceeded, ibaPDA declares the controller as not accessible
or not responsive.
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.)
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 96.
DB
Number of the data block used as ibaPDA communication interface (ibaREQ_DB)
PROFINET Device Slot or PROFIBUS slave number (not for ibaNet-E)
■ PROFINET: Number of the used slot of the ibaBM-PN
■ PROFIBUS: PROFIBUS slave address assigned to the module. If you change the entry in the
Connection tab, the entry in the General tab changes accordingly and vice versa.
20 Issue 4.2
ibaPDA-Request-S7-DP/PN/ibaNet-E ibaPDA-Request-S7-DP/PN/ibaNet-E
CPU Name
Selection of the linked address book
Detect S7 restart
The current request configuration is stored in a data block on the CPU. In case the Detect S7
restart option is enabled, ibaPDA can detect if this data block has been deleted or overwritten,
e.g. as a result of loading the offline program or due to a cold restart, and restarts the data ac-
quisition. The configuration data are transferred again. This does not affect a warm restart of
the CPU.
<Test>
ibaPDA tests the connection to the CPU and displays available diagnostic data.
Tip
Error message "DB is not a valid request DB …"
Check the following:
■ The Request block has been loaded into the CPU.
■ The right DB number has been configured on the Request block.
■ The Request block is called in the program.
■ Possibly, the DB is written from another source.
Issue 4.2 21
ibaPDA-Request-S7-DP/PN/ibaNet-E ibaPDA-Request-S7-DP/PN/ibaNet-E
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
Here you can specify a value for the timeout in seconds for establishing the connection and for
read accesses. If the time set here is exceeded, ibaPDA declares the controller as not accessible
or not responsive.
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.
DB
Number of the data block used as ibaPDA communication interface (ibaREQ_DB)
PROFINET Device Slot or PROFIBUS slave number (not for ibaNet-E)
■ PROFINET: Number of the used slot of the ibaBM-PN
■ PROFIBUS: PROFIBUS slave address assigned to the module. If you change the entry in the
Connection tab, the entry in the General tab changes accordingly and vice versa.
22 Issue 4.2
ibaPDA-Request-S7-DP/PN/ibaNet-E ibaPDA-Request-S7-DP/PN/ibaNet-E
CPU Name
Selection of the linked address book (only TIA Portal address books available).
Note
Port 102 in the firewall must be released for the communication with the CPU
for signal request.
Detect S7 restart
The current request configuration is stored in a data block on the CPU. In case the Detect S7
restart option is enabled, ibaPDA can detect if this data block has been deleted or overwritten,
e.g. as a result of loading the offline program or due to a cold restart, and restarts the data ac-
quisition. The configuration data are transferred again. This does not affect a warm restart of
the CPU.
<Test>
ibaPDA tests the connection to the CPU and displays available diagnostic data.
Issue 4.2 23
ibaPDA-Request-S7-DP/PN/ibaNet-E ibaPDA-Request-S7-DP/PN/ibaNet-E
Tip
Error message "DB is not a valid request DB …"
Check the following:
■ The Request block has been loaded into the CPU.
■ The right DB number has been configured on the Request block.
■ The Request block is called in the program.
■ Possibly, the DB is written from another source.
24 Issue 4.2
ibaPDA-Request-S7-DP/PN/ibaNet-E ibaPDA-Request-S7-DP/PN/ibaNet-E
1)
The prerequisite for this is use of the optional S7-CFC SIMATIC STEP 7 package. For TIA portal, SIMATIC CFC is not
supported.
Issue 4.2 25
ibaPDA-Request-S7-DP/PN/ibaNet-E ibaPDA-Request-S7-DP/PN/ibaNet-E
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.
26 Issue 4.2
ibaPDA-Request-S7-DP/PN/ibaNet-E ibaPDA-Request-S7-DP/PN/ibaNet-E
→ Now you can access symbol addresses using the S7 CFC- and Symbol Browser (in short:
symbol browser).
Issue 4.2 27
ibaPDA-Request-S7-DP/PN/ibaNet-E ibaPDA-Request-S7-DP/PN/ibaNet-E
■ DB variables:
On the DB tab, you can select the individual data blocks and their variables.
■ Symbol table:
On the Symbols tab, you can select the entries of the S7 symbol table.
■ Search tab:
You can search the variables with a part of their name.
After selecting the variable, the symbol browser shows the operand address, the data type and
a comment.
The variables have the following colors:
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).
28 Issue 4.2
ibaPDA-Request-S7-DP/PN/ibaNet-E ibaPDA-Request-S7-DP/PN/ibaNet-E
Issue 4.2 29
ibaPDA-Request-S7-DP/PN/ibaNet-E ibaPDA-Request-S7-DP/PN/ibaNet-E
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:
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.
30 Issue 4.2
ibaPDA-Request-S7-DP/PN/ibaNet-E ibaPDA-Request-S7-DP/PN/ibaNet-E
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> button
Import address books which are already available as ZIP files.
<Delete selected address books> button
Delete address books from the ibaPDA server’s directory.
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.
Issue 4.2 31
ibaPDA-Request-S7-DP/PN/ibaNet-E ibaPDA-Request-S7-DP/PN/ibaNet-E
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.
32 Issue 4.2
ibaPDA-Request-S7-DP/PN/ibaNet-E ibaPDA-Request-S7-DP/PN/ibaNet-E
Note
When address books of these projects are generated, TIA Portal projects must be
compiled, saved and closed.
Issue 4.2 33
ibaPDA-Request-S7-DP/PN/ibaNet-E ibaPDA-Request-S7-DP/PN/ibaNet-E
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.
34 Issue 4.2
ibaPDA-Request-S7-DP/PN/ibaNet-E Request S7 variants
4 Request S7 variants
This chapter describes the Request S7 variants for applications with S7-1500 controllers. For ap-
plications with S7-300 and S7-400 controllers, refer to the manual Part 2.
S7 family Firmware Addressing Access to op- iba block fam- iba data paths
type timized data ily
blocks
S7-1500 Unlimited Operands No ibaREQ DP, PN, UDP,
ibaNet-E
From V3 Purely sym- Yes ibaREQsym PN, UDP,
bolic ibaNet-E
35 Issue 4.2 35
Request S7 variants ibaPDA-Request-S7-DP/PN/ibaNet-E
Other documentation
Detailed information about ibaPDA-interface-ibaNet-E can be found in the inter-
face manual.
36 Issue 4.2
ibaPDA-Request-S7-DP/PN/ibaNet-E Request S7 variants
Note
Only use Request blocks from the latest iba S7 library!
Request blocks in application examples can be outdated and, thus, cause errors.
Note
The request blocks do not support multi-instance calls.
3. Enable the Retain option for the entire instance data block you have just created.
Issue 4.2 37
Request S7 variants ibaPDA-Request-S7-DP/PN/ibaNet-E
38 Issue 4.2
ibaPDA-Request-S7-DP/PN/ibaNet-E Request S7 variants
■ Within OB1, ibaREQ_NetE-Send (FB1409) has to be called once more with the new DB num-
ber for each Request module.
■ Make sure that all instance data blocks are unique and that unique values are assigned for
the connectionId parameters.
Final
■ Load all blocks to the S7 CPU and restart the S7 CPU.
Note
Only use Request blocks from the latest iba S7 library!
Request blocks in application examples can be outdated and, thus, cause errors.
2. Call ibaREQsym_M.
Issue 4.2 39
Request S7 variants ibaPDA-Request-S7-DP/PN/ibaNet-E
Final
■ Load all blocks to the S7 CPU and restart the S7 CPU.
40 Issue 4.2
ibaPDA-Request-S7-DP/PN/ibaNet-E Request S7 variants
Other documentation
Detailed information about the ibaNet-E interface can be found in the respective
manual.
Configuring ibaBM-PN
1. Start the ibaPDA client and open the I/O Manager.
2. Click on the blue command Click to add module under the interface.
Select a Request S7 module in the dialog box and assign a name via the input field if re-
quired. Confirm the selection with <OK>.
S7 Request (for acquiring analog and digital signals)
S7 Request Decoder (for acquiring up to 32000 digital signals)
Issue 4.2 41
Request S7 variants ibaPDA-Request-S7-DP/PN/ibaNet-E
3. Configure the required module settings and signals as described in the following chapters.
The General and Connection tabs are identical for all Request modules. The Request mod-
ules only differ in the Analog and Digital tabs.
4. After you have finished the configuration, click <Apply> or <OK> to transfer the new configu-
ration to the device and start data acquisition with ibaPDA.
ibaNet-E
Sample time
Sample time on the controller side, corresponding to the cycle time of the function block re-
quests.
Samples per message
Number of samples transmitted in an ibaNet-E frame
Drift compensation
Disable drift compensation if the data is sent less frequently than every 10 ms to improve pro-
cessing of the received data.
42 Issue 4.2
ibaPDA-Request-S7-DP/PN/ibaNet-E Request S7 variants
Connection
Auto enable/disable
If this option is enabled and ibaPDA is unable to establish a connection to the S7 at the start of
acquisition, ibaPDA disables this module and starts acquisition without the module. During ac-
quisition, ibaPDA tries to connect to the S7. If successful, acquisition is restarted with the mod-
ule enabled. If this option is disabled and ibaPDA is unable to establish a connection to the S7 at
the start of acquisition, ibaPDA does not start acquisition.
General tab
For further information about module settings, see ì General module settings, page 15 and
ì General module settings, page 42.
Module-specific settings
Module structure – Number of decoders
Define the number of configurable decoders in the digital signal table. The default value is 32.
The maximum value is 126. The signal table is adjusted accordingly.
Connection configuration
The connection for the S7 Request Decoder module is configured in the same way as the con-
nection for an S7 Request module, see ì Connection settings, page 16.
Digital tab
The signals are configured in the same way as for the ibaBM-DP device, see ì Digital tab,
page 64.
Issue 4.2 43
Request S7 variants ibaPDA-Request-S7-DP/PN/ibaNet-E
44 Issue 4.2
ibaPDA-Request-S7-DP/PN/ibaNet-E Request S7 variants
The bus monitor offers two separate PROFINET devices. A transfer rate of max. 1440 Byte is pos-
sible for each device.
Other documentation
Detailed information about ibaBM-PN can be found in the device manual.
For information about application examples, see chapter ì Application examples, page 91.
Issue 4.2 45
Request S7 variants ibaPDA-Request-S7-DP/PN/ibaNet-E
Note
You find the latest version of the GSDML file on the data storage medium "iba
Software & Manuals" in the following directory:
\02_iba_Hardware\ibaBM-PN\01_GSD_Files\
S7-CPUs provide consistent slots with a max. of 252 Bytes. You need one slot for each Request
block. You can also use slots with a smaller size.
The following figure shows the net view.
46 Issue 4.2
ibaPDA-Request-S7-DP/PN/ibaNet-E Request S7 variants
Note
Only use Request blocks from the latest iba S7 library!
Request blocks in application examples can be outdated and, thus, cause errors.
Note
The request blocks do not support multi-instance calls.
3. Enable the option Retain for the entire instance data block you have just created.
4. Call the ibaREQ_PN (FB1401) within the OB1 or a cyclic interrupt OB (OB3x).
Issue 4.2 47
Request S7 variants ibaPDA-Request-S7-DP/PN/ibaNet-E
Final
■ Load all blocks into the S7 CPU and restart the S7 CPU.
Note
Only use Request blocks from the latest iba S7 library!
Request blocks in application examples can be outdated and, thus, cause errors.
48 Issue 4.2
ibaPDA-Request-S7-DP/PN/ibaNet-E Request S7 variants
Final
■ Load all blocks to the S7 CPU and restart the S7 CPU.
Issue 4.2 49
Request S7 variants ibaPDA-Request-S7-DP/PN/ibaNet-E
Other documentation
Detailed information about the ibaFOB-D card can be found in the respective
manual.
50 Issue 4.2
ibaPDA-Request-S7-DP/PN/ibaNet-E Request S7 variants
Configuring ibaBM-PN
1. Start the ibaPDA client and open the I/O Manager.
2. In the interface tree (left), select the link of the ibaFOB card to which ibaBM-PN is connect-
ed.
Click on the blue command Click to add module. Select the ibaBM-PN module in the dialog
box and assign a name via the input field if required. Confirm the selection with <OK>.
3. Add a Request module (or several modules, in case you need more connections to one or to
different S7-CPUs) to the ibaBM-PN module on the respective PROFINET connection Device
0 or Device 1. Available modules are:
S7 Request (for acquiring analog and digital signals)
S7 Request Decoder (for acquiring up to 1024 digital signals)
4. Configure the required module settings and signals as described in the following chapters.
The General and Connection tabs are identical for all Request modules. The Request mod-
ules only differ in the Analog and Digital tabs.
5. After you have finished the configuration, click <Apply> or <OK> to transfer the new configu-
ration to the device and start data acquisition with ibaPDA.
Issue 4.2 51
Request S7 variants ibaPDA-Request-S7-DP/PN/ibaNet-E
PROFINET
Device
Number of the PROFINET device to which the module is assigned
Slot
Number of the slot to which the module is assigned
S2 Redundancy
FALSE: Redundancy mode disabled. For further information on the redundancy mode, see ì Re-
quest-S7 for ibaBM-PN in redundancy mode, page 54.
General tab
For more information on the module settings, see ì General module settings, page 15 and
ì General module settings, page 52.
Module specific settings
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 126. The signal tables are adjusted accordingly.
52 Issue 4.2
ibaPDA-Request-S7-DP/PN/ibaNet-E Request S7 variants
Connection configuration
Configure the connection of the S7 Request Decoder module in the same way as the connection
for an S7-Request module, see ì Connection settings, page 16.
Digital tab
Configure the signals in the same way as for an ibaBM-DP device, see ì Digital tab, page 64.
4.2.4 Diagnostics
When you select the bus module node in the signal tree and choose the Analog or Digital tab,
you get a list of all operands that are acquired in the bus module with data type and actual
value.
Other documentation
You find a detailed description of the device-specific diagnostic options of ib-
aBM-PN in the device manual.
Issue 4.2 53
Request S7 variants ibaPDA-Request-S7-DP/PN/ibaNet-E
Other documentation
Detailed information about the S2 redundancy mode of the ibaBM-PN can be
found the device manual.
The functionality of the Request-S7 for ibaBM-PN in redundancy mode mostly corresponds to
the functionality in standard mode (see chapter ì Request-S7 for ibaBM-PN, page 44). The
differences and extensions are described in the following.
54 Issue 4.2
ibaPDA-Request-S7-DP/PN/ibaNet-E Request S7 variants
The configuration of the modules otherwise corresponds to the configuration in standard mode,
see ì General module settings, page 52.
Connection settings
For transmitting the operand data to both CPUs of the SIMATIC S7-R/H, set up two different
connections. ibaPDA switches between these connections depending on availability and re-
quirements.
Configure both connections on the tabs Connection 0 and Connection 1. You can change the
name of the tabs in the Connection name fields.
The other settings are identical to the settings for operation without redundancy mode, see
ì Connection settings, page 16.
Note these special features:
■ The rack numbers for an H system are 0 or 1 for the both redundant CPUs.
■ Set the DB number, the PROFINET device slots and the CPU name for assigning an address
book only once in the Connection 0 tab.
Issue 4.2 55
Request S7 variants ibaPDA-Request-S7-DP/PN/ibaNet-E
56 Issue 4.2
ibaPDA-Request-S7-DP/PN/ibaNet-E Request S7 variants
Note
The following description refers to the Request blocks V4.0 or higher. If you re-
quire information regarding older versions, contact the iba Support.
Other documentation
Detailed information about ibaBM-DP can be found in the device manual.
For information about application examples, see chapter ì Application examples, page 91.
Issue 4.2 57
Request S7 variants ibaPDA-Request-S7-DP/PN/ibaNet-E
Note
The ibaCom-L2B compatibility mode can only be used in the Flex-mode of
ibaBM-DP.
58 Issue 4.2
ibaPDA-Request-S7-DP/PN/ibaNet-E Request S7 variants
Note
You find the GSD file ibaDPMSi.gsd on the data storage medium "iba Soft-
ware & Manuals" in the following directory:
\02_iba_Hardware\ibaBM-DP\02_GSD_Files\01_General\
Note
Only use Request blocks from the latest iba S7 library!
Request blocks in application examples can be outdated and, thus, cause errors.
Issue 4.2 59
Request S7 variants ibaPDA-Request-S7-DP/PN/ibaNet-E
Note
The request blocks do not support multi-instance calls.
3. Enable the Retain option for the entire instance data block you have just created.
60 Issue 4.2
ibaPDA-Request-S7-DP/PN/ibaNet-E Request S7 variants
Final
■ Load all blocks to the S7 CPU and restart the S7 CPU.
Other documentation
Detailed information about the ibaFOB-D card can be found in the respective
manual.
Issue 4.2 61
Request S7 variants ibaPDA-Request-S7-DP/PN/ibaNet-E
Configuring ibaBM-DP
1. Start the ibaPDA client and open the I/O Manager.
2. In the interface tree (left), select the link of the ibaFOB card to which ibaBM-DP is connect-
ed.
Click on the blue command Click to add module. Select the ibaBM-DP module in the dialog
box and assign a name via the input field if required. Confirm the selection with <OK>.
3. If you operate the device in Flex mode, ibaPDA sets the IP address of the device on the
General tab under Connection automatically.
If you operate the device in compatibility mode, enter the IP address of the device on
the General tab under Connection: either as name e.g. "DP_000100" or as IP address e.g.
"192.168.81.123".
Note
An online connection to the device via Ethernet or USB is mandatory in compat-
ibility mode. The manual of the ibaBM-DP device explains how to establish and
check this connection.
The device manual also describes differences between Flex mode and compati-
bility mode in detail.
4. Add a request module (or several modules, in case you need more connections to one or to
different S7-CPUs) to the ibaBM-DP module on the respective PROFIBUS connection Bus 0 or
Bus 1. Available modules are:
62 Issue 4.2
ibaPDA-Request-S7-DP/PN/ibaNet-E Request S7 variants
S7 request
(for acquiring analog and digital signals)
S7 request decoder
(for the acquisition of up to 1024 digital signals)
5. Configure the required module settings and signals as described in the following chapters.
The General and Connection tabs are identical for all Request modules. The Request mod-
ules only differ in the Analog and Digital tabs.
6. After you have finished the configuration, click <Apply> or <OK> to transfer the new configu-
ration to the device and start data acquisition with ibaPDA.
PROFIBUS
Bus number
0 = connector X40 left, 1 = connector X41 right
Slave number
PROFIBUS slave address assigned to the module.
Connection
Auto enable/disable
If TRUE, the acquisition is started, even if no connection can be established to the S7-CPU. The
module is deactivated. During the acquisition, ibaPDA tries to reconnect to the S7-CPU. If suc-
cessful, the acquisition is restarted with this module enabled.
If FALSE, the acquisition is not started, if a connection to the configured S7-CPU cannot be es-
tablished.
Issue 4.2 63
Request S7 variants ibaPDA-Request-S7-DP/PN/ibaNet-E
General tab
For more information on the module settings, see ì General module settings, page 15 and
ì General module settings, page 63.
Connection configuration
Configure the connection of the S7 Request Decoder module in the same way as the connection
for an S7-Request module, see ì Connection settings, page 16.
Digital tab
The declaration of the digital signals is done in two steps.
■ First define the words (source signals), which are broken down for the digital signals (bits).
You can directly enter the words as basic signals for decoding via the absolute S7 operands.
Only word operands (e.g. PIW, MW, DBW) are allowed.
You can also use S7 symbols by generating address books. For detailed information, see
ì Selection via the symbolic operand addresses, page 26. The signals selected in S7 CFC
and symbol browser are applied and the columns Name, S7 symbol, S7 Operand and Data
Type are filled in automatically.
■ You can open each word (source signal) via the <+> button to display the list of associated
digital signals.
Then define the individual digital signals (bits) of the source signal.
64 Issue 4.2
ibaPDA-Request-S7-DP/PN/ibaNet-E Request S7 variants
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.
Individual digital signals (bits)
Name
Enter a name for the individual digital signals.
Active
If you activate the signal, the signal is acquired and is also considered when checking the num-
ber of licensed signals.
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.
Issue 4.2 65
Request S7 variants ibaPDA-Request-S7-DP/PN/ibaNet-E
4.4.4 Diagnostics
When you select the bus module node in the signal tree and select the Analog or Digital tab,
you get a list of all operands that are acquired in the bus module with data type and actual
value.
Other documentation
Detailed information about the device-specific diagnostic options of ibaBM-DP
can be found in the device manual.
66 Issue 4.2
ibaPDA-Request-S7-DP/PN/ibaNet-E Description of Request blocks
Note
Only use Request blocks from the latest iba S7 library!
Request blocks in application examples can be outdated and, thus, cause errors.
Use different Request block combinations depending on the current system configuration:
67 Issue 4.2 67
Description of Request blocks ibaPDA-Request-S7-DP/PN/ibaNet-E
Under ibaREQ_DB (DB15) block properties – Attributes disable the Optimized block access op-
tion.
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:
68 Issue 4.2
ibaPDA-Request-S7-DP/PN/ibaNet-E Description of Request blocks
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 4.2 69
Description of Request blocks ibaPDA-Request-S7-DP/PN/ibaNet-E
Detailed description
REQ_DB
The DB is used for data exchange with ibaPDA. For all related Request blocks, configure the
identical DB.
The length of the data block is fixed.
RESET
Used to manually reset the Request blocks. All Request blocks of a combination are automatical-
ly reset together. Usually, the parameter does not have to be connected.
CPU_HW_ID
TIA Portal system constant, which refers to the corresponding CPU.
ERROR_STATUS
Internal error of the block. If there is no error, the value 0 is output.
For a list of all possible error codes, see chapter ì Error codes of Request blocks, page 102.
70 Issue 4.2
ibaPDA-Request-S7-DP/PN/ibaNet-E Description of Request blocks
Detailed description
ADR_SLOT
Start address of the used slot in ibaBM-PN in the output range of the process image.
RESET_CON
Used for manually resetting the communication connection.
REQ_DB
The DB is used for data exchange with ibaPDA. For all related Request blocks, configure the
identical DB.
ERROR_STATUS
Internal error of the block. If there is no error, the value 0 is output.
For a list of all possible error codes, see chapter ì Error codes of Request blocks, page 102.
Detailed description
ADR_SLOT_0
Start address of the used slot 0 in ibaBM-DP in the output range of the process image.
ADR_SLOT_1
Start address of the used slot 1 in ibaBM-DP in the output range of the process image.
RESET_CON
Used for manually resetting the communication connection.
REQ_DB
The DB is used for data exchange with ibaPDA. For all related Request blocks, configure the
identical DB.
ERROR_STATUS
Internal error of the block. If there is no error, the value 0 is output.
For a list of all possible error codes, see chapter ì Error codes of Request blocks, page 102.
Issue 4.2 71
Description of Request blocks ibaPDA-Request-S7-DP/PN/ibaNet-E
Detailed description
REQ_DB
The DB is used for data exchange with ibaPDA. For all related Request blocks, configure the
identical DB.
buffer
Pointer to the buffer data range. This range is used to temporarily store the buffered signal val-
ues. For all related Request blocks, configure the identical DB.
error
Internal error indicator for the block. If there is no error, the value FALSE is output.
errorStatus1
Internal error code for the block. If there is no error, the value 0 is output.
errorStatus2
Internal error code for the block. If there is no error, the value 0 is output.
For a list of all possible error codes, see ì Error codes of Request blocks, page 102.
72 Issue 4.2
ibaPDA-Request-S7-DP/PN/ibaNet-E Description of Request blocks
Detailed description
reset
Used to manually reset the Request block.
Issue 4.2 73
Description of Request blocks ibaPDA-Request-S7-DP/PN/ibaNet-E
interfaceId
The HW ID of the used interface is a constant in TIA Portal and dependent on the configured
hardware.
Tip
You find the hardware identifier of the marked interface under Properties – Gen-
eral – Hardware identifier
connectionId
Unambiguous reference to the connection to be established, value range: 1 to 4095.
localPort
Number of the local port used
74 Issue 4.2
ibaPDA-Request-S7-DP/PN/ibaNet-E Description of Request blocks
sampleTime_ms
Signal sample time in milliseconds
REQ_DB
Pointer to the communication data range. This range is used for the data exchange with ibaPDA.
For all related Request blocks, configure the identical DB.
buffer
Pointer to the buffer data range. This range is used to temporarily store the buffered signal val-
ues. For all related Request blocks, configure the identical DB.
state
Block status in plain text
error
Internal error indicator for the block. If there is no error, the value FALSE is output.
errorStatus
Internal error code for the block. If there is no error, the value 0 is output.
For a list of all possible error codes, see ì Error codes of Request blocks, page 102.
errorStatusTCON
Error code for the internally called TCON block.
errorStatusTUSEND1
Error code for the internally called 1st TUSEND block.
errorStatusTUSEND2
Error code for the internally called 2nd TUSEND block.
errorStatusTDISCON
Error code for the internally called TDISCON block.
A list of all possible error codes for the TCON, TUSEND, TDISCON system blocks can be found in
the Siemens documentation.
lostSamples
The counter is incremented each time a block is called if a new UDP telegram cannot be sent
to ibaPDA because the preceding send job has not yet been completed. A constantly increasing
value indicates a bottleneck in communication performance.
mode
Detected ibaNet-E mode.
0: invalid, 1: single image, 2: multi image, 3: fragmented image
numImg
Detected number of images per frame
numFrg
Detected number of fragments per frame
75 Issue 4.2 75
Description of Request blocks ibaPDA-Request-S7-DP/PN/ibaNet-E
Note
Only use Request blocks from the latest iba S7 library!
Request blocks in application examples can be outdated and, thus, cause errors.
Use different Request block combinations depending on the current system configuration:
2)
You must use the blocks at the same call level.
76 Issue 4.2
ibaPDA-Request-S7-DP/PN/ibaNet-E Description of Request blocks
5.2.1 ibaREQsym_M
Detailed description
reset
Used to manually reset the block
DB_PDA
Pointer to the communication data range. This range is used for the data exchange with ibaPDA.
For all related Request blocks, configure the identical DB.
state
Block status in plain text
errorStatusRun
Internal error code for the block. If there is no error, the value 0 is output.
errorStatus1
Internal error code for the block. If there is no error, the value 0 is output.
errorStatus2
Internal error code for the block. If there is no error, the value 0 is output.
For a list of all possible error codes, see ì Error codes of Request blocks, page 102.
Issue 4.2 77
Description of Request blocks ibaPDA-Request-S7-DP/PN/ibaNet-E
5.2.2 ibaREQsym_PN
Detailed description
adrSlot
Starting address of the slot used in the output range of the process image.
reset_com
Used for manually resetting the communication connection.
DB_PDA
Pointer to the communication data range. This range is used for the data exchange with ibaPDA.
For all related Request blocks, configure the identical DB.
state
Block status in plain text
errorStatus
Internal error of the block. If there is no error, the value 0 is output.
For a list of all possible error codes, see chapter ì Error codes of Request blocks, page 102.
78 Issue 4.2
ibaPDA-Request-S7-DP/PN/ibaNet-E Description of Request blocks
5.2.3 ibaREQsym_NetE
Detailed description
reset
Used to manually reset the Request block.
Issue 4.2 79
Description of Request blocks ibaPDA-Request-S7-DP/PN/ibaNet-E
interfaceId
The HW ID of the used interface is a constant in TIA Portal and dependent on the configured
hardware.
Tip
You find the hardware identifier of the marked interface under Properties – Gen-
eral – Hardware identifier
connectionId
Unambiguous reference to the connection to be established, value range: 1 to 4095.
localPort
Number of the local port used
sampleTime_ms
Signal sample time in milliseconds
DB_PDA
Pointer to the communication data range. This range is used for the data exchange with ibaPDA.
For all related Request blocks, configure the identical DB.
state
Block status in plain text
80 Issue 4.2
ibaPDA-Request-S7-DP/PN/ibaNet-E Description of Request blocks
errorStatusTCON
Error code for the internally called TCON block.
errorStatusTUSEND1
Error code for the internally called 1st TUSEND block.
errorStatusTUSEND2
Error code for the internally called 2nd TUSEND block.
errorStatusTDISCON
Error code for the internally called TDISCON block.
A list of all possible error codes for the TCON, TUSEND, TDISCON system blocks can be found in
the Siemens documentation.
lostSamples
The counter is incremented each time a block is called if a new UDP telegram cannot be sent
to ibaPDA because the preceding send job has not yet been completed. A constantly increasing
value indicates a bottleneck in communication performance.
mode
Detected ibaNet-E mode.
0: invalid, 1: single image, 2: multi image, 3: fragmented image
numImg
Detected number of images per frame
numFrg
Detected number of fragments per frame
Issue 4.2 81
Diagnostics ibaPDA-Request-S7-DP/PN/ibaNet-E
6 Diagnostics
6.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 this interface has been properly recognized. The number of licensed 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:
82 Issue 4.2
ibaPDA-Request-S7-DP/PN/ibaNet-E Diagnostics
Issue 4.2 83
Diagnostics ibaPDA-Request-S7-DP/PN/ibaNet-E
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.
84 Issue 4.2
ibaPDA-Request-S7-DP/PN/ibaNet-E Diagnostics
Issue 4.2 85
Diagnostics ibaPDA-Request-S7-DP/PN/ibaNet-E
86 Issue 4.2
ibaPDA-Request-S7-DP/PN/ibaNet-E Appendix
7 Appendix
Note
TIA portal libraries are version-dependent. There may be upward compatibility
depending on the TIA portal version.
87 Issue 4.2 87
Appendix ibaPDA-Request-S7-DP/PN/ibaNet-E
88 Issue 4.2
ibaPDA-Request-S7-DP/PN/ibaNet-E Appendix
2. Select the archive file of the iba S7 library and select a storage location for the extracted
library in a next step.
→ Now the library is integrated.
Issue 4.2 89
Appendix ibaPDA-Request-S7-DP/PN/ibaNet-E
■ Drag or copy the blocks to the program blocks directory in the project navigation.
90 Issue 4.2
ibaPDA-Request-S7-DP/PN/ibaNet-E Appendix
■ Drag or copy the PLC data type to the PLC data type directory in the project navigation.
Issue 4.2 91
Appendix ibaPDA-Request-S7-DP/PN/ibaNet-E
92 Issue 4.2
ibaPDA-Request-S7-DP/PN/ibaNet-E 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 4.2 93
Appendix ibaPDA-Request-S7-DP/PN/ibaNet-E
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>.
94 Issue 4.2
ibaPDA-Request-S7-DP/PN/ibaNet-E Appendix
Issue 4.2 95
Appendix ibaPDA-Request-S7-DP/PN/ibaNet-E
7.4 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.
96 Issue 4.2
ibaPDA-Request-S7-DP/PN/ibaNet-E 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 4.2 97
Appendix ibaPDA-Request-S7-DP/PN/ibaNet-E
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.
98 Issue 4.2
ibaPDA-Request-S7-DP/PN/ibaNet-E Appendix
Issue 4.2 99
Appendix ibaPDA-Request-S7-DP/PN/ibaNet-E
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.
Activate S7 routing
Enable this option to use S7 routing.
Address
Enter the address of the target control (here CPU319).
FB140/141/…
Value Description
ERROR_STATUS
1 datablock ibaREQ_DB is write protected
2 datablock ibaREQ_DB invalid (DB = 0 or > limit of CPU)
3 datablock ibaREQ_DB does not exist
4 datablock ibaREQ_DB undefined error
5 datablock ibaREQ_DB too short
6 datablock ibaREQ_DB too short for ibaREQ_UDP
9 internal error (RD_SINFO)
10 no access to datablock ibaREQ_DB (read)
11 no access to datablock ibaREQ_DB (write)
20 initialization not finished
21 insufficient memory for SZL
22 wrong SZL_ID
23 wrong or invalid index of SZL
24 error while reading I&M data from CPU
25 error while reading PLC data
31 initialization canceled with error
32 initialization not completed
41 too many pointers (ibaREQ_DB too small)
42 too many pointers in one command (>128)
44 invalid command id
45 operand invalid (not defined)
46 operand invalid (datatype)
47 operand invalid (memory area)
200 no connection to PN device / DP slave
300 version of ibaREQ_UDPact does not match with ibaREQ_M (ID)
301 version of ibaREQ_UDPact does not match with ibaREQ_M (FB)
302 version of ibaREQ_UDPact does not match with ibaREQ_M (DB)
303 type of transmit agent does not match with configured request type in
ibaPDA
305 PROFIBUS DP slave hardware configuration is invalid
306 configured peripheral address is invalid
310 no access to datablock ibaREQ_DB (read)
311 no access to datablock ibaREQ_DB (write)
315 error while masking of synchronous faults
Value Description
ERROR_STATUS
316 error while demasking of synchronous faults
320 operand invalid (datatype)
321 operand invalid (pointer)
401 ADR_SLOT/ADR_SLOT_0 invalid hw-id
402 ADR_SLOT/ADR_SLOT_0 invalid hw-id, no IO-Device or DP-Slave
403 ADR_SLOT/ADR_SLOT_0 invalid hw-id, is no PROFIBUS or PROFINET
406 ADR_SLOT/ADR_SLOT_0 invalid configuration slot (0)
407 ADR_SLOT/ADR_SLOT_0 invalid configuration slot (0)
409 ADR_SLOT_1 invalid configuration slot 1
410 no connection to PN device/DP-Slave or error
411 ADR_SLOT_1 invalid hw-id
412 ADR_SLOT_1 invalid hw-id, no IO-Device or DP-Slave
413 ADR_SLOT_1 invalid hw-id, is no PROFIBUS
416 ADR_SLOT_1 invalid configuration slot 1
0x8yyy error code of inner TUSEND/AG_SEND/AG_LSEND
FC122 (PROFIBUS)
Value Description
ERROR_STATUS
1 DB_PDA is write protected
2 DB_PDA = 0 or > limit of CPU
3 DP_PDA does not exist
5 DB_PDA too short
11 DB_INTERN is write protected
12 DB_INTERN = 0 or > limit of CPU
13 DB_INTERN does not exist
15 DB_INTERN too short
16 error while reading identification data of CPU
19 initialization not completed
21 insufficient memory for system status list
22 wrong or unknown system status list
23 wrong or invalid index of system status list
30 invalid OUTPUT_ADR_SLAVE
31 OUTPUT_ADR_SLAVE no PROFIBUS DP-Slave
100 bit number not 0
101 bit number not 07
103 operand invalid (memory area)
Value Description
ERROR_STATUS
104 operand invalid (datatype)
105 operand invalid (datablock 0)
106 datablock number > limit of CPU
107 datablock does not exist
109 datablock too short
110 address does not exist
111 initialization canceled with error
112 initialization not completed
150 request fragmentation not supported
151 wrong number of requested values
152 only < 64 digital signals are supported
153 only < 64 analog signals are supported
200 no connection to DP-Slave
FC123
Value Description
ERROR_STATUS
1 DB_PDA is write protected
2 DB_PDA = 0 or > limit of CPU
3 DP_PDA does not exist
5 DB_PDA too short
11 DB_INTERN is write protected
12 DB_INTERN = 0 or > limit of CPU
13 DB_INTERN does not exist
15 DB_INTERN too short
16 error while reading identification data of CPU
19 initialization not completed
21 insufficient memory for system status list
22 wrong or unknown system status list
23 wrong or invalid index of system status list
30 invalid OUTPUT_ADR_SLAVE
31 OUTPUT_ADR_SLAVE no PROFIBUS DP slave
32 RM: the parameterized "OUTPUT_ADR_SLAVE_BUS_0" is wrong.
33 RM: the parameterized "OUTPUT_ADR_SLAVE_BUS_0" is not assigned to a
PROFIBUS DP slave
34 RM: the parameterized "OUTPUT_ADR_SLAVE_BUS_1" is wrong
Value Description
ERROR_STATUS
35 RM: the parameterized "OUTPUT_ADR_SLAVE_BUS_1" is not assigned to a
PROFIBUS DP slave
36 RM: SLAVE BUS0 and SLAVE BUS1 do not have the same DP address
100 bit number not 0
101 bit number not 07
103 operand invalid (memory area)
104 operand invalid (datatype)
105 operand invalid (datablock 0)
106 datablock number > limit of CPU
107 datablock does not exist
109 datablock too short
110 address does not exist
111 initialization canceled with error
112 initialization not completed
150 request fragmentation not supported
151 wrong number of requested values
152 only < 64 digital signals are supported
153 only < 64 analog signals are supported
200 no connection to DP-Slave
201 RM: slave bus 0 has failed
202 RM: slave bus 1 has failed
203 RM: slaves bus 0 + 1 have failed
210 output modules of the slaves bus 0 and 1 are configured differently
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