111
Details of Services Section 7-3
■ Service Response PDU
(1) Variable Type and Write Start Address
The definitions are different for each product.
(2) Bit Position
The S8M does not support bit access. Fixed to “00.”
(3) Number of Elements
3. 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,
the error is processed as a number of elements/data mismatch error.
If the Write Start Address is outside of the variable area, the write operation
will not be performed, but the processing will end in “normal completion.” The
same thing will happen if the Write End Address is outside of the variable
area. (See the following examples.)
• In this case, the number of elements (2) is within the specified range, but
the Write Start Address setting is incorrect.
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 000A 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
← Last address
Address Variable area
Write Start Address
→
Write End Address
→
* * * *
* * * *
* * * *
* * * *