Instructions
Table Of Contents
- Anybus® Communicator™ - PROFIBUS to Modbus RTU/Serial
- Table of Contents
- 1. Preface
- 2. Safety
- 3. Preparation
- 4. About Anybus Communicator
- 5. Installation
- 6. Configuration Quick Guide
- 7. Communicator Configuration
- 7.1. Connect the Communicator
- 7.2. Access the Built-In Web Interface From HMS IPconfig
- 7.3. Access the Built-In Web Interface From a Web Browser
- 7.4. Communicator Built-In Web Interface Overview
- 7.5. General Subnetwork Settings
- 7.6. About Transaction Templates
- 7.7. Build Transaction Template
- 7.8. Nodes and Transactions
- 7.9. High Level Network Settings
- 7.10. I/O Data Map
- 7.11. Apply Configuration
- 7.12. To Use an Existing Configuration
- 7.13. To Use an Communicator Classic Configuration
- 8. PLC Configuration
- 9. Verify Operation
- 10. Use Cases
- 11. Maintenance
- 12. Troubleshooting
- 13. Technical Data
- 14. Reference Guides
14. Reference Guides
14.1. About Input Registers and Holding Registers
Modbus data is most oen read and wrien as registers which are 16-bit pieces of data.
Holding registers and Input registers are both 16-bit registers.
Input registers
Input registers can only be read.
Holding registers
Holding registers can be read or wrien.
These registers can be used for a variety of things such as inputs, outputs, conguraon data, or other
requirement for holding data.
14.2. Modbus Data Model
Discretes Input Single bit Read-Only Data can be provided by the I/O system.
Coils Single bit Read-Write Data can be alterable by the applicaon program.
Input Registers 16-bit word Read-Only Data can be provided by the I/O system
Holding Registers 16-bit word Read-Write Data can be alterable by the applicaon program.
Reference: MODBUS Applicaon Protocol Specicaon V1.1b3, April 26 2012
For more informaon refer to the Modbus organisaon website.
14.3. Modbus Transacons
Nr Transacon Funcon Code Descripon
1 Read Coils 0x01 Read from 1 to 2000 conguous status of coils in a remote device.
2 Read Discrete Inputs 0x02 Read from 1 to 2000 conguous status of discrete inputs in a remote device.
3 Read Holding Registers 0x03 Read the contents of a conguous block of holding registers in a remote device.
4 Read Input Registers 0x04 Read from 1 to 125 conguous input registers in a remote device.
5 Write Single Coil 0x05 Write a single output to ON or OFF in a remote device.
6 Write Single Register 0x06 Write a single holding register in a remote device.
15 Write Mulple Coils 0x0F In a sequence of coils, force each coil to either ON or OFF in a remote device.
16 Write Mulple
Registers
0x10 Write a block of conguous registers in a remote device.
22 Mask Write Register 0x16 In a single transacon, modify the contents of a specied holding register using a
combinaon of an AND mask, an OR mask, and the register's current contents.
Can be used to set or clear individual bits in the register.
23 Read/Write Mulple
Registers
0x17 Performs a combinaon of one read operaon and one write operaon.
The write operaon is performed before the read.
Reference: MODBUS Applicaon Protocol Specicaon V1.1b3, April 26 2012
For more informaon refer to the Modbus organisaon website.
Reference Guides Anybus
®
Communicator
™
- PROFIBUS to Modbus RTU/Serial
SCM-1202-177 1.2 Page 131 of 134