![background image](http://html.mh-extra.com/html/omron/ej1g/ej1g_user-manual_744374154.webp)
133
Detailed Description of Services
Section 6-4
6-4-2
Write to Variable Area
This service writes to a variable area.
■
Command
Service Request PDU
■
Response
Service Response PDU
1.
Variable Type and Write Start Address
Refer to Parameter List on page 175.
2.
Bit Position
The EJ1G does not support bit access. Fixed to 00.
3.
No. of Elements
Note
The following values apply for the DA/9A variable types.
4.
Response Codes
MRC
2
2
0
1
4
SRC
2
0
2
2
0
0
4
Variable
type
Write start
address
Bit
position
No. of elements
Write data
(for No. of elements)
No. of elements
×
8 or 4
Write data length
No. of elements
For double-word (8-digit) variable type
39 max. (0027H)
For word (4-digit) variable type
79 max. (004FH)
Write data length
No. of elements
For double-word (8-digit) variable type
24 max. (0018H)
For word (4-digit) variable type
48 max. (0030H)
Response code
Error name
Cause
1002
Command too short
The command is not long enough.
1101
Area type error
The corresponding variable type does not exist.
1003
Number of elements/
data mismatch
The number of data does not match the number of
elements.
1100
Parameter error
Bit position is not 00.Write data is out of setting
range.
2201
Operation error (2201) The command cannot be executed during operation.
3003
Read-only error
An attempt was made to write to a read-only vari-
able.
7011
Operation error (7011) The command cannot be executed due to a device
error.
7013
Operation error (7013) The command cannot be executed because the
operation command cannot be received.
7014
Operation error (7014) The command cannot be executed during backup.
7015
Operation error (7015) The command cannot be executed during reset
(including startup).
7041
Operation error (7041) The command cannot be executed in manual opera-
tion mode.
7042
Operation error (7042) The command cannot be executed in tuning mode.
0000
Normal completion
Processing was completed normally.
MRC
2
0
1
4
SRC
2
0
2
Response
code
Summary of Contents for EJ1G
Page 3: ...iv ...
Page 17: ...xviii ...
Page 21: ...xxii ...
Page 53: ...32 Unit Configuration Examples Section 2 4 ...
Page 69: ...48 Changing SPs During Operation Section 3 3 ...
Page 81: ...60 Other Functions Section 4 5 ...
Page 145: ...124 Other HFU Functions Section 5 7 ...
Page 167: ...146 Detailed Description of Services Section 6 4 ...
Page 229: ...208 Parameters That Can Be Allocated for Programless Communications Appendix ...
Page 237: ......