Anybus ABC3061, abc3090 User manual

  • Hello! I've reviewed the Anybus Communicator SCM-1202-208 User Manual and I am ready to assist you with your questions. This manual details the setup and configuration of the Communicator, which functions as an EtherCAT to Modbus RTU/Serial gateway. I can help with understanding its different serial protocol modes, configuration options, and how data exchange works. Feel free to ask anything about the device.
  • What serial protocols are supported?
    Can I create custom serial transactions?
    How is data exchanged between the networks?
Anybus® Communicator - EtherCAT to Modbus RTU/Serial
USER MANUAL
SCM-1202-208
Version 1.10
Publicaon date 2023-06-30
ENGLISH
Important User Informaon
Disclaimer
The informaon in this document is for informaonal 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 connuous product
development. The informaon in this document shall therefore not be construed as a commitment on the
part of HMS Networks and is subject to change without noce. HMS Networks makes no commitment to update
or keep current the informaon in this document.
The data, examples and illustraons found in this document are included for illustrave purposes and are only
intended to help improve understanding of the funconality and handling of the product. In view of the wide
range of possible applicaons of the product, and because of the many variables and requirements associated
with any parcular implementaon, HMS Networks cannot assume responsibility or liability for actual use
based on the data, examples or illustraons included in this document nor for any damages incurred during
installaon of the product. Those responsible for the use of the product must acquire sucient knowledge in
order to ensure that the product is used correctly in their specic applicaon and that the applicaon meets all
performance and safety requirements including any applicable laws, regulaons, 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 funconal side eects found outside the documented scope
of the product. The eects caused by any direct or indirect use of such aspects of the product are undened and
may include e.g. compability issues and stability issues.
Copyright © 2023 HMS Networks
Contact Informaon
Postal address:
Box 4126
300 04 Halmstad, Sweden
Table of Contents
1. Preface .................................................................................................................................. 1
1.1. About This Document ........................................................................................................ 1
1.2. Document Convenons ..................................................................................................... 1
1.3. Trademarks ..................................................................................................................... 2
1.4. About the EtherCAT Terminology ......................................................................................... 2
2. Safety .................................................................................................................................... 3
2.1. Intended Use ................................................................................................................... 3
2.2. General Safety ................................................................................................................. 3
3. Preparaon ............................................................................................................................ 4
3.1. Cabling ........................................................................................................................... 4
3.2. System Requirements ........................................................................................................ 4
3.2.1. Supported Operang 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 Soware Applicaons ................................................................................................ 5
3.6. Third-Party Soware Applicaons ........................................................................................ 5
3.7. Soware License Informaon ............................................................................................. 5
4. About Anybus Communicator .................................................................................................... 6
4.1. Serial Protocol Communicaon ........................................................................................... 6
4.1.1. Serial Protocol Types ................................................................................................. 6
4.1.2. Serial Protocol Building Blocks ..................................................................................... 7
4.2. How the Communicaon Works .......................................................................................... 9
4.3. How the Data Exchange Works ........................................................................................... 11
4.4. Data Integrity ................................................................................................................. 11
5. Installaon ............................................................................................................................ 12
5.1. External Parts ................................................................................................................. 12
5.2. DIN Rail Mounng ........................................................................................................... 13
5.3. Connect to EtherCAT Network ............................................................................................ 14
5.4. Connect to Serial RS232/RS485 Subnetwork ......................................................................... 15
5.5. Connect to Power ............................................................................................................ 17
5.6. Security Switch ............................................................................................................... 18
5.7. Lock the Cables ............................................................................................................... 20
5.8. DIN Rail Demount ............................................................................................................ 21
6. Conguraon Quick Guide ....................................................................................................... 23
6.1. Prepare Conguraon ...................................................................................................... 23
6.2. Setup New Conguraon .................................................................................................. 26
6.3. PLC Conguraon ............................................................................................................ 29
6.4. Verify Operaon .............................................................................................................. 31
7. Communicator Conguraon ................................................................................................... 33
7.1. Connect the Communicator ............................................................................................... 33
7.2. Access the Built-In Web Interface From HMS IPcong ............................................................. 34
7.3. Access the Built-In Web Interface From a Web Browser .......................................................... 36
7.4. Communicator Built-In Web Interface Overview .................................................................... 37
7.5. General Subnetwork Sengs ............................................................................................. 38
7.5.1. Communicaon Serial Protocol ................................................................................... 38
Anybus® Communicator - EtherCAT to Modbus RTU/Serial
SCM-1202-208 Version 1.10
7.5.2. Communicaon Basic Sengs .................................................................................... 39
7.5.3. Communicaon Advanced Sengs ............................................................................. 41
7.6. About Transacon Templates ............................................................................................. 47
7.6.1. Transacon Template Example ................................................................................... 47
7.6.2. Transacon Template Types ....................................................................................... 48
7.6.3. Frame Field Types .................................................................................................... 50
7.7. Build Transacon Template ................................................................................................ 52
7.7.1. Add Transacon Template ......................................................................................... 52
7.7.2. Add Frame Fields ..................................................................................................... 56
7.7.3. Congure Frame Field Sengs ................................................................................... 58
7.7.4. Data Delimiter and Subnet Delimiter Opons ................................................................ 61
7.7.5. Store Transacon Templates ...................................................................................... 64
7.8. Nodes and Transacons .................................................................................................... 65
7.8.1. Node and Broadcast Node ......................................................................................... 65
7.8.2. Add Node ............................................................................................................... 66
7.8.3. Node Sengs .......................................................................................................... 67
7.8.4. Add Transacons ..................................................................................................... 68
7.8.5. Transacon Sengs ................................................................................................. 71
7.8.6. Acvate/Deacvate Transacon .................................................................................. 73
7.8.7. Duplicate Transacon ............................................................................................... 73
7.8.8. Delete Transacon ................................................................................................... 74
7.9. High Level Network Sengs .............................................................................................. 75
7.9.1. To Use Automac I/O Sizes ........................................................................................ 75
7.9.2. To Congure I/O Sizes Manually .................................................................................. 75
7.10. I/O Data Map ................................................................................................................ 76
7.10.1. Opmize the I/O Data Map ...................................................................................... 77
7.10.2. Map Area Transacons Order ................................................................................... 78
7.10.3. Map Area ............................................................................................................. 79
7.10.4. Trigger Byte ........................................................................................................... 79
7.10.5. Endian Swap .......................................................................................................... 80
7.10.6. Oine Opon ........................................................................................................ 82
7.10.7. Live List ................................................................................................................ 83
7.10.8. Data Exchange Control ............................................................................................ 84
7.11. Conguraon Notes ....................................................................................................... 85
7.11.1. Add Conguraon Note ........................................................................................... 85
7.11.2. View and Edit Conguraon Notes ............................................................................ 87
7.12. Apply Conguraon ....................................................................................................... 88
7.13. To Use an Exisng Conguraon ....................................................................................... 89
7.14. To Use an Communicator Classic Conguraon .................................................................... 90
8. PLC Conguraon ................................................................................................................... 92
8.1. Export I/O Data Map ........................................................................................................ 92
8.2. Export Product ESI File ...................................................................................................... 93
9. Verify Operaon ..................................................................................................................... 94
9.1. Communicator Status Monitor ........................................................................................... 94
9.2. Communicator LED Indicators ............................................................................................ 96
9.3. EtherCAT LED Indicators .................................................................................................... 97
10. Use Cases ............................................................................................................................ 98
10.1. Temperature Regulator - Modbus RTU Use Case .................................................................. 98
10.1.1. About the Use Case ................................................................................................ 98
10.1.2. Before You Begin .................................................................................................... 98
10.1.3. Choose Serial Protocol Type ..................................................................................... 99
10.1.4. Setup Serial Communicaon .................................................................................... 99
Anybus® Communicator - EtherCAT to Modbus RTU/Serial
SCM-1202-208 Version 1.10
10.1.5. Setup the Node .................................................................................................... 100
10.1.6. Setup the Transacons .......................................................................................... 101
10.1.7. Check the I/O Data Map ........................................................................................ 103
10.2. AC Motor Drive - Custom Request/Response Use Case ........................................................ 104
10.2.1. About the Use Case .............................................................................................. 104
10.2.2. Before You Begin .................................................................................................. 104
10.2.3. Choose Serial Protocol Type ................................................................................... 105
10.2.4. Setup Serial Communicaon .................................................................................. 105
10.2.5. Create Transacon Templates ................................................................................. 106
10.2.6. Setup Node and Transacons ................................................................................. 110
10.2.7. Check the I/O Data Map ........................................................................................ 111
10.3. Barcode Scanner - Custom Produce/Consume Use Case ...................................................... 112
10.3.1. About the Use Case .............................................................................................. 112
10.3.2. Before You Begin .................................................................................................. 112
10.3.3. Choose Serial Protocol Type ................................................................................... 113
10.3.4. Setup Serial Communicaon .................................................................................. 113
10.3.5. Create Transacon Templates ................................................................................. 114
10.3.6. Setup Node and Transacons ................................................................................. 116
10.3.7. Check the I/O Data Map ........................................................................................ 117
11. Maintenance ..................................................................................................................... 118
11.1. Conguraon File Handling ............................................................................................ 118
11.1.1. Export Conguraon ............................................................................................. 118
11.1.2. Import Conguraon ............................................................................................ 119
11.2. Clear and Revert Conguraon ....................................................................................... 120
11.3. Firmware Management ................................................................................................. 121
11.3.1. View the Firmware Version .................................................................................... 121
11.3.2. Firmware and Conguraon Compability ................................................................ 121
11.3.3. Firmware File Validaon ........................................................................................ 121
11.3.4. Update Firmware ................................................................................................. 122
12. Troubleshoong ................................................................................................................. 123
12.1. Diagnoscs ................................................................................................................. 123
12.1.1. Serial RS-232/485 Data Monitor .............................................................................. 123
12.1.2. I/O Data ............................................................................................................. 124
12.1.3. Event Log ............................................................................................................ 125
12.1.4. LED Status ........................................................................................................... 126
12.2. Reset to Factory Sengs ............................................................................................... 127
12.3. Firmware Upgrade Error Management ............................................................................. 129
12.4. Support ..................................................................................................................... 131
12.4.1. Support Package .................................................................................................. 131
13. Technical Data .................................................................................................................... 132
13.1. Technical Specicaons ................................................................................................. 132
14. Reference Guides ................................................................................................................ 133
14.1. About Input Registers and Holding Registers ..................................................................... 133
14.2. Modbus Data Model .................................................................................................... 133
14.3. Modbus Transacons ................................................................................................... 133
14.4. Modus Excepon Codes ................................................................................................ 134
14.5. CANopen over EtherCAT (CoE) Objects ............................................................................. 134
14.6. ASCII Table ................................................................................................................. 137
14.7. RS232/RS485 Electrical Connecon ................................................................................. 138
14.7.1. RS485 Typical Connecon ...................................................................................... 138
14.7.2. RS232 Typical Connecon ...................................................................................... 138
Anybus® Communicator - EtherCAT to Modbus RTU/Serial
SCM-1202-208 Version 1.10
This page is intenonally le blank.
1. Preface
1.1. About This Document
This document describes how to install and congure Anybus® Communicator.
For addional documentaon and soware downloads, FAQs, troubleshoong guides and technical support,
please visit www.anybus.com/support.
1.2. Document Convenons
Lists
Numbered lists indicate tasks that should be carried out in sequence:
1. First do this
2. Then do this
Bulleted lists are used for:
Tasks that can be carried out in any order
Itemized informaon
User Interacon Elements
User interacon elements (buons etc.) are indicated with bold text.
Program Code and Scripts
Program code and script examples
Cross-References and Links
Cross-reference within this document: Document Convenons (page 1)
External link (URL): www.anybus.com
Safety Symbols
DANGER
Instrucons that must be followed to avoid an imminently hazardous situaon which, if not avoided,
will result in death or serious injury.
WARNING
Instrucons that must be followed to avoid a potenal hazardous situaon that, if not avoided, could
result in death or serious injury.
CAUTION
Instrucon that must be followed to avoid a potenal hazardous situaon that, if not avoided, could
result in minor or moderate injury.
IMPORTANT
Instrucon that must be followed to avoid a risk of reduced funconality and/or damage to the
equipment, or to avoid a network security risk.
Preface Anybus® Communicator - EtherCAT to Modbus RTU/Serial
SCM-1202-208 Version 1.10 Page 1 of 138
Informaon Symbols
NOTE
Addional informaon which may facilitate installaon and/or operaon.
TIP
Helpful advice and suggesons.
1.3. Trademarks
Anybus® is a registered trademark of HMS Networks.
All other trademarks are the property of their respecve holders.
1.4. About the EtherCAT Terminology
The EtherCAT® Technology Group has changed the terminology for Master and Slave.
Master is called MainDevice
Abbreviated: MDevice
Slave is called SubordinateDevice
Abbreviated: SubDevice
Anybus® Communicator - EtherCAT to Modbus RTU/Serial Trademarks
Page 2 of 138 SCM-1202-208 Version 1.10
2. Safety
2.1. Intended Use
The intended use of this equipment is as a communicaon interface and gateway.
The equipment receives and transmits data on various physical layers and connecon types.
If this equipment is used in a manner not specied by the manufacturer, the protecon provided by the
equipment may be impaired.
2.2. General Safety
CAUTION
Ensure that the power supply is turned o before connecng it to the equipment.
CAUTION
This equipment contains parts that can be damaged by electrostac discharge (ESD). Use ESD
prevenon 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.
Safety Anybus® Communicator - EtherCAT to Modbus RTU/Serial
SCM-1202-208 Version 1.10 Page 3 of 138
3. Preparaon
3.1. Cabling
Have the following cables available:
Ethernet cable for conguraon
Ethernet cable x 2 for connecng to the network
Power cable
3.2. System Requirements
3.2.1. Supported Operang Systems
Operang System Descripon
Windows 7 SP1, 32-bit Windows 7 32-bit with Service Pack 1
Windows 7 SP1, 64-bit Windows 7 64-bit with Service Pack 1
Windows 10 64-bit Windows 10 64-bit
Windows 11 64-bit Windows 11 64-bit
3.2.2. Supported Web Browsers
The Communicator built-in web interface can be accessed from the following standard web browsers.
Google Chrome
Microso Edge
Mozilla Firefox
3.3. Mechanical Tools and Equipment
Have the following tools available:
Flat-head screwdriver, size 5.5 mm
Needed when removing the Communicator from DIN-rail.
Flat-head screwdriver, size 3 mm
Needed when connecng the cables to the 7-pin connector.
3.4. Support and Resources
For addional documentaon and soware downloads, FAQs, troubleshoong guides and technical support,
please visit www.anybus.com/support.
TIP
Have the product arcle number available, to search for the product specic support web page. You
nd the product arcle number on the product cover.
Anybus® Communicator - EtherCAT to Modbus RTU/Serial Preparaon
Page 4 of 138 SCM-1202-208 Version 1.10
3.5. HMS Soware Applicaons
Download the soware installaon les and user documentaon from www.anybus.com/support.
HMS IPcong
Use the soware applicaon HMS IPcong and scan your network to discover and change the Communicator IP
address and to access the Communicator built-in web interface.
NOTE
As an alternave, you can set a stac 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 IPcong is only available for Windows.
3.6. Third-Party Soware Applicaons
Microso Excel
Microso Excel, or equivalent soware applicaon that supports the Oce Open XML Workbook (xlsx) le
format. Needed to open and read the I/O data map le and the Event log le.
3.7. Soware License Informaon
For license agreements regarding the third-party soware used in the Communicator, refer to the
LICENSE.txt le(s) included in the Communicator rmware update package zip le.
To download the Communicator rmware update package zip le, please visit www.anybus.com/support.
TIP
Have the product arcle number available, to search for the product specic support web page. You
nd the product arcle number on the product cover.
HMS Soware Applicaons Anybus® Communicator - EtherCAT to Modbus RTU/Serial
SCM-1202-208 Version 1.10 Page 5 of 138
4. About Anybus Communicator
4.1. Serial Protocol Communicaon
4.1.1. Serial Protocol Types
The gateway features three disnct modes of operaon for the subnetwork communicaon, called Modbus RTU,
Custom Request/Response and Custom Produce/Consume.
Figure 1. Communicaon, Serial protocol
Modbus RTU
By default the Communicator uses the Modbus RTU serial protocol.
The Communicator uses Modbus transacons dened by the Modbus standard.
The Communicator acts as a client on the subnetwork, and the serial communicaon takes place in a request/
response fashion.
The nodes on the network are not permied to issue messages unless they have been addressed by the
Communicator rst.
Custom Request/Response
In this mode, you can dene your own serial transacons to handle a wide range of custom serial protocols.
The Communicator acts as a generic serial client on the subnetwork.
The serial communicaon takes place in a request/response fashion.
Custom Produce/Consume
In this mode, you can dene your own serial transacons to handle a wide range of custom serial protocols.
The Communicator may consume and/or produce messages on the subnetwork.
There is no client-server relaonship between the nodes on the network, messages are spontaneously produced
or consumed when data is available.
Anybus® Communicator - EtherCAT to Modbus RTU/Serial About Anybus Communicator
Page 6 of 138 SCM-1202-208 Version 1.10
4.1.2. Serial Protocol Building Blocks
The following building blocks are used to describe the subnetwork communicaon.
Frame Fields
The Frame editor is used to design custom transacon templates.
The Frame editor with Frame elds is available when either the Custom Request/Response or Custom Produce/
Consume serial protocol is enabled.
Figure 2. Frame editor
Frame elds are low level enes used to compose transacons.
A frame object can represent a:
xed value, a constant
range of values, limit objects
block of data or a calculated checksum
Serial Protocol Communicaon Anybus® Communicator - EtherCAT to Modbus RTU/Serial
SCM-1202-208 Version 1.10 Page 7 of 138
Transacon Templates
The Transacon templates are available when either the Custom Request/Response or Custom Produce/
Consume serial protocol is enabled.
Figure 3. Frame editor, Request and Response
A transacon represents a complete serial telegram, and consists of a number of frame elds.
Each frame eld is associated with a set of parameters controlling what is transmied on the subnetwork.
The transacon templates are stored in the Communicator and can be reused mulple mes.
Example 1. Common Read Transacon
If you have a common read transacon. Then you can create one single transacon template for the read
transacon and reuse it mulple mes mes on your node(s).
If you have a funcon code in your protocol similar to a standard Modbus RTU transacon. Then you can create
a transacon template based on the Modbus RTU transacon for the read operaon. When you reuse the
template on your node(s), you only have to change the funcon code each me it is used.
Anybus® Communicator - EtherCAT to Modbus RTU/Serial Serial Protocol Communicaon
Page 8 of 138 SCM-1202-208 Version 1.10
4.2. How the Communicaon Works
The Communicator enables communicaon, data exchange, between one or more server devices connected to a
serial subnetwork and a client device connected to a high level network.
Figure 4. Process data trac overview
For example:
The client device can be a PLC controller or a PC.
A server devices can be a sensor, scanner, industrial robot or snier.
The Communicator main task is to cyclically send the transacons that the server(s) are congured to execute, in
order to request and transfer process data.
Request Process Data
Figure 5. Process data trac from nodes to client
Request process data from the serial subnetwork nodes, specied in the Communicator conguraon, and make
the process data available on the server interface and for the high level network client device.
How the Communicaon Works Anybus® Communicator - EtherCAT to Modbus RTU/Serial
SCM-1202-208 Version 1.10 Page 9 of 138
Transfer Process Data
Figure 6. Process data trac from client to nodes
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 conguraon.
Anybus® Communicator - EtherCAT to Modbus RTU/Serial How the Communicaon Works
Page 10 of 138 SCM-1202-208 Version 1.10
4.3. How the Data Exchange Works
Figure 7. The Communicator internal memory areas
The data exchanged between the Communicator and the serial subnetwork and the high level network resides in
the Communicator internal memory buer.
To exchange data with the serial subnetwork, the high level network reads and writes data to the Communicator
internal memory buer.
The same memory locaons are exchanged on the serial subnetwork.
The memory locaons are specied when conguring 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/wrien by the high level network.
4.4. Data Integrity
A snapshot of the process data buer between the Client and the server interface is used during the operaon of
execung all the transacons within one cycle.
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.
How the Data Exchange Works Anybus® Communicator - EtherCAT to Modbus RTU/Serial
SCM-1202-208 Version 1.10 Page 11 of 138
5. Installaon
5.1. External Parts
Figure 8. External parts
A. Power connector
B. Label with LED designaon
C. Status LEDs
D. Conguraon port
E. 7-pin connector
F. EtherCAT port x 2
G. Cable e mount
H. Laser engraved connectors designaon
I. Security switch
J. Factory reset buon
K. Laser engraved label with product informaon
L. DIN rail locking mechanism
Anybus® Communicator - EtherCAT to Modbus RTU/Serial Installaon
Page 12 of 138 SCM-1202-208 Version 1.10
5.2. DIN Rail Mounng
IMPORTANT
The equipment must be electrically grounded through the DIN rail for EMC compliance. Make sure
that the equipment is correctly mounted on the rail and that the rail is properly grounded.
Figure 9. Aach the Communicator on the DIN rail
To aach the Communicator on the DIN rail:
1. Insert the upper end of the DIN rail clip into the DIN rail.
2. Push the boom of the DIN rail clip into the DIN rail.
DIN Rail Mounng Anybus® Communicator - EtherCAT to Modbus RTU/Serial
SCM-1202-208 Version 1.10 Page 13 of 138
5.3. Connect to EtherCAT Network
Figure 10. Connect to EtherCAT network
1. Connect the Communicator to your EtherCAT network.
Upper EtherCAT Connector is Input.
Lower EtherCAT Connector is Output.
RJ45 Connector Pin Descripon
1 TD+
2 TD-
3 RD+
4 Not used
5 Not used
6 RD-
7 Not used
8 Not used
To Do Next
Connect the Communicator to the serial subnetwork and to power.
Check LED status, refer to Communicator LED Indicators (page 96).
Anybus® Communicator - EtherCAT to Modbus RTU/Serial Connect to EtherCAT Network
Page 14 of 138 SCM-1202-208 Version 1.10
/