Function Code Fc15 (Write Multiple Coils); Table 94: Request Of Function Code Fc15; Table 95: Response Of Function Code Fc15 - WAGO -I/O-SYSTEM 750 XTR Manual

Fc ethernet g3 xtr fieldbus coupler ethernet; 3rd generation; extreme
Hide thumbs Also See for WAGO-I/O-SYSTEM 750 XTR:
Table of Contents

Advertisement

164 Fieldbus Communication
11.2.3.8

Function Code FC15 (Write Multiple Coils)

This function sets a sequence of output bits to 1 or 0 in a slave device. The
maximum number is 256 bits.
Request
The request message specifies the reference number (first coil in the sequence),
the bit count (number of bits to be written), and the output data. The output coils
are zero-based; therefore, the first output point is 0.
In this example 16 bits are set, starting with the address 0. The request contains
2 bytes with the value 0xA5F0, or 1010 0101 1111 0000 in binary format.
The first data byte transmits the value of 0xA5 to the addresses 7 to 0, whereby 0
is the lowest value bit. The next byte transmits 0xF0 to the addresses 15 to 8,
whereby the lowest value bit is 8.

Table 94: Request of Function Code FC15

Byte
Byte 0, 1
Byte 2, 3
Byte 4, 5
Byte 6
Byte 7
Byte 8, 9
Byte 10, 11
Byte 12
Byte 13
Byte 14
Response

Table 95: Response of Function Code FC15

Byte
...
Byte 7
Byte 8, 9
Byte 10, 11
Manual
Version 1.3.0
750-352/040-000 FC ETHERNET G3 XTR
Field name
Transaction identifier
Protocol identifier
Length field
Unit identifier
MODBUS function code
Reference number
Bit count
Byte count
Data byte1
Data byte2
Field name
MODBUS function code
Reference number
Bit count
WAGO-I/O-SYSTEM 750 XTR
Example
0x0000
0x0000
0x0009
0x01 not used
0x0F
0x0000
0x0010
0x02
0xA5
0xF0
Example
0x0F
0x0000
0x0010

Advertisement

Table of Contents
loading

This manual is also suitable for:

750-352/040-000

Table of Contents