4.2.28
MEM_RD (Read Memory)
The MEM_RD command reads the data in SERVOPACK memory at the specified memory
address and size. The read data is then stored in the IL38 monitor parameter (SERVO-
PACK Parameter Read Data). Whether data can be read from memory depends on the product
specifications of the SERVOPACK. 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)
• OL58 (Address Setting)
Information
3.
Set the OW08 setting parameter (Motion Commands) to 35 to execute the
MEM_RD motion command.
4.
Set OW08 to 0 to execute the NOP motion command.
This concludes the read 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
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 and OL58 before the MEM_RD com-
mand is executed, or during the same scan that OW08 is set to 35. Do not make
these changes during execution of the MEM_RD command.
Name
Motion Commands
Set this parameter to 35 (MEM_RD) to read from memory.
Hold Command
This bit is ignored for the MEM_RD command.
Cancel Command
This bit is ignored for the MEM_RD command.
SERVOPACK Parame-
Set the size of the data to read from the specified address in words.
ter Size
The valid settings for this parameter are 1 and 2.
Set the first address to read 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.28 MEM_RD (Read 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-113