Anybus Communicator CAN PROFINET IRT 2.32 User manual

Anybus
®Communicator™CAN
PROFINET®IRT (2.32)
USER MANUAL
SCM-1202-035 1.0 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®Communicator™CAN PROFINET®IRT (2.32) User Manual SCM-1202-035 1.0

Anybus®Communicator™CAN PROFINET®IRT (2.32) User Manual SCM-1202-035 1.0
Table of Contents Page
1 Preface ............................................................................................................................... 3
1.1 About This Document.....................................................................................................3
1.2 Related Documents .......................................................................................................3
1.3 Document history...........................................................................................................3
1.4 Trademark Information ...................................................................................................3
1.5 Conventions ..................................................................................................................4
2 Description ....................................................................................................................... 5
2.1 Introduction ...................................................................................................................5
2.2 Basic Operation .............................................................................................................6
2.3 Data Exchange Model ....................................................................................................7
2.4 PROFINET IRT Protocol.................................................................................................8
2.5 CAN Network Protocol ...................................................................................................9
3 Installation ...................................................................................................................... 13
3.1 Installation Overview ....................................................................................................13
3.2 Connectors and Indicators............................................................................................14
3.3 DIN Rail Mounting........................................................................................................14
3.4 CAN Interface..............................................................................................................15
3.5 PROFINET Interface ....................................................................................................15
3.6 Power Connector .........................................................................................................15
3.7 USB Connector............................................................................................................15
3.8 LED Indicators.............................................................................................................16
4 Configuration ................................................................................................................. 17
4.1 Configuration Overview ................................................................................................17
4.2 Network Configuration..................................................................................................18
4.3 Web Pages..................................................................................................................22
5 Anybus Configuration Manager ................................................................................ 23
5.1 Main Window...............................................................................................................23
5.2 Basic Settings..............................................................................................................24
A Technical Data................................................................................................................ 27
B Regulatory Compliance............................................................................................... 28
C Licenses .......................................................................................................................... 29

This page intentionally left blank

Preface 3 (30)
1 Preface
1.1 About This Document
This document describes how to install and configure the Anybus Communicator CAN PROFI-
NET IRT (2.32) gateway.
For additional related documentation and file downloads, please visit www.anybus.com/support.
1.2 Related Documents
Document Author Document ID
Anybus Communicator CAN PROFINET IRT (2.32)
Installation Guide
HMS SP2192
Anybus CompactCom 40 PROFINET IRT Network Guide HMS SCM-1202-023
PROFINET IO Specifiation PROFIBUS and PRO-
FINET International
—
PROFINET Technology and Application PROFIBUS and PRO-
FINET International
—
CiA Draft Standard 301 v4.2 CAN in Automation —
CiA Draft Standard Proposal 302 Part 1–5 CAN in Automation —
1.3 Document history
Version Date Description
1.0 2017-02-23 First release
1.4 Trademark Information
Anybus®is a registered trademark of HMS Industrial Networks AB. All other trademarks men-
tioned in this document are the property of their respective holders.
Anybus®Communicator™CAN PROFINET®IRT (2.32) User Manual SCM-1202-035 1.0

Preface 4 (30)
1.5 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: 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.
Anybus®Communicator™CAN PROFINET®IRT (2.32) User Manual SCM-1202-035 1.0

Description 5 (30)
2 Description
2.1 Introduction
Anybus Communicator CAN PROFINET IRT (2.32) is intended for connecting equipment that
use the standard CAN protocol to a PROFINET network. The Anybus Communicator CAN per-
forms an intelligent protocol conversion and presents the CAN data to the PROFINET IO Con-
troller as easily processed I/O data.
Configuration
& Monitoring
CAN Communication DevicesCAN Communication Device
INVERTER
HMI
Multi-Node CAN NetworkSingle-Node CAN Network
Configuration
& Monitoring
Fieldbus
Control
System
Fieldbus
Control
System
INVERTER
HMI
FIELDBUS
FIELDBUS
Fig. 1 Network examples
Anybus
®Communicator™CAN PROFINET®IRT (2.32) User Manual SCM-1202-035 1.0

Description 6 (30)
2.2 Basic Operation
Anybus Communicator CAN PROFINET IRT (2.32) is designed to exchange data between a
CAN subnetwork and a higher level network. The CAN protocol uses individually configurable
frames, offering great flexibility. Through the configuration of CAN frames, the Anybus Commu-
nicator CAN will adapt to a predefined CAN subnetwork. It will be possible to send data to and
receive data from the CAN subnetwork, but also to act as a relay for data on the subnetwork.
The gateway can issue frames cyclically, on change of data, or based on trigger events issued
by the control system of the higher level network. It can also monitor communication on the sub-
network and notify the higher level network when data has changed.
An essential part of the Anybus Communicator CAN package is Anybus Configuration Manager,
a Windows-based application used to supply the gateway with a description of the subnetwork
protocol. The application has a easy to use graphical interface and does not require program-
ming skills.
Fig. 2 Anybus Configuration Manager
Anybus
®Communicator™CAN PROFINET®IRT (2.32) User Manual SCM-1202-035 1.0

Description 7 (30)
2.3 Data Exchange Model
2.3.1 Overview
The data exchanged on the CAN subnetwork and the data exchanged on the higher level net-
work reside in the same internal memory in the Anybus Communicator CAN. In order to ex-
change data with the CAN subnetwork, the higher level network simply reads and writes data to
memory locations that have been specified in Anybus Configuration Manager. The same mem-
ory locations can then be exchanged on the CAN subnetwork.
Internal Memory
Input Data
(220 bytes)
CAN Subnetwork
Output Data
(220 bytes)
General Data
Higher Level Network
Fig. 3 Memory buffer structure
The internal memory buffer is divided into three areas based on their function:
Input Data (220 bytes) This area can be read from by the higher level network.
Output Data (220 bytes) This area can be written to by the higher level network.
General Data
(up to 1024 bytes)
This area cannot be accessed by the higher level network but can be used
for transfers between individual nodes on the subnetwork, or as a general
“scratch pad” for data.
The size of the General Data area is 1024 bytes. How much of that area
that will be used for communication depends on the configuration.
2.3.2 Memory Map
When building the CAN subnetwork configuration in Anybus Configuration Manager the areas
in the memory buffer will be mapped to the following memory locations:
CAN Network:
Fieldbus:
CAN Network:
Fieldbus:
CAN Network:
Fieldbus:
Write Only
Read Only
Read Only
Write Only
Read/Write
-
Input Data Output Data General Data
0x000 0x200
0x0DB 0x2DB
0x400
0x7FF
Fig. 4 Memory Map
The illustration shows the maximum available data areas in Anybus Communicator CAN. The
actual amount of memory that can be allocated depends on the fieldbus network used.
Anybus®Communicator™CAN PROFINET®IRT (2.32) User Manual SCM-1202-035 1.0

Description 8 (30)
2.4 PROFINET IRT Protocol
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
Anybus Communicator CAN PROFINET IRT (2.32). PROFINET Record Data is not supported.
Anybus Communicator CAN PROFINET IRT (2.32) acts as a PROFINET device (slave), which
means it can be accessed by a PROFINET controller (master), but will not initiate communica-
tion by itself.
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.
The first two bytes of the I/O data area are reserved for the Control Word and the Status Word,
which are used by the IO Controller to control and report status on the nodes on the CAN sub-
network. The remainder is available for real-time data transfer using PDOs.
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 Anybus Communicator CAN PROFINET IRT (2.32) can be
downloaded from www.anybus.com/support.
Anybus®Communicator™CAN PROFINET®IRT (2.32) User Manual SCM-1202-035 1.0

Description 9 (30)
2.5 CAN Network Protocol
2.5.1 General
The CAN protocol is message-based and can exchange up to 8 bytes of data in each message.
It is a transparent protocol, meaning that it only acts as a data carrier, and it is up to each appli-
cation to define and interpret the data content of the messages.
Data is exchanged using frames. Each frame has a unique identifier for the data it exchanges,
which also represents the message priority. Anybus Communicator CAN supports both 11-bit
(CAN 2.0A) and 29-bit (CAN 2.0B) identifiers, selected in the configuration.
CAN is essentially a produce-consume protocol, where all nodes listen to all messages. The de-
vices recognize what data to collect by the identifier in the CAN frame. Anybus Communicator
CAN is also able to act as a network master and issue queries that demand responses. Both
methods can be used within the same configuration.
2.5.2 Message Types
Anybus Communicator CAN features three CAN message types: Query-Response,Produce,
and Consume. These message types only specify the basic communication model, not the ac-
tual CAN protocol. All three message types can be used in the same configuration.
Query-Response
The Anybus Communicator CAN here acts as a master on the CAN subnetwork, and communi-
cation takes place in a query-response fashion. The gateway sends a query and expects a re-
sponse within a specified timeout.
QUERY
RESPONSE
QUERY
RESPONSE
BROADCAST
Subnetwork
Node 1
Node 2
Anybus Communicator
Control System
Fig. 5 Query-Response messaging
Produce and Consume
Here there is no master-slave relationship between the Anybus Communicator CAN and the
subnetwork nodes. Any node, including the gateway, may both produce and consume mes-
sages. Nodes do not have to respond to messages, or wait for a query in order to send one.
The consumed data can be accessed from the higher level network, and vice versa.
PRODUCECONSUME
CONSUMEPRODUCE
PRODUCECONSUME
Subnetwork
Node 2
Node 1
Node 3
Anybus Communicator
Control System
Fig. 6 Produce and Consume messages
Anybus
®Communicator™CAN PROFINET®IRT (2.32) User Manual SCM-1202-035 1.0

Description 10 (30)
2.5.3 Protocol Building Blocks
The following building blocks are used in Anybus Configuration Manager to describe the sub-
network communication. See Anybus Configuration Manager, p. 23.
Group Agroup does not represent any specific device on the CAN subnetwork, it is only
a means to structure the transactions that have been defined for the gateway in
Anybus Configuration Manager.
Each group can be associated with any number of transactions, however the total
number of transactions in a configuration is limited to 128.
Transaction Atransaction consists of one or more CAN frames. Each transaction is
associated with a set of parameters controlling how and when to use it on the
subnetwork. There are 5 transaction types: produce,consume,query-response,
dynamic produce and dynamic consume. A group can contain transactions of all
three types simultaneously.
A total of 128 transactions can be configured.
Dynamic Transaction Adynamic transaction makes it possible for a network master to change selected
parameters during runtime. The parameters are mapped to the Output or General
Data areas and cannot be changed using Anybus Configuration Manager.
A dynamic transaction can only consist of a single CAN frame which in turn can
only hold one data object.
Only one dynamic produce transaction and one dynamic consume transaction
can be configured.
CAN Frames CAN frames are low level entities used to compose transactions. Each frame
carries an 11-bit or 29-bit identifier and can hold up to 8 bytes of data.
A total of 256 CAN frames can be configured.
Anybus®Communicator™CAN PROFINET®IRT (2.32) User Manual SCM-1202-035 1.0

Description 11 (30)
2.5.4 Control and Status Words
The optional Control and Status Words can be used to control the startup mode of the Anybus
Communicator CAN and to read the status of the CAN subnetwork. The Control Word is always
mapped to the first two bytes of the output data area, and the Status Word to the first two bytes
of the input data area, with the Least Significant Byte in the first byte (byte 0).
CAN Network:
Fieldbus:
CAN Network:
Fieldbus:
CAN Network:
Fieldbus:
Write Only
Read Only
Read Only
Write Only
Read/Write
-
Input Data Output Data General Data
0x000 Status Word (2 bytes) 0x200
0x0DB 0x2DB
0x400
0x7FF
Control Word (2 bytes)
Fig. 7 Memory buffers
The illustration shows the maximum available data areas in Anybus Communicator CAN. The
actual amount of memory that can be allocated depends on the fieldbus network used.
Control Word
The Control Word can be used to reset the CAN controller and to select the startup mode and/
or reboot the Anybus Communicator CAN.
Bit Name Description
15 - 3 (reserved)
2 Reset CAN 1 - Resets the CAN controller (used when CAN interface is bus off)
1 Reboot module 1 - Reboots the Anybus Communicator CAN (software reset)
0 Operation mode Sets the start-up operation mode of the Anybus Communicator CAN:
0 - Idle (no new data is issued to the CAN subnetwork. Data received from the
CAN subnetwork is sent on to the higher level network.)
1 - Run (data is exchanged between CAN subnetwork and higher level network.)
Status Word
The Status Word holds information from the CAN subnetwork.
Bit Name Description
15 - 6 (reserved)
5CAN overrun 0 - OK
1 - CAN reception overrun
4 Error passive 0 - CAN interface is NOT in error passive state
1 - CAN interface is in error passive state
3 Bus off 0 - Bus runnning
1 - Bus off
2 Reset CAN
complete
If set, the CAN controller has been reset (used when CAN interface is bus off)
1 (reserved)
0 Operation mode 0 - Idle
1 - Run
Anybus®Communicator™CAN PROFINET®IRT (2.32) User Manual SCM-1202-035 1.0

Description 12 (30)
2.5.5 Transaction Live List
The optional Transaction Live List consists of a bit array where each bit corresponds to a trans-
action on the CAN subnetwork (bit 0 corresponds to transaction 1 etc.). A set bit indicates nor-
mal functionality. The bit is not set if the transaction is non-working or non-existent.
The live list is mapped in the Input data area of the memory, either at the start of the area or di-
rectly after the Status word. From 8 transactions up to 128 transactions in steps of 8 can be
monitored using the live list. This means that up to 16 bytes of the input data area of the memo-
ry can be occupied by the live list.
The latest live list can always be accessed in Anybus Configuration Manager, regardless of
whether the live list is mapped in the input data area or not.
See also Anybus Configuration Manager, p. 23.
Anybus®Communicator™CAN PROFINET®IRT (2.32) User Manual SCM-1202-035 1.0

Installation 13 (30)
3 Installation
This product contains parts that can be damaged by electrostatic discharge (ESD).
Use ESD protective measures to avoid equipment damage.
3.1 Installation Overview
These are the basic steps for installing Anybus Communicator CAN gateways.
Depending on the fieldbus network type there may also be configuration switches on the Any-
bus Communicator CAN that need setting. See the following sections for more information.
Basic installation steps
1. Mount the Anybus Communicator CAN on the DIN rail.
2. Connect the CAN network.
3. Connect the fieldbus network.
4. Configure the fieldbus network interface (if applicable).
5. Connect the power cable and apply power.
6. Connect the USB cable between the gateway and a PC.
7. Download Anybus Configuration Manager from www.anybus.com/support
and install it on the PC following the instructions in the installer.
(Anybus Configuration Manager requires Microsoft®Windows XP or later)
8. Continue to Configuration, p. 17
Anybus®Communicator™CAN PROFINET®IRT (2.32) User Manual SCM-1202-035 1.0

Installation 14 (30)
3.2 Connectors and Indicators
ALED indicators
BPROFINET IRT interface
CUSB connector
DCAN interface
EPower connector
FDIN rail mount
3.3 DIN Rail Mounting
The unit must be electrically grounded through the DIN rail for EMC compliance.
Mount on DIN rail
1
2
Fig. 8 Push down to mount or remove
1. Hook the unit onto the upper lip of
the rail and push gently downwards.
2. Push the unit towards the rail until it
snaps into place.
Remove from DIN rail
1. Push the unit gently downwards on the rail.
2. Pull the bottom end of the unit free of the rail and remove it.
A
B
C
D
E
F
Anybus®Communicator™CAN PROFINET®IRT (2.32) User Manual SCM-1202-035 1.0

Installation 15 (30)
3.4 CAN Interface
The CAN network connector is located on the bottom of the unit.
Fig. 9 CAN connector
Pin Signal
2 CAN_L
3 CAN_GND
5Shield
6 CAN_GND
7CAN_H
1, 4, 8, 9 (reserved)
3.5 PROFINET Interface
The PROFINET IRT interface contains a dual port Ethernet switch with RJ45 type connectors.
The two ports are labeled LAN 1 and LAN 2.
1 8
Fig. 10 Ethernet connector (RJ45)
Pin Function
1 TD+
2 TD-
3 RD+
6 RD-
4, 5, 7, 8 (reserved)
3.6 Power Connector
See also Technical Data, p. 27 regarding power supply requirements.
1 2
Fig. 11 Power connector
Pin Signal
1 +24 VDC
2 Power Ground
3.7 USB Connector
The USB connector is used for connecting the Anybus Communicator CAN to a computer for
uploading and downloading configurations. The USB cable should be removed when not in use.
1
2
34
Fig. 12 USB type B connector
Pin Signal
1 +5 V input
2 USBDM (USB communication)
3 USBDP (USB communication)
4 Signal ground
Housing Cable shield
69
5 1(male)
Anybus®Communicator™CAN PROFINET®IRT (2.32) User Manual SCM-1202-035 1.0

Installation 16 (30)
3.8 LED Indicators
The LED indicators provide diagnostic information about data communication and status of the
network interfaces as well as general device status.
1 2
3
5
4
6
LED 1 to 4 PROFINET IRT network status
LED 5 CAN network status
LED 6 Device status
LED Indication Meaning
1 - Network Status Off Offline
– No power
– No connection to IO Controller
Green Online (RUN)
– Connection to IO Controller
Green, 1 flash Online (STOP)
– Connection to IO Controller
– IO Controller in STOP state or IO data bad
– RT synchronization not finished
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
2 - Module Status Off No power or initializing
Green Normal operation
Green, 1 flash Diagnostic event present
Red Fatal error
Alternating red/green Firmware update in progress
3 - Link/Activity 1
4 - Link/Activity 2
Off No power or no link detected
Green Link OK
Green, flickering Transmitting/receiving data
LED Indication Meaning
5 - CAN Subnet Status Off No power or no CAN communication
Green Running, no errors or timeout
Red. flashing Transaction error, timeout, or CAN subnet stopped
Red Fatal error
Device Status Off No power or initializing
Green Running
Green, flashing Idle
Red Fatal error
Alternating red/green Configuration error
Anybus
®Communicator™CAN PROFINET®IRT (2.32) User Manual SCM-1202-035 1.0

Configuration 17 (30)
4 Configuration
4.1 Configuration Overview
Device Description Files
A device description file contains a description of a network device, its functions, object diction-
ary implementations, etc., and is used when configuring the network interface. The device de-
scription file can be referred to as a DDF, EDS, GSD, etc., depending on the type of network.
The latest versions of the device description files can be downloaded from www.anybus.com/
support.
Basic steps when configuring Anybus Communicator CAN PROFINET IRT (2.32)
1. Install, connect and power up the Anybus Communicator CAN gateway (if you have not al-
ready done so). See also Installation, p. 13.
2. Download Anybus Configuration Manager from www.anybus.com/support and install it.
3. Download the latest device description file for Anybus Communicator CAN PROFINET IRT
(2.32) from www.anybus.com/support.
4. Build your configuration using Anybus Configuration Manager and download it to the gate-
way.See Anybus Configuration Manager, p. 23.
5. Install the appropriate device description file in the PROFINET IRT configuration tool.
6. Configure the PROFINET IRT network as required. Make sure that the configuration
matches the configuration present in the Anybus Communicator CAN.
Anybus®Communicator™CAN PROFINET®IRT (2.32) User Manual SCM-1202-035 1.0

Configuration 18 (30)
4.2 Network Configuration
To be able to communicate over Ethernet, the PROFINET network interface needs a valid TCP/
IP configuration. This section explains some basic concepts and describes how to configure the
TCP/IP settings 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. 22.
4.2.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®Communicator™CAN PROFINET®IRT (2.32) User Manual SCM-1202-035 1.0
Other manuals for Communicator CAN PROFINET IRT 2.32
2
Table of contents
Other Anybus Gateway manuals

Anybus
Anybus PROFINET IRT 2.32 User manual

Anybus
Anybus Modbus to BACnet Gateway User manual

Anybus
Anybus X-gateway Assembly instructions

Anybus
Anybus Communicator PROFINET IRT User manual

Anybus
Anybus RS-232 User manual

Anybus
Anybus AB7702 User manual

Anybus
Anybus Communicator Modbus plus User manual

Anybus
Anybus X-gateway User manual