XAQQ - Signal Ban
Prevents a set of signals from triggering too frequently by banning them after exceeding a transition threshold within a time window.
Format
- Query:
>QXAQQ< - Disable:
>SXAQQU< - Enable:
>SXAQQA;{BB},{CCC},{DDDD};{SIGNALS}< - Response:
>RXAQQA;{BB},{CCC},{DDDD};{SIGNALS}<or>RXAQQU<
| Field | Range | Description |
|---|---|---|
A | 1 or U | 1 = enable, U = disable |
BB | 1-99 | Transition threshold (transitions before banning) |
CCC | 1-999 | Test time window in seconds |
DDDD | 1-9999 | Ban duration in seconds |
SIGNALS | CSV list | Comma-separated signal names |
- Wildcard:
IOSexpands toIP1,F00,F13(inputs/outputs/ignition group).
Examples
Ban signals IP1, F00, F13 if they toggle more than 10 times in 60 seconds; ban for 300 seconds:
>SXAQQA;10,060,0300;IOS<
Custom signal list:
>SXAQQA;5,030,0120;F12,F16,U00<
Query current ban configuration:
>QXAQQ<
>RXAQQA;10,060,0300;IP1,F00,F13<
Disable signal ban:
>SXAQQU<
Notes
- Up to 20 signals can be included in the ban list (
MAX_BAN_SIGNALS = 20). - The ban mechanism is global: all listed signals are banned simultaneously when the threshold is exceeded.
Defaults and Limits
Udisables signal-ban profile.- Range constraints:
BB1-99,CCC1-999,DDDD1-9999. - Maximum banned-signal list size is implementation-limited (
MAX_BAN_SIGNALS).