Manual Gateway Anybus
Manual Gateway Anybus
Manual Gateway Anybus
SCM-1202-152
Version 1.13
Publication date 2023-06-30
Important User Information
Disclaimer
The information in this document is for informational purposes only. Please inform HMS Networks of any
inaccuracies or omissions found in this document. HMS Networks disclaims any responsibility or liability for any
errors that may appear in this document.
HMS Networks reserves the right to modify its products in line with its policy of continuous product
development. The information in this document shall therefore not be construed as a commitment on the
part of HMS Networks and is subject to change without notice. HMS Networks makes no commitment to update
or keep current the information in this document.
The data, examples and illustrations found in this document are included for illustrative purposes and are only
intended to help improve understanding of the functionality and handling of the product. In view of the wide
range of possible applications of the product, and because of the many variables and requirements associated
with any particular implementation, HMS 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 correctly in their specific application and that the application meets all
performance and safety requirements including any applicable laws, regulations, codes and standards. Further,
HMS Networks will under no circumstances assume liability or responsibility for any problems that may arise as
a result from the use of undocumented features or functional side effects found outside the documented scope
of the 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.
Contact Information
Postal address:
Box 4126
300 04 Halmstad, Sweden
E-Mail: [email protected]
Anybus® Communicator™ - EtherNet/IP™ to Modbus RTU/Serial
Table of Contents
1. Preface .................................................................................................................................. 1
1.1. About This Document ........................................................................................................ 1
1.2. Document Conventions ..................................................................................................... 1
1.3. Trademarks ..................................................................................................................... 2
2. Safety .................................................................................................................................... 3
2.1. Intended Use ................................................................................................................... 3
2.2. General Safety ................................................................................................................. 3
3. Preparation ............................................................................................................................ 4
3.1. Cabling ........................................................................................................................... 4
3.2. System Requirements ........................................................................................................ 4
3.2.1. Supported Operating Systems ..................................................................................... 4
3.2.2. Supported Web Browsers ........................................................................................... 4
3.3. Mechanical Tools and Equipment ........................................................................................ 4
3.4. Support and Resources ...................................................................................................... 4
3.5. HMS Software Applications ................................................................................................ 5
3.6. Third-Party Software Applications ........................................................................................ 5
3.7. Software License Information ............................................................................................. 5
5. Installation ............................................................................................................................ 13
5.1. External Parts ................................................................................................................. 13
5.2. DIN Rail Mounting ........................................................................................................... 14
5.3. Connect to EtherNet/IP Network ........................................................................................ 15
5.4. Connect to Serial RS232/RS485 Subnetwork ......................................................................... 16
5.5. Connect to Power ............................................................................................................ 18
5.6. Security Switch ............................................................................................................... 19
5.7. Lock the Cables ............................................................................................................... 21
5.8. DIN Rail Demount ............................................................................................................ 22
1. Preface
For additional documentation and software downloads, FAQs, troubleshooting guides and technical support,
please visit www.anybus.com/support.
1. First do this
2. Then do this
Safety Symbols
DANGER
Instructions that must be followed to avoid an imminently hazardous situation which, if not avoided,
will result in death or serious injury.
WARNING
Instructions that must be followed to avoid a potential hazardous situation that, if not avoided, could
result in death or serious injury.
CAUTION
Instruction that must be followed to avoid a potential hazardous situation that, if not avoided, could
result in minor or moderate injury.
IMPORTANT
Instruction that must be followed to avoid a risk of reduced functionality and/or damage to the
equipment, or to avoid a network security risk.
Information Symbols
NOTE
Additional information which may facilitate installation and/or operation.
TIP
Helpful advice and suggestions.
1.3. Trademarks
Anybus® is a registered trademark of HMS Networks.
2. Safety
The equipment receives and transmits data on various physical layers and connection types.
If this equipment is used in a manner not specified by the manufacturer, the protection provided by the
equipment may be impaired.
CAUTION
This equipment contains parts that can be damaged by electrostatic discharge (ESD). Use ESD
prevention measures to avoid damage.
CAUTION
To avoid system damage, the equipment should be connected to ground.
IMPORTANT
Using the wrong type of power supply can damage the equipment. Ensure that the power supply is
connected properly and of the recommended type.
3. Preparation
3.1. Cabling
Have the following cables available:
• Google Chrome
• Microsoft Edge
• Mozilla Firefox
TIP
Have the product article number available, to search for the product specific support web page. You
find the product article number on the product cover.
HMS IPconfig
Use the software application HMS IPconfig and scan your network to discover and change the Communicator IP
address and to access the Communicator built-in web interface.
NOTE
As an alternative, you can set a static IP address within the same IP address range as the
Communicator IP address on the computer accessing the Communicator built-in web interface.
NOTE
HMS IPconfig is only available for Windows.
To download the Communicator firmware update package zip file, please visit www.anybus.com/support.
TIP
Have the product article number available, to search for the product specific support web page. You
find the product article number on the product cover.
Modbus RTU
By default the Communicator uses the Modbus RTU serial protocol.
The Communicator acts as a client on the subnetwork, and the serial communication takes place in a request/
response fashion.
The nodes on the network are not permitted to issue messages unless they have been addressed by the
Communicator first.
Custom Request/Response
In this mode, you can define your own serial transactions to handle a wide range of custom serial protocols.
Custom Produce/Consume
In this mode, you can define your own serial transactions to handle a wide range of custom serial protocols.
There is no client-server relationship between the nodes on the network, messages are spontaneously produced
or consumed when data is available.
Node
Transactions are based on standard Modbus RTU transactions (Modbus RTU serial protocol) or transactions
templates (Custom Request/Response or Produce/Consume serial protocol) and define the data to be sent or
received.
Each transaction has a number of parameters that need to be configured to define how data is to be sent /
received.
Frame Fields
The Frame editor is used to design custom transaction templates.
The Frame editor with Frame fields is available when either the Custom Request/Response or Custom Produce/
Consume serial protocol is enabled.
Transaction Templates
The Transaction templates are available when either the Custom Request/Response or Custom Produce/
Consume serial protocol is enabled.
A transaction represents a complete serial telegram, and consists of a number of frame fields.
Each frame field is associated with a set of parameters controlling what is transmitted on the subnetwork.
The transaction templates are stored in the Communicator and can be reused multiple times.
If you have a function code in your protocol similar to a standard Modbus RTU transaction. Then you can create
a transaction template based on the Modbus RTU transaction for the read operation. When you reuse the
template on your node(s), you only have to change the function code each time it is used.
For example:
The Communicator main task is to cyclically send the transactions that the server(s) are configured to execute, in
order to request and transfer process data.
Request process data from the serial subnetwork nodes, specified in the Communicator configuration, and make
the process data available on the server interface and for the high level network client device.
Transfer process data from the high level network client device and make it available on the server interface and
for the serial subnetwork nodes included in the configuration.
The data exchanged between the Communicator and the serial subnetwork and the high level network resides in
the Communicator internal memory buffer.
To exchange data with the serial subnetwork, the high level network reads and writes data to the Communicator
internal memory buffer.
The memory locations are specified when configuring the Communicator using the Communicator built-in web
interface.
Input Data
The Input data area is read by the high level network.
Output Data
The Output data area is read/written by the high level network.
When the cycle is completed, the process data available on the server interface is updated and a new snapshot is
created for the next cycle.
5. Installation
1. Insert the upper end of the DIN rail clip into the DIN rail.
2. Push the bottom of the DIN rail clip into the DIN rail.
To Do Next
Connect the Communicator to the serial subnetwork and to power.
1. Insert the cable wires into the 7-pin connector and tighten the wire clamp screws.
To Do Next
Connect the Communicator to the EtherNet/IP network and to power.
CAUTION
Ensure that the power supply is turned off before connecting it to the equipment.
IMPORTANT
Using the wrong type of power supply can damage the equipment. Ensure that the power supply is
connected properly and of the recommended type.
1. Insert the cable wires to the terminal block and tighten the wire clamp screws.
To Do Next
Connect the Communicator to the EtherNet/IP and Serial RS-232/485 network.
When the security switch is in its locked position, the Communicator built-in web interface can not be accessed
and the Communicator can not be configured using the built-in web interface. Network specific parameters,
configured via the PLC is still available.
• To lock the security switch, push the toggle towards the Communicator front.
• To unlock the security switch, push the toggle towards the Communicator back.
• locked position, the security switch status LED turn solid green.
• unlocked position, the security switch status LED is turned off.
To strain relieve the cables, place a cable tie in the holder and lock the cables.
IMPORTANT
Be careful when removing the Communicator from the DIN-rail. If not removed properly, the DIN rail
locking mechanism and the product cover can break.
Procedure
Remove the Communicator from the DIN Rail:
1. Insert the screwdriver into the Communicator DIN rail locking mechanism.
2. To unlock the Communicator DIN rail locking mechanism, turn the screwdriver clockwise.
3. Hold the screwdriver in the DIN rail locking mechanism while you unhook the Communicator from the DIN
rail.
This section is intended to give you a short overview of the tasks you need to perform to configure the
Communicator.
a. Connect an Ethernet cable between the Communicator configuration port and your PC.
b. Connect the Communicator to a power supply.
Option 1 Option 2
Open the Communicator built-in web interface in HMS IPconfig or enter the Communicator IP address in
your web browser.
The Communicator built-in web interface overview page opens in your browser.
1. Subnetwork configuration
a. Select a serial protocol: Modbus RTU (default), Custom Request/Response or Custom Produce/
Consume.
For information about the serial protocol types, see Serial Protocol Types (page 6).
b. Configure the basic settings Physical standard:, Baud rate, Data bits, Parity and Stop bits.
2. Create Transaction Templates
This step applies when the serial protocol Custom request/response is selected.
On the Transaction templates page: Add a transaction template and configure the template settings.
Repeat until you have added and configured all your transaction templates.
1. Use Automatic I/O sizes provided by the subnetwork or choose to set them manually.
2. Enable DHCP server or choose to set a specific IP address.
The commands you added to the nodes are automatically mapped to the Communicator internal memory
area.
View the added nodes and commands on the I/O data map page.
When you configure the communication between the Communicator and the PLC, you can use the I/O data
map as a specification to ensure that the commands match.
On the I/O data map page: You can download the I/O data mapping in a spreadsheet to your PC.
Option if the PLC program requires a EDS (Electronic Data Sheet) file.
Configure the PLC to communicate with the Communicator according to the I/O data map created in the
Communicator.
When you have completed and verified the configuration, click Apply for the settings to take effect.
2. Verify status and LED indications
• Serial RS-232/485 page to verify that the serial commands are sent and received by the Communicator.
• I/O data page to monitor how the data flow between the Serial RS-232/485 side and the EtherNet/IP
side, including any configured endian conversions.
• Event log page to detect failures and unexpected behavior over time.
7. Communicator Configuration
This section is intended to give you detailed information about the tasks you need to perform to setup a new
Communicator configure.
For a more brief overview of the configuration steps, please refer to the Configuration Quick Guide (page 24).
NOTE
The Communicator default IP address is 192.168.0.10.
NOTE
To access the Communicator built-in web interface, ensure that Port 80 TCP is open in your Firewall.
This applies to any Firewall between the web browser and the gateway.
NOTE
To access the Communicator built-in web interface from HMS IPconfig, ensure that Port 3250 UDP is
open in your PC Windows Firewall.
NOTE
Ensure that the security switch is unlocked. HMS IPconfig cannot configure the Communicator if the
security switch is locked.
Procedure
1. Install HMS IPconfig on your PC.
2. Open HMS IPconfig.
• HMS IPconfig automatically starts scanning for compatible and active HMS devices.
• Found HMS devices are added to the device list.
3. To open the settings pane, click on the Communicator in the device list.
4. Change the Communicator configuration port IP address to one within the same IP address range as your
PC.
5. To open the Open web page built-in web interface, click Communicator.
Result
You are redirected to the Communicator built-in web interface Home page.
NOTE
The Communicator configuration port default IP address is 192.168.0.10.
NOTE
To access the Communicator built-in web interface, ensure that Port 80 TCP is open in your Firewall.
This applies to any Firewall between the web browser and the gateway.
NOTE
When you change to a static IP address on your computer, internet access may be lost.
Procedure
1. On the PC accessing the Communicator built-in web interface, set a static IP address within the same IP
address range as the Communicator IP address.
• Modbus RTU, Default setting: Use for serial devices that conform to the Modbus communication specification.
• Custom Request/Response: Create your own custom request/response transactions.
The transactions can be based on the Modbus communication specification or fully customized.
• Custom Produce/Consume: Create your own custom produce/consume transactions.
IMPORTANT
When changing the serial protocol, all settings are reset to default and all added nodes, transactions,
and transaction templates are deleted.
Procedure
On the Communication page:
1. To choose a Serial protocol, select Modbus RTU, Custom Request/Response or Custom Produce/Consume.
Apply Configuration
To apply the settings, click Apply in the built-in web interface header and follow the instructions.
Physical standard
Specify the physical interface type for the device connected to the Communicator.
RS-485 Use RS-485 when multiple nodes are connected to the subnetwork.
Baud rate
Specify the baud rate; the serial transfer speed, maximum bits per second.
Select a baud rate value from the Baud rate drop-down menu.
Data bits
Data bits is the number of bits used in the data representation of characters in the telegrams.
The rate for Modbus RTU is 7 data bits or 8 data bits. The default setting is 8 data bits.
Setting Value
Baud rate 1200 baud
1800 baud
2400 baud
4800 baud
9600 baud, Default value
19200 baud
35700 baud
38400 baud
57600 baud
115200 baud
128000 baud
Parity
Specify if parity should be used to detect errors in the data.
Stop bits
Specify the number of stop bits used to indicate the end of data transmission.
Select a stop bits value from the Stop bits drop-down menu.
Setting Value
Stop bits 1 stop bit, Default value
2 stop bit
Apply Configuration
To apply the settings, click Apply in the built-in web interface header and follow the instructions.
This is according the Modbus RTU standard, which advocates the use of a silent period equivalent to 3.5
characters between each message. The silent period is used to find out where one message ends and the next
begins.
You can use Custom settings to set the desired Inter-telegram timeout and Inter-telegram delay.
• The time between two adjacent characters in the same telegram must be less than Intertelegram timeout.
• The time between two characters in two different telegrams the same or more than Intertelegram delay.
Inter-telegram delay is set in the Advanced settings, see Inter-Telegram Timeout Mode Settings (page 42).
First, a start character is identified in the data stream, then the inter-telegram follows. The inter-telegram ends
when an inter-telegram delay is identified in the data stream.
First, an inter-telegram delay is identified in the data stream, then the inter-telegram follows. The inter-telegram
ends when an end character is identified in the data stream.
Figure 32. Example: Start character Enabled, Hex value 0x01 and End character Enabled, Hex value 0x04
First, a start character is identified in the data stream, then the inter-telegram follows. The inter-telegram ends
when an end character is identified in the data stream.
Figure 33. Data stream with Start character and End character
NOTE
Inter-telegram timeout mode Custom settings for Inter-character timeout and Inter-telegram delay
still apply if Start character and/or End character is enabled.
NOTE
If a inter-telegram exceeds the maximum allowed transaction frame size of 1500 bytes, the telegram
is invalid and discarded.
Procedure
Result
For Produce transactions, a start and/or end character is added to the inter-telegram when it is sent.
The transaction named Read parameter (0x01) consists of a number of frame fields.
In the Request field there are three Constants, a Node address and a Checksum field.
In the Response field there are three Constants, a Node address, a Data field and a Checksum field.
Custom Produce/Consume
The transaction named Read Barcode Data Template consists of a number of frame fields.
The Transaction type can be Produce or Consume. In this example the Transaction type Consume is selected.
In the frame field we have added one Variable data field and two Constant fields.
Empty Template
When using the Empty template, you start with an empty transaction and build a desired structure by adding
and arranging frame fields.
For the produce/consume transactions you select; Empty produce template or Empty consume template.
Modbus Templates
Modbus templates are available for Custom Request/Response and Modbus RTU transactions.
When using the Modbus template, you first select the Modbus template from which you want to start.
You can then restructure the transaction by rearranging, adding or removing frame fields.
Example 6. New transaction template based on the Modbus template Read Discrete Inputs
Each frame field specifies how the Communicator shall interpret or generate a particular part of the telegram.
Node address
Frame field representing the Node address of the Node.
A constant byte that holds a copy of the nodes address when the transaction is used by a node.
Constant
Constant frame fields are handled differently depending on the direction of the transaction.
• Produce/Request Transactions: The Communicator sends the value as it is without processing it.
• Consume/Response Transactions: The Communicator checks if the received byte/word/dword matches the
specified value. If the message does not fit, it is discarded.
Limit
NOTE
Limit is not available for the Transaction Type Produce.
• Consume/Response Transactions: The Communicator checks if the received byte/word/dword fits inside the
specified boundaries. If the message does not fit, it is discarded.
Data
Data frame fields are used to represent raw data as follows.
• Produce/Request Transactions: The specified data block is forwarded from the higher level network to the
subnetwork.
• Consume/Response Transactions: The specified data block is forwarded from the sub-network to the high level
network.
Variable data
Produce/Request Transactions:
• The specified data block will be forwarded from the higher level network to the sub-network.
• The control system must supply an End or Length character in order for the Communicator to know the size of
the data block.
• The End- or Length-character itself may either be forwarded to the sub-network or discarded.
Consume/Response Transactions:
• The specified data block is forwarded from the sub-network to the higher level network.
• The End- or Length-character will be generated by the Communicator automatically (if applicable).
• The End- or Length-character itself may either be forwarded to the higher level network or discarded.
Checksum
Most serial protocols features some way of verifying that the data has not been corrupted during transfer.
2. To select the template you want to use, click the Add drop-down button.
Example 7. A new empty request/response template is added to the transaction template list
• To add a new template based on a standard Modbus transaction, select Modbus templates and then the
desired Modbus transaction.
Example 8. A new request/response template based on “Read Coils (1)” is added to the transaction template
list
3. To apply the settings, click Apply in the web-interface header, and follow the instructions.
To Do Next
• Add frame fields to the transaction template, refer to Add Frame Fields (page 57).
• To add frame fields: In the Frame editor frame fields menu, drag and drop the desired frame fields into the
drag and drop fields.
• To duplicate a frame field: On the frame field that you want to duplicate, click the three dots icon and then
click Duplicate.
• To change the order of the frame fields: Drag and drop the frame fields in the list to change the order.
• To delete a frame field: On the frame field that you want to delete, click the three dots icon.
Click Delete and then Yes to confirm.
3. To apply the settings, click Apply in the web-interface header, and follow the instructions.
To Do Next
• Configure the frame field settings, see Configure Frame Field Settings (page 59).
Node address
• Frame field representing the Node address of the node. A constant byte that holds a copy of the nodes
address when the transaction is used by a node.
• When the transaction template is used by a node, the Node address field will automatically be replaced with
the actual node address of the node.
Constant
• Name: You can name the Frame Field to make it easier to identify.
• Type: Specify the number of bytes in the frame.
Select Byte (1 byte) (Default), Word (2 bytes), Double word (4 bytes), Array of bytes or String.
• Endianess: Select Big-endian (Default) or Little-endian.
• Fixed field*: Select Yes, set here (Default) or No, set when used.
• Length: Valid for Array of bytes. Enter a byte offset value between 0 and 32 byte.
Default value is 1 byte.
Enter a Value for each Byte (0–31).
• Value: The value of the Constant in the frame.
Enter a value between 0 (Default) and 255.
• Min value: Specify the minimum value that can be set when the template is used.
• Max value: Specify the maximum value that can be set when the template is used.
• Default value: Default value set when the template is used.
Limit
NOTE
Limit can only be added as a Response frame field.
• Name: You can name the Frame Field to make it easier to identify.
• Type: Specify the number of bytes in the frame. Select Byte (1 byte) (Default), Word (2 bytes), Double word (4
bytes).
• Endianess: Select Big-endian (Default) or Little-endian.
• Min value: The lowest value of the limit range.
• Max value: The highest value of the limit range.
• Base number system: Select Decimal Dec (Default) or Hexadecimal Hex.
Data
• Name: You can name the Frame Field to make it easier to identify.
• Fixed field*: Select Yes, set here (Default) or No, set when used.
• Length: Enter a value between 1 (Default) and 512 bytes.
• Min length: Specify the minimum length that can be set when the template is used.
• Max length: Specify the maximum length that can be set when the template is used.
• Default length: Specify the default length that can be set when the template is used.
Variable data
• Name: You can name the Frame Field to make it easier to identify.
• Fixed field*: Select Yes, set here (Default) or No, set when used.
• Minimum payload length: Specify the minimum payload length that can be set when the template is used.
• Maximum payload length: Specify the maximum payload length that can be set when the template is used.
• Default max payload length: Specify the default payload length that can be set when the template is used.
• Data delimiter: Specify how to detect/define the length of the variable data of the high level network. Select
Byte counter, End pattern or None (Default).
For information about End- and Length character, see Data Delimiter and Subnet Delimiter Options (page 62).
• Subnet delimiter: Specify how to detect/define the length of the variable data of the serial subnetwork. Select
Byte counter, End pattern or None (Default).
For information about End- and Length character, see Data Delimiter and Subnet Delimiter Options (page 62).
• End pattern: When a Data delimiter or Subnet delimiter is set to End pattern, specify the value defining the
end of the payload.
• Fill padding: Fill up unused data mapped to the high level network or the general area with a field padding
value.
To deactivate/activate Fill padding, click the slide toggle. When Fill padding is activated, enter a Fill padding
value between 0 and 255.
• Base number system: Select Decimal Dec (Default) or Hexadecimal Hex.
Checksum
• Name: You can name the Frame Field to make it easier to identify.
• Checksum type: Specify the algorithm used to calculate the checksum. Select CRC (CRC-16-IBM) (Default), LRC
(ISO 1155:1978), XOR or ADD.
• Start offset: Specify the offset from where to start the checksum calculation. Enter a value between 0 (Default)
and 511.
• Error check type: Specify how the checksum is converted. Select None (Default), One’s complement or Select
None, Two’s complement.
• Destination Representation:
Each byte represents two ASCII characters.
Allowed characters: Digits 0-9 and Letters a-f
The first two characters represent the 4 most significant bits of the byte. The second character represents the
4 least significant bits.
Specify how the destination checksum is represented:
– Binary (Default): Data is transmitted and received as-is, no pre- or post-processing is performed.
– ASCII (Lower case): Received telegrams are case insensitive and sent telegrams are lowercase.
– ASCII (Upper case): Received telegrams are case insensitive and sent telegrams are uppercase.
4. Repeat step 1 to 3 until you have configured all the desired frame objects.
Apply Configuration
To apply the settings, click Apply in the built-in web interface header and follow the instructions.
In order to present the variable data correctly on the corresponding network, the length of the data field must be
identified.
In a Variable data object, there are three ways to identify the data length; by length character, end character or
length of message.
Different Data delimiter options can be used for data sent from the subnetwork to the Communicator and for
data forwarded from the Communicator to the high level network, to fit the requirements in the PLC.
In most cases, when a stream of data is sent from the Communicator to the PLC the Byte counter (length
character) or End pattern (end character) format is used.
If the incoming data match the Subnet delimiter format the data is captured and the data section is forwarded to
the high level network.
If the incoming data do not match the Subnet delimiter format, the data is ignored and will be matched with the
next consume transaction.
• End pattern
The package consists of a data section followed by an end character to indicate where the data section ends.
End pattern is used to define whether the delimiter is an end character or an end pattern, which depends on
whether the message is forwarded from the subnetwork or sent as process data.
• None (Default)
The package contains only the data section. By measuring the total length of the message, the length of the
data section can be calculated.
3. When a delimiter is set to End pattern: In the End pattern field, enter the value that will define the end of
the payload.
End pattern is used to define whether the delimiter is an end character or an end pattern, which depends on
whether the message is forwarded from the subnetwork or sent as process data.
The transaction templates are available for use on the Nodes & transaction page, when you add transactions to a
node.
For information on how to add the transaction templates to the nodes, refer to Transaction Settings (page 72).
Add nodes and set up the communication between the nodes and the client.
Broadcast node
• You can add one single Broadcast node.
• The Broadcast node can only hold produce transactions.
Node
• You can add up to 31 Nodes.
• The type of transactions a node can hold depends on the serial protocol used, refer to About Transaction
Templates (page 48).
NOTE
You can add one single Broadcast node.
To Do Next
Configure the Node Settings, Node Settings (page 68).
There are no Node settings for the Broadcast node, except Name.
Procedure
3. To apply the settings, click Apply in the web-interface header, and follow the instructions.
To Do Next
Add Transactions, Add Transactions (page 69).
NOTE
The maximum number of transactions that can be added to a node is 150.
NOTE
You must build the transactions before you can use the template, refer to Build Transaction
Template (page 53).
• If you already have created Transaction templates, click Add and select the desired template from the list.
A new transaction is added to the transactions list.
To Do Next
Configure the Transactions settings, Transaction Settings (page 72).
NOTE
When a custom transaction is selected, the custom transaction template is locked for editing.
For Modbus transaction reference guide, refer to Modbus Transactions (page 137).
Procedure
6. To apply the settings, click Apply in the web-interface header, and follow the instructions.
To deactivate/activate a transaction, select the transaction and click the slide toggle.
To duplicate:
1. To delete:
• One transaction, select the transaction and click Delete.
• Multiple transactions, select the checkbox in front of each transaction and click Delete.
2. To confirm, click Yes.
The size of the input data, Data Size to EtherNet/IP, and the output data, Data Size from EtherNet/IP, is
determined by the subnetwork configuration.
In the Communicator built-in web interface, the Use Automatic I/O Sizes checkbox is selected.
NOTE
The maximum data size in each direction is 1448 bytes bytes.
By default, the IP settings are provided by the high level network DHCP server. The DHCP enabled checkbox is
selected.
Setting Description
IP address The EtherNet/IP network IP address in IPv4 dot-decimal notation
Subnet mask The EtherNet/IP network Subnet mask in IPv4 dot-decimal notation.
Gateway address The EtherNet/IP network Gateway address in IPv4 dot-decimal notation.
If there is no gateway available, set the Gateway address to: 0.0.0.0
Primary DNS The EtherNet/IP network Primary DNS in IPv4 dot-decimal notation.
Secondary DNS The EtherNet/IP network Secondary DNS in IPv4 dot-decimal notation.
When the EtherNet/IP Client (PLC) opens a connection to the Communicator, it specifies an I/O data size.
The connections must match the I/O size configured on the EtherNet/IP page, refer to To Use Automatic I/O Sizes
(page 76) and To Configure I/O Sizes Manually (page 76).
The Communicator will accept all connections with an I/O size that is equal to or smaller than the configured I/O
size in the Communicator.
On the I/O data map page the data communication between the subnetwork (Node) and the high level network
(PLC) is mapped.
The allocated I/O area is auto-generated based on how the settings on the Serial communication page and the
Nodes and transactions page are configured.
It is possible to set the I/O area manually, if you want to pro-actively allocate more I/O for future expansions
without re-configuring the PLC. See To Configure I/O Sizes Manually (page 76).
There are three areas: Data from EtherNet/IP, Data to EtherNet/IP and General area. See Map Area (page 83).
IMPORTANT
Optimize remove gaps between the data objects in the map and should be used with care on already
commissioned systems. Expected mapping in the PLC may change.
NOTE
If you optimize the I/O data map, the current I/O data map will be overwritten.
1. Click Optimize.
2. To confirm, click OK.
If multiple transactions are placed in the same I/O area, the area is highlighted.
• Input/Output: The transaction data is sent/recieved to/from the high level network.
• General: This area is used for transferring transaction data between individual nodes on the subnetwork.
When General is selected, the transaction data cannot be accessed from the high level network.
• Unmapped: The transaction data is not used.
Start address
For Input/Output and General, you can enter a start address for the transaction data.
When Trigger byte is enabled, the Communicator increases the trigger byte by one when the Communicator
receives new data from the subnetwork.
The Trigger byte is stored in the Data from EtherNet/IP area or the General area.
Big-endian
The big-endian format places the most significant byte of the data at the byte with the lowest memory address.
Little-endian
The little-endian format places the least significant byte of the data at the byte with the lowest memory address.
Setting Description
No swapping Default setting
No swapping is performed on the data.
Bytes Swap 2 bytes
A B C D becomes B A D C
Words Swap 4 bytes
A B C D becomes C D A B
Bytes and words A B C D becomes D C B A
4. To apply the settings, click Apply in the web-interface header, and follow the instructions.
Offline mode is used to define what data to send if the network connection or connection with a specific node is
lost.
You must specify the offline mode to use for each transaction on the I/O data map.
When Live list is enabled, the first four bytes of process data on the EtherNet/IP network contain the live list.
Each bit in the Live list can hold the status for one node.
The Live list holds 32 bits, a total of 32 nodes connected to the Communicator.
The bit is 0 when the bit does not correspond to the configured node. For example, this occurs when the number
of configured nodes is less than 32.
When Data exchange control is enabled, the first four bytes of process data on the EtherNet/IP network contain
the data exchange control.
Each bit in the Data exchange control can be used to enable/disable data exchange for individual nodes on the
subnetwork.
If control bit does not correspond to a configured node, the control bit is ignored. For example, this occurs when
the number of configured nodes is less than 32.
The node order in the Data exchange control 32 bit array always matches the Live List.
When the data exchange is enabled for the corresponding node, the control bit is 1.
Figure 82. Example: The comment icon indicates that there are three added notes
Figure 83. Example: The Configuration Notes window with added notes
NOTE
When you apply the configuration, any existing configuration is overwritten.
Before you can apply the configuration, ensure that there is no active communication on the EtherNet/IP
network where the Communicator is connected.
Procedure
To make the settings take effect, download the configuration to the Communicator:
Procedure
In the built-in web-interface of the Communicator with the configuration you want to use:
Result
All the configuration settings are imported.
To apply the settings, click Apply in the web-interface header, and follow the instructions.
NOTE
Only the Communicator Classic serial configuration settings can be imported.
The I/O data map and high-level network settings are not supported and must be set manually in the
Communicator built-in web interface.
Procedure
1. On the Files & firmware page, click Import Anybus Communicator Classic configuration
2. In the Import Anybus Communicator Classic configuration window, click Select file (.cfg).
3. In the Open dialog box, browse to and select the configuration .cfg file and click Open.
4. If you want to import a name file, click Select name file (.cfx).
5. In the Open dialog box, browse to and select the configuration .cfx file and click Open.
6. To import the configuration, click Import.
Result
The Communicator Classic serial configuration settings are imported.
In the list you can view the settings that are fully supported or adjusted to work with Communicator and which
settings that are not supported and must be set manually in the built-in Communicator interface.
To apply the settings, click Apply in the web-interface header, and follow the instructions.
8. PLC Configuration
On the I/O data map page you can export the I/O data map in an Excel XLS file, where all the nodes and
transactions are listed.
1. Click Export.
An Excel XLS file with the mapping is downloaded to your PC.
You find the EtherNet/IP™ EDS file on the Communicator built-in web interface EtherNet/IP™ page, Files &
firmware page and on the Support page.
9. Verify Operation
Gateway Status
Overview the Communicator LED indications remotely.
Node Status
Overview the status for each node added to the subnetwork.
Status Symbols
Symbol Description
Internal error has occurred and operation cannot be guaranteed.
Out of Specification.
Check Function:
• Initial state where non network components are started and configured.
• Network startup in progress.
• Invalid configuration detected.
Normal operation.
NOTE
Before you can verify operation you must configure the Communicator.
Figure 92. Communicator status (A), High level Network/Client (B), Subnetwork 2 (C) and (D) Security Switch
Exception error: An exception error causes the Communicator to enter a controlled error state. The
Communicator firmware application is still running.
LED A Function
Off No link (or no power)
Green Link (100 Mbit/s) established
Green, flashing Activity (100 Mbit/s)
Yellow Link (10 Mbit/s) established
Yellow, flashing Activity (10 Mbit/s)
LED B Function
Off Not used
In this use case we use the Communicator to enable data exchange between an Temperature Regulator and a
PLC.
The use case describes how to map the communication in the Communicator.
The Temperature Regulator is connected to the serial subnetwork via a custom RS-232 protocol.
In this example, the communication between the Temperature Regulator and the PLC.
In this use case we use the Communicator to enable data exchange between an AC motor, of the type My Drive,
and a PLC.
The use case describes how to map the communication in the Communicator.
We use the Custom Request/Response serial protocol and create customized transaction template to map up:
• Status word and actual speed from My Drive to the EtherNet/IP network.
• Control word and speed from the EtherNet/IP network to My Drive.
My Drive is using a request/response protocol to access parameters addressed with index and sub index.
Map up control word, speed from EtherNet/IP to My Drive and status word and actual speed from the drive to
EtherNet/IP.
4. In the Frame editor Response area, add six frame objects with the following settings:
4. In the Frame editor Response area, add five frame objects with the following settings:
3. Add four transactions to the My Drive node and configure them with the following settings:
Table 11. Status word and actual speed from My Drive to EtherNet/IP
Address Drive Parameter
0-1 Control Word
2-3 Speed
In this use case we use the Communicator to enable data exchange between an Barcode Scanner and a PLC.
The use case describes how to map the communication in the Communicator.
The Barcode Scanner is connected to the serial subnetwork via a custom RS-232 protocol.
We use the Custom Produce/Consume serial protocol and create a customized transaction template.
The Barcode Scanner sends data whenever it is available, without any request or handshake from the
Communicator.
In this example we have added three frame fields for the barcode data transaction:
Procedure
3. Add one transactions to the Barcode Scanner node and configure it with the following settings:
Table 15. Status word and actual speed from My Drive to EtherNet/IP
Address Barcode Scanner Parameter
0-31 The variable data, 31 bytes, are forwarded from the Barcode Scanner to the PLC.
11. Maintenance
NOTE
Importing a configuration replaces the current applied configuration.
Procedure
Procedure
IMPORTANT
Compatibility after a firmware downgrade can not be guaranteed.
The current configuration may use features not available in the older firmware version.
If the firmware file does not pass the validation, the firmware file is rejected and an error message appear.
IMPORTANT
To eliminate the risk of interference with plant operation, firmware update is only available when the
Communicator is disconnected from the OT networks.
Procedure
Result
• If the firmware file pass the validation: The firmware is upgraded and then the Communicator automatically
reboots, for the upgrade to take effect.
• If the firmware file is rejected: An error message appear.
12. Troubleshooting
12.1. Diagnostics
12.1.1. Serial RS-232/485 Data Monitor
On the Serial RS-232/485 page you can monitor how the data flow between the nodes and the gateway changes
over time.
The table can contain at most 10000 messages. When the limit is reached, the oldest messages are discarded
when new messages are added.
The table can contain at most 10000 messages. When the limit is reached, the oldest messages are discarded
when new messages are added.
Time (d:hh:mm:ss.ms) The date and time when the event occurred.
Message A brief description of the event.
Severity The severity of the event occurred.
For description of the symbols, see Communicator Status Monitor (page 98).
Source 0 Communicator
1 High level network, EtherNet/IP
2 Subnetwork, Serial RS-232/485
Sub-source The nodes connected to the subnetwork and the PLC connected to the high level network.
If there is a problem with a node the node name is displayed in the Sub-source column.
For information about the LED indication, see Communicator LED Indicators (page 100).
If the Firmware has been updated, factory reset will revert the Communicator configuration to initial state after
the update.
Procedure
To reset the Communicator:
2. Use a pointed object, such as a ballpoint pen to press and hold the Reset button.
Result
When the Communicator has successfully rebooted, the Communicator configuration is reset to the factory
default configuration or the current configuration after firmware upgrade.
To Do Next
To ensure that the Communicator built-in web-interface is synchronized.
The last working firmware is still available on the flash, but it is not active.
Procedure
To complete the interrupted firmware update:
Result
The Communicator recover and return to normal operation.
To Do Next
To check LED status, refer to Communicator LED Indicators (page 100).
12.4. Support
12.4.1. Support Package
Before you create a ticket for technical support, generate a support package.
The support package contains information about what has occurred and will help the Anybus technical support
team resolve the support case as quickly and efficiently as possible.
For complete technical specifications and regulatory compliance information, please visit www.anybus.com.
Input Registers
Input registers can only be read.
Holding Registers
Holding registers can be read or written.
These registers can be used for a variety of things such as inputs, outputs, configuration data, or other
requirement for holding data.