4.2 Motion Command Details
4.2.20 ALMHIST_CLR (Clear Alarm History)
4-84
4.2.20
ALMHIST_CLR (Clear Alarm History)
When the ALMHIST_CLR command is executed, the alarm history data that is stored in the
SERVOPACK is cleared.
Execution and Operating Procedures
1.
Make sure that the following condition is met.
* Before you change to this command during the execution of another command, you must check whether
the command can be changed and how operation changes when the command is changed. Refer to the
following section for details on changing from another command.
4.4 Changing the Command on page 4-137
2.
Set the OW08 setting parameter (Motion Commands) to 21 to execute the ALM-
HIST_CLR motion command.
The alarm history data that is stored in the SERVOPACK is cleared.
The IW08 monitor parameter (Motion Command Response Code) is 21 during execution of this
command.
During command processing, bit 0 (Command Execution Flag) in the IW09 monitor parameter
will change to 1 (Processing). When processing is completed, this bit will change to 0 (Completed).
3.
Set OW08 to 0 to execute the NOP motion command.
This concludes the clear alarm history operation.
Holding and Canceling Commands
Bit 0 (Hold Command) and bit 1 (Cancel Command) in the OW09 setting parameter can-
not be used to stop the axis.
Related Parameters
The parameters that are related to this command are listed in the following table.
Setting Parameters
Monitor Parameters
No. Execution Condition Confirmation Method
1
Motion command execution for the target axis
must be completed.*
IW08 must be 0 and bit 0 in
IW09 must be 0.
Register
Address
Name Setting Details
OW
08 Motion Commands Set this parameter to 21 (ALMHIST_CLR) to clear the alarm history.
OW09
Bit 0
Hold Command This bit is ignored for the ALMHIST_CLR command.
OW
09
Bit 1
Cancel Command This bit is ignored for the ALMHIST_CLR command.
Register
Address
Name Monitored Contents
IL
02 Warnings This parameter reports the current warning status.
IL04 Alarms This parameter reports the current alarm status.
IW
08
Motion Command
Response Code
This parameter shows the motion command currently in execution.
This parameter is 21 during execution of the ALMHIST_CLR command.
IW
09
Bit 0
Command Execu-
tion Flag
This bit changes to 1 (Processing) during execution of the ALMHIST_-
CLR command. The bit changes to 0 (Completed) when execution ends.
IW
09
Bit 1
Command Hold
Completed
This bit is always 0 (Command hold not completed) for the ALMHIST_-
CLR command.
Continued on next page.