Download AcuRev 2000

Transcript
4. Control Relay Output (Function Code 05)
Query
This query frame forces the relay status to ON or OFF. Data FF00H sets the relay as ON, and
data 0000H sets the relay as OFF. The relay will not be influenced by any other data input
The following is to query slave device 17 to set relay status as ON.
Addr
Fun
11H
05H
DO addr
hi
00H
DO addr
Lo
00H
Value
Hi
FFH
Value
lo
00H
CRC16
hi
8EH
CRC16
lo
AAH
Table 5-10 Control relay status query frame
Response
The correct response to this request is to send back the received data after the relay status
is changed.
Addr
Fun
11H
05H
Do addr
Hi
00H
Do addr
Lo
00H
Value
Hi
FFH
Value
Lo
00H
CRC16
Hi
8EH
CRC16
Lo
AAH
Table 5-11 Control relay status response frame
89