gx3_alarm_map
Maps each alarm and fault to its trigger, latch, timer setpoint, and reset. Flags alarms with no reset (cleared only by power cycle) and writes the inventory to CSV.
Instructions
Inventory every alarm and fault device with what triggers it, whether it latches, any timer setpoint, and what resets it. Answers "what raises this alarm and how is it cleared" without reading the ladder by hand. Reads the project; WRITES a CSV. An alarm with no reset condition is worth flagging to the user: it cannot be cleared without a power cycle. Requires the xref DB.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | list | |
| root | Yes | Extracted project folder. | |
| device | No | Device to show (required when mode=show). |