44 Rockwell Automation Publication 1756-RM003N-EN-P - October 2011
Chapter 1 FactoryTalk Alarms and Events Logix-based Instructions (ALMD, ALMA)
Digital Alarm (ALMD)
The ALMD instruction detects alarms based on Boolean (true/false) conditions.
Program (Prog) and operator (Oper) control parameters provide an interface for
alarm commands.
Operands:
Relay Ladder
In relay ladder, the alarm condition input (In) is obtained from the rung
condition.
Operand Type Format Description
ALMD tag ALARM_DIGITAL Structure ALMD structure.
In BOOL Tag
Immediate
Structured text only.
Value is copied to In when instruction executes. The alarm input value
is compared to determine whether there is an alarm.
ProgAck BOOL Tag
Immediate
Value is copied to ProgAck when instruction executes. On transition
from cleared to set, acknowledges alarm (if acknowledgement is
required).
ProgReset BOOL Tag
Immediate
Value is copied to ProgReset when instruction executes. On transition
from cleared to set, resets alarm (if required).
ProgDisable BOOL Tag
Immediate
Value is copied to ProgDisable when instruction executes. When set,
disables alarm (does not override Enable Commands).
ProgEnable BOOL Tag
Immediate
Value is copied to ProgEnable when instruction executes. When set,
enables alarm (takes precedence over Disable Commands).
MinDurationPRE DINT Immediate Relay ladder only.
Specifies how long the alarm condition must be met before it is
reported (milliseconds).
MinDurationACC DINT Immediate Relay ladder only.
Indicates the number of milliseconds that have elapsed since the
alarm condition was met.