Modbus Function Codes - ABB DATUM L150 Operating Manual

Hide thumbs Also See for DATUM L150:
Table of Contents

Advertisement

...4 MODBUS PROTOCOL

4.2 MODBUS Function Codes

The function code instructs the addressed slave which function to perform.
Table 4.1 shows the function codes and describes the action they initiate.
Function
Function
Code
01
Coil Status
03
Holding Register
05
Single Coil
06
Single Register
Loop Back
08
16
Multiple
Registers
*NAK = Negative Acknowledgment
10
Title
Read
Read up to 16 consecutive discrete (Boolean) points
from a specific starting point. The DATUM L150/L160
returns zeros for points which do not contain defined
data and NAKs* any request for point numbers
greater than 60.
Read
Read up to 8 consecutive registers from a specific
starting register. The DATUM L150/L160 returns
zeros for points which do not contain defined data
and NAKs* any request for point numbers greater
than 90.
Force
Write one discrete (Boolean) point. The DATUM
L150/L160 NAKs* this if the point is not currently
writeable.
Preset
Write one register. This code also applies any
existing limits to the register before storage in the
instrument. The DATUM L150/L160 NAKs* if the
register is not currently writeable.
Echo the message. Only 'Return of Query' is
supported.
Write up to eight consecutive registers from a
Preset
specified starting register. The DATUM L150/L160
NAKs* if any of the registers are not currently
writeable, but carries out all the writes which are
valid, applying any existing limits to the value before
storage in the instrument.
Table 4.1 MODBUS Function Codes
Description

Advertisement

Table of Contents
loading

This manual is also suitable for:

Datum l160

Table of Contents