Validity: R3 (rule, task), Ladder (task).
This variable allows filtering the alarms, warnings, and messages that are entered into the alarm history.
By setting the bit related to an alarm type (see code table) to one, all alarms belonging to that type will not be stored in the alarm history.
Syntax |
I32 ah_filter |
---|---|
Attributes |
Bit-accessible. Retentive |
Code Table:
Hexadecimal code |
Corresponding alarm type |
---|---|
Default 0 |
All alarms and warnings allowed |
0x80000000 |
Reserved - Alarm disabled |
0x40000000 |
Reserved - System alarm |
0x20000000 |
User alarm |
0x10000000 |
Alarm type major |
0x08000000 |
Alarm type minor |
0x04000000 |
Alarm type warning |
0x02000000 |
Enables RTE handling of user alarms of type alarm_par_prominent |
0x01000000 |
Incoming messages from ah_log |
0x00FFFF00 |
Bits available for user alarm types |
0x00000040 |
Power set alarms |
0x00000010 |
RPE language alarms |
0x00000008 |
R3 language alarms |
0x00000004 |
Axis alarm |
0x00000002 |
Self-diagnosis type alarm |
0x00000001 |
Memory type alarm |
Examples
Example of use in R3:
; the entry of user alarms in the history is disabled ah_filter = 0x00ffff00 ; the disabling of axis alarm input (bit 2) is added, ; after this operation ah_filter is worth 0x00FFFF04 ah_filter.2 = 1 |