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
Содержание EJ1 EtherCAT
Страница 2: ...EJ1 Modular Temperature Controllers User s Manual Revised July 2008 ...
Страница 3: ...iv ...
Страница 19: ...xx ...
Страница 213: ...188 Detailed Description of Services Section 6 4 ...
Страница 227: ...202 Detailed Description of Services Section 7 5 ...
Страница 251: ...226 Determining the Error from the Current Situation for Heater Burnout Alarm Errors Section 8 8 ...
Страница 303: ...278 Index ...
Страница 305: ......