6.2 Motion Command Details
6.2.19 Alarm History Monitor (ALM_HIST)
6-74
6.2.19 Alarm History Monitor (ALM_HIST)
The ALM_HIST command reads the alarm history stored in the SERVOPACK and stores it in the Servo Driver Alarm
Code (monitor parameter IW2D).
( 1 ) Executing/Operating Procedure
1.
Check to see if all the following conditions are satisfied.
2.
Set OW08 to 20 to execute the ALM_HIST motion command.
The ALM_HIST command will read the alarm or warning history that is stored in the SERVOPACK and store it
in Servo
Driver
Alarm Code (monitoring parameter IW2D).
IW08 will be 20 during command execution.
IW09, bit 0 will turn ON during the command processing and will turn OFF when the command processing
has been completed.
3.
Set OW08 to 0 to execute the NOP motion command and then complete the monitoring operation.
( 2 ) Holding and Aborting
The Holds a Command bit (OW09, bit 0) and the Interrupt a Command bit (OW09, bit 1) cannot be used.
( 3 ) Related Parameters
[ a ] Setting Parameters
[ b ] Monitoring Parameters
No. Execution Conditions Confirmation Method
1 Motion command execution has been completed. IW08 is 0 and IW09, bit 0 is OFF.
Parameter Name Setting
OW08 Motion Command
The alarm history is monitored when this parameter is set to 20.
OW09
Bit 0
Holds a Command
This parameter is ignored for ALM_HIST command.
OW09
Bit 1
Interrupt a Command
This parameter is ignored for ALM_HIST command.
OW4F
Servo Driver Alarm
Monitor No.
Sets the number of the alarm to be monitored.
Parameter Name Monitor Contents
IL02 Warning
Stores the most current warning.
IL04 Alarm
Stores the most current alarm.
IW08
Motion Command
Response Code
Indicates the motion command that is being executed.
The response code will be 20 during ALM_HIST command execution.
IW09
Bit 0
Command Execution
Flag
Turns ON during ALM_HIST command execution and turns OFF when execution has
been completed.
IW09
Bit 1
Command Hold Com-
pleted
Always OFF for ALM_HIST command.
IW09
Bit 3
Command Error
Completed Status
Turns ON if an error occurs during ALM_HIST command execution.
Turns OFF when another command is executed.
IW09
Bit 8
Command Execution
Completed
Turns ON when ALM_HIST command execution has been completed.
IW2D
Servo Driver Alarm
Code
Stores the SERVOPACK alarm code that was read.