Anybus Ethernet Ip To Modbus TCP Linking Device Hms En2mb R User Manual
Anybus Ethernet Ip To Modbus TCP Linking Device Hms En2mb R User Manual
EtherNet/IP to Modbus-TCP
Linking Device
Doc.Id. SCM-1202-008
Rev. 1.1
Connecting DevicesTM
+$/067$'&+,&$*2.$5/658+(72.<2%(,-,1*0,/$1208/+286(&29(175<381(&23(1+$*(1
Liability
Every care has been taken in the preparation of this manual. 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
assume responsibility for actual use based on these examples and illustrations.
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 US and other countries.
Trademark Acknowledgements
Anybus ® is a registered trademark of HMS Industrial Networks AB. All other trademarks are the property of their
respective holders.
Warning: This is a class A product. in a domestic environment this product may cause radio interference in
which case the user may be required to take adequate measures.
ESD Note: This product contains ESD (Electrostatic Discharge) sensitive parts that may be damaged if ESD
control procedures are not followed. Static control precautions are required when handling the prod-
uct. Failure to observe this may cause damage to the product.
Warning: DO NOT USE SD CARD OR USB CONNECTOR WHILE CIRCUIT IS LIVE UNLESS THE AREA IS
KNOWN TO BE FREE OF IGNITABLE CONCENTRATIONS OF FLAMMABLE GAS OR VAPORS.
Change Page(s)
Corrected Product Code in Identity Object (01h) to 57h 51
Revision List
Linking Device
Doc.Rev. 1.1 Doc.Id. SCM-1202-008
Chapter 1
1.1 Introduction
The EtherNet/IP to Modbus-TCP Linking Device is used to provide a seamless connection between a
Modbus-TCP network and an EtherNet/IP network. The linking device enables the master of the Eth-
erNet/IP network to control the Modbus-TCP network, and data can be transmitted transparently be-
tween the two networks.
The EtherNet/IP to Modbus-TCP linking device features a custom add-on profile (AOP) for easy in-
tegration with Studio 5000. Within this add-on profile (AOP), the HMS configuration tool can be
launched. When the configuration is ready, it can automatically be translated to structured Studio 5000
controller tags.
All network and device level configuration is done within Studio 5000.
IMPORTANT:
The add-on profile is supported by RSLogix 5000, v20 and later.
Anybus Modbus-TCP
Industrial network
Master Interface
Anybus network
slave interface
Status Word
Data To
the Modbus-TCP Data From
Modbus-TCP network
Industrial network
Network
Each buffer holds a maximum of 4096 bytes of data. The first two I/O mapped bytes in either direction
can be dedicated for control/status information, and another eight bytes of data coming from the Mod-
bus-TCP network can feature a live list. Please note that the actual number of bytes that can be ex-
changed is highly network dependent.
Through the dedicated control word, the scanner on the EtherNet/IP network starts/stops the ex-
change of data on the Modbus-TCP network, and also resets the linking device if needed. The scanner
on the EtherNet/IP network can see the status of the Modbus-TCP network in the corresponding status
word. The live list feature gives the scanner on the EtherNet/IP network the opportunity to continu-
ously see and monitor the status of each individual transaction on the Modbus-TCP network.
Two additional lists, transaction status and exception codes, retrievable from the module by the scanner
on the EtherNet/IP network, provides detailed error information about all transactions.
The amount of data that shall be exchanged, and the use of the control/status word and the live list, is
specified separately for each application. This means that even though up to 4096 bytes of data can be
potentially forwarded to an interface, the amount of data that will actually be exchanged on that network
is determined by the Modbus-TCP settings and the limitations of the master side fieldbus.
The available control/status functionality is described below, as well as the live list and the transaction
status and exception code lists. Also note that the terminology and definitions used for different types
of data vary greatly between different networking systems.
The Status word is a 16-bit word used by the linking device to report its current actual status to the Eth-
erNet/IP network.
• Bit set to 1
Transaction successful.
• Bit set to 0
Transaction not successful.
Note: the reason for the unsuccessful transaction can be found on the corresponding index in
the transaction status list.
The order of the transactions in the live list conforms to the order in which they are stored in the Mod-
bus Server list.
Example
Consider the following configuration:
• Server 1 : a total of 2 transactions
• Server 2 : a total of 3 transactions
• Server 3 : a total of 1 transaction
This scenario will produce a live list as follows (assuming that the transactions are successful):
Transaction Status
Description
Code
0 Running ok
1 Gateway idle
2 No link
3 Modbus exception
4 Timeout
5 Linking device disconnect
6 Server disconnect
7 Cannot connect
8 Modbus header error
9 Internal device error
10 No valid data
11 Stop sending data to Modbus server
12 Unconfigured transaction
Byte 0 Byte 1 Byte 2-6 Byte 7 Byte 8-55 Byte 56-62 Byte 63
Exception code Exception code Exception code Exception code Exception code Exception code Exception code
for transaction for transaction for transaction for transaction for transaction for transaction for transaction
no 0 no 1 no 2 - 6 no 7 no 8 - 55 no 56 - 62 no 63
Note: The exception codes found in the exception code list are only relevant if the corresponding trans-
action status codes equals 3: “Modbus exception”. See “Transaction Status List” on page 12 for more
information.
Note: If the slave responds with an exception code not in the list, refer to the documentation of the
slave for details.
• B: SD Card Slot
This slot adds the possibility to store and load con-
C
figurations from an SD card. See “SD Card Func-
tionality” on page 27.
D E
• C: USB Port
This port adds the possibility to connect a PC to the
linking device to perform firmware upgrades. See
“USB Connector” on page 18.
• D: Status LEDs
See “Status LEDs” on page 17.
• E: DIN-rail Connector
The DIN-rail mechanism fastens the linking device
to a DIN-rail and connects the module to protective
earth (PE). See “Mounting the Linking Device” on
F
page 15.
• F: EtherNet/IP Connectors
See “EtherNet/IP Connectors” on page 18.
G
• G: Modbus-TCP Connectors
2-port switch with daisy-chain functionality. See
“Modbus-TCP Connectors” on page 18.
Use the wall mounting option if there is a need to place the linking device in an environment exposed
to vibration. This way of mounting the module offers more stability than the traditional DIN-rail mount-
ing.
Note: The device should be fastened in a standing-up position, to ensure a constant air flow.
Note: When mounting the device to a wall using the wall mount option, do not forget to connect the
module to protective earth (PE) via the power connector. See “Power Connector” on page 19.
Mounting Instructions
Step Description Visual description
Open up the package containing the wall
1 mounting accessories.
Pin no Description
1 TX+
2 TX-
3 RX+
6 RX- 1 8
4, 5, 7, 8 Not connected
Housing Shield
7 Not connected
8 Not connected
Housing Shield
Notes:
• Use 60/75 or 75×C copper (CU) wire only.
• The terminal tightening torque must be between 5... 7 lbs-in (0.5... 0.8 Nm)
See also...
- “Power Supply” on page 69.
2. Select the HMS-EN2MB-R Linking Device (catalogue number: HMS-EN2MB-R) and click
“Create”.
3. In the “New Module” window, assign a name to the module. The IP address should be set via
the BOOTP-DHCP server and entered in the IP address field. Click “Change” in the
“Module Definition” section.
4. In the “Module Definition” window, launch the configuration manager for the
HMS-EN2MB-R linking device.
5. This part of the configuration manager is called the tag editor. Since this is a new configuration,
the editor is empty. To proceed, open the HMS-EN2MB-R configuration pages by clicking the left-
most icon in the tool bar.
6. The introductory page of the HMS-EN2MB-R configuration pages presents useful information
about the Linking Device. In the menu to the left, choose “Modbus Servers”.
7. Create a server by clicking “Add new server”. Name it “My_Server” and click “Ok”. Click
“Transactions” to create transactions for this server.
This will create a transaction which both reads and writes 120 elements (240 bytes).
11. When configuration is complete, find “HMS-EN2MB-R Management” in the menu bar to the
left. “Click “Apply” in the Apply changes section, to download the configuration to the Linking De-
vice.
12. Close the HMS-EN2MB-R configuration pages window, to show the tag editor again.
13. The tag editor is now updated. It has automatically created named and structured tags from the
Modbus configuration made in the previous steps.
15. The tags from the configuration are now imported into Studio 5000, as named and structured
Studio 5000 controller tags.
16. Download the configuration to the Studio 5000 project by right-clicking the computer icon and
then choosing “Download”.
Chapter 4
4. SD Card Functionality
Using an SD card with the HMS-EN2MB-R linking device adds the following features:
• Easy backup.
Every applied change in the configuration will automatically be saved to the linking device and
the SD card. See “Easy Backup” on page 28.
• Simple configuration copy.
Using the SD card, the configuration on one linking device can be copied to other linking devic-
es. See “Simple Configuration Copy” on page 28.
• Easy replacement.
If a linking device malfunctions during operation, a replacement device can easily be configured
by moving the SD card to the new device. See “Easy Replacement” on page 29.
A configuration on the linking device is saved automatically to the SD card in any of these two events:
• A configuration is applied in the Management section
• A configuration is restored from a backup file
Important
The SD card acts as a master in the linking device. When an device is turned on with an SD card inserted,
and that SD card contains a valid configuration file, the configuration on the SD card will always over-
write any configuration on the linking device.
4.2 Starting Up
1. Format the SD card for the FAT file system using a PC. The linking device cannot use an unfor-
matted SD card.
2. Make sure the SD card is empty and that it is not write-protected.
3. Turn the linking device off.
4. Insert the SD card into the SD card slot in the linking device.
5. Turn the linking device on.
6. Create the configuration. When finished, press the apply button in the Management section to
reboot using the new configuration. During the reboot, the latest applied configuration will au-
tomatically be copied and saved to the SD card.
7. Now, the SD card is synchronized with the linking device. Both the SD card and the linking de-
vice contain the latest applied configuration.
Every time a new configuration is applied in the Management section, it is also copied to the SD card to
ensure synchronization.
Important
If the configuration was protected by authentication information, the same information will be needed
to alter the configuration in the new linking device.
Important
If the configuration was protected by authentication information, the same information will be needed
to alter the configuration in the new linking device.
Depending on the settings of the master network, the communication link between the linking device
and the master may no longer be valid. Linking Device settings that were configured from outside the
configuration web pages will need to be set again.
Chapter 5
5. Modbus-TCP Functions
The Modbus-TCP protocol is an implementation of the standard Modbus protocol, running on top of
TCP/IP. The same function codes and addressing model are used.
The HMS-EN2MB-R Linking Device supports a subset of the functions described in the Modbus-TCP
specification.
Modbus-TCP transactions are normally transmitted and received on TCP port no. 502. The linking de-
vice features the possibility to set TCP ports individually for each Modbus-TCP server.
For detailed information regarding the Modbus-TCP protocol, consult the Open Modbus-TCP Specifi-
cation.
The EtherNet/IP to Modbus-TCP Linking Device supports the following Modbus-TCP functions:
Modbus Function Function Code No. of Bits/Registersa Direction Associated with Buffer
Read Coils 1 1-2000 Modbus to linking Input buffer
Read Discrete Inputs 2 1-2000 device
Read Holding Registers 3 1-125
Read Input Registers 4 1-125
Write Single Coil 5 1 Linking device to Output buffer
Write Single Register 6 1 Modbus
Write Multiple Coils 15 1-1968
Write Multiple Registers 16 1-123
Read/Write Multiple Registers 23 1-125 read Bidirectional Input and output buffers
1-121 write
a. Please refer to the Modbus Application Protocol Specification V1.1B for more detailed information.
Modbus-TCP functions are used as important parts of transactions to Modbus-TCP servers. After con-
figuring a server within the Modbus-TCP network, functions can be assigned to it by clicking the ‘Add
transaction’ button in the built-in web interface.
See also...
• “Modbus Configuration Manager” on page 38
• “Modbus Servers” on page 43
6. Tag Editor
The tag editor is supported by Windows 7 and later.
File
• Import
Import a configuration from the hard drive.
• Export
Export a configuration and save for future use.
• Exit
Edit
• Select All
• Deselect All
Tools
• Launch IPconfig
With the IPconfig tool, it is possible to scan for devices and alter IP settings for the linking de-
vice.
• Factory Reset
Resets the linking device to default values.
• Reboot
• Restore Configuration
Loads the latest stored configuration from Studio 5000.
• Wink
Winking the device will make all left LEDs blink for a short while.
• Options
- Hide report on retrieve configuration from gateway.
- Group tags on PLC (by Modbus server)
Help
• About
Right-clicking on a server or a transaction in the tree structure will present the menu below.
• Select All
Checks the “Include” check box for all tags associated with that server/transaction
• Deselect All
Unchecks the “Include” check box for all tags associated with that server/transaction
Arranging tags into arrays is a good way to get a better overview of the configuration, since a big con-
figuration may result in a large number of tags.
Creating an array is easy. Writing the array size in the dimension field of the first tag of the array, will
allocate that tag and the following tags to the array. All tags except the first element of the array will then
become uneditable. Original tag names will be remembered by the tag editor.
To remove the array, just set the dimension of the first array element back to 0 (zero).
For even more overview of the configuration, there is the possibility to collapse tags. This will present
a view of the configuration where all arrays are only represented by its first element, according to the
picture below.
Check the check box “Collapse arrays” to collapse arrays. If there is a need to see all individual tags, un-
check the check box.
There are things to take into consideration when making the configuration.
• Remember to apply the configuration in order for changes to take effect. See “HMS-EN2MB-R
Management” on page 47. As soon as you have saved data to the configuration but not yet ap-
plied it, you will see the box below at the top of the web pages:
7.2 Overview
The Modbus configuration and status pages are divided into three sections:
1. Headline Section
Shows the HMS logo and the name of the product.
2. Navigation Section
All functionality is easily accessed from the different links. Every link and its corresponding func-
tionality will be explained later in this chapter.
3. Content Section
Clicking a link will display its contents in the content section. A short text describing the func-
tionality of the current page will be available at the top of the section.
7.2.1 Home
The introductory window of the configuration and status pages presents important error tracking infor-
mation, as well as general information and statistics.
Operation Mode
The table below shows the correlation between the operation modes of the Modbus-TCP network and
the EtherNet/IP network.
EtherNet/IP (Network 1)
I/O data exchanged No I/O data exchanged
Modbus-TCP Run Data is exchanged between the two net- The EtherNet/IP network exchanges no
(Network 2) works. data. Data to the Modbus-TCP network is in
clear, freeze, safe value or stop state.
Idle The Modbus-TCP network exchanges no No data is exchanged. Both networks, inde-
data. Data to the EtherNet/IP network is in pendently, are in clear, freeze, safe value or
clear or freeze state. stop state.
In case of an error on the EtherNet/IP network, the following additional statuses may appear:
7.3 Configuration
Please note that changes made to the configuration will not be used by the linking device until they have
been applied and saved. See “HMS-EN2MB-R Management” on page 47.
7.3.1 Authentication
Authentication can be enabled or disabled. If enabled, it is possible to set a username and password to
protect the configuration.
When choosing a username and a password, use only the valid characters shown below.
Important Notice
Note that when restoring a configuration from Studio 5000, or when importing a configuration (using
either the tag editor or the configuration pages), authentication has to be disabled. Restore or import is
only possible when authentication is disabled.
Note also that it is very important to save the authentication information. There is no way to retrieve a
lost username or password. If the authentication information is lost, the only way to restore the linking
device is to download new firmware via the USB interface. This will erase any configuration currently
on the module.
Configuration of the client side of the Modbus-TCP network. On this side, the linking device will act as
a Modbus-TCP client. To the right, in the “Actual” column, the currently used values can be seen.
Item Description
IP address If not set by DHCP (or HICP), set these values manually.
Subnet mask
Router IP address
DHCP Enabled by default. When enabled, the linking device can obtain the TCP/IP settings dynamically
from the DHCP server of the Modbus-TCP network.
Value Description
Running The Modbus-TCP client starts to exchange data with the servers as soon as possible
after start-up.
Idle The Modbus-TCP client does not exchange any data with the servers and waits for
instructions via the control word.
Value Description
Shutdown The linking device will shut down. All LEDs will display red.
Restart The linking device will restart.
When finished configuring the Modbus-TCP client, click ‘Save settings’. Note that the changes will not
take effect until they are applied in the HMS-EN2MB-R management section. See “HMS-EN2MB-R
Management” on page 47.
The configuration of the servers on the Modbus-TCP network is made here. The linking device can han-
dle up to 64 different servers, and a maximum of 64 transactions distributed among those servers. It is
possible to map up to 4096 bytes of data in either direction, including control/status word and live list.
The global configuration limits box keeps track of the number of added transactions and the current
amount of I/O mapped input and output data. It also keeps track of the total amount of data in the
configuration (both I/O mapped and not I/O mapped data).
Add Server
Click ‘Add server’ to add a server to the configuration. Click ‘Edit’ to see and edit the settings:
Setting Description
Name While not required, renaming the server makes the configuration easier to comprehend. Note that it
is only possible to use uppercase and lowercase characters, numerals and underscore (_).
Default name is ‘New_Server’, followed by an incremental suffix.
Max length: 32 characters.
Server address The IP address of the server.
Protocol TCP.
Port Default Modbus-TCP port is 502. If the server requires it, it is possible to change.
Value range: 0 - 65535.
Add Transactions
Transactions represent the data that is read from/written to the servers of the Modbus-TCP network.
The global configuration limits box keeps track of the number of added transactions, the current mini-
mum allowed scan time, and the current amount of I/O mapped data as well as total amount of data
(both I/O mapped and not I/O mapped data).
To add transactions, find the server in the server list and click ‘Transactions’. This presents a list of all
transactions configured for that server. Click ‘Add transaction’ to add a new default transaction to the
list and click ‘edit’.
Available settings
Setting Description
Function code The function code defines the purpose of the transaction.
Choose from the available different Modbus functions, see “Modbus-TCP Functions” on page 31.
Data encoding Decides in what order the different bytes of the received/transmitted data shall be sent on the Mod-
bus network.
Trigger Only applicable for write transactions.
Cyclic.
On data change.
I/O mapped Decides whether to map the data to the memory that is cyclically exchanged between the Ether-
Net/IP network and the Modbus-TCP network (I/O mapped data).
Note: data that is not I/O mapped will be exchanged acyclically.
Name While not required, renaming the transaction makes the configuration easier to comprehend. On
the EtherNet/IP side, this name will also propagate to tag name, for identification purposes. Note
that it is only possible to use uppercase and lowercase characters, numerals and underscore (_).
Default name is ‘New_Trans’, followed by an incrementing suffix.
Max length: 32 characters.
Timeout (ms) The time span within which the server must return a response to the transaction.
If no response is received within the timeout period, the connection to the server will be closed.
If the connection to the server is closed, all transactions to that server will be affected.
Value range: 10 - 65535 (ms).
Scan time (ms) The scan time defines how often the transaction shall be resent, e.g. the time cycle of a repeating
transaction.
Minimum scan time (ms) is calculated by multiplying the total number of transactions by three.
The minimum scan time will increase by adding more transactions.
Value range: 10 - 10000 (ms).
Unit ID Only applicable for Modbus RTU servers. If the Modbus-TCP server work as a router to Modbus
RTU servers, it is possible to send transactions to a single Modbus RTU server using the unit ID.
Value range: 0 - 247; 255.
If not communicating with a Modbus RTU server, use the value 255 (default).
Starting register The starting Modbus server register or bit to write to/read from.
Value range: 1 - 65536.
Elements The number of elements to write/read.
Value range: See “Modbus-TCP Functions” on page 31.
When EtherNet/IP Note: Only available for I/O mapped write transactions.
(Network 1) is not Clear data to Modbus server: only zeros will be transmitted.
exchanging I/O data Freeze data to Modbus server: the data that was stored last will be repeated.
Write safe value: choose a specific value to transmit for every element (See safe element value
below).
Stop: no data will be transmitted to the Modbus server.
Data type Write/read data either as two byte integers (uint16) or four byte integers (uint32).
Registers The resulting amount of registers to write/read.
The calculation is based on the number of elements to read/write and the chosen data type.
Safe Element Value Note: Only available for write transactions.
A numeric value to send for every element if network 1 (EtherNet/IP) is not exchanging I/O data.
Startup-mode Wait for data: all data for the transaction must have been sent from the EtherNet/IP network and
received by the linking device before the transaction is carried out.
Directly: the data is sent as soon as possible after start-up.
When finished editing the transaction, click ‘Ok’. All data resulting from configured transactions will be
mapped to the internal memory of the linking device. Read transactions will be mapped to the input area,
and write transactions will be mapped to the output area. See “Mapping Overview” on page 48 for more
information.
Note: The linking device needs to be restarted before any changes will take effect. See “HMS-EN2MB-
R Management” on page 47.
What is shown is the currently stored configuration, provided that all changes are saved and applied to
the linking device.
The column ‘Actual’ presents the settings that are currently used.
It is possible to override the TCP/IP and Ethernet settings set from the network by entering new values
in the Configured column and pressing “Save settings”.
Note that no changes will take effect until the configuration has been applied. See “HMS-EN2MB-R
Management” on page 47.
Setting Description
IP address If not detected automatically, set these items manually.
Subnet mask
Gateway
DHCP If enabled, the linking device can obtain TCP/IP settings from a DHCP server.
Ethernet settings 1 Network speed and communication model.
Ethernet settings 2
Secure Host IP Configuration If enabled, the linking device can be found on the network using the IPconfig tool.
Protocol (HICP)
When Modbus-TCP (Network The “Freeze data to master” option instructs the linking device to keep sending the latest
2) error received data from the Modbus-TCP network to the EtherNet/IP scanner.
The “Clear data to master” option instructs the linking device to clear the input data area
and send only zeros to the EtherNet/IP scanner.
I/O mapped control/status word If enabled, the control/status word is mapped to the output/input area respectively. See
“I/O Mapped Data” on page 10.
I/O mapped live list If enabled, the live list is mapped to the input area. See “Live List” on page 11.
7.4 Tools
Apply changes
Permanently store changes made to the configuration and reboot, using the new configuration.
No changes made in the configuration will be permanently stored or used by the linking device until they
are applied by clicking ‘Apply’.
Before storing and rebooting, the linking device will validate the not yet stored configuration. If errors
are found, the linking device will produce an information message with instructions to correct the errors.
The linking device will not store an invalid configuration.
Undo changes
Undo all changes made since the last configuration was loaded.
Factory reset
Reset the linking device to completely remove the configuration currently stored in the module.
Wink device
Clicking the “Wink device” button will start a 15 second LED sequence on LEDs 1, 5 and 6 on the link-
ing device. For identification purposes.
Backup the configuration that is currently used to file, or restore a previously saved configuration from
file.
It is not possible to backup or restore the configuration until all changes are either applied or undone.
See “HMS-EN2MB-R Management” on page 47.
Two things can happen when loading an old configuration:
• Configuration valid:
The linking device will reboot and automatically use the previously stored configuration.
• Configuration not valid:
The linking device will produce an error message. The chosen configuration will not be accepted
or loaded into memory.
Important Notice
Before loading a previously stored configuration, locate any authentication information associated with
it. If a valid configuration is loaded that is protected by a password, the linking device can not be recon-
figured until the correct authentication information has been provided.
This page provides a description of all data resulting from the transactions of the currently applied con-
figuration. It is divided into two parts. The first part describes the linking device interface to the Ether-
Net/IP network, and the second part all applied transactions on the Modbus-TCP network.
If needed, it is possible to print the configuration to paper. Click the printer symbol to the right on the
mapping overview page to access a printer friendly version of the mapping overview.
EtherNet/IP
The I/O mapped data will always be presented according to the following priority order:
• Input data
Data from the Modbus-TCP network to the EtherNet/IP network.
- Status word (optional)
- Live list (optional)
- Input data (bit transactions will always be mapped first)
• Output data
Data from the EtherNet/IP network to the Modbus-TCP network.
- Control word (optional)
- Output data (bit transactions will always be mapped first)
The parameter section data presents a detailed list of all data, including both the I/O mapped and the
not I/O mapped data, available acyclically from the linking device to the EtherNet/IP network. This list
also includes the transaction status and exception code lists, available for error identification.
- “Exception Code List” on page 13
- “Transaction Status List” on page 12
Modbus-TCP network
A detailed list of all Modbus servers and transactions in the configuration.
The transaction monitor interface presents a detailed list of all transactions currently operating on the
Modbus-TCP network.
8. CIP Objects
Mandatory Objects:
• “Identity Object (01h)” on page 51
• “Message Router (02h)” on page 53
• “Assembly Object (04h)” on page 54
• “Connection Manager (06h)” on page 56
• “DLR Object (47h)” on page 59
• “QoS Object (48h)” on page 60
• “Port Object (F4h)” on page 63 (Optional)
• “TCP/IP Interface Object (F5h)” on page 64
• “Ethernet Link Object (F6h)” on page 67
Object Description
Supported Services
Class: Get_Attribute_Single
Get_Attributes_All
Instance: Get_Attribute_Single
Set_Attribute_Single
Get_Attributes_All
Reset
Class Attributes
Instance #1 Attributes
Device Status
Bit(s) Name
0 Module Owned
1 (reserved)
2 Configureda
3 (reserved)
4... 7 Extended Device Status:
Value:Meaning:
0000b Unknown
0010b Faulted I/O Connection
0011b No I/O connection established
0100b Non-volatile configuration bad
0110b Connection in Run mode
0111b Connection in Idle mode
(other) (reserved)
8 Set for minor recoverable faults
9 Set for minor unrecoverable faults
10 Set for major recoverable faults
11 Set for major unrecoverable faults
12... 15 (reserved)
a. This bit shows if the product has other settings than “out-of-box”.
Object Description
Supported Services
Class: -
Instance: -
Class Attributes
Instance Attributes
Object Description
The Assembly object uses static assemblies and holds the Process Data sent/received by the host appli-
cation. The default assembly instance IDs used are in the vendor specific range.
Supported Services
Class: Get_Attribute_Single
Instance: Get_Attribute_Single
Set_Attribute_Single
Class Attributes
Configuration Data that is sent through the ‘Forward_Open’-service will be written to this instance.
This instance is used as heartbeat for input-only extended connections, and does not carry any attributes.
If the connection times out, the module does not switch to the Error state.
This instance is used as heartbeat for listen-only extended connections, and does not carry any attributes.
Object Description
Supported Services
Class: -
Instance: Forward_Open
Forward_Close
Instance Descriptions
General
Class 1 connections are used to transfer I/O data, and can be established to instances in the Assembly
Object. Each Class 1 connection will establish two data transports; one consuming and one producing.
The heartbeat instances can be used for connections that shall only access inputs. Class 1 connections
use UDP transport.
• Total number of supported Class 1 connections: 4
• Max input connection size: 256 bytes
• Max output connection size: 256 bytes
• Supported API: 2... 3200 ms
• T O Connection type: Point-to-point, Multicast
• O T Connection type: Point-to-point
• Supported trigger types: Cyclic, COS
Connection Types
• Exclusive-Owner connection
This type of connection controls the outputs of the Anybus module and does not depend on oth-
er connections.
- Max. no. of Exclusive-Owner connections: 1
- Connection point O T: Assembly Object, instance 64h (Default)
- Connection point T O: Assembly Object, instance 96h (Default)
• Input-Only connection
This type of connection is used to read data from the Anybus module without controlling the
outputs. It does not depend on other connections.
- Max. no. of Input-Only connections: Up to 41
- Connection point O T: Assembly Object, instance 03h (Default)
- Connection point T O: Assembly Object, instance 96h (Default)
Note: If an Exclusive-Owner connection has been opened towards the module and times out,
the Input-Only connection times out as well. If the Exclusive-Owner connection is properly
closed, the Input-Only connection remains unaffected.
Note: If an Exclusive-Owner connection has been opened towards the module and times out,
the Input-Only connection times out as well. If the Exclusive-Owner connection is properly
closed, the Input-Only connection remains unaffected.
• Listen-Only connection
This type of connection requires another connection in order to exist. If that connection (Exclu-
sive-Owner or Input-Only) is closed, the Listen-Only connection will be closed as well.
- Max. no. of Listen-Only connections: Up to 42
- Connection point O T: Assembly Object, instance 04h (Default)
- Connection point T O: Assembly Object, instance 96h (Default)
• Redundant-Owner connection
This connection type is not supported by the module.
Object Description
Supported Services
Class: Get_Attribute_Single
Get_Attributes_All
Instance: Get_Attribute_Single
Set_Attribute_Single
Class Attributes
Instance #1 Attributes
Object Description
Supported Services
Class: Get_Attribute_Single
Get_Attributes_All
Instance: Get_Attribute_Single
Set_Attribute_Single
Class Attributes
Instance #1 Attributes
Object Description
Supported Services
Class: Get_Attribute_Single
Instance: Get_Attribute_Single
Set_Attribute_Single
Class Attributes
Instances Attributes
Object Description
Supported Services
Class: Get_Attributes_All
Get_Attribute_Single
Instance: Get_Attributes_All
Get_Attribute_Single
Class Attributes
This instance reflects the properties associated with the Ethernet interface.
Object Description
Supported Services
Class Attributes
1. Support for this service can be disabled by implementing attribute #9 in the EtherNet/IP Host Object.
Instance Attributes
Object Description
Supported Services
Class Attributes
Instance Attributes
Interface Flags
Interface Type
Interface Label
Instance Value
1 Port 1
2 Port 2
3 Internal
Appendix A
A. Technical Specification
Supply Voltage
The HMS-EN2MB-R linking device requires a regulated 24 V (20.4 V to 28.8 V) DC power source.
Power Consumption
The typical power consumption is 150 mA at 24 V.
A.3.1 Temperature
Operating
-25º to +70º Celsius
Non-operating
-40º to +85º Celsius
Appendix B
B. Copyright Notices
This product includes software developed by Carnegie Mellon, the Massachusetts Institute of Technology, the Uni-
versity of California, and RSA Data Security:
*****************************************************************************
Copyright 1986 by Carnegie Mellon.
*****************************************************************************
Copyright 1983,1984,1985 by the Massachusetts Institute of Technology
*****************************************************************************
Copyright (c) 1988 Stephen Deering.
Copyright (c) 1982, 1985, 1986, 1992, 1993
The Regents of the University of California. All rights reserved.
This code is derived from software contributed to Berkeley by Stephen Deering of Stanford University.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
following conditions are met:
• Redistributions of source code must retain the above copyright notice, this list of conditions and the fol-
lowing disclaimer.
• Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the
following disclaimer in the documentation and/or other materials provided with the distribution.
• Neither the name of the University nor the names of its contributors may be used to endorse or promote
products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' ANDANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANT-
ABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE RE-
GENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 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 (C) 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 referencing this software or this function.
License is also granted to make and use derivative works provided that such works are identified as "derived from
the RSA Data Security, Inc. MD4 Message-Digest Algorithm" in all material mentioning or referencing the derived
work.
RSA Data Security, Inc. makes no representations concerning either the merchantability of this software or the
suitability of this software for any particular purpose. It is provided "as is" without express or implied warranty of
any kind.
These notices must be retained in any copies of any part of this documentation and/or software.
*****************************************************************************
Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All rights reserved.
License to copy and use this software is granted provided that it is identified as the "RSA Data Security, Inc. MD5
Message-Digest Algorithm" in all material mentioning or referencing this software or this function.
License is also granted to make and use derivative works provided that such works are identified as "derived from
the RSA Data Security, Inc. MD5 Message-Digest Algorithm" in all material mentioning or referencing the derived
work.
RSA Data Security, Inc. makes no representations concerning either the merchantability of this software or the
suitability of this software for any particular purpose. It is provided "as is" without express or implied warranty of
any kind.
These notices must be retained in any copies of any part of this documentation and/or software.