3.1 Common Commands
3.1.9 Read Memory Command (MEM_RD: 1Dh)
3-20
3.1.9
Read Memory Command (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
Classification
Common
command
Asynchronous
command
Processing Time
Within 200 ms
Subcommand
Cannot be used
Byte
MEM_RD
Description
Command
Response
0
1Dh
1Dh
•
The MEM_RD command reads the data stored in virtual
memory by specifying the initial address and the data
size for reading.
•
Confirm the completion of the command execution by
checking that RCMD = MEM_RD (= 1Dh) and
CMD_STAT.CMDRDY = 1, and also checking the setting
for ADDRESS, SIZE and MODE/DATA_TYPE.
In the following cases, an alarm will occur. Do not read
DATA in the response in these cases because the DATA
value will be indefinite.
•
When the ADDRESS data is invalid:
CMD_ALM = 9h (A.94A)
•
When the MODE/DATA_TYPE data is invalid:
CMD_ALM = 9h (A.94B)
•
When the SIZE data is invalid: CMD_ALM = 9h (A.94D)
•
While editing using SigmaWin or digital operator:
CMD_ALM = Ah (A.95A)
Refer to the following section for details.
Method to Access Virtual Memory Areas
1
WDT
RWDT
2
CMD_CTRL
CMD_STAT
3
4
Reserved
Reserved
5
MODE/DATA_-
TYPE
MODE/DATA_-
TYPE
6
SIZE
SIZE
7
8
ADDRESS
ADDRESS
9
10
11
12
Reserved
DATA
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
bit7
bit6
bit5
bit4
bit3
bit2
bit1
bit0
MODE
DATA_TYPE