INST.No.INE-863B KR2S
【
Communication Interface
】
Instruction Manual
-34-
7-5-5
Writing of digital setting values (Changing of single coil status)
Function code : 05 [05H]
The digital setting value specified is put into the status (ON/OFF) specified.
Example) Execution of the marker text writing of the slave 2 (The digital setting value reference
number 20 of the slave 2 is turned ON.)
<RTU mode>
Master → Instrument
Instrument → Master (Normal)
Slave address
02H
Slave address
02H
Function code
05H
Function code
05H
Setting value No. (H)
00H
Setting value No. (H)
00H
Setting value No. (L)
13H
Setting value No. (L)
13H
Setting status (H)
FFH
Setting status (H)
FFH
Setting status (L)
00H
Setting status (L)
00H
CRC (L)
7DH
CRC (L)
7DH
CRC (H)
CCH
CRC (H)
CCH
<ASCII mode error check>
Error check: The CRC (L) and the CRC (H) parts are as follows.
LRC
E7H
LRC
E7H
*In case of a normal response, the response is same as a command message.
*The setting value number (Relative number) is “Reference number - 1”.
(Decimal 19 (= 20 - 1) → Hexadecimal 13H)
*Set “F00HH” at the execution. In the key lock and the record ON/OFF, set “0000H” to turn OFF and
“FF00H” to turn ON.
*When the slave address is set to 0, all slaves perform this command, but no slave responds.
Summary of Contents for KR2S
Page 2: ...INST No INE 863B KR2S Communication Interface Instruction Manual ...
Page 124: ...INST No INE 863B KR2S Communication Interface Instruction Manual ...
Page 125: ...INST No INE 863B KR2S Communication Interface Instruction Manual ...
Page 126: ...INST No INE 863B KR2S Communication Interface Instruction Manual ...
Page 127: ...INST No INE 863B KR2S Communication Interface Instruction Manual ...