4.2 Motion Command Details
4.2.28 MEM_RD (Read Memory)
4
Motion Contr
ol Pr
ogram Command
s
and In
s
truction
s
4-113
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 IL
38 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.
*
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.
•
OW
51 (SERVOPACK Parameter Size)
•
OL
58 (Address Setting)
3.
Set the OW
08 setting parameter (Motion Commands) to 35 to execute the
MEM_RD motion command.
4.
Set OW
08 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 OW
09 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
No.
Execution Condition
Confirmation Method
1
Must be ready for motion operation.
Bit 0 in IW
00 must be 1.
2
Motion command execution for the target axis
must be completed.
*
IW
08 must be 0 and bit 0 in
IW
09 must be 0.
Make any necessary change to OW
51 and OL
58 before the MEM_RD com-
mand is executed, or during the same scan that OW
08 is set to 35. Do not make
these changes during execution of the MEM_RD command.
Register
Address
Name
Setting Details
OW
08
Motion Commands
Set this parameter to 35 (MEM_RD) to read from memory.
OW
09
Bit 0
Hold Command
This bit is ignored for the MEM_RD command.
OW
09
Bit 1
Cancel Command
This bit is ignored for the MEM_RD command.
OW
51
SERVOPACK Parame-
ter Size
Set the size of the data to read from the specified address in words.
The valid settings for this parameter are 1 and 2.
OL
58
Address Setting
Set the first address to read in the SERVOPACK memory.
The valid address range depends on the product specifications of
the SERVOPACK. Refer to the relevant SERVOPACK manual for
details.
Information
Summary of Contents for SVC
Page 34: ...2 6 4 Reference Output Timing 2 20 2 6 5 Precautions When Combining with Other Modules 2 21...
Page 383: ...5 2 Absolute Encoders 5 2 6 Position Management Method for Each Machine Operation Type 5 42...
Page 387: ...5 2 Absolute Encoders 5 2 6 Position Management Method for Each Machine Operation Type 5 46...