197
Detailed Description of Services
Section 7-5
7-5-2
Multiple Write to Variable Area
This service writes data to the variable area.
Command
Response
1,2,3...
1.
Write Start Address
Refer to
Parameter List
on page 233.
2.
No. of Elements
Specify the number of elements to write. The specification range is from
H’0001 to H’007F (1 to 127 elements).
3.
Byte Count
Specify the number of bytes of write data. Each data element is two bytes,
so specify two times the number of elements.
4.
Response Codes
1
2
1
2
1
2
Slave
address
Function
code
Byte
count
Write start
address
Write data 1
No. of
elements
Write data n
CRC-16
Number of
elements
×
2 bytes
H'10
H'10
Slave
address
Function
code
Write start
address
No. of
elements
CRC-16
1
2
1
2
2
Function
code
Error
code
Error name
Cause
H’90
H’01
Function code error
A function code that is not supported was
specified.
H’02
Variable address error The write start address is not correct.
H’03
Variable data error
• The command is not long enough.
• The number of elements and number of
data items do not agree.
• The number of elements times two does
not agree with byte count.
• The write data exceeded the setting
range.
• An attempt was made to write to a read-
only variable type.
H’04
Operation error
• The command cannot be executed
because the operation command cannot
be received.
• The command cannot be executed dur-
ing backup.
• The command cannot be executed dur-
ing reset (including startup).
• The command cannot be executed in
tuning mode.
H’10
---
Normal end
The service was processed normally.
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: ......