Writing Servo Parameters - Omron CJ1W-NC271 - 12-2009 Operation Manual

Position control units
Table of Contents

Advertisement

Transferring Servo Parameters
5-3-1

Writing Servo Parameters

Axis Operating Output Memory Area (Operating Commands)
Servo Parameters are written from the CPU Unit using the WRITE SERVO
PARAMETER Bit in the Axis Operating Output Memory Area. Prepare the set
values for the parameter number, parameter size (data length), and transfer
data in the Axis Operating Output Memory Area and execute WRITE SERVO
PARAMETER.
One execution of WRITE SERVO PARAMETER transfers one parameter for
each axis. To transfer multiple parameters, WRITE SERVO PARAMETER
must be executed separately for each parameter. Parameters for different
axes can be written at the same time.
Parameters transferred using WRITE SERVO PARAMETER are written to the
control memory in the Servo Drive. Therefore, online parameters that are
overwritten are used immediately in Servo Drive control of the Servomotor.
After executing WRITE SERVO PARAMETER for offline parameters, DEVICE
SETUP must be executed to enable the settings.
When WRITE SERVO PARAMETER is executed, however, the settings are
not saved in the Servo Drive's non-volatile memory. When the Servo Drive
power is turned OFF, the set parameter settings will be lost and the next time
the power is turned ON, operation will be performed using the parameters
saved in the non-volatile memory. To save parameters in the Servo Drive's
non-volatile memory, SAVE SERVO PARAMETER must be executed for each
parameter separately from WRITE SERVO PARAMETER.
Note
(1) Execute WRITE SERVO PARAMETER when the Servo Parameter Trans-
ferring Flag for the corresponding axis is OFF. If WRITE SERVO PARAM-
ETER is executed while a Servo Parameter is being transferred, a
Multistart Error (axis error code: 3050) will occur and the Servo Parame-
ter will not be written.
(2) Do not restart the PCU or turn OFF the power to the PLC while writing a
Servo Parameter. Doing so may result in parameters not being trans-
ferred correctly and cause unexpected operations.
Servo Parameter writing starts when the WRITE SERVO PARAMETER Bit in
the Axis Operating Output Memory Area turns ON. When executing WRITE
SERVO PARAMETER, make sure that the WRITE SERVO PARAMETER Bit
remains ON until the Servo Parameter Transferring Flag turns ON.
Name
WRITE SERVO
PARAMETER Bit
Servo Parameter No. a+17
Parameter size
Write data (rightmost
word)
Write data (leftmost
word)
a = Beginning word of Axis Operating Output Areas specified in Common
Parameters + (Axis No. −1) × 25
Word
Bit
0 → 1: Starts writing Servo Parameters
a+1
12
---
Specifies the parameter No. of the Servo
Drive to which the data is to be written.
a+18
---
Specifies the data length of the parameter
to be written in byte units.
a+19
---
Specifies the setting data (hexadecimal) to
be written to the Servo Parameters. For a
parameter size of two bytes, the rightmost
a+20
---
word is used only, and the data in the left-
most word is ignored. For a parameter size
of four bytes, the four bytes of data from the
rightmost to leftmost words are transferred.
Section 5-3
Contents
227

Advertisement

Table of Contents
loading

Table of Contents