E-19
5.4 Framing of Query and Response
<Read Holding Registers(Function code : 03H)>
Query framing
**H
03H
Hi
Lo
Hi
Lo
Lo
Hi
Slave
address
Function
Code
Starting address
quantity of registers
CRC
Slave address
:1~7FH
Starting address
:2 bytes
Quantity of registers :Maximum 125
CRC
:2 bytes
Response framing (Maximum 255 bytes)
**H
03H
Byte
count
Hi
Lo
Hi
Lo
Lo
Hi
Slave
address
Function
Code
data 1
data 2
CRC
Byte count of response data
:maximum 250
<Example> In case of monitoring from instantaneous current in Phase 1 (0300H) to apparent power (0326H).
Slave address :01H
Query framing
01H
03H
03H
00H
00H
27H
Lo
Hi
Slave
address
Function
Code
Starting address
quantity of registers
CRC
Response framing
01H
03H
4EH
H
L
H
L
H
L
Lo
Hi
Slave
Address
Function
Code
Byte count
I1
I2
Apparent
Power
CRC
<Preset Multiple Registers(Function code :10H)>
Query framing (Maximum 255 bytes)
**H
10H
Hi
Lo
Hi
Lo
Hi
Lo
Hi
Lo
Lo
Hi
Slave
address
Function
Code
Starting
address
quantity of
registers
Byte
count
data 1
data 2
CRC
Slave address
:0~7FH,0 means broadcasting.
Starting address
:2 bytes
quantity of registers :Maximum 123
Byte count
:Maximum 246
Preset data
:Minimum 2 bytes
CRC
:2 bytes
Response framing (If the slave address is 0 (broadcast), a response is not made.)
**H
10H
Hi
Lo
Hi
Lo
Lo
Hi
Slave
address
Function
Code
starting address
quantity of registers
CRC
<Example> In case of setting from Date and time (YYMM) (20EH) to Contact output(211H).
Slave address :01H
Query framing
01H
10H
02H 0EH 00H 04H
08H
H
L
H
L
H
L
H
L
Lo
Hi
Slave
address
Function
Code
starting
address
quantity of
registers
Byte
count
YY
MM
DD
HH
MM
SS
Contact
Output
CRC
*BCD code
Response framing
01H
10H
02H
0EH
00H
04H
Lo
Hi
Slave
address
Function
Code
starting address
quantity of registers
CRC
Summary of Contents for AE1000-SW
Page 34: ...E 34 7 SERVICE NETWORK ...
Page 35: ......