4.2 Motion Command Details
4.2.18 ALM_MON (Monitor Alarms)
4.2.18 ALM_MON (Monitor Alarms)
The ALM_MON command reads the alarm or warning that is current in the SERVOPACK and
stores it in the IW2D monitor parameter (SERVOPACK Alarm Code). You can use this
command to check all alarms that have occurred, even if multiple alarms occurred at the same
time.
Execution and Operating Procedures
1.
Make sure that the following condition is met.
2.
Set the OW4F setting parameter (SERVOPACK Alarm Monitor Number).
3.
Set the OW08 setting parameter (Motion Commands) to 19 to execute the
ALM_MON motion command.
The alarm or warning that is current in the SERVOPACK is read, and is then stored in IW2D.
The IW08 monitor parameter (Motion Command Response Code) is 19 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).
4.
Set OW08 to 0 to execute the NOP motion command.
This concludes the alarm monitor 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
Register
Address
OW
OW
Bit 0
OW
Bit 1
OW
4-80
No.
Execution Condition
Motion command execution for the target axis
1
must be completed.*
*
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
Name
08
Motion Commands
09
Hold Command
09
Cancel Command
SERVOPACK Alarm
4F
Monitor Number
Set this parameter to 19 (ALM_MON) to execute the alarm monitor.
This bit is ignored for the ALM_MON command.
This bit is ignored for the ALM_MON command.
Set the number of the alarm to monitor.
Confirmation Method
IW08 must be 0 and bit 0 in
IW09 must be 0.
Setting Details