Page: 91
Function Code
The function code field of a Modbus data unit is coded in one byte. Valid codes are
in the range of 1 ... 255 decimal (the range 128 - 255 is reserved and used or
exception responses). When a Modbus request is sent from a Modbus Client to a
Server device the function code field tells the Server what kind of action to perform.
The Modbus/TCP feature of OME-ET-7000/OME-PET-7000 series module supports
8 function codes, which allows the reading and writing of data contents of registers.
Function Code
Function
01 (0x01)
Read Coil Status
02 (0x02)
Read Input Status
03 (0x03)
Read Holding Registers
04 (0x04)
Read Input Registers
05 (0x05)
Force Single Coil
06 (0x06)
Preset Single Register
15 (0x0F)
Force Multiple Coils
16 (0x10)
Preset Multiple Registers
Any other function code request will be returned with an error response indicating
the function code is not supported, as well as a request for too much data or data at
a register address that not present.
Data
The data field of Modbus request sent from a client to server devices contains
additional information that the server uses to take the action defined by the function
code. This can include items like discrete and register addresses, the quantity of
items to be handled, and the count of actual data bytes in the field.
The data field may be nonexistent (of zero length) in certain kinds of requests; in this
case the server does not require any additional information. The function code alone
specifies the action.
Summary of Contents for OME-ET-7000 Series
Page 1: ......
Page 2: ......
Page 37: ...Page 32 The lower section of the page provides a brief introduction to the web interface...
Page 86: ...Page 81 After completing the configuration click the Submit button to save the settings 1 2...
Page 92: ...Page 87 The default URL that the More Information item will link to http www omega com...
Page 158: ......
Page 159: ......