4.5 Read Memory Subcommand (MEM_RD: 1Dh)
4-6
4.5
Read Memory Subcommand (MEM_RD: 1Dh)
Data Format
Command Parameters
The details of MODE/DATA_TYPE are described below.
MODE = 1: Volatile memory, 2: Not supported
DATA_TYPE = 1: Byte, 2: Short, 3: Long, 4: Not supported
SIZE: Data size for reading (of type specified by DATA_TYPE)
ADDRESS: Initial address for reading
DATA: Read data
Phases in which the
Command can be Executed
2, 3
Command Clas-
sification
Common
command
Asynchronous
command
Processing Time
Within 200 ms
Subcommand
Byte
MEM_RD
Description
Command
Response
32
1Dh
1Dh
•
The MEM_RD subcommand reads the data stored in
virtual memory by specifying the initial address and the
data size for reading.
•
Confirm the completion of the subcommand execution
by checking that RSUBCMD = MEM_RD (= 1Dh) and
SUB_STAT.SUBCMDRDY = 1, and also checking the
setting for ADDRESS and SIZE.
In the following cases, an alarm will occur and the sub-
command will not be executed.
•
When the ADDRESS data is invalid:
SUBCMD_ALM = 9h (A.94A)
•
When the MODE/DATA_TYPE data is invalid:
SUBCMD_ALM = 9h(A.94B)
•
When the SIZE data is invalid:
SUBCMD_ALM = 9h (A.94D)
•
While editing using SigmaWin or digital operator:
SUBCMD_ALM = Ah (A.95A)
Refer to the following section for details.
Method to Access Virtual Memory Areas
33
SUB_CTRL
SUB_STAT
34
35
36
Reserved (0)
Reserved (0)
37
MODE/DATA_-
TYPE
MODE/DATA_-
TYPE
38
SIZE
SIZE
39
40
ADDRESS
ADDRESS
41
42
43
44
Reserved
DATA
45
46
47
bit7
bit6
bit5
bit4
bit3
bit2
bit1
bit0
MODE
DATA_TYPE