XACS — Over Speed Counter
Reads or sets the over-speed counter and its speed threshold. The counter accumulates every second the vehicle travels above the configured threshold.
Format
- Query counter value:
>QXACSV< - Set counter value:
>SXACSV{BBBBBBBBB}< - Query threshold:
>QXACST< - Set threshold:
>SXACST{TTTT}< - Response (value):
>RXACSV{BBBBBBBBB}< - Response (threshold):
>RXACST{TTTT}<
| Field | Description |
|---|---|
V | Flag — selects the counter value |
T | Flag — selects the speed threshold |
BBBBBBBBB | Counter value in seconds (9 digits, zero-padded) |
TTTT | Speed threshold in mph × 10 (4 digits). Example: 0550 = 55.0 mph |
Examples
Query current over-speed counter value:
>QXACSV<
>RXACSV000001909<
1909 seconds spent above the speed threshold.
Set the over-speed counter to 10458 seconds:
>SXACSV000010458<
Set the speed threshold to 55 mph:
>SXACST0550<
Query the current speed threshold:
>QXACST<
>RXACST0550<
Related
- Extended tag
CSreports the counter value in position messages.
Defaults and Limits
- Counter value field uses 9 digits and threshold uses 4 digits.
- Threshold is interpreted as mph x10.
- Default values are implementation-defined (persistent counter + threshold state).