Write To Variable Area - Omron K3GN - V1.04 User Manual

1/32 din digital panel meter
Table of Contents

Advertisement

CHAPTER 7 COMMUNICATIONS

7.6 Write to Variable Area

Command
Response
Response codes
Response
code
"1002"
Command length short
"1101"
Area type error
"1103"
Start address error
"1104"
End address error
Data quantity mismatch
"1003"
error
"1100"
Parameter error
"3003"
Read only error
"2203"
Operation error
"0000"
Normal completion
104
This service writes data to the variable area.
Command text
Variable
Write start
type
MRC
SRC
"01"
"02"
2
2
2
Item
MRC/SRC
Area type
Write start address
Bit position
No. of elements
Data to be written
Response text
Response code
(MRES/SRES)
MRC
SRC
"01"
"02"
2
2
4
Item
MRC/SRC
Response code
Code name
The command is too short.
The specified variable type is invalid.
The specified start address is outside the valid range.
The specified start address is outside the valid range.
A mismatch between the No. of elements 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.
Communication writing is disabled.
An attempt is made to write data from setting area 0 to setting
area 1.
An attempt is made to write a protect level parameter at a level
other than protect level.
An attempt is made to write data to an address of variable type
C3 at the calibration level.
An error occurs in EEPROM.
The command was successfully executed.
Bit
address
position
No. of elements
"00"
4
2
4 bytes
Description
Set these items to "01"/"02" ("Write to Variable Area"
service).
Set this item to one among "C1" thru "C3".
Specify the write start address at this field.
Not used for K3GN. Always set this item to "00".
Set this item to the quantity of variables that are to be
written (up to 10).
Place the desired data in this field.
Description
This field contains the same value ("01"/"02") as
specified in the command text.
This field contains the result of execution of the
command.
Description
Data to be written
(No. of elements x 8) bytes

Advertisement

Table of Contents
loading

This manual is also suitable for:

K3gn

Table of Contents