BOLERO40 Series Promotion Kit
Version 1.0.1
This confidential document is a property of FALCOM GmbH and may not be copied or circulated without previous permission.
Page 14 of 21
5.
A DETAILED EXPLANATION OF THE SAMPLE CONFIGURATION
In the table below you find a detailed description of the configuration preloaded in the device shipped with
promotion kit. To call this configuration use either the command
$PFAL,Cnf.Show
or use the button “
Read
current device configuration
” from the
Editor
of the Workbench software. See chapter
3.1.4
, Fig.
9
.
Functions
Configuration alarms and their descriptions.
Tracking
$PFAL,CNF.Set,AL0=SYS.Device.eStart:SYS.TIMER1.start=cyclic,20000&SYS.TIMER0.start=cyclic,5000&SYS.T
IMER2.start=cyclic,2000
AL0
: Every time the BOLERO45 turns on or wakes up, it starts three cyclic Timers: Timer0, Timer1 and
Timer2 with repeat timer events that occur every time a 20000, 5000 and 2000 of milliseconds elapses.
These timer events will be used later in other alarms to start or stop actions (PFAL commands).
E.g. Timer0 event (Sys.Timer.e0) is used in
AL9
to save GPS position data every 20 sec. in the history if
other set conditions (
like: displaced distance is > 50m and GPS fix is valid
) are true.
$PFAL,CNF.Set,AL1=SYS.Device.eStart:GPS.Nav.Position0=load0&GPS.Nav.Position1=load0&Sys.Timer3.Sta
rt=single,10000
AL1
: Every time the BOLERO45 turns on or wakes up, it loads the saved Position from memory slot zero
to GPS.Nav.Position0 and starts a Timer3 with a single timer event that occurs once, after 100000 of
milliseconds (10 sec.).
$PFAL,CNF.Set,AL2=SYS.Device.eShutdown:GPS.Nav.Position0=save0&GPS.Nav.SaveLastValid
AL2
: Before the device goes in sleep mode, it saves both its position from GPS.Nav.Position0 to memory
slot zero and the last valid position in the corresponding configuration parameter.
$PFAL,CNF.Set,AL3=SYS.Device.eShutdown:TCP.Client.Send,8,"<sfal.event text='shutdown'>"
AL3
: Before the device goes in sleep mode, it sends a TCP packet to the server including the RMC GPS
protocol and the user text <sfal.event text='shutdown'>, telling the server D2Sphere its current location
with the text event ‘shutdown’.
$PFAL,CNF.Set,AL9=SYS.TIMER.e0&GPS.Nav.Position.s1>50&GPS.Nav.sFix=correct&GPS.Nav.sSpeed>2:GPS
.Nav.Position1=current&GPS.History.Write,0,""
AL9
: Each time the cyclic Timer0 runs out, the displaced distance from the position 1 is greater than 50
meters, the GPS is corrected and the speed is > 2m/s, then the device sets the new position to current
position and saves the position in the history (Data logging) inside the device.
$PFAL,CNF.Set,AL10=SYS.TIMER.e1&GPS.Nav.Position.s0>200&GPS.Nav.sSpeed>2:GPS.Nav.Position0=curr
ent&TCP.Client.Send,8,"<sfal.pos>"
AL10
: Each time the cyclic Timer1 runs out, the displaced distance is greater than 200 meters, the GPS is
corrected and the speed is > 2m/s, then the device sets the new position to current position and sends a
TCP packet to the server including the GPRMC protocol and the user text <sfal.pos>.
$PFAL,CNF.Set,AL11=GPS.Nav.eChangeHeading&GPS.Nav.sSpeed>2:GPS.Nav.Position1=current&GPS.Nav.
Position0=current&GPS.History.Write,0,"HEAD"
AL11
: Each time the predefined angle (course) is exceeded and the speed is > 2m/s, then the device sets
the new position to current position AND it saves the position in the History (Data logging) with the user
text "HEAD"
$PFAL,CNF.Set,AL12=GPS.Nav.eChangeHeading&GPS.Nav.sSpeed>2:TCP.Client.Send,8,"<sfal.pos>"
AL12
: Each time the predefined angle (course) is exceeded and the speed is > 2m/s, then the device
sends a TCP packet to the server including the GPRMC protocol AND the user text ‘HEAD’.
$PFAL,CNF.Set,AL13=IO.e8=redge:Sys.Timer3.Start=single,2000&Sys.Timer4.Stop
AL13
: Each time the Ignition is turned ON (IO.e8=redge), the device starts Timer3 with a single timer
event that occurs once, after 2000 of milliseconds (2 sec.) and stops running the Timer4.
$PFAL,CNF.Set,AL14=Sys.Timer.e3&IO.s8=high:TCP.Client.Send,8,"<sfal.trip.start>"&GPS.History.Write,20,"
<sfal.trip.start>"&GPS.Nav.Distance=0
AL14
: When the single Timer3 runs out and the status of the Ignition is still high, then the device sends a
TCP packet to the server including the GPRMC protocol, the user text <sfal.trip.start> and also it saves