Write Memory Subcommand (Mem_Wr: 1Eh) - YASKAWA S-7 Series Command Manual

Mechatrolink-iii ac servo drive communications standard servo profile
Hide thumbs Also See for S-7 Series:
Table of Contents

Advertisement

4.6

Write Memory Subcommand (MEM_WR: 1Eh)

Data Format
Phases in which the
Command can be Executed
Processing Time
Byte
Command
32
33
34
SUB_CTRL
35
36
Reserved (0)
MODE/DATA_-
37
38
39
40
41
ADDRESS
42
43
44
45
46
47
Command Parameters
The details of MODE/DATA_TYPE are described below.
bit7
MODE = 1: Volatile memory, 2: Non-volatile memory (Non-volatile memory can be selected only
for common parameters)
DATA_TYPE = 1: Byte, 2: Short, 3: Long, 4: Not supported
SIZE: Data size for writing (of type specified by DATA_TYPE)
ADDRESS: Initial address for writing
DATA: Data to be written
2, 3
Refer to 3.1.10
Command
Parameters
Executing the
Adjustment Oper-
ation on page 3-
22.
MEM_WR
Response
1Eh
1Eh
SUB_STAT
Reserved (0)
MODE/DATA_-
TYPE
TYPE
SIZE
SIZE
ADDRESS
DATA
DATA
bit6
bit5
bit4
MODE

4.6 Write Memory Subcommand (MEM_WR: 1Eh)

Command Clas-
sification
Common
command
Subcommand
Description
• The MEM_WR subcommand writes the data in virtual
memory by specifying the initial address, the data size
and the data for writing.
• This subcommand provides an adjustment function
equivalent to that of the ADJ command of the MECHA-
TROLINK-II compatible profile. For the operation proce-
dure, refer to the MEM_WR main command.
• Confirm the completion of the subcommand execution
by checking that RSUBCMD = MEM_WR (= 1Eh) and
SUB_STAT.SUBCMDRDY = 1, and also checking the
setting for ADDRESS, SIZE and DATA.
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)
• When the conditions for executing the adjustment oper-
ation are not satisfied: SUBCMD_ALM = Ah (A.95A)
• While editing using SigmaWin or digital operator: SUB-
CMD_ALM = Ah (A.95A)
Refer to the following section for details.
Method to Access Virtual Memory Areas on page 3-23.
bit3
bit2
DATA_TYPE
Asynchronous
command
bit1
bit0
4
4-7

Advertisement

Table of Contents
loading

This manual is also suitable for:

S-7w sgd7w-****20 seriesS-7s sgd7s-****20 series

Table of Contents