5 - 98
MELSEC-Q
5 DATA USED FOR POSITIONING CONTROL
Storage item Storage details
Md.24 Axis warning No.
Whenever an axis warning is reported, a related warning code is stored.
This area stores the latest warning code always. (Whenever an axis warning is
reported, a new warning code replaces the stored warning code.)
When the " Cd.5 Axis error reset" (axis control data) is set to ON, the axis
warning No. is cleared to "0".
Md.25 Valid M code
This area stores an M code that is currently active (i.e. set to the positioning data
relating to the current operation).
Update timing : turning ON of the M code ON signal
When the PLC READY signal (Y0) goes OFF, the value is set to "0".
Md.26 Axis operation status This area stores the axis operation status.
Md.27 Current speed
"Da.8 Command speed" of the positioning data currently in execution is stored.
(Stores "0" under the speed control.)
If " Da.8 Command speed" is set to "-1", this area stores the command speed
set by the positioning data used one step earlier.
If " Da.8 Command speed" is set to a value other than "-1", this area stores the
command speed set by the current positioning data.
If the speed change function is executed, " Cd.14 New speed value" is stored.
(For details of the speed change function, refer to Section 12.5.1.)