Write To Variable Area - Omron EJ1 User Manual

Modular temperature controller
Hide thumbs Also See for EJ1:
Table of Contents

Advertisement

Detailed Description of Services
6-4-2

Write to Variable Area

This service writes to a variable area.
Command
Service Request PDU
MRC
SRC
Variable
Write start
type
address
0
1
0
2
2
2
2
Response
Service Response PDU
Response
MRC
SRC
code
0
1
0
2
2
2
4
1. Variable Type and Write Start Address
Refer to Parameter List on page 193.
2. Bit Position
The EJ1 does not support bit access. Fixed to 00.
3. No. of Elements
Write data length
For double-word (8-digit) variable type
For word (4-digit) variable type
Note The following values apply for the DA/9A variable types.
Write data length
For double-word (8-digit) variable type
For word (4-digit) variable type
4. Response Codes
Response code
Error name
1002
Command too short
1101
Area type error
1003
Number of elements/
data mismatch
1100
Parameter error
2201
Operation error (2201) The command cannot be executed during operation.
3003
Read-only error
7011
Operation error (7011) The command cannot be executed due to a device
7013
Operation error (7013) The command cannot be executed because the
7014
Operation error (7014) The command cannot be executed during backup.
7015
Operation error (7015) The command cannot be executed during reset
7041
Operation error (7041) The command cannot be executed in manual opera-
7042
Operation error (7042) The command cannot be executed in tuning mode.
0000
Normal completion
Bit
No. of elements
position
0
0
4
2
4
39 max. (0027H)
79 max. (004FH)
24 max. (0018H)
48 max. (0030H)
The command is not long enough.
The corresponding variable type does not exist.
The number of data does not match the number of
elements.
Bit position is not 00.Write data is out of setting
range.
An attempt was made to write to a read-only vari-
able.
error.
operation command cannot be received.
(including startup).
tion mode.
Processing was completed normally.
Section 6-4
Write data
(for No. of elements)
No. of elements × 8 or 4
No. of elements
No. of elements
Cause
149

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents