7
Motion Commands
7.2.17
Write SERVOPACK Parameter (PRM_WR)
7-70
7.2.17 Write SERVOPACK Parameter (PRM_WR)
The PRM_WR command writes the setting value the relevant SERVOPACK parameter using the
specified SERVOPACK parameter number, parameter size, and setting data.
( 1 ) Executing/Operating Procedure
1.
Check to see if all the following conditions are satisfied.
2.
Set OW
08 to 18 to execute the PRM_WR motion command.
The SERVOPACK parameter will be written.
IW
08 will be 18 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
writing 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 written when this parameter is set to 18.
OB
090
Command Pause
This parameter is ignored for PRM_WR command.
OB
091
Command Abort
This parameter is ignored for PRM_WR command.
OW
50
Servo Constant
Number
Set the number of the SERVOPACK parameter to be written.
OW
51
Servo Constant Size
Set the size of the SERVOPACK parameter to be written.
Set the size as the number of words.
Example: For 4 bytes, set "2."
OL
52
Servo User Constant
Set the data to be set to the SERVOPACK parameter to be written.