4.3.2
PRM_RD (Read SERVOPACK Parameter)
The PRM_RD subcommand reads the set value from the SERVOPACK RAM of the SERVO-
PACK parameter that corresponds to the specified parameter number and parameter size. The
read value is then stored in the IW37 (Auxiliary SERVOPACK Parameter Number) and
IL3A (Auxiliary SERVOPACK Parameter Read Data) monitor parameters.
Two types of SERVOPACK parameters can be read with this command: vendor-specific
parameters, which are vendor-specific specifications for the particular Servo product used, and
Servo common parameters, which are defined in the MECHATROLINK-III communications
specifications. Set bit 8 (SERVOPACK Parameter Access Selection) in the OW09 setting
parameter to select which type of SERVOPACK parameter to read.
Execution and Operating Procedures
1.
Make sure that the following condition is met.
No.
1
*
This subcommand cannot be executed until the execution of other motion subcommands is completed.
2.
Set the following setting parameters.
• OW09, Bit 8 (SERVOPACK Parameter Access Selection)
• OW54 (Auxiliary SERVOPACK Parameter Number)
• OW55 (Auxiliary SERVOPACK Parameter Size)
3.
Set the OW0A setting parameter (Motion Subcommands) to 1 to execute the
PRM_RD motion subcommand.
The PRM_RD command reads the SERVOPACK parameter and stores the contents in the monitor
parameters.
The IW0A monitor parameter (Motion Subcommand Response Code) is 1 during execution of
this command.
During command processing, bit 0 (Command Execution Flag) in the IW0B monitor parameter
will change to 1 (Processing). When processing is completed, this bit will change to 0 (Completed).
4.
Set OW0A to 0 to execute the NOP motion subcommand.
This concludes the process for reading SERVOPACK parameters.
Related Parameters
The parameters that are related to this subcommand are listed in the following table.
Setting Parameters
Register
Address
OW
09
Bit 8
OW
0A
OW
54
OW
55
Execution Condition
Execution of motion subcommands must be
completed.*
Name
Use this bit to select the parameter to read.
SERVOPACK Parame-
0: Vendor-specific parameters
ter Access Selection
1: Common parameters
Motion Subcommands
Set this parameter to 1 (PRM_RD) to read a SERVOPACK parameter.
Auxiliary SERVOPACK
Set the number of the SERVOPACK parameter to read.
Parameter Number
Set the size of the SERVOPACK parameter to read.
Set the size in words.
Auxiliary SERVOPACK
Setting Precautions
Parameter Size
The SERVOPACK user manual lists the sizes in bytes, so those val-
ues must be converted to words.
4.3 Motion Subcommand Details
4.3.2 PRM_RD (Read SERVOPACK Parameter)
Confirmation Method
IW0A must be 0 and bit 0 in
IW0B must be 0.
Setting Details
4
4-125