background image

Description

6 (42)

2.2

Data Exchange Model

2.2.1

Overview

The data exchanged on the CAN subnetwork and the data exchanged on the higher level
network reside in the same internal memory in the Anybus Communicator CAN. In order to
exchange 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
memory 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. 2

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.2.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. 3

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.2 en-US

Summary of Contents for Anybus Communicator CAN PROFINET IRT 2.32

Page 1: ...A An ny yb bu us s C Co om mm mu un niic ca at to or r C CA AN N P PR RO OF FI IN NE ET T I IR RT T 2 2 3 32 2 USER MANUAL SCM 1202 035 1 2 en US ENGLISH ...

Page 2: ...uirements associated with any particular implementation HMS Industrial Networks cannot assume responsibility or liability for actual use based on the data examples or illustrations included in this document nor for any damages incurred during installation of the product Those responsible for the use of the product must acquire sufficient knowledge in order to ensure that the product is used correc...

Page 3: ...l Mounting 14 3 4 CAN Interface 16 3 5 PROFINET Interface 16 3 6 Power Connector 16 3 7 USB Connector 16 3 8 LED Indicators 17 4 Configuration 18 4 1 Configuration Overview 18 4 2 Network Configuration 19 4 3 Web Pages 23 5 Anybus Configuration Manager 24 5 1 Main Window 24 5 2 Basic Settings 25 6 PROFINET Asset Management 27 6 1 Asset Management Record 27 6 2 Recording and Reading Data 27 6 3 Sup...

Page 4: ...Anybus Communicator CAN PROFINET IRT 2 32 User Manual SCM 1202 035 1 2 en US A Technical Data 39 A 1 General Specifications 39 A 2 CAN Interface 39 A 3 PROFINET IRT Interface 39 B Licenses 40 ...

Page 5: ...teway For additional related documentation and file downloads please visit www anybus com support 1 2 Document history Version Date Description 1 0 2017 02 23 First release 1 1 2017 11 22 Updated for new firmware 1 2 2019 04 11 Added section about PROFINET Asset Management Anybus Communicator CAN PROFINET IRT 2 32 User Manual SCM 1202 035 1 2 en US ...

Page 6: ... 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...

Page 7: ...etwork 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 subnetwork and notify the higher level network when data has changed Anybus Communicator gateways are configured using Anybus Configuration Manager a family of configuration tools that have an easy to use graph...

Page 8: ...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 2 2 Memory Map When buildin...

Page 9: ...Data I O Data PROFINET IO Data is exchanged cyclically and is built up by I O modules 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 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...

Page 10: ...methods can be used within the same configuration 2 4 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 actual 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 subnetwor...

Page 11: ...Description 9 42 Fig 5 Produce and Consume messages Anybus Communicator CAN PROFINET IRT 2 32 User Manual SCM 1202 035 1 2 en US ...

Page 12: ...oduce 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 A dynamic 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...

Page 13: ...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 exchang...

Page 14: ...is mapped in the Input data area of the memory either at the start of the area or directly 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 memory can be occupied by the live list The latest live list can always be accessed in Anybus Configuration Manager regardless of wh...

Page 15: ... 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 fol...

Page 16: ... Mounting The unit must be electrically grounded through the DIN rail for EMC compliance Mount on DIN rail 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 Anybus Communicator CAN PROFINET IRT 2 32 User Manual SCM 12...

Page 17: ...Installation 15 42 2 Pull the bottom end of the unit free of the rail and remove it Anybus Communicator CAN PROFINET IRT 2 32 User Manual SCM 1202 035 1 2 en US ...

Page 18: ... 3 RD 6 RD 4 5 7 8 reserved 3 6 Power Connector See also Technical Data p 39 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 3 4 Fig 12 USB type B conne...

Page 19: ... 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 da...

Page 20: ...d power up the Anybus Communicator CAN gateway if you have not already 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 gatewa...

Page 21: ...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 allo...

Page 22: ...e and run the installer program 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 13 IPconfig main window IP IP address of the device SN Subnet mask GW Default gateway DHCP Automatically managed IP configuration Version Firmware vers...

Page 23: ...ame 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 ...

Page 24: ...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 refresh 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 alrea...

Page 25: ...s basic information about the Anybus Communicator CAN including the serial number and the installed firmware version Network Status Fig 17 Status tab Displays an overview of the current network status Network Configuration Fig 18 Configuration tab Provides access to the TCP IP network settings These parameters can also be configured using the IPconfig tool Anybus Communicator CAN PROFINET IRT 2 32...

Page 26: ...ified in either decimal or hexadecimal format Example The decimal value 42 can also be entered as 0x2A Moving the mouse cursor over a parameter in this window will show a help text in the Information Window explaining how to use the parameter 3 Information Window Displays a help text describing the current parameter 4 Navigation Tree A hierarchic tree view of the configuration divided into three m...

Page 27: ...ing of the input area or if the Control Status Word is enabled after the Status Word It is possible to map from 8 to 128 transactions in steps of 8 Each transaction is represented by a bit that tells the system whether the transaction is alive or not Statistics Parameter Comment Counters The receive counter and the transmit counter count successful CAN messages on the subnetwork If enabled the cou...

Page 28: ...A change from 29 bit to 11 bit identifier will cause the upper 18 bits to be deleted and the lower 11 bits kept This may in some cases cause faulty CAN identifiers Silence Time ms 0 65535 Default 0 disabled The minimum time that must elapse between the end of a message and the beginning of the next message If a device on the CAN subnetwork is slow and or does not have a message queue it may be nec...

Page 29: ...r the design of easier maintenance and operation processes despite the increasing complexity of processes and associated machines 6 2 Recording and Reading Data An asset management file containing all the assets and their corresponding data on the non PROFINET network is created and uploaded via an FTP server to the Gateway file system The asset management file can be transferred from a computer c...

Page 30: ...t data can be downloaded to a computer connected to the PROFINET network 6 3 Supported File Formats The following file formats are supported for the asset management file Format Version XML XML Version 1 0 Binary file Little endian N A 6 4 Supported Asset Management Records Supported asset management records Unique ID Location Hardware Revision Annotation Order ID Serial Number Software Revision S...

Page 31: ...Try to use as few spaces as possible for indentation in the file The number of white space also affects the file size Avoid using optional name strings 6 5 3 XML Attribute Name and Data Format The order of the elements is significant for the XML schema to work with the Anybus Gateways If the XML schema is incorrect the XML file will not work and no data will be recorded When creating the XML file ...

Page 32: ...vision String of length X Maximum number of elements in array 64 IM Software Revision String Format of the string shall be C X Y Z C is one character X Y and Z represent a value between 0 and 255 X Major version Y Minor version Z Internal IM Unique Identifier Array of Unsigned 8 Length is 16 Format of the value shall be 0xXX 0xYY 0xZZ 16 values in hex format where each value is separated by a Loca...

Page 33: ... XML File Structure Example The code example presented below can be used as a guide when creating the asset management XML file Fig 21 Asset management XML file structure example Anybus Communicator CAN PROFINET IRT 2 32 User Manual SCM 1202 035 1 2 en US ...

Page 34: ...gs as short as possible Do not pad with empty spaces for strings 6 6 3 Binary File Header Omitted attributes are disabled or set to their default value The size of the file header is 70 bytes The supported file headers are specified in the table Supported File Headers File Header Byte Number Data Type Comment File format version 0 1 UINT16 Version number of the file format Set to 0 File checksum 2...

Page 35: ...ent the number of data bytes following Not used by the gateway Attribute data 2 x Depends on the attribute being described Data for the attribute Format shall be as described for the data type Not needed for strings padding or termination Attribute Closure Description Use a closing entry to close the instance data Attribute Description Byte number Data type Comment Closure 0 1 UINT16 Data field wh...

Page 36: ...4 IM Software Revision Array of Unsigned 8 Length is 4 First byte is a character Bytes 2 3 and 4 represent the version in the format X Y Z where X Y and Z represent a value between 0 and 255 C is one character X Y and Z represent a value between 0 and 255 X Major version Y Minor version Z Internal IM Unique Identifier Array of Unsigned 8 Length is 16 Format is 16 bytes Location LT Array of Unsigne...

Page 37: ...le structure example presented below can be used as a guide when creating the asset management binary file Only instance 1 is supported For instance 1 only attribute 1 and 2 are defined Fig 22 Binary file example Anybus Communicator CAN PROFINET IRT 2 32 User Manual SCM 1202 035 1 2 en US ...

Page 38: ...ng Windows Explorer Before You Begin Use only one of the file formats XML format or binary format Only upload one single file on the FTP server Name the asset management file asset_mgmt The default port is FTP port 21 Make sure that the gateway and your computer are connected to the PROFINET network to be used Procedure Fig 23 The FTP Server root folder 1 Open an Windows Explorer Window 2 Click to...

Page 39: ...42 Fig 24 Application folder with an asset_mgmt xml file 5 Open the application folder and save the asset management file XML or Binary file in the folder Anybus Communicator CAN PROFINET IRT 2 32 User Manual SCM 1202 035 1 2 en US ...

Page 40: ...This page intentionally left blank ...

Page 41: ... rail EN 50022 Network shield conductance via DIN rail Certifications CE A 2 CAN Interface Maximum baud rate 1 Mbit s CAN connector D sub 9 Male included CAN specification CAN 1 0 2 0A and 2 0B A 3 PROFINET IRT Interface PROFINET specification 2 32 PROFINET functionality Isochronous Real Time IRT communication Conformance supporting Class A B and C Media Redundancy Protocol MRP support Discovery a...

Page 42: ...N CONTRACT STRICT LIABILITY OR TORT INCLUDING NEGLIGENCE OR OTHERWISE ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE Copyright 1990 2 RSA Data Security Inc All rights reserved License to copy and use this software is granted provided that it is identified as the RSA Data Security Inc MD4 Message Digest Algorithm in all material mentioning or re...

Page 43: ...This page intentionally left blank ...

Page 44: ...last page 2019 HMS Industrial Networks Box 4126 300 04 Halmstad Sweden info hms se SCM 1202 035 1 2 en US 2019 04 12 12861 ...

Reviews: