4.2.29
MEM_WR (Write Memory)
The MEM_WR command writes the specified setting data to SERVOPACK memory at the
specified memory address and size.
Whether data can be written to memory depends on the product specifications of the SERVO-
PACK. Refer to the relevant SERVOPACK manual for details.
Execution and Operating Procedures
1.
Make sure that all of the following conditions are met.
No.
1
2
*
Before you change to this command during the execution of another command, you must check whether
the command can be changed and how operation changes when the command is changed. Refer to the
following section for details on changing from another command.
4.4 Changing the Command on page 4-137
2.
Set the following setting parameters.
• OW51 (SERVOPACK Parameter Size)
• OL52 (SERVOPACK Parameter Set Value)
• OL58 (Address Setting)
Information
3.
Set the OW08 setting parameter (Motion Commands) to 36 to execute the
MEM_WR motion command.
4.
Set OW08 to 0 to execute the NOP motion command.
This concludes the write memory operation.
Holding and Canceling Commands
Bit 0 (Hold Command) and bit 1 (Cancel Command) in the OW09 setting parameter can-
not be used to stop the axis.
Related Parameters
The parameters that are related to this command are listed in the following table.
Setting Parameters
Register
Address
OW
08
OW
09
Bit 0
OW
09
Bit 1
OW
51
OL
52
OL
58
Execution Condition
Must be ready for motion operation.
Motion command execution for the target axis
must be completed.*
Make any necessary change to OW51, OL52, and OL58 before the
MEM_WR command is executed, or during the same scan that OW08 is set to 36.
Do not make these changes during execution of the MEM_WR command.
Name
Motion Commands
Set this parameter to 36 (MEM_WR) to write to memory.
Hold Command
This bit is ignored for the MEM_WR command.
Cancel Command
This bit is ignored for the MEM_WR command.
SERVOPACK Parame-
Set the size of the data to write to the specified address in words.
ter Size
The valid settings for this parameter are 1 and 2.
SERVOPACK Parame-
Set the data to write to the specified address.
ter Set Value
Set the first address to write in the SERVOPACK memory.
The valid address range depends on the product specifications of
Address Setting
the SERVOPACK. Refer to the relevant SERVOPACK manual for
details.
4.2 Motion Command Details
4.2.29 MEM_WR (Write Memory)
Confirmation Method
Bit 0 in IW00 must be 1.
IW08 must be 0 and bit 0 in
IW09 must be 0.
Setting Details
4
4-115