4.2 Motion Command Details
4.2.30 PMEM_RD (Read Non-volatile Memory)
4
Motion Control Program Commands and Instructions
4-117
4.2.30
PMEM_RD (Read Non-volatile Memory)
The PMEM_RD command reads the data in SERVOPACK non-volatile memory at the specified
memory address and size. The read data is then stored in the IL38 monitor parameter
(SERVOPACK Parameter Read Data).
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.
• OW51 (SERVOPACK Parameter Size)
• OL58 (Address Setting)
3.
Set the OW08 setting parameter (Motion Commands) to 37 to execute the
PMEM_RD motion command.
4.
Set OW08 to 0 to execute the NOP motion command.
This concludes the read from non-volatile 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
Whether data can be read from non-volatile memory depends on the product specifications
of the SERVOPACK. Refer to the relevant SERVOPACK manual for details.
No. Execution Condition Confirmation Method
1 Must be ready for motion operation. Bit 0 in IW00 must be 1.
2
Motion command execution for the target axis
must be completed.*
IW08 must be 0 and bit 0 in
IW09 must be 0.
Make any necessary change to OW51 and OL58 before the PMEM_RD
command is executed, or during the same scan that OW08 is set to 37. Do not
make these changes during execution of the PMEM_RD command.
Register
Address
Name Setting Details
OW
08 Motion Commands
Set this parameter to 37 (PMEM_RD) to read from non-volatile mem-
ory.
OW
09
Bit 0
Hold Command This bit is ignored for the PMEM_RD command.
OW
09
Bit 1
Cancel Command This bit is ignored for the PMEM_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