8.12. CREATING AN EVENT
>
SGC08TR0000500060
<
With the same result.
8.11.2
Using a Time And Distance counter
To create a 5-minutes (300 seconds) periodic TD signal (TD4), send:
>
STD40300
<
8.12
Creating an event
To define event
33
to trigger with the periodic signal
C08
defined on
the previous section.
>
SED33XV0;C08+
<
The letter
X
on the command indicates to generate event reporting
messages only to the serial port.
8.13
Creating a turn-by-turn (heading change) report
To define a heading-delta change of 45 degrees, send:
>
SXAGH001045
<
To define event
44
so that it sends a message to the serial port every
time the vehicle’s heading delta changes by more than 45 degrees,
send:
>
SED44XV0;J00+
<
8.14
Creating a kilometer counter
To make a distance counter count kilometers (01000 meters), send:
>
SGC12DC0000101000
<
To query the kilometer count of this counter, send:
>
QGC12V
<
To make the unit report the kilometer count automatically: Define
an event and add the
XACR
command to the event’s user-action field:
>
SED22XV0;F13-;ACT=SXACR12A3
<
In this example, the event is triggered by a power switch OFF. The
reported counter is the number 12 and the
Destination Address
is 3.
209