FOX3-2G/3G/4G/-4G-PROMOTION-KIT Getting Started
Version 1.0.7
This confidential document is a property of FALCOM GmbH and may not be copied or circulated without previous permission.
Page 16 of 25
Functions
Configuration alarms and their descriptions.
the user text in the history (data logging) with the user text
<sfal.trip.start>
.
$PFAL,CNF.Set,AL15=IO.e8=fedge:Sys.Timer4.Start=Single,2000&Sys.Timer3.Stop
AL15
: When the Ignition is turned OFF (IO.e8=fedge), the device starts Timer4 with a single timer event
that occurs once, after 2000 of milliseconds (2 sec.) and stops running the Timer3.
$PFAL,CNF.Set,AL16=Sys.Timer.e4&IO.s8=low:TCP.Client.Send,8,"<sfal.trip.stop
dist='&(NavDist)'>"&GPS.History.Write,20,"<sfal.trip.stop
dist='&(NavDist)'>"&Sys.Timer5.Start=single,60000
AL16
: When the Timer4 runs out and the Ignition pin is still OFF, then the device sends a TCP packet to
the server including the GPRMC protocol, the user text
<sfal.trip.stop>
and the driven distance in meters
&(NavDist)
. It also saves the user text in the history (data logging) with the user text
<sfal.trip.stop>
, the
driven distance in meters and starts Timer5 with a single timer event that occurs once, after 60000 of
milliseconds (60 sec.).
//If another unit of the driven distance is needed, then replace
&(NavDist)
with the corresponding
dynamic variable:
&(NavDist.km)
or
&(NavDist.miles)
$PFAL,CNF.Set,AL17=Sys.Timer.e5&IO.s8=low:Sys.Device.Sleep=IGN
AL17
: When the Timer5 runs out and the status of the Ignition pin is still low, then the device goes in
sleep mode with the wakeup parameter IGN. The wakeup parameter ‘IGN’ means, the device will wake
up whenever the Ignition pin is switched to high.
LED status
$PFAL,CNF.Set,AL4=SYS.Power.eDropped:IO13.Set=cyclic,200,200
AL4
: When the external/main power drops and the FOX3 runs on its internal backup battery, the red LED
(IO13) starts flashing 200msON/200ms OFF.
$PFAL,CNF.Set,AL5=SYS.Power.eDetected:IO13.Set=high
AL5
: When the external/main power is applied and the FOX3 runs on its internal backup battery, the red
LED (IO13) gets solid.
$PFAL,CNF.Set,AL6=Sys.Device.eStart&Sys.Power.sVoltage>=9:IO13.Set=high
AL6
: When the FOX3 turns on or wakes up from Sleep and external/main power is applied, the red LED
(IO13) gets solid.
$PFAL,CNF.Set,AL7=Sys.Device.eStart&Sys.Power.sVoltage<9:IO13.Set=cyclic,200,200
AL7
: When the FOX3 turns on or wakes up on its internal backup battery and the external power is below
9VDC, the red LED (IO13) starts flashing 200msON/200msOFF.
$PFAL,CNF.Set,AL8=TCP.Client.ePacketSent:IO12.Set=lpulse,200
AL8
: Each time the FOX3 sends a TCP message to the server, the green LED (IO12) initiates a low pulse of
200ms.
$PFAL,CNF.Set,AL18=Sys.device.eStart&GPS.Nav.sFix=invalid:IO11.Set=cyclic,200,200
$PFAL,CNF.Set,AL19=GPS.Nav.eFix=valid:IO11.Set=high
$PFAL,CNF.Set,AL20=GPS.Nav.eFix=invalid:IO11.Set=cyclic,200,200
$PFAL,CNF.Set,AL27=Sys.device.eStart&GPS.Nav.sFix=valid:IO11.Set=high
AL18, 19, 20, 27
: Every time the FOX3 turns on or wakes up, it checks all the time for GPS fix and sets the
orange LED (IO11) either blinking (AL19, AL27) or turns it ON (AL18, AL27) depending if the device has a
GPS fix (AL19, AL27) or not (AL18, AL20).
$PFAL,CNF.Set,AL21=GSM.eOpfound:IO12.Set=cyclic,200,200
$PFAL,CNF.Set,AL26=GSM.eOplost:IO12.Set=low
AL21, 26
: Once the device has found a GSM operator, the green LED (IO12) will blink and when it has lost
a GSM operator, the LED will turn OFF.
$PFAL,CNF.Set,AL22=GSM.GPRS.eConnected:IO12.Set=cyclic,400,400
$PFAL,CNF.Set,AL25=GSM.GPRS.eDisconnected&GSM.sOpValid:IO12.Set=cyclic,200,200
AL22, 25
: Once the device is attached to GPRS services, the green LED (IO12) will blink and when it is