15 (0x0f) write multiple coils, Specification – Beijer Electronics NA-9379 User Manual

Page 16

Advertising
background image

NA-9379

Specification

Revision 1.02

FnBus PIO N/A

Page 16

Sub-function 0x0065(101) Return Slave Watchdog Error Count

The response data field returns the quantity of watchdog error addressed to the remote device since its last restart, clear
counters operation, or power–up.

Sub-function

Data Field (Request)

Data Field (Response)

Description

0x0065(101)

0x0000

Watchdog Error Count

Sub-function 0x0066(102) Change Slave IO Output Status

The sub-function with data fields is to clear watchdog counter and change IO output status. This may be used to
simulate clear output and fault output.

Sub-function

Data Field (Request)

Data Field (Response)

Description

0x0066(102)

0x0000

Echo Request Data

Ready

output,

automatically

turns

Normal output

0x0066(102)

0x0001, 0x0002, 0x0003

Echo Request Data

Clear output

0x0066(102)

0x0004

Echo Request Data

Normal output

0x0066(102)

0x0005, 0x0006, 0x0007

Echo Request Data

Fault output

3.1.8.

15 (0x0F) Write Multiple Coils

This function code is used to force each coil in a sequence of coils to either ON or OFF in a remote device. The Request
PDU specifies the coil references to be forced. Coils are addressed starting at zero. A logical '1' in a bit position of the
field requests the corresponding output to be ON. A logical '0' requests it to be OFF.

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

Request

Field name

Example

Function Code

0x0F

Starting Address Hi

0x10

Starting Address Lo

0x00

Quantity of Outputs Hi

0x00

Quantity of Outputs Lo

0x0A

Byte Count

0x02

Output Value#0

0x55

Output Value#1

0x01

Response

Field name

Example

Function Code

0x0F

Starting Address Hi

0x10

Starting Address Lo

0x00

Quantity of Outputs Hi

0x00

Quantity of Outputs Lo

0x0A

- In case of address 0x1015~0x1000 output bit value: 00000000_00000000 changes to 00000001_01010101.

PRELIMINARY

Advertising