Write To Variable Area - Omron E5ZN Operation Manual

Hide thumbs Also See for E5ZN:
Table of Contents

Advertisement

Write to Variable Area

5-6
Write to Variable Area
Command
Response
70
This service writes data to the variable area.
Command Text
Variable
Write start
MRC
SRC
type
address
"01"
"02"
2
2
2
Item
MRC/SRC
Specify the FINS-mini command for writing to a variable area.
Area type
Set this item to "C1," "C3," "C5," or "C7."
Write start address
Specify the write start address at this field.
Bit position
Not used for E5ZN. Always set this item to "00."
No. of elements
Set this item to the quantity of variables that are to be written
(up to 6). Not required for multiple writes.
Data to be written
Place the desired data in this field.
Response Text
Response code
MRC
SRC
(MRES/SRES)
"01"
"02"
2
2
4
Item
MRC/SRC
This field contains the same value ("01"/"02") as specified in
the command text.
Response code
This field contains the result of execution of the command.
Response Codes
Response
Code name
code
"1002"
Command length short
"1101"
Area type error
"1003"
Data quantity mismatch
error
"1100"
Parameter error
"3003"
Read only error
"2203"
Operation error
"0000"
Normal completion
Bit
No. of
position
elements
"00"
4
2
4 bytes
Description
Description
The command is too short.
The specified variable type is invalid.
A mismatch between the number of ele-
ments and the quantity of variables occurs.
The bit position is set to a value other than
"00."
The value of data to be written is outside the
valid range.
An attempt is made to write data to an
address of variable type C0.
Communications writing is disabled.
An attempt is made to write data from setting
area 0 to setting area 1.
An attempt is made to write setting data at a
level other than protect level.
Executing AT.
An error occurs in EEPROM.
The command was successfully executed.
Section 5-6
Writing data
(No. of elements × 8) bytes
Description

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents