advertisement
Modbus Protocol (Modbus/TCP)
Introduction
I
8.1.2
Services (function codes)
For process data exchange, parameter data exchange and unit identification, the
DFE33B option provides four service FCs (Function Codes).
• FC 3 Read Holding Registers
• FC16 Write Multiple Registers
• FC23 Read/Write Multiple Registers
• FC43 Read Device Identification
The FC3 and FC16 services allow reading or writing of one or more registers. FC23 allows a register block to be read and written simultaneously. You can identify a unit with service FC43 by reading out the identity parameter.
8.1.3
Access
The implemented registers and possible services (function codes) for data exchange are summarized in the following table.
Offset (hex) Read
0 – 3 –
4 – FF Process input data (actual values)
Meaning for
Write
–
Process output data
(setpoints)
100 – 103
104 – 1FF
–
Process output data (setpoints)
–
–
200 – 2FF Result acyclic parameter channel
300 – FFFF –
Special case: 219E
(8606 dec
)
Fieldbus timeout interval, read value
Request acyclic parameter channel
–
Fieldbus timeout interval, write value
Access
–
FC3,
FC16,
FC23
Comment
Reserved
• DFE33B: 0 – 10 words
• DFE33B gateway. 3 – 24 words (in steps of 3)
Reserved –
FC3 Used by clients other than the controlling client for reading the setpoints
4 words FC3,
FC16,
FC23
– Reserved
FC3, FC16 Parameter P819: 16 bit value, timeout interval in ms
8
Manual – Fieldbus Interface DFE33B EtherNet/IP and Modbus/TCP
89
advertisement
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Related manuals
advertisement
Table of contents
- 6 1 General Information
- 6 Using the manual
- 6 Structure of the safety notes
- 7 Rights to claim under warranty
- 7 Exclusion of liability
- 7 Copyright
- 8 2 Safety Notes
- 8 Other applicable documentation
- 8 General safety notes for bus systems
- 8 Safety functions
- 8 Hoist applications
- 8 Product names and trademarks
- 8 Waste disposal
- 9 3 Introduction
- 9 Content of the manual
- 9 Additional documentation
- 9 Properties
- 10 3.3.2 Access to all information
- 10 3.3.3 Monitoring functions
- 10 3.3.4 Diagnostics
- 10 3.3.5 Fieldbus monitor
- 11 4 Assembly and Installation Instructions
- 11 MDX61B
- 12 4.1.1 Before you begin
- 13 (MDX61B, sizes 1 – 6)
- 14 the DFE33B option
- 17 Installing the DFE33B gateway / UOH11B
- 18 Connection and terminal description of the DFE33B option
- 19 Status LED of the DFE33B option
- 20 4.5.1 Gateway LED
- 21 Pin assignment
- 22 The integrated Ethernet switch
- 22 Shielding and routing bus cables
- 23 Setting the DIP switches
- 24 4.10 TCP/IP addressing and subnetworks
- 26 4.11 Setting the IP address parameters
- 28 4.12 Procedure for replacing the unit
- 29 B / gateway
- 30 5 Project Planning and Startup (EtherNet/IP)
- 30 Validity of the EDS file for DFE33B
- 31 Configuring the master (EtherNet/IP scanner)
- 32 MDX61B
- 34 the UOH11B gateway housing
- 36 5.2.3 Auto Setup for gateway operation
- 37 MDX61B inverter
- 38 B frequency inverter
- 39 Project planning examples in RSLogix
- 39 B with 10 PD data exchange
- 43 B via gateway DFE33B / UOH11B
- 53 B unit parameter access via DFE33B / UOH11B
- 54 6 Ethernet Industrial Protocol (EtherNet/IP)
- 54 Introduction
- 54 Process data exchange
- 55 CIP object directory
- 68 Return codes for parameter setting via explicit messages
- 72 7 Project Planning and Startup (Modbus/TCP)
- 72 Unit description file for Modbus/TCP
- 72 Configuring the master (Modbus scanner)
- 74 MDX61B
- 75 the UOH11B gateway housing
- 76 7.2.3 Auto Setup for gateway operation
- 77 MDX61B inverter
- 78 B frequency inverter
- 79 Project planning examples in PL7 PRO
- 79 B with 3 PD data exchange
- 81 B via gateway DFE33B / UOH11B
- 83 Examples for data exchange via Modbus/TCP
- 84 7.6.1 Writing and reading process data
- 86 7.6.2 Parameter access
- 88 8 Modbus Protocol (Modbus/TCP)
- 88 Introduction
- 88 8.1.1 Mapping and addressing
- 89 8.1.2 Services (function codes)
- 89 8.1.3 Access
- 90 Protocol structure
- 90 8.2.1 Header
- 91 8.2.2 Service FC3 – Read Holding Registers
- 92 8.2.3 Service FC16 – Write Multiple Registers
- 93 8.2.4 Service FC23 – Read/Write Multiple Registers
- 94 8.2.5 Service FC43 – Read Device Identification
- 95 Connection management
- 95 8.3.1 Sending process output data (request controlling connection)
- 96 8.3.2 Closing the connections
- 96 8.3.3 Timeout monitoring
- 97 Parameter access via Modbus/TCP
- 97 8.4.1 Procedure with FC16 and FC
- 97 8.4.2 Procedure with FC
- 98 8.4.3 Protocol structure
- 99 parameter channel
- 100 Fault codes (exception codes)
- 101 9 Integrated Web Server
- 101 Software requirements
- 101 Security settings
- 102 Design of the homepage of the integrated web server
- 103 Layout of the diagnostics applet
- 107 Access protection
- 108 MotionStudio Via Ethernet
- 108 MotionStudio
- 108 10.1.1 Tasks
- 108 10.1.2 Establishing communication with units
- 108 10.1.3 Executing functions with the units
- 109 10.2 First steps
- 109 10.2.1 Starting the software and creating the project
- 109 10.2.2 Establishing communication and scanning the network
- 110 10.3 Communication mode
- 110 10.3.1 Overview
- 111 10.3.2 Selecting communication mode (online or offline)
- 112 10.4 Serial communication (RS485) via interface adapters
- 112 10.4.1 Engineering via interface adapters (serial)
- 112 10.4.2 Starting up the USB11A interface adapter
- 115 10.4.3 Configuring serial communication
- 117 10.4.4 Serial communication parameter (RS485)
- 118 10.5 Communication via Ethernet
- 118 10.5.1 Connecting the unit with the PC via Ethernet
- 118 10.5.2 Address Editor
- 122 10.5.3 Configuring the communication channel via Ethernet
- 123 10.5.4 Setting the communication parameters for SMLP
- 124 10.5.5 Communication parameters for SMLP
- 125 10.6 Executing functions with the units
- 125 10.6.1 Parameter setting for units in the parameter tree
- 125 10.6.2 Reading/changing unit parameters
- 126 10.6.3 Starting up the units (online)
- 126 10.6.4 Special configuration and diagnostics tools
- 127 11 Ethernet Configuration Parameters
- 127 11.1 Parameter description
- 129 12 Troubleshooting
- 129 12.1 Diagnostic sequence
- 131 12.2 Error list in gateway operation
- 132 13 Technical Data
- 133 the gateway housing
- 134 14 Appendix
- 134 14.1 Parameter access to lower-level units via EtherNet/IP
- 135 14.2 Parameter access to lower-level units via Modbus/TCP
- 136 14.3 Parameter access to lower-level units via engineering interfaces
- 137 14.4 Glossary
- 138 15 Index