KROHNE ALTOSONIC V Modbus EN User Manual

Page 14

Advertising
background image

ALTOSONIC V

ModBus Manual 0300 rev07 E

7.30855.35.00

Page 14 of 64

The next byte transmitted (01) addresses coils 29 and 28, with the least significant bit addressing the
lowest coil (28) in this set. Unused bits in the last data byte should be left zero.


Request:

Coil

address

Quantity

Of points

Byte

counts

Force

data

Error

check

Trailer

Header


--

Slave

Address

11(h)

Function


0F(h)

Hi
00(h)

Low
13(h)

Hi
00(h)

Low
0A(h)


02(h)

Hi
CD(h)

Low
01(h)


--


--


Response

The normal response returns the slave address, function code, starting address, and quantity of coils

forced.

Coil

Address

Quantity

Of points

Error check

Trailer

Header


--

Slave

Address

11(h)

Function


0F(h)

Hi
00(h)

Low
13(h)

Hi
00(h)

Low
0A(h)


--


--

If the request is not applicable an exception response will be sent.

See chapter 5.10 for exception responses.

5.9

Function 16: WRITE MULTIPLE HOLDING REGISTERS

Description

Function 16 pre-sets values into a sequence of holding registers (4x reference).

When the address is a broadcast, the function pre-sets the same register references in all attached

slaves.


Query
The query message specifies the register references to be pre-set. Registers are addressed starting at

zero (register 1 is addressed as 0).



Example
Here is an example of a request to pre-set two registers starting at 40002 to 00 0A end 01 02 hex, in

slave device 17.

Starting
address

Quantity
Registers

Byte
counts

Data

Error
check

Trailer

Header

--

Slave
Addres

s


11(h)

Funct.

10(h)

Hi

00(h)

Low

01(h)

Hi

00(h)

Low

02(h)

04(h)

Hi

00(h)

Low

0A(h)

Hi

01(h)

Low

02(h)

--

--


Response
The normal response returns the slave address, the function code, starting address, and quantity of

registers pre-set.

Starting
Address

Quantity
Of points

Error
check

Trailer

Header

--

Slave
Address

11(h)

Function

10(h)

Hi

00(h)

Low

01(h)

Hi

00(h)

Low

02(h)

--

--

If the request is not applicable an exception response will be sent.

See chapter 5.10 for exception responses.

Advertising