7
Motion Commands
7.2.16
Read SERVOPACK Parameter (PRM_RD)
7-68
7.2.16 Read SERVOPACK Parameter (PRM_RD)
The PRM_RD command reads the setting of the SERVOPACK parameter with the specified parame-
ter number and parameter size. It stores the parameter number in Servo Constant Number (monitor-
ing parameter IW
36) and the setting in Servo User Constant (monitoring parameter IL
38).
( 1 ) Executing/Operating Procedure
1.
Check to see if all the following conditions are satisfied.
2.
Set OW
08 to 17 to execute the PRM_RD motion command.
The PRM_RD command will store the specified parameter number in the Servo Constant
Number (monitoring parameter IW
36) and the parameter setting in Servo User Constant
(monitoring parameter IL
38).
IW
08 will be 17 during command execution.
IB
090 will turn ON during the command processing and will turn OFF when the command
processing has been completed.
3.
Set OW
08 to 0 to execute the NOP motion command and then complete the
reading operation.
( 2 ) Holding and Aborting
The Command Pause bit (OB
090) and the Command Abort bit (OB
091) cannot be used.
( 3 ) Related Parameters
[ a ] Setting Parameters
No. Execution Conditions Confirmation Method
1 There are no alarms.
Both IL
02 and IL
04 are 0.
2 Motion command execution has been completed.
IW
08 is 0 and IB
090 is OFF.
Parameter Name Setting
OW
08
Motion Command
The SERVOPACK parameter is read when this parameter is set to 17.
OB
090
Command Pause
This parameter is ignored for PRM_RD command.
OB
091
Command Abort
This parameter is ignored for PRM_RD command.
OW
50
Servo Constant Number
Set the number of the SERVOPACK parameter to be read.
OW
51
Servo Constant Number
Size
Set the size of the SERVOPACK parameter to be read.
Set the size as the number of words.
Example: For 4 bytes, set "2."