45
7
OPTION
45
OP
TION
Chapter
7
Example) Switch the hold/judge ON (address 00001) to digital zero reset (address 00004)
ON/OFF.
Keep in mind that the relative address for writing in the hold/judge ON is 0x00.
The example shows rewriting of the F331 ON (1)/OFF (0) as follows:
Fill unused bits with "0".
* To judge coil execution, judge as complete with a normal response.
* Due to the nature of the commands, simultaneous execution in combination with the
following addresses should be avoided.
In this case, sequential execution results but correct operation may not be performed.
- Addresses 00001 and 00002
- Addresses 00003 and 00004
- Addresses from 00005 to 00007
16 (0x10) Write multiple registers
On slave holding registers, data is changed by the specified number from the specified address.
If broadcast (0) is specified, all slave holding registers of the same address are rewritten.
To request, specify the register address and the number of registers and data to change.
The slave transmits the contents of one register as expanded in double bytes.
* N = Number of registers
[Request]
Function
0F
[Response]
Function
0F
Start address; higher
00
Start address; higher
00
Start address; lower
00
Start address; lower
00
Number of coils; higher
00
Number of coils; higher
00
Number of coils; lower
04
Number of coils; lower
04
Number of data bytes
01
(Hold/judge ON -
digital zero reset)
05
Coil
00008
00007
00006
00005
Digital
zero
reset
Digital
zero
Hold/
judge
OFF
Hold/
judge
ON
Bit
0
0
0
0
0
1
0
1
[Request]
Function
1
byte
0x10
Start address
2
byte
s
0x0000 - 0xFFFF
Number of registers
2
byte
s
0x0001 - 0x0078 (120)
Number of bytes
1
byte
2×N *
Change data
N×2
byte
s
[Response]
Function
1
byte
0x10
Start address
2
byte
s
0x0000 - 0xFFFF
Number of registers
2
byte
s
0x0001 - 0x007B (123)
[Error response]
Error code
1
byte
0x90 (fu 0x80)
Exception code
1
byte
01 or 02 or 03
0x05
Summary of Contents for F331
Page 1: ...OPERATION MANUAL 26MAY2014REV 1 02 DIGITAL INDICATOR F331 ...
Page 79: ...70 8 SPECIFICATIONS 70 SPECIFICATIONS Chapter 8 8 2 Dimensions Unit mm ...
Page 82: ...73 8 SPECIFICATIONS 73 SPECIFICATIONS Chapter 8 When the RS 485 option is equipped Unit mm ...
Page 83: ...74 8 SPECIFICATIONS 74 SPECIFICATIONS Chapter 8 When the RS 232C option is equipped Unit mm ...