![background image](http://html1.mh-extra.com/html/omron/ej1-ethercat/ej1-ethercat_user-manual_742375221.webp)
196
Detailed Description of Services
Section 7-5
7-5
Detailed Description of Services
7-5-1
Multiple Read from Variable Area
This service reads data from the variable area.
Command
Response
1.
Read Start Address
Refer to
Parameter List
on page 233.
2.
No. of Elements
Specify the number of elements to read. The specification range is from
H’0001 to H’0050 (1 to 80 elements).
3.
Byte Count
The number of bytes of data that was read is returned.
4.
Response Codes
Command/Response Example
The following command reads the process value of channel 1.
Slave address: H’01
Read start address: H’0200
Read data: H’03E8 (when the process value is 100.0
°
C)
Command: 01 03 0200 0001 85B2 (CRC-16)
Response: 01 03 02 03E8 B8FA (CRC-16)
1
2
Read start
address
2
1
2
No. of
elements
H'03
Slave
address
Function
code
CRC-16
Function
code
Error
code
Error name
Cause
H’83
H’01
Function code error
A function code that is not supported was
specified.
H’02
Variable address error The read start address is not correct.
H’03
Variable data error
• The command is too long.
• The command is not long enough.
• The number of elements has exceeded
the maximum limit.
H’03
---
Normal end
The service was processed normally.
Slave
address
Function
code
Byte
count
Read data 1
Number of
elements
×
2 bytes
1
1
1
2
Read data n
CRC-16
H'03
Summary of Contents for EJ1 EtherCAT
Page 2: ...EJ1 Modular Temperature Controllers User s Manual Revised July 2008 ...
Page 3: ...iv ...
Page 19: ...xx ...
Page 213: ...188 Detailed Description of Services Section 6 4 ...
Page 227: ...202 Detailed Description of Services Section 7 5 ...
Page 303: ...278 Index ...
Page 305: ......