%pai
From Zenitel Wiki
The %pai macro is used in the Event Handler to calculate index of the CRM ind LED within a DAK block used for PA interface failure indication.
The index is based on the sub event for the PA failure system.
PA Failure SUB events
Fault Indication On DAK panel | ||||||
---|---|---|---|---|---|---|
ZONE FAULT | IPA DOWN | |||||
RELAY 1 | POWER 1 | LINE MON 1 | ||||
RELAY 2 | POWER 2 | LINE MON 2 | ||||
FAULT ACK | FAULT CLEAR |
Syntax
%pai(DAK block)
Return ind number related to sub event and DAK block number.
- DAK block: 1 - 8, DAK block number
Examples
%pai(%1.exp) - Return DAK ind number for DAK block configured as station User Defined Variable