100
Variable Area Operations Section 6-3
■ Response Codes
Write Variable Area This service writes data to a variable area.
■ Service Request PDU
■ Service Response PDU
(1) Variable Type and Write Start Address
The definitions are different for each product.
(2) Bit Position
The S8AS does not support bit access. Fixed at “00.”
(3) Number of Elements
(4) Response Codes
Note The “command too long” error does not occur with the Write Variable Area
command.
If data is written up to the number of elements specified in the service request
PDU, the error is processed as a number of elements/data mismatch error.
Response
code
Error name Cause Error
priority
1001 Command too long The command is too long. 1
1002 Command too short The command is too short. 2
1101 Area type error The variable type is incorrect. 3
110B Response too long The number of elements is larger
than “0038.”
4
1100 Parameter error The bit position is not “00.” 5
0000 Normal completion No error None
MRC SRC
0 1 0 2 00
2 2 2 4 2 4
Variable
Type
Write Start
Address
Bit
Position
Number of
Elements
Write Data
(for number of elements)
0 to 224
MRC SRC
0 1 0 2
2 2 4
Response Code
Number of
elements
Processing
0000 The write operation is not performed (does not append write
data to the service request PDU) and processing ends in “nor-
mal completion.”
0001 to 0038 The write operation is performed and processing ends in “nor-
mal completion” (hexadecimal display).
Response
code
Error name Cause Error
priority
1002 Command too short The command is too short. 1
1101 Area type error The variable type is incorrect. 2
1003 Number of ele-
ments/data mis-
match
The amount of data does not match
the number of elements.
3
1100 Parameter error The bit position is not “00.” The write
data is out of the setting range.
4
0000 Normal completion No error None