
30
YASKAWA
SIEP C730600 0NA MECHATROLINK-4 Technical Manual
MEM_RD Command
Byte
Command
Description
4
Reserved (0)
Not used
5
MODE/DATA_TYPE
Specify the memory type and data type.
Refer to
for more information.
6
SIZE
Specify the number of readings. For example, if DATA_TYPE = 2 (2 bytes) and SIZE = 1, 2 bytes of data are read.
The specifiable range depends on the DATA_TYPE.
•
When DATA_TYPE = 1: 1 to 20
•
When DATA_TYPE = 2: 1 to 10
•
When DATA_TYPE = 3: 1 to 5
7
8
ADDRESS
Specify the address of virtual memory.
Refer to
for more information.
9
10
11
12
Reserved (0)
Not used
13
14
・
・
63
MEM_RD Response
Byte
Response
Description
0
MEM_RD (1D (Hex.))
Command code
1
RWDT
Watchdog data
2
CMD_STAT
Refer to page
3
4
Reserved (0)
Not used
5
MODE/DATA_TYPE
The value set in the command.
6
SIZE
The value set in the command.
7
8
ADDRESS
The value set in the command.
9
10
11
12
DATA
The data read from virtual memory is stored.
13
14
・
・
63
Table 9.6 MODE/DATA_TYPE Bits
MODE
DATA_TYPE
bit7
bit6
bit5
bit4
bit3
bit2
bit1
bit0
1: Volatile memory
1: Byte type (1 byte)
2: Short type (2 bytes)
3: Long type (4 bytes)