ibaPDA-Interface-EthernetIP v2.2 en
ibaPDA-Interface-EthernetIP v2.2 en
ibaPDA-Interface-EthernetIP v2.2 en
Manual
Issue 2.2
Measurement Systems
for Industry and Energy
Manufacturer
iba AG
Koenigswarterstr. 44
90762 Fuerth
Germany
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 2019, 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-EtherNet/IP Content
Content
1 About this manual..............................................................................................................4
3 EtherNet/IP interface.........................................................................................................8
3.1 Introduction............................................................................................................... 8
3.2 EtherNet/IP communications.................................................................................... 8
3.3 Types of ibaPDA modules........................................................................................ 10
3.4 Configuration and engineering PLC side.................................................................. 11
3.4.1 Configuration for I/O Module with RSLogix 5000.................................................... 11
3.4.2 Configuration for Produced Tag module with RSLogix5000..................................... 16
3.4.3 Configuration for I/O Module with Schneider Electric Unity Pro XL........................ 17
3.5 Configuration and engineering ibaPDA................................................................... 27
3.5.1 General interface settings........................................................................................ 27
3.5.2 Add module............................................................................................................. 28
3.5.3 General module settings.......................................................................................... 29
3.5.4 Signal configuration................................................................................................. 34
3.5.5 Technostring module............................................................................................... 36
3.5.6 Output signals.......................................................................................................... 38
3.6 Setting up multiple IP addresses for ibaPDA............................................................ 39
4 Troubleshooting and diagnostics...................................................................................... 41
3
Issue 2.2 3
About this manual ibaPDA-Interface-EtherNet/IP
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>
File names, paths "Filename", "Path"
Example: "Test.doc"
4 Issue 2.2
ibaPDA-Interface-EtherNet/IP About this manual
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.2 5
System requirements ibaPDA-Interface-EtherNet/IP
2 System requirements
The following system requirements apply for using the EtherNet/IP interface:
■ ibaPDA v6.38.1 or more recent
■ ibaPDA base license + license for ibaPDA-Interface-Ethernet/IP. The interface license allows
you to use 64 connections.
■ For more than 64 connections you need additional one-step-up-Interface-Ethernet/IP licenses
for each additional 64 connections.
■ If you still have an older ibaPDA-Interface-EtherNet/IP license (prior to June 2015) which has
no support for Produced Tags or I/O Scanner and you want to use Produced Tags or the I/O
Scanner module, then you should upgrade to an additional license Add-on-EtherNet/IP-Pro-
duced-Tags.
Other documentation
For more prerequisites concerning the used PC hardware and the supported op-
erating systems, please see the ibaPDA documentation
Note
We recommend running the TCP/IP or UDP communication on a separate net-
work segment to exclude any mutual influence by other network components.
Note
When operated on a virtual machine, a dongle with a valid license must be
plugged on the host for each virtual machine. The USB ports used are assigned
explicitly to the respective virtual machines.
6 Issue 2.2
ibaPDA-Interface-EtherNet/IP System requirements
License information
Order no. Product name Description
31.001.005 ibaPDA-Interface- Extension license for an ibaPDA system adding the
EtherNet/IP data interface:
Number of connections: 64
31.101.005 one-step-up-Interface-Eth- Extension license for 64 further EtherNet/IP-con-
erNet/IP nections, a maximum of 3 extension licenses is
permissible
31.111.005 Add-on-EtherNet/IP-Pro- Upgrade license for using Produced Tags; applies
duced-Tags to older licenses without Produced Tags support
only.
Table 1: Available EtherNet/IP-licenses
Issue 2.2 7
EtherNet/IP interface ibaPDA-Interface-EtherNet/IP
3 EtherNet/IP interface
3.1 Introduction
iba has implemented a driver able to read the Ethernet/IP protocol over TCP/IP and UDP. This
driver works close together with ibaPDA software. Depending on the selected module or com-
munication mode respectively, ibaPDA acts as a device passively expecting connections by a
scanner (I/O Module) or as a scanner actively establishing the connections (Produced Tag, I/O
Scanner).
ibaPDA can also send data back to the EtherNet/IP controller like output signals (I/O Module
and I/O Scanner only).
The following controllers have been tested successfully:
Rockwell Automation controllers:
(Used module types in brackets)
■ CompactLogix (I/O Module, Produced Tag)
■ FlexLogix (I/O Module, Produced Tag)
■ ControlLogix (I/O Module, Produced Tag)
■ SoftLogix 5800 (I/O Module, Produced Tag)
■ MicroLogix (I/O Module, Produced Tag)
Other controllers:
■ Schneider Electric M580 ePAC (I/O Module)
■ Keyence CB-EP100 (I/O Scanner)
■ WAGO 750-352 (I/O Scanner)
■ Omron C2JM (Produced Tag)
8 Issue 2.2
ibaPDA-Interface-EtherNet/IP EtherNet/IP interface
CIP Mes- CIP Communication Re- Transport pro- Communication Typical Use
sage Type lationship tocol Type
Explicit Connected or Uncon- TCP/IP Request/reply Non time-critical
nected transactions information data
Implicit Connected UDP/IP I/O data transfers Real-time I/O
data
Table 2: EtherNet/IP communication types
Note
CIP (Common Industrial Protocol) is an industrial protocol for industrial auto-
mation applications. CIP encompasses a comprehensive suite of messages and
services for the collection of manufacturing automation applications – control,
safety, synchronization, motion, configuration and information.
Explicit Messaging in general has a request/reply (or client/server) nature. This type of commu-
nication is used for non-real-time data, normally for information. For Ethernet/IP: Explicit Mes-
saging uses TCP.
Implicit Messaging is also often referred to as “I/O” and is time-critical in nature. Typically this
type of communication is used for real-time data exchange, where speed and low latency are
important. Implicit messages include very little information about their meaning, so the trans-
mission is more efficient, but less flexible than explicit. The interpretation of the transmitted
data is fast. With Implicit Messaging you establish an association (a “CIP connection”) between
two devices and produce the Implicit Messages according to a predetermined trigger mecha-
nism, typically at a specified packet rate. The devices both know and agree on the data formats
they will use (i.e., the format is “implied”). For EtherNet/IP: Implicit Messaging uses UDP and
can be multicast or unicast.
Note
ibaPDA supports both multicast and unicast messages on its module types "I/O
Module" and "I/O Scanner". On "Produced Tag" module type only unicast is sup-
ported.
However, iba recommends using unicast messages in order to avoid multicast
flooding in the network. The use of a separate network is also strongly recom-
mended.
Issue 2.2 9
EtherNet/IP interface ibaPDA-Interface-EtherNet/IP
General principle
The scanner initiates the connection by sending a forward open. In the forward open the scan-
ner needs to specify which data it wants to exchange (assembly instance or tag) and how it
wants to exchange the data (unicast/multicast, cycle time, timeouts, data sizes, …).
I/O Module
When using the I/O Module type, ibaPDA acts like an I/O adapter or device. The PLC controller
is a scanner. Only implicit messaging is used. ibaPDA passively waits for a connection estab-
lished by the PLC and the data being sent. Therefore, no IP address is needed in the module
configuration.
Produced Tag
When using the Produced Tag type, ibaPDA acts like a scanner. The PLC controller is an I/O
adapter or device. Explicit messaging is used by ibaPDAto some vendor specific objects for
fetching information about availability and configuration of Produced Tags (works for Rockwell
PLCs only). As a scanner ibaPDA actively establishes the connection, which is performed by
explicit messaging. Therefore, an IP-address (of the controller), the Produced Tag and size are
required in the module configuration. The data from the PLC or device are then sent by implicit
messaging.
Yet, ibaPDA can only read tag information from Rockwell PLCs and not from PLCs of other ven-
dors. But it is possible to enter manually the tag name and then configure the signals so that
they match the tag structure.
10 Issue 2.2
ibaPDA-Interface-EtherNet/IP EtherNet/IP interface
The module type Produced Tag supports CIP-routing, i.e. a connection even through different
bus systems (EtherNet/IP, ControlNet, DeviceNet) if the target CPU cannot be connected directly
by ibaPDA.
Note
When the acquisition is started then ibaPDA will try to connect to the Produced
Tag on the CPU. When this does not succeed then ibaPDA will in fact give an er-
ror in the validation form, but the acquisition will still start anyway. ibaPDA will
periodically try to reconnect to the Produced Tag as long as the acquisition is
running. When the acquisition is stopped ibaPDA will disconnect from the Pro-
duced Tag.
I/O Scanner
When using the I/O Scanner type, ibaPDA acts like a scanner and establishes the connection to
a device. Such devices are usually remote I/O units (e.g. from WAGO) or measurement devices
(e.g. from Keyence). An IP address (of the device), the assembly instances and size are required
in the module configuration. The data from the device are then sent by implicit messaging.
Issue 2.2 11
EtherNet/IP interface ibaPDA-Interface-EtherNet/IP
5. After you've created the new module, you will see the Module Properties dialog box, where
you have to configure the following settings:
In the Module Properties dialog box, the following settings have to be configured:
■ Name of the module (the array, which is later used to copy data to ibaPDA, will be called by
this name)
12 Issue 2.2
ibaPDA-Interface-EtherNet/IP EtherNet/IP interface
Note
If more than one Generic Ethernet Module is required with connection to
ibaPDA please observe to enter different IP addresses for each module. Each Ge-
neric Ethernet Module corresponds to one TCP/IP connection which corresponds
to one module in ibaPDA. Therefore, multiple IP addresses have to be assigned
to the network adapter of ibaPDA.
See chapter ì Configuration and engineering ibaPDA, page 27 for setup information.
The following data types are possible for use with ibaPDA:
■ SINT (8 bit integer)
■ INT (16 bit integer)
■ DINT (32 bit integer)
■ REAL (32 bit real)
Only data types without the suffix „with status“ are allowed.
Meaning of assemblies and size definitions:
■ Size values are defined as multiple of the data type. If you use “Data – DINT” (32 Bit) and as
size 4, it is possible to transfer four 32-Bit integers
■ Input: If you only want to transfer data from the PLC to ibaPDA for data acquisition the input
size should be one to minimize network traffic. If you also want to send data from ibaPDA
back to the PLC the input size defines the length of the data ibaPDA can send. The maximum
value in RSLogix is 500 bytes. If you use another data type as SINT, it is 500 divided by the size
of type in bytes.
■ Output: Data transferred to ibaPDA (maximum value: 496 Byte). If you use another data type
as SINT, maximum size is 496 divided by the size of type in bytes.
■ Configuration: Defines, how many configuration data bytes can be transferred within the
“ForwardOpen”-Command. ibaPDA does not support configuration via this command. Enter
0 as the size.
Issue 2.2 13
EtherNet/IP interface ibaPDA-Interface-EtherNet/IP
Note
■ The assembly instances for Input, Output and Configuration must be identi-
cal.
■ The assembly instance numbers usually must be between 1 and 64.
It is possible to accumulate up to 4 licenses resulting in a maximum of 256
connections. In this case the assembly instance can be up to 256.
■ The assembly instance number is the same as the EtherNet/IP connection
number in ibaPDA. The number must be unique for the ibaPDA.
Do not configure two connections with identical assemblies to connect with the
same ibaPDA host, even from different controllers!
Note
The size of inputs AND outputs is always defined in the PLC configuration (e.g. in
RSLogix or the Unity Pro for Schneider PLCs).
ibaPDA checks the size reported by the ForwardOpen information and warns the
user if the signal address offset + size of (Datatype) in ibaPDA is larger than the
size defined on the PLC side.
The validation is aborted with an error in case the address offset + size of
(Datatype) is larger than 1024 bytes for the inputs and 1004 for the outputs of
ibaPDA.
Clicking <Next> will bring you to the definition of the time interval. ibaPDA supports values be-
tween 1 ms and 1000 ms. Depending on the PLC and the programs on this device, you can not
use very small intervals (e.g. an Allen-Bradley FlexLogic doesn’t work stable with a value less
than 3 ms).
ibaPDA supports unicast reply connections over Ethernet/IP. Hence, you may enable the option
Use Unicast Connection over Ethernet/IP.
Configuration of communication with unicast is a little bit easier because preventive measures
against multicast side effects. IGMP Snooping and IGMP Query are not necessary here.
14 Issue 2.2
ibaPDA-Interface-EtherNet/IP EtherNet/IP interface
After the new module is added, it is possible to copy data from the PLC within programs and
tasks to the new array (as named like the module). This array has the following three members:
■ Input: Contains all data to be transferred from ibaPDA to the PLC.
■ Output: Contains all data that will be sent via Ethernet/IP to ibaPDA.
■ Config: Configuration values send with the “ForwardOpen” command. Not supported by
ibaPDA.
The Config-Array will also exist, if the ETHERNET-MODULE was defined with a configuration
size of zero.
■ Each of these sub-arrays has a member “Data”, which contains the values. Each task in the
PLC has write and read access to this option “Data”. But it only makes sense to write the
“output” data.
In order to copy data to ibaPDA, i. e. to the Output-Array, you can use one of the following com-
mands (ladder, function blocks or structured text commands):
■ MOV – Copies one tag (or one element of an array or structure) to a destination (here: one
element of the Output-Array). The source and the target have to have the same data type.
Otherwise the PLC would change the data into the data type of the target or another error
occurs. You can use this option, if you’ll transfer only data of one type within one Ethernet/IP
connection to ibaPDA.
■ COP – Copies one tag (or one element of an array or structure) to a destination (here: one el-
ement of the Output-Array) with a defined length. You can specify the length. The source and
Issue 2.2 15
EtherNet/IP interface ibaPDA-Interface-EtherNet/IP
the target could have different data types. Nothing is rejected by the PLC. If you define the
ETHERNET-MODULE as data type “SINT” (8 bit) you can copy your data from the PLC as you
like (you can create your own “structure”). With this option it is possible to transfer different
data types within the same connection to ibaPDA.
Other documentation
Please see the RSLogix-Documentation for further information.
16 Issue 2.2
ibaPDA-Interface-EtherNet/IP EtherNet/IP interface
3.4.3 Configuration for I/O Module with Schneider Electric Unity Pro XL
1. Open the Device Type Manager (DTM) Browser in Unity Pro and right click the controller,
then click Add:
2. Select the “Advanced Generic EDS“ device and click <Add DTM>.
Issue 2.2 17
EtherNet/IP interface ibaPDA-Interface-EtherNet/IP
18 Issue 2.2
ibaPDA-Interface-EtherNet/IP EtherNet/IP interface
RPI:
Requested Packet Interval in msec. ibaPDA supports values between 1 msec and 1000
msec. Depending upon the PLC type and the programs running on this device, you might
not use very small intervals (e.g. the lower limit on the M580 PLC is 2 msec).
Input T-> O:
Input size: The number of bytes reserved for data from ibaPDA. The size should be minimal
4 byte to minimize network traffic if no input from ibaPDA is required. The maximum value
is 509 bytes.
Input mode: ibaPDA supports unicast reply connections over Ethernet/IP. Hence, you may
enable the option "Point to Point". Configuration of communication with unicast is a little
bit easier because preventive measures against multicast side effects, such as IGMP Snoop-
ing and IGMP Query are not necessary.
Output O-> T:
Output size: The number of bytes reserved for data to ibaPDA. The maximum value is 505
bytes.
Output mode: ibaPDA supports unicast reply connections over Ethernet/IP. Hence, you may
enable the option "Point to Point".
6. Click <Apply> to activate the settings.
Issue 2.2 19
EtherNet/IP interface ibaPDA-Interface-EtherNet/IP
Input Instance:
The device specific assembly number associated with input (T -> O) transmissions.
Output Instance:
The device specific assembly number associated with output (O -> T) transmissions.
Configuration Instance:
The device specific assembly number associated with device configuration settings.
Note
■ The assembly instances for Input, Output and Configuration must be identi-
cal.
■ The assembly instance numbers usually must be between 1 and 64.
It is possible to accumulate up to 4 licenses resulting in a maximum of 256
connections. In this case the assembly instance can be up to 256.
■ The assembly instance number is the same as the EtherNet/IP connection
number in ibaPDA. This number must be unique for ibaPDA.
Do not configure two connections with identical assemblies to connect with the
same ibaPDA host, even from different controllers!
20 Issue 2.2
ibaPDA-Interface-EtherNet/IP EtherNet/IP interface
Note
The size of inputs AND outputs is always defined in the PLC configuration (e.g. in
RSLogix or the Unity Pro for Schneider PLCs).
ibaPDA checks the size reported by the ForwardOpen information and warns the
user if the signal address offset + size of (Datatype) in ibaPDA is larger than the
size defined on the PLC side.
The validation is aborted with an error in case the address offset + size of
(Datatype) is larger than 1024 bytes for the inputs and 1004 for the outputs of
ibaPDA.
Issue 2.2 21
EtherNet/IP interface ibaPDA-Interface-EtherNet/IP
22 Issue 2.2
ibaPDA-Interface-EtherNet/IP EtherNet/IP interface
Step Action
1 Click the Output tab to open the following page:
Note: In this example, each row represents a byte. Depending on the data type
of the item you want to create, select multiple rows.
Starting at the beginning of the table, select the first n rows:
If you want to create e.g. 2 REAL values, select exactly 8 rows as shown above.
2 In the Default Item Name Root input box, type the item root name: e.g. “Real_
Values”.
3 Click the <Define Item(s)> button.
Result: The “Item Name Definition” dialog opens:
Issue 2.2 23
EtherNet/IP interface ibaPDA-Interface-EtherNet/IP
Step Action
4 Select “REAL” as the New Item(s) Data Type.
Click <OK> and the result is: 2 new items are created:
24 Issue 2.2
ibaPDA-Interface-EtherNet/IP EtherNet/IP interface
Step Action
Repeat step 1-6 in the example to define all I/O items for output and input vari-
ables and input and output bits.
Use the above generated I/O items in your program to send data to ibaPDA.
The examples below show code samples in FBD and Structured Text:
Issue 2.2 25
EtherNet/IP interface ibaPDA-Interface-EtherNet/IP
Other documentation
Please see the Schneider Electric Unity Pro XL documentation for further infor-
mation.
26 Issue 2.2
ibaPDA-Interface-EtherNet/IP EtherNet/IP interface
Issue 2.2 27
EtherNet/IP interface ibaPDA-Interface-EtherNet/IP
You can easily generate modules for these connections. Right click on the EtherNet/IP interface
icon in the tree view and choose the context menu "Autodetect". Alternately you can generate
these modules manually without an existing connection. Click on the item in the tree on the
blue line Click to add module...
The number of the connection is equal to the configured assembly instance for the For-
wardOpen. If you move the mouse cursor over an Ethernet IP connection in the tree view, you
will see some additional information, such as connection length and IP addresses, in a tool tip
window.
Message counters
The counters for messages with invalid format/invalid length/unknown connection ID are for
display only.
Button <Open log file>
If connections to controllers have been established, all connection-specific actions are recorded
in a text file. Using this button, you can open and see this file. In the file system on the harddisk,
you will find the log file in the program path of the ibaPDA server (...Programs\iba\ibaPDA\
Server\Log\). The file name of the current log file is ethernetIpLog.txt, the name of the
archived log files is ethernetIpLog_yyyy_mm_dd_hh_mm_ss.txt.
For further information, please see ì Connection table, page 47
28 Issue 2.2
ibaPDA-Interface-EtherNet/IP EtherNet/IP interface
The red framed settings are the same for all 3 types.
Basic settings
Module Type (information only)
Indicates the type of the current module.
Locked
A module can be locked to avoid unintentional or unauthorized changing of the module set-
tings.
Enabled
Disabled modules are excluded from signal acquisition.
Name
The plain text name should be entered here as the module designation.
Module No.
Internal reference number of the module. This number determines the order of the modules in
the signal tree of ibaPDA client and ibaAnalyzer.
Time base
All signals of the module will be sampled on this time base.
Use name as prefix
Puts the module name in front of the signal names.
Module Layout
Number of analog and digital signals
Defines the number of configurable analog and digital signals in the signal tables. The default
value is 32 for each. You can change the number. The maximum value is 1000.
Issue 2.2 29
EtherNet/IP interface ibaPDA-Interface-EtherNet/IP
Assembly instance
Must be set to the assembly instance number as defined in the PLC for this connection.
Note
There are some restrictions for the assembly instance number with regard to the
EtherNet/IP interface licenses.
The assembly instance must be within the range…
1 to 64 for the first license (basic license ibaPDA-Interface-EtherNet/IP),
65 to 128 for the second (1. one-step-up-Interface-EtherNet/IP-license),
129 to 192 for the third (2. one-step-up-Interface-EtherNet/IP-license),
193 to 255 for the fourth (3. one-step-up-Interface-EtherNet/IP-license).
Include headers
If this option “True” is enabled, not only “pure” data will be measured. ibaPDA has also access
to the header information of the UDP-CIP-Packet. This makes only sense for debugging purpos-
es.
30 Issue 2.2
ibaPDA-Interface-EtherNet/IP EtherNet/IP interface
Issue 2.2 31
EtherNet/IP interface ibaPDA-Interface-EtherNet/IP
Multicast
If you set this option to "True", the input data will be received via multicast instead of unicast.
Note
In case an I/O adapter or device has inputs and outputs but you only want to get
inputs, then you should enter a special assembly number into the Output assem-
bly field. This assembly number – usually referred to as "Input only assembly" -
should be mentioned in the vendor's documentation. For WAGO. e.g., it is "198".
For Output size then enter "0".
32 Issue 2.2
ibaPDA-Interface-EtherNet/IP EtherNet/IP interface
B or a number. The destination address can be a backplane slot, a DH+ address, ControlNet ad-
dress or an IP address.
Example: Backplane,1,A,192.168.200.154,Backplane,0
Produced tag
After you have entered address and slot number you may load the controller tags from the CPU
by selecting Update controller tag list... from the produced tag drop-down list.
If you do so, ibaPDA will connect to the CPU and read out the controller tags with their struc-
tures and fill in the dropdown list. You can then select a tag. After you have selected a tag the
Data size property will be filled in automatically with the size of the tag.
You are also asked if ibaPDA should update the analog and digital signals to correspond with the
structure of the tag. If you select Yes, then the number of analog and digital signals is changed.
Data size
Data size of the selected tag. It will be filled in automatically after the tag has been selected.
Issue 2.2 33
EtherNet/IP interface ibaPDA-Interface-EtherNet/IP
Analog tab
■ Data Type
In the fields of this column you can select the data type of each signal. Just click in the corre-
sponding field and select the data type from the drop-down list.
The address space is depending on the data type. Hence, an adjustment of address entries may
be necessary after change of data types.
The following data types are available:
ibaPDA Data Type ControlLogix Data Type Unity PRO Data Type
BYTE / SINT (8 bit) SINT Byte
INT / WORD (16 bit) INT INT / WORD / UINT
DINT / DWORD (32 bit) DINT DINT / DWORD / UDINT
FLOAT (32 bit) REAL REAL
DOUBLE1) (64 bit) n.a n.a
1)
There are other PLC systems on the market, e.g. OMRON, which support a DOUBLE-compati-
ble datatype like LREAL or LWORD.
34 Issue 2.2
ibaPDA-Interface-EtherNet/IP EtherNet/IP interface
Note
In case of a produced tag module the signal names, addresses and data types
can be loaded automatically from the CPU.
Digital tab
For digital signals only the values 0 and 1 are shown for TRUE and FALSE state.
On the Digital tab you can define the digital signals in your data stream:
Note
In case of a produced tag module the signal names, addresses and data types
can be loaded automatically from the CPU.
Issue 2.2 35
EtherNet/IP interface ibaPDA-Interface-EtherNet/IP
Tip
You can select other columns of the analog or digital tab by a right mouse click
on the headline of the grid:
New interface settings are only applied after pressing the <Apply> button.
Name
Enter a name of your choice for the Technostring here.
36 Issue 2.2
ibaPDA-Interface-EtherNet/IP EtherNet/IP interface
Status
The status field provides information about the connection. If the TCP/IP connection has been
configured correctly and the ibaPDA system is ready to receive, the status message shows
"Waiting for connection". If the connection is established, the status field shows "Connected to
IP address".
Message counter
The message counter shows the number of messages received.
Module number
In order to measure and record Technostring sections as "text channels", you should determine
a unique module number at this point. If you do not set a module number, ibaPDA automatical-
ly renumbers the modules and Technostrings as soon as it detects duplicate module numbers.
Replace non-printable characters with...
If the text contains non-printable characters, these are replaced by a self-selected character. The
default value is 'x' (= 120 ASCII).
Filter new line characters (CR/LF)
If this option is enabled then the line breaks in the text – if any – are ignored when reading the
text.
Text encoding
The setting for the locale can be adapted for proper representation of the text. The default set-
ting is "Default system locale".
Assembly instance
Enter here the assembly instance number which is used for Technostring transmission to
ibaPDA. This number has usually been defined in the PLC configuration, e. g. with RSLogix 5000.
Technostring offset (Hex)
Enter the hexadecimal offset address of the Technostring in the EtherNet/IP data stream.
Length
Set or enter the length of the Technostring (number of characters = number of bytes). Upper
limit is 496.
Issue 2.2 37
EtherNet/IP interface ibaPDA-Interface-EtherNet/IP
You can define the number of analog and digital outputs. For each output signal you have to
define its value via an expression, its address and its data type.
Note
ibaPDA processes output signals with lower priority compared to input signals in
an update cycle not faster than 50 ms, depending on the I/O configuration.
38 Issue 2.2
ibaPDA-Interface-EtherNet/IP EtherNet/IP interface
Issue 2.2 39
EtherNet/IP interface ibaPDA-Interface-EtherNet/IP
Each Ethernet/IP connection should be considered as an ibaPDA module and it needs a unique
module number ID which, in fact, is automatically given by ibaPDA. This ID is automatically al-
located by the ibaPDA. The reference for the module/connection assignment is the assembly
instance. The assembly instance has been entered in the configuration dialog of the Generic
Ethernet Module in RSLogix.
The same assembly instance number must be entered in the ibaPDA I/O Manager, in the Assem-
bly instance field on the General tab of the module in question.
40 Issue 2.2
ibaPDA-Interface-EtherNet/IP Troubleshooting and diagnostics
Required:
Full-duplex capability on all ports
IGMP Snooping
Port Mirroring
Note
Choosing the right switch is particularly very important if the Ethernet/IP con-
troller uses IP multicast messages. So iba recommends using unicast messages if
supported by the controller.
41 Issue 2.2 41
Troubleshooting and diagnostics ibaPDA-Interface-EtherNet/IP
A layer 2 switch that supports IGMP snooping needs a router (which can be a layer 3 switch) to
send IGMP requests from whose it learns which devices are members of the multicast group
(IGMP Querier).
42 Issue 2.2
ibaPDA-Interface-EtherNet/IP Troubleshooting and diagnostics
Note
Some industrial layer 2 switches support IGMP snooping without the require-
ment for a router or layer 3 switch to be present to send out the IGMP polls.
■ Port Mirroring:
Port Mirroring refers to the ability to direct a duplicate of the frames being transmitted on one
port to another port. Therefore a traffic analyzer can connect to a switch and monitor the traffic
on a specific port. Without Port Mirroring, an analyzer is not able to recognize frames on other
ports.
Traffic analyzers (like the freeware Wireshark) are used extensively by people who support Eth-
ernet networks. Therefore, it is essential that a switch is selected that supports Port Mirroring
so that a traffic analyzer will function correctly on the network.
Issue 2.2 43
Troubleshooting and diagnostics ibaPDA-Interface-EtherNet/IP
7/23/2014 5:06:49 PM.227 [14: EthernetIP listening TCP thread] : **** ER-
ROR **** : Creating Ethernet/IP listening socket : Only one usage of each
socket address (protocol/network address/port) is normally permitted
Note
A way to root cause this is by using the Netstat –b – a command in a dos window
and looking for the 44818 port :
If you see this error message and RSLinx is installed in the ibaPDA server, uninstall RSLinx or stop
the RSLinx service via the launch console:
If RSLinx is really needed on the ibaPDA server, another solution is to change the startup type of
the RSLinx Service to “Manual”.
44 Issue 2.2
ibaPDA-Interface-EtherNet/IP Troubleshooting and diagnostics
This will prevent RSLinx being started before ibaPDA server starts at boot time.
4.3 License
If the Ethernet/IP interface node is not displayed in the signal tree, you can either check in
ibaPDA under General - Settings - License info in the I/O manager or in the ibaPDA service status
application, whether your license "Interface EtherNet/IP" has been properly recognized. The
number of licensed connections is indicated in brackets.
Fig. 16: License displayed in the ibaPDA I/O manager, example of the EtherNet/IP license
When no license exists, please contact you local iba office to purchase an ibaPDA-Interface-Eth-
ernet/IP license.
The license "Interface Ethernet/IP Produced Tags" indicates that you can use Produced Tag
modules and I/O Scanner modules. If this license is missing and you intend to use one of these
module types, please contact your local iba office to purchase the required add-on (refer also to
ì System requirements, page 6).
Issue 2.2 45
Troubleshooting and diagnostics ibaPDA-Interface-EtherNet/IP
When a PLC tries to connect to an assembly instance higher than the number of licensed con-
nections then you will see messages like these in the Ethernet/IP log file:
Fig. 17: Example for module fault in RSLogix5000 if assembly instance number does not comply with ibaPDA license
46 Issue 2.2
ibaPDA-Interface-EtherNet/IP Troubleshooting and diagnostics
Each row represents one connection which corresponds to one module or assembly instance
respectively.
The row number corresponds to the assembly instance within ibaPDA.
For EtherNet/IP I/O modules this corresponds to the assembly instance configured in the gener-
ic Ethernet module of the PLC’s I/O configuration.
For EtherNet/IP Produced Tag and I/O Scanner modules this is generated automatically.
The Module column shows with which module this connection corresponds.
The IP Address column shows the IP address of the connected PLC.
Beside the columns for message counters of received and sent messages and sequence error
counter there is the Data length column. The Data length column shows the size of the UDP
message without UDP header. The UDP data contains an EtherNet/IP header that is 20 bytes
long for produced tag connections and 24 bytes long for I/O connections.
Note
If you double-click on a row, you will get to the corresponding offset in the Mem-
ory view tab.
Issue 2.2 47
Troubleshooting and diagnostics ibaPDA-Interface-EtherNet/IP
48 Issue 2.2
ibaPDA-Interface-EtherNet/IP Troubleshooting and diagnostics
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.2 49
Troubleshooting and diagnostics ibaPDA-Interface-EtherNet/IP
50 Issue 2.2
ibaPDA-Interface-EtherNet/IP Troubleshooting and diagnostics
Issue 2.2 51
Troubleshooting and diagnostics ibaPDA-Interface-EtherNet/IP
Fig. 23: Example: Analog values of a diagnostic module for a TCP Generic module
For example, the IP (v4-) address of a TCP Generic 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.
52 Issue 2.2
ibaPDA-Interface-EtherNet/IP Troubleshooting and diagnostics
Fig. 24: Example: Digital values of a diagnostic module for a TCP Generic module
Issue 2.2 53
Support and contact ibaPDA-Interface-EtherNet/IP
Note
If you require support, indicate the serial number (iba-S/N) of the product.
Contact
Head office
iba AG
Koenigswarterstraße 44
90762 Fuerth
Germany
Phone: +49 911 97282-0
Fax: +49 911 97282-33
Email: [email protected]
Contact: Harald Opel
54
54 Issue 2.2