82
6
Useful Functions
82
U
se
fu
l F
un
cti
on
s
Chapter
6
15 (0x0F) Write Multiple Coils
For slave coils, data for a specified number of coils starting from a specified address is changed.
When broadcast (0) is specified, coils of all slave devices with the same address will be rewritten.
The coil address, new number of bytes and output value are specified in the request.
* If rewriting a coil which turns the signal to ON level or OFF level, be sure to set the priority of the
level input signal (setting mode 4-7) to "1: communication priority".
* N = Number of coils/8, N = N+1 in case the division is not possible.
Example) Turning ON/OFF accumulation clear (address 00009) starting
from digital zero (address 00005).
Note that the relative address is 0x04 when writing in digital zero.
The example shows how ON (1) and OFF (0) of the F701+ is rewritten.
Unused bits are filled in with 0.
* Consider execution confirmation of the coil to be something that is completed by a normal
response.
* Do not execute commands in the address combinations listed below.
When executed, commands will be carried out one by one, but may not operate properly.
- Addresses 00001 and 00002
- Addresses 00009 and 00010
- Addresses 00003 to 00006
- Addresses 00011 to 00013
- Addresses 00007 and 00008
[Request]
Function
1 byte
0x0F
Start address
2 bytes
0x0000 to 0xFFFF
Number of coils
2 bytes
0x0001 to 0x07B0
Number of bytes
1 byte
N *
Changed data
N x 2 bytes
[Response]
Function
1 byte
0x0F
Start address
2 bytes
0x0000 to 0xFFFF
Number of coils
2 bytes
0x0001 to 0x07B0
[Error response]
Error code
1 byte
0x8F (Fu0x80)
Exception code
1 byte
01 or 02 or 03
[Request]
Function
0F
[Response]
Function
0F
Start address (HI)
00
Start address (HI)
00
Start address (LO)
04
Start address (LO)
04
Number of coils (HI)
00
Number of coils (HI)
00
Number of coils (LO)
05
Number of coils (LO)
05
Data bytes
01
(Digital zero to accumulation clear)
10
Coil
00012
00011
00010
Accumulation
clear
Hold
Off
Hold
On
Digital
zero
reset
Digital
zero
Bit
0
0
0
1
0
0
0
0
0x10
Summary of Contents for F701+
Page 1: ...01AUG2020REV 1 03 WEIGHING INDICATOR F701 OPERATION MANUAL ...
Page 149: ......