52
2 INPUT AXIS MODULE
2.2 Command Generation Axis
Write/read method for command generation axis parameter and
positioning data
Since the command generation axis parameter and positioning data are not retained in the buffer memory, change each
setting value by using the control data. The fetch timing of each parameter and positioning data follows the respective
specifications. Therefore, some parameters are not used for control until the PLC READY signal is turned ON or the power
supply is turned ON.
• To rewrite the parameters and positioning data, follow the rewriting procedure below. Wrong order of writing
may result in unexpected values.
• The command generation axis control data and positioning data written by this method will be lost when the
power supply is turned OFF. To save the data, use "[Cd.1] Flash ROM write request" to write the data to the
flash ROM of the Motion module.
Write method for command generation axis parameter
1. Specify the command generation axis parameter No. to "[Cd.300] Command generation axis parameter No.
designation".
2. When "340" is set, "[Pr.340] Command generation axis valid setting" is specified. When "1" is set, "[Pr.1] Unit setting" is
specified.
3. Specify the setting value to the command generation axis parameter with 2 words in "[Cd.301] Command generation axis
parameter setting value".
4. Set "1: Write request" in "[Cd.302] Command generation axis parameter control request".
5. "[Cd.301] Command generation axis parameter setting value" is written to the command generation axis parameter No.
specified in "[Cd.300] Command generation axis parameter No. designation". When the writing succeeds, "0: Not
request (control completion)" is set in "[Cd.302] Command generation axis parameter control request".
6. When the parameter No. which is not defined in the command generation axis is specified, "FFFFH: Write/read error" is
set in "[Cd.302] Command generation axis parameter control request". "[Cd.302] Command generation axis parameter
control request" is always detected. It is not required to return to "0: Not request (control completion)" from "FFFFH:
Write/read error" manually.
7. The command generation axis control data and positioning data written by this method will be lost when the power
supply is turned OFF. To save the data, use "[Cd.1] Flash ROM write request" to write the data to the flash ROM of the
Motion module.
The timing at which the written command generation axis parameter becomes valid is the same as for the servo amplifier axis.
For the detailed specifications, refer to "MAJOR POSITIONING CONTROL" in the following manual.
MELSEC iQ-R Motion Module User's Manual (Application for Simple Motion Mode)
0 2: degree
0 1: [Pr.1] Unit setting
0
[Pr.1] Unit setting
[Cd.300] Command generation axis
parameter No. designation
[Cd.301] Command generation axis
parameter setting value
[Cd.302] Command generation axis
parameter control request
2: degree
1: Write request
0: Not control request
(control completion)
0: Not control request
(control completion)
Start of parameter rewriting Completion of parameter rewriting
When the rewriting fails, "FFFFH: Read/write error" occurs.