Anybus Communicator CAN PROFINET IRT 2.32 Installation and maintenance instructions

Anybus
®X-gateway™
PROFINET®IRT (2.32) Interface
NETWORK GUIDE
SCM-1202-028-EN 1.1 ENGLISH

Important User Information
Liability
Every care has been taken in the preparation of this document. Please inform HMS Industrial Networks AB of any
inaccuracies or omissions. The data and illustrations found in this document are not binding. We, HMS Industrial
Networks AB, reserve the right to modify our products in line with our policy of continuous product development.
The information in this document is subject to change without notice and should not be considered as a commit-
ment by HMS Industrial Networks AB. HMS Industrial Networks AB assumes no responsibility for any errors that
may appear in this document.
There are many applications of this product. Those responsible for the use of this device must ensure that all the
necessary steps have been taken to verify that the applications meet all performance and safety requirements in-
cluding any applicable laws, regulations, codes, and standards.
HMS Industrial Networks AB will under no circumstances assume liability or responsibility for any problems that
may arise as a result from the use of undocumented features, timing, or functional side effects found outside the
documented scope of this product. The effects caused by any direct or indirect use of such aspects of the product
are undefined, and may include e.g. compatibility issues and stability issues.
The examples and illustrations in this document are included solely for illustrative purposes. Because of the many
variables and requirements associated with any particular implementation, HMS Industrial Networks AB cannot as-
sume responsibility for actual use based on these examples and illustrations.
Intellectual Property Rights
HMS Industrial Networks AB has intellectual property rights relating to technology embodied in the product de-
scribed in this document. These intellectual property rights may include patents and pending patent applications in
the USA and other countries.
Anybus®is a registered trademark of HMS Industrial Networks AB. All other trademarks mentioned in this document
are the property of their respective holders.
Anybus®X-gateway™PROFINET®IRT (2.32) Interface Network Guide SCM-1202-028-EN 1.1

Anybus®X-gateway™PROFINET®IRT (2.32) Interface Network Guide SCM-1202-028-EN 1.1
Table of Contents Page
1 Preface ............................................................................................................................... 3
1.1 About This Document.....................................................................................................3
1.2 Document history...........................................................................................................3
1.3 Document Conventions ..................................................................................................4
1.4 Document-specific Conventions......................................................................................4
2 Description ....................................................................................................................... 5
2.1 Overview.......................................................................................................................5
3 Installation ........................................................................................................................ 6
3.1 Connectors....................................................................................................................6
3.2 LED Indicators...............................................................................................................7
4 Network Configuration .................................................................................................. 8
4.1 Basic TCP/IP Concepts ..................................................................................................8
4.2 TCP/IP Configuration .....................................................................................................9
4.3 DCP (Discovery and Control Protocol) ........................................................................... 11
5 Web Pages ...................................................................................................................... 12
6 PROFINET Data Exchange.......................................................................................... 13
6.1 Overview.....................................................................................................................13
6.2 GSD File .....................................................................................................................13
6.3 Data Representation (IO Data and Record Data) ............................................................14
7 Ethernet Transport Provider....................................................................................... 15
7.1 General.......................................................................................................................15
7.2 Allocation of I/O Data ...................................................................................................15
A Technical Data................................................................................................................ 17

This page intentionally left blank

Preface 3 (18)
1 Preface
1.1 About This Document
This document describes how to configure the Anybus X-gateway PROFINET IRT (2.32)
network interface.
For additional documentation and file downloads, please visit www.anybus.com/support.
1.2 Document history
Version Date Description
1.0 2017-01-23 First release
1.1 2017-11-22 Update for new firmware
Anybus®X-gateway™PROFINET®IRT (2.32) Interface Network Guide SCM-1202-028-EN 1.1

Preface 4 (18)
1.3 Document Conventions
Ordered lists are used for instructions that must be carried out in sequence:
1. First do this
2. Then do this
Unordered (bulleted) lists are used for:
• Itemized information
• Instructions that can be carried out in any order
...and for action-result type instructions:
► This action...
➨leads to this result
Bold typeface indicates interactive parts such as connectors and switches on the hardware, or
menus and buttons in a graphical user interface.
Monospaced text is used to indicate program code and other
kinds of data input/output such as configuration scripts.
This is a cross-reference within this document: Document Conventions, p. 4
This is an external link (URL): www.hms-networks.com
This is additional information which may facilitate installation and/or operation.
This instruction must be followed to avoid a risk of reduced functionality and/or
damage to the equipment, or to avoid a network security risk.
Caution
This instruction must be followed to avoid a risk of personal injury.
WARNING
This instruction must be followed to avoid a risk of death or serious injury.
1.4 Document-specific Conventions
The following conventions are used specifically in this document:
• Hexadecimal values are written as NNNNh (the suffix hindicates hexadecimal notation).
• 16 and 32 bit values are stored in Motorola (big endian) format unless otherwise stated.
Anybus®X-gateway™PROFINET®IRT (2.32) Interface Network Guide SCM-1202-028-EN 1.1

Description 5 (18)
2 Description
2.1 Overview
Anybus X-gateway PROFINET IRT (2.32) is a multi purpose communication solution offering in-
dustrial protocol support as well as web and email capabilities. It acts as a PROFINET device
(slave), which means it can be accessed by a PROFINET controller (master), but it will not ini-
tiate communication by itself.
The PROFINET IRT network interface exchanges data via two memory buffers that can be ac-
cessed via a built in webserver or via industrial network protocols such as PROFINET IO.
Input Buffer Contains data coming from the gateway, i.e. data from another network.
Output Buffer Contains data to be sent through the gateway to another network.
Ethernet
Input
Buffer
Output
Buffer
PROFINET IO
Server
Web Server
Filesystem
FTP Server
Email Client
(from Gateway)
(to Gateway)
Fig. 1 Overview of data flow
See also PROFINET Data Exchange, p. 13.
Anybus®X-gateway™PROFINET®IRT (2.32) Interface Network Guide SCM-1202-028-EN 1.1

Installation 6 (18)
3 Installation
This product contains parts that can be damaged by electrostatic discharge (ESD).
Use ESD prevention measures to avoid damage.
3.1 Connectors
Fig. 2 Top-mounted interface
Fig. 3 Bottom-mounted interface
Ethernet Connectors (LAN 1/LAN 2)
The PROFINET IRT interface contains a dual port Ethernet switch. The two LAN ports are la-
beled X1.1 and X1.2 if the interface is top-mounted, and X2.1 and X2.2 if the interface is bot-
tom-mounted.
1 8
Fig. 4 Ethernet connector (RJ45)
Pin Function
1 TD+
2 TD-
3 RD+
6 RD-
4, 5, 7, 8 (reserved)
LAN 1
(X1.1)
LAN 2
(X1.2)
LAN 1
(X2.1)
LAN 2
(X2.2)
Anybus®X-gateway™PROFINET®IRT (2.32) Interface Network Guide SCM-1202-028-EN 1.1

Installation 7 (18)
3.2 LED Indicators
Fig. 5 Front view
LED Indication Meaning
GW Status Gateway status, see Anybus X-gateway User Manual
LINK/ACT Green Link OK
Green, flickering Transmitting/receiving data
Off Link not detected or no power
NS Off Offline
- No power- No connection with IO Controller
Green Online (RUN)
- Connection with IO Controller established
Green, 1 flash Online (STOP)
- Connection with IO Controller established
- IO Controller in STOP state or IO data bad
- RT synchronization not finished
Green, blinking Node identification (see manual)
Red Fatal error
Red, 1 flash Station name error
Red, 2 flashes IP address error
Red, 3 flashes Configuration error
Alternating Red/Green Firmware update in progress
MS Off No power or initializing
Green Normal operation
Green, 1 flash Diagnostic event present
Red Fatal error
Alternating Red/Green Firmware update in progress
Top-mounted
GW Status
Bottom-mounted
NS
MS
LINK/ACT1 (X1.1)
LINK/ACT2 (X1.2)
GW Status
NS
MS
LINK/ACT1 (X2.1)
LINK/ACT2 (X2.2)
Anybus®X-gateway™PROFINET®IRT (2.32) Interface Network Guide SCM-1202-028-EN 1.1

Network Configuration 8 (18)
4 Network Configuration
To be able to communicate over Ethernet the network interface needs a valid TCP/IP configura-
tion. This section explains some basic concepts in TCP/IP networking and describes how to
configure the TCP/IP settings in the Anybus X-gateway PROFINET IRT (2.32) interface using
the IPconfig software tool.
When Ethernet communication has been established the TCP/IP settings can also be changed
from the web interface. See Web Pages, p. 12.
4.1 Basic TCP/IP Concepts
IP Address
The IP address is used to identify each node on a TCP/IP network. IP addresses are written as
four decimal integers (0–255) separated by dots, where each integer represents the binary val-
ue of one byte of the IP address. This is known as dot-decimal notation.
Example: 10000000 00001010 00000010 00011110 is written as 128.10.2.30
The following IP addresses are reserved for special purposes and cannot be used:
0.n.n.n First byte zero — used for broadcast messages
127.n.n.n First byte 127 — used for loopback addresses to the local host
n.n.n.0 Last byte zero — identifies a whole network/subnet
n.n.n.255 Last byte 255 — used for broadcast messages
Subnet Mask
The IP address is divided into three parts: Net ID,Subnet ID and Host ID. A subnet mask is a
32-bit binary pattern, where a set bit allocates a bit for Network/Subnet ID, and a cleared bit al-
locates a bit for the Host ID. The subnet mask is usually written in dot-decimal notation.
Example: To make the IP address 128.10.2.30 belong to subnet 128.10.2, the subnet
mask must be 255.255.255.0.
Subnet mask: 11111111 11111111 11111111 00000000 (255.255.255.0)
Net ID / Subnet ID
Host ID
Default Gateway
For devices to be able to communicate over Ethernet they must either belong to the same sub-
net or communicate via a gateway or router.
A gateway or router routes communication between networks, i.e. it enables the nodes on one
network to access the nodes on another. The default gateway address in the TCP/IP settings of
your product specifies the IP address of the gateway or router on the local network.
Anybus®X-gateway™PROFINET®IRT (2.32) Interface Network Guide SCM-1202-028-EN 1.1

Network Configuration 9 (18)
4.2 TCP/IP Configuration
4.2.1 Installing the IPconfig Utility
IPconfig is a Windows-based tool for configuration of TCP/IP settings in HMS devices. The tool
will detect all compatible and active HMS devices on the local network.
1. Download IPconfig from www.anybus.com/support.
2. Unpack the contents of the zip archive and run the installer program.
4.2.2 Scanning for Connected Devices
When IPconfig is started it will automatically scan all available local networks for HMS devices.
Detected devices will be listed in the main window. To refresh the list, click on Scan.
Fig. 6 IPconfig main window
IP IP address of the device
SN Subnet mask
GW Default gateway
DHCP Automatically managed IP configuration
Version Firmware version
Type Product name
MAC Ethernet MAC address (System ID)
Anybus
®X-gateway™PROFINET®IRT (2.32) Interface Network Guide SCM-1202-028-EN 1.1

Network Configuration 10 (18)
4.2.3 Ethernet Configuration
To change the IP settings for a device, double-click on the entry in the main window or right-click
on it and select Configuration.
Fig. 7 Ethernet configuration
Enter static IP settings as required, or select DHCP if using dynamic IP addressing.
Do not enable DHCP if there is no DHCP server available on the network.
You can add a name for the device in the Hostname field. Only characters a–z, A–Z, 0–9 and _
(underscore) are allowed.
The default password for changing IP settings is blank (no password). If a password has been
set for the device you must enter it to be able to change the settings.
To set a new password, check the Change password box and enter the current password in
the Password field, then enter the new password in the New password field.
For security reasons the default password should always be changed.
Click on Set to save the new settings. The device will reboot automatically.
Anybus®X-gateway™PROFINET®IRT (2.32) Interface Network Guide SCM-1202-028-EN 1.1

Network Configuration 11 (18)
4.2.4 IPconfig Settings
Additional settings for IPconfig can be accessed by clicking on Settings.
Fig. 8 IPconfig settings
Network Interface
Check this option to select a specific network interface to use when scanning for devices from a
computer which has more than one interface. If this option is left unchecked, all available net-
works will be scanned.
Internal DHCP Server
If a device has been set to use DHCP but there is no DHCP server on the network, the device
may not be detected by IPconfig. To recover access to the device an internal DHCP server in
IPconfig can be temporarily activated:
1. Click the checkbox for Internal DHCP Server, then click OK. IPconfig will automatically re-
fresh the scan and list the missing device in the main window.
2. Select the device and configure it to use static IP addressing instead of DHCP.
3. Disable the internal DHCP server.
Do not enable the internal DHCP server if there is already an active DHCP server
on the network.
4.3 DCP (Discovery and Control Protocol)
Anybus X-gateway PROFINET IRT (2.32) supports the DCP protocol, which allows a PROFI-
NET IO Controller/Supervisor to change the network settings during runtime. If successful, this
will replace the settings currently stored in the ethcfg.cfg file.
Anybus®X-gateway™PROFINET®IRT (2.32) Interface Network Guide SCM-1202-028-EN 1.1

Web Pages 12 (18)
5 Web Pages
Network configuration settings and status of the PROFINET IRT network interface can be ac-
cessed by pointing a web browser to the IP address of the interface.
Module Overview
Fig. 9 Overview tab
Provides basic information about the X-gateway including the serial number and the installed
firmware version.
Network Status
Fig. 10 Status tab
Displays an overview of the current network status.
Network Configuration
Fig. 11 Configuration tab
Provides access to the TCP/IP network settings. These parameters can also be configured us-
ing the IPconfig tool.
Anybus®X-gateway™PROFINET®IRT (2.32) Interface Network Guide SCM-1202-028-EN 1.1

PROFINET Data Exchange 13 (18)
6 PROFINET Data Exchange
6.1 Overview
PROFINET is the open Industrial Ethernet standard for automation from PROFIBUS and PRO-
FINET International. The PROFINET IRT device provides PROFINET IO Isochronous Real
Time Communication.
PROFINET makes a clear distinction between fast cyclical data, IO Data, and acyclical data,
Record Data. PROFINET IO Data corresponds to what is generally referred to as I/O Data in
the Anybus X-gateway User Manual. PROFINET Record Data corresponds to what is referred
to as Parameter Data.
PROFINET IO Data (I/O Data)
PROFINET IO Data is exchanged cyclically and is built up by I/O modules. The actual I/O con-
figuration is determined by the PROFINET IO Controller. The modules are mapped to the Input
and Output Buffers in the order of their slot number.
PROFINET Record Data (Parameter Data)
Record Data is exchanged using acyclic Record Data Read/Write requests.
See also Data Representation (IO Data and Record Data), p. 14.
6.2 GSD File
All PROFINET devices are associated with an XML-based GSD file. This file contains informa-
tion about the basic capabilities and configuration options of the device.
The latest version of the GSD file for the Anybus X-gateway PROFINET IRT (2.32) can be
downloaded from www.anybus.com/support.
Anybus®X-gateway™PROFINET®IRT (2.32) Interface Network Guide SCM-1202-028-EN 1.1

PROFINET Data Exchange 14 (18)
6.3 Data Representation (IO Data and Record Data)
The actual I/O configuration is determined by the PROFINET IO Controller. The modules are
mapped to the Input and Output Buffers in the order of their slot number.
Example:
In this example, the data sizes have been set to the following values:
Input I/O Data Size: 208 bytes
Input Parameter Data Size: 304 bytes
Output I/O Data Size: 176 bytes
Output Parameter Data Size: 336 bytes
The following modules are specified in the IO Controller:
Slot Module Size Direction Comment
0 0 -Device Access Point (DAP)
1 176 bytes Output -
2 208 bytes Input -
INPUT BUFFER
Offset OffsetSlot
21
SlotModule size Module size
OUTPUT BUFFER
208 byte Input 176 byte Output
0x000
0x1FF
0x000
0x0CF
Record Data Index 1000h
Record Data Index 112Fh
Record Data Index 2000h
Record Data Index 214Fh
Input I/O Data Size
(208 bytes)
Input Parameter Data Size
(304 bytes)
Output I/O Data Size
(176 bytes)
Output Parameter Data Size
(336 bytes)
0x0AF
0x1FF
0x0B0
0x0D0
Fig. 12 Input and output buffers
Input Parameter Data
API Slot Subslot Index Comment
0 0/1/2 1 1000h First byte of the Input parameter area
(address 0x0D0 in the example above)
1001h Second byte of the Input parameter area
…
112Fh Last byte of the Input parameter area
Output Parameter Data
API Slot Subslot Index Comment
0 0/1/2 1 2000h First byte of the Output parameter area
(address 0x0B0 in the example above)
2001h Second byte of the Output parameter area
…
214Fh Last byte of the Output parameter area
The Control Word and Status Word and the Live List are not considered in this example. For
more information, please refer to the Anybus X-gateway User Manual.
Anybus®X-gateway™PROFINET®IRT (2.32) Interface Network Guide SCM-1202-028-EN 1.1

Ethernet Transport Provider 15 (18)
7 Ethernet Transport Provider
7.1 General
The Ethernet interface supports the Transport Provider protocol, which allows a host to control
the network interface on the other side of the gateway using the standard Anybus-S API.
PROFINET (Ethernet)
(Other network)
(Slave)
(Slave)
(Slave)
(Slave) OPC Server
Fig. 13 Ethernet Transport Provider
7.2 Allocation of I/O Data
Example
I/O Size, Interface A = 30 bytes
I/O Size, Interface B = 20 bytes
Transport Provider I/O Size = 20 bytes - 10 bytes = 10 bytes
Interface A
I/O Size = 30 bytes
Interface B
I/O Size = 20 bytes
20 bytes20 bytes
10 bytes
10 bytes
This data is available as I/O Data
on the PROFINET (Ethernet) side
This data is transported as I/O Data
through the Ethernet Transport Provider
Fig. 14 Transport Provider example
If the Transport Provider shall handle the complete I/O image towards the other network, the I/O
size should be set to 0 (zero) on the Ethernet interface.
Anybus®X-gateway™PROFINET®IRT (2.32) Interface Network Guide SCM-1202-028-EN 1.1

This page intentionally left blank

Appendix A: Technical Data 17 (18)
A Technical Data
PROFINET specification 2.32
PROFINET functionality • Isochronous Real-Time (IRT) communication
• Conformance supporting Class A, B and C
• Media Redundancy Protocol (MRP) support
• Discovery and Configuration Protocol (DCP) support
• Acyclic Data exchange (Record Data Requests)
• Asset Management
Isochronous cycle times 0.250 ms to 16 ms
Maximum I/O data Up to 512 byte in each direction
Ethernet • 100 Mbit/s, full duplex (fixed)
• Dual port cut-through switch, RJ45 connectors
• Ethernet Transport Provider support
Anybus®X-gateway™PROFINET®IRT (2.32) Interface Network Guide SCM-1202-028-EN 1.1

last page
© 2018 HMS Industrial Networks AB
Box 4126
300 04 Halmstad, Sweden
Other manuals for Communicator CAN PROFINET IRT 2.32
2
Table of contents
Other Anybus Recording Equipment manuals