Omron S8AS User Manual page 118

Smart power supply
Table of Contents

Advertisement

Variable Area Operations
Write Variable Area
MRC
0
1
2
100
Response Codes
Response
code
1001
Command too long
1002
Command too short
1101
Area type error
110B
Response too long
1100
Parameter error
0000
Normal completion
This service writes data to a variable area.
Service Request PDU
SRC
Write Start
Variable
Address
Type
0
2
2
2
Service Response PDU
MRC
SRC
0
1
0
2
2
2
(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
Number of
elements
0000
0001 to 0038
(4) Response Codes
Response
code
1002
Command too short The command is too short.
1101
Area type error
1003
Number of ele-
ments/data mis-
match
1100
Parameter error
0000
Normal completion
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.
Error name
The command is too long.
The command is too short.
The variable type is incorrect.
The number of elements is larger
than "0038."
The bit position is not "00."
No error
Bit
Number of
Position
Elements
0
0
4
2
4
Response Code
4
The write operation is not performed (does not append write
data to the service request PDU) and processing ends in "nor-
mal completion."
The write operation is performed and processing ends in "nor-
mal completion" (hexadecimal display).
Error name
The variable type is incorrect.
The amount of data does not match
the number of elements.
The bit position is not "00." The write
data is out of the setting range.
No error
Section 6-3
Cause
Write Data
(for number of elements)
0 to 224
Processing
Cause
1
2
3
4
None
Error
priority
1
2
3
4
5
None
Error
priority

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents