Siemens UL1066, UL 489 specifications Function 15 Write Multiple Coils

Models: UL 489 UL1066

1 92
Download 92 pages 35.36 Kb
Page 54
Image 54

Communication-capable Circuit Breakers

WL Circuit Breaker

Function 15: Write Multiple Coils

Function

This function sets the state of multiple control bits and extra flags in a COM16 slave.

 

 

Bit Start Address

Any value from 0000 hex to 000F hex. If any other address is specified, an Exception Code of 02 (Invalid Data

 

Address) will be returned.

 

 

 

 

 

 

Quantity of Bits

If “Quantity of Bits” is not in the range of 1 to 16, an Exception Code of 03 (Invalid Data Value) will be returned.

 

If an attempt to write a bit beyond Bit Address 000F hex is made, an Exception Code of 02 (Invalid Data Address)

 

will be returned.

 

 

 

 

 

 

 

Byte Count

This is the “Quantity of Bits” / 8. If the division remainder is non-zero, then 1 is added to “Byte Count”. If “Byte

 

Count” is incorrect, an Exception Code of 03 (Invalid Data Value) is returned.

 

The following is an example of a request to set the state of six extra flags in a COM16 slave device at MODBUS

 

address 7. Attempts to change unused bits will have no effect. Setting the indicated bits would: Clear Logs, Clear

 

Min./Max., Clear Counters and Sync Time Stamp.

 

 

 

Bit:

10

11

12

13

14

15

 

State:

1

1

0

0

1

1

The data contents are one byte: 33 hex (0011 0011 binary). The binary bits correspond in the following way:

The byte transmitted (33 hex) addresses bits 10 ... 15, with the least significant bit addressing the lowest bit (10) in this set. The unused bits are zero-filled.

The response returns the slave address, function code, starting address and Quantity of Bits written.

3/7

WL MODBUS Communication and Electronic Accessories • January 2005

Page 54
Image 54
Siemens UL1066, UL 489 specifications Function 15 Write Multiple Coils