![Omron H8GN Скачать руководство пользователя страница 21](http://html1.mh-extra.com/html/omron/h8gn/h8gn_owners-manual_742014021.webp)
2.3 Details of Services
H8GN
2-7
2.3 Details of Services
This service reads from variable areas.
MRC SRC
Variable
type
Read start
address
Bit
position
Number of
elements
0 1 0 1
0 0
2
2
2
4
2
4
MRC SRC
Response
code
Read data
(for number of elements)
0 1 0 1
2
2
4
0 or 8 or 16
Service request PDU
Service response PDU
(1) Variable type and read start address
For details on variable types and read start addresses, see Chapter 3
Communications Data."
(2) Bit position
Bit accessing is not supported on the H8GN. Fixed to 00".
(3) Number of elements
Number of
elements
Process
0000
Read is not carried out (the service response PDU is not
appended with read data), and processing ends in normal
completion."
0001 to 0002
Read is carried out, and processing ends in normalcompletion."
(4) Response code
At normal completion
Response code
Name
Description
0000
Normal completion
No errors were found.
At occurrence of error
Response code
Error name
Cause
1001
Command too long
The command is too long.
1002
Command too short
The command is too short.
1101
Area type error
The variable type is wrong.
1103
Start address outĆofĆ
range error
The read start address is
out of range.
110B
Response too long
The number of elements is
larger than 0002".
1100
Parameter error
The bit position is other than
00".
2203
Operation error
CPU or EEPROM error
JRead from
variable area