FM5300 User Manual v3.60
FM5300 User Manual v3.60
V3.60
Table of contents
1 INTRODUCTION ..................................................................................................................... 6
1.1 ATTENTION ............................................................................................................................ 6
1.2 INSTRUCTIONS OF SAFETY ......................................................................................................... 7
1.3 LEGAL NOTICE ........................................................................................................................ 7
1.4 ABOUT DOCUMENT ................................................................................................................. 7
2 BASIC DESCRIPTION ............................................................................................................... 8
2.1 PACKAGE CONTENTS ................................................................................................................ 8
2.2 BASIC CHARACTERISTICS ........................................................................................................... 8
2.3 TECHNICAL INFORMATION ABOUT INTERNAL BATTERY! ................................................................. 11
2.4 FM5300 HARDWARE MODIFICATION FOR EXTERNAL BACKUP BATTERY. ........................................... 11
2.5 ELECTRICAL CHARACTERISTICS .................................................................................................. 12
2.6 ABSOLUTE MAXIMUM RATINGS ............................................................................................... 14
3 CONNECTION AND PINOUT .................................................................................................. 14
3.1 SIM CARD INSERT SCHEME...................................................................................................... 14
3.2 INSTALLING FM5300 DRIVERS ................................................................................................ 16
3.3 NAVIGATE LED..................................................................................................................... 17
3.4 STATUS LED ........................................................................................................................ 17
3.5 SOCKET 210 PINOUT ........................................................................................................... 18
3.6 USB ................................................................................................................................... 19
3.7 ACCESSORIES........................................................................................................................ 19
4 FIRMWARE .......................................................................................................................... 24
4.1 UPDATING FIRMWARE USING USB CABLE .................................................................................. 24
5 OPERATIONAL BASICS .......................................................................................................... 26
5.1 OPERATIONAL PRINCIPLES ....................................................................................................... 26
5.2 OPERATIONAL MODES ........................................................................................................... 26
5.3 ACCELEROMETER .................................................................................................................. 26
5.4 VIRTUAL ODOMETER ............................................................................................................. 27
5.5 VOICE FUNCTIONALITY ........................................................................................................... 27
5.6 PROFILES ............................................................................................................................. 28
5.7 FEATURES ............................................................................................................................ 28
Scenarios.................................................................................................................................. 28
Trip ........................................................................................................................................... 29
Geofencing ............................................................................................................................... 29
iButton list ............................................................................................................................... 29
6 CONFIGURATOR ................................................................................................................... 29
6.1 STARTUP........................................................................................................................... 29
6.2 CONFIGURATOR STRUCTURE .................................................................................................... 30
Buttons area ............................................................................................................................ 31
Information area...................................................................................................................... 32
Profiles/global parameters selection area ............................................................................... 32
6.3 PARAMETERS CONFIGURATION ................................................................................................ 33
Global parameters Settings ..................................................................................................... 33
Settings and configurable parameters menu .......................................................................... 35
6.3.1.1 System Settings ................................................................................................................... 35
6.3.1.2 GSM Settings....................................................................................................................... 36
6.3.1.2.1 GPRS ........................................................................................................................... 36
6.3.1.2.2 Data limits functionality ............................................................................................. 37
6.3.1.2.3 SMS ............................................................................................................................. 37
6.3.1.2.4 Operator List............................................................................................................... 39
6.3.1.3 Features .............................................................................................................................. 40
6.3.1.3.1 Mode .......................................................................................................................... 40
6.3.1.3.2 Scenarios .................................................................................................................... 41
2
6.3.1.3.3 Trip ............................................................................................................................. 41
6.3.1.3.4 Geofencing ................................................................................................................. 42
6.3.1.3.4.1 Geofencing settings............................................................................................ 42
6.3.1.3.4.2 AutoGeofencing settings .................................................................................... 43
6.3.1.3.5 iButton List ................................................................................................................. 45
6.3.1.4 I/O ....................................................................................................................................... 45
6.3.1.4.1 FM5300 available I/O list ............................................................................................ 45
6.3.1.4.2 I/O configuring............................................................................................................ 48
6.3.1.4.3 I/O properties ............................................................................................................. 49
6.3.1.5 CAN ..................................................................................................................................... 52
6.3.1.5.1 CAN interface parameters .......................................................................................... 52
6.3.1.5.1.1 CAN Baud Rate (ID=760) .................................................................................... 52
6.3.1.5.1.2 CAN#0 CAN Type ID (ID=770) ............................................................................. 52
6.3.1.5.1.3 CAN#0 Output data mask (ID=771) .................................................................... 52
6.3.1.5.1.4 CAN#0 CAN ID (ID=772) ...................................................................................... 52
6.3.1.5.1.5 CAN#0 CAN Status (ID=773) ............................................................................... 53
6.3.1.6 Configurable parameter values and Global parameter values ........................................... 54
6.3.1.6.1 Configurable parameters ............................................................................................ 54
6.3.1.6.2 Global parameters ...................................................................................................... 57
6.3.1.7 Read Records* (* new functionality available with FM5300M version) ............................. 58
3
RFID MF7 Mode Configuration ................................................................................................ 76
Garmin Mode Configuration .................................................................................................... 77
10.5.1.3 Settings ............................................................................................................................. 77
10.5.1.4 Firmware Configuration .................................................................................................... 78
COM TCP Link Mode ................................................................................................................ 78
TCP Link Mode (Binary) ............................................................................................................ 79
NMEA Log Mode ...................................................................................................................... 79
11 SMS COMMAND LIST ...................................................................................................... 80
11.1 GETSTATUS .......................................................................................................................... 81
11.2 GETWEEKTIME ...................................................................................................................... 82
11.3 GETOPS ............................................................................................................................... 82
11.4 READOPS # .......................................................................................................................... 82
11.5 GETNMEAINFO...................................................................................................................... 82
11.6 GETCFGTIME ........................................................................................................................ 83
11.7 GETGPS ............................................................................................................................... 83
11.8 LOADPROFILE# ..................................................................................................................... 83
11.9 CPURESET ............................................................................................................................ 83
11.10 RESETALLPROF ................................................................................................................. 83
11.11 GETVER .......................................................................................................................... 83
11.12 GETIO............................................................................................................................. 84
11.13 GETINFO ......................................................................................................................... 84
11.14 DELETERECORDS ............................................................................................................... 85
11.15 READIO # ........................................................................................................................ 85
11.16 SETDIGOUT #### X Y Z W ................................................................................................. 85
11.17 GETPARAM #### ............................................................................................................. 85
11.18 SETPARAM #### # ........................................................................................................... 86
11.19 FLUSH #,#,#,#,#,#,# ........................................................................................................ 86
11.20 GETGNSS ........................................................................................................................ 86
11.21 SN X ............................................................................................................................... 87
11.22 BANLIST .......................................................................................................................... 87
11.23 CRASHLOG ...................................................................................................................... 87
11.24 BRAMINFO ...................................................................................................................... 87
11.25 ODINFO .......................................................................................................................... 88
11.26 GETCONTSENS.................................................................................................................. 88
11.27 SAVECONTSENS ................................................................................................................ 88
12 CAN ................................................................................................................................. 89
12.1 GENERAL DESCRIPTION ........................................................................................................... 89
12.2 CONFIGURATION................................................................................................................... 90
12.3 EXAMPLE............................................................................................................................. 91
12.4 AUTOCAN DESCRIPTION ........................................................................................................ 94
Configuration ........................................................................................................................... 95
CAN monitoring ....................................................................................................................... 96
Offline configuration................................................................................................................ 97
AutoCAN ID list ........................................................................................................................ 97
12.5 AUTOCAN CONFIGURATION OVER SMS ................................................................................. 112
SMS command format: .......................................................................................................... 112
Parameter ID explanation: .................................................................................................... 112
AutoCAN element Ids ............................................................................................................. 112
AutoCAN element parameters ............................................................................................... 113
Example of AutoCAN parameter configuration over SMS: .................................................... 113
Parameter value reading ....................................................................................................... 114
RFID .......................................................................................................................................... 114
13 GARMIN ........................................................................................................................ 115
13.1 SUPPORTED GARMIN FMI PROTOCOLS ................................................................................... 116
Standard protocols ................................................................................................................ 116
4
Enhanced protocols ............................................................................................................... 117
13.2 SUPPORTED FEATURES ON TAVL CLIENT APPLICATION ................................................................. 117
13.3 TEXT MESSAGING ................................................................................................................ 117
13.4 DESTINATION MESSAGE ........................................................................................................ 118
13.5 ETA REQUEST MESSAGE ....................................................................................................... 118
13.6 CONNECTION AND PINOUT .................................................................................................... 118
14 LLS SENSOR ................................................................................................................... 119
14.1 SPECIFICATIONS .................................................................................................................. 120
14.2 HARDWARE ....................................................................................................................... 120
14.3 CONNECTING LLS TO FM5300 ............................................................................................. 120
15 GPRS COMMANDS ........................................................................................................ 127
16 DEBUG MODE................................................................................................................ 130
17 FM5300 REMOTE LOG ................................................................................................... 130
18 MOUNTING RECOMMENDATIONS ................................................................................ 135
18.1 CONNECTING WIRES............................................................................................................ 135
18.2 CONNECTING POWER SOURCE ............................................................................................... 135
18.3 CONNECTING IGNITION WIRE ................................................................................................ 135
18.4 CONNECTING GROUND WIRE ................................................................................................ 136
18.5 CONNECTING ANTENNAS ...................................................................................................... 136
18.6 MODULE INSTALLATION ....................................................................................................... 137
19 CHANGE LOG ................................................................................................................. 138
5
1 INTRODUCTION
1.1 Attention
6
1.2 Instructions of safety
This chapter contains information on how to operate FM5300 safely. By following these
requirements and recommendations, you will avoid dangerous situations. You must read these
instructions carefully and follow them strictly before operating the device!
To avoid mechanical damage, it is advised to transport the FM5300 device in an impact-
proof package. Before usage, the device should be placed so that its LED indicators are visible,
which show the status of operation the device is in.
When connecting the connection (2x10) cables to the vehicle, the appropriate jumpers of
the power supply of the vehicle should be disconnected.
Before dismounting the device from the vehicle, the 2x10 connection must be
disconnected.
The device is designed to be mounted in a zone of limited access, which is inaccessible for
the operator. All related devices must meet the requirements of standard EN 60950-1.
The device FM5300 is not designed as a navigational device for boats.
7
2 BASIC DESCRIPTION
FM5300 is a terminal with GPS and GSM connectivity, which is able to determine the
object’s coordinates and transfer them via the GSM network. This device is perfectly suitable for
applications, which need location acquirement of remote objects. It is important to mention that
FM5300 has additional inputs and outputs, which let you control and monitor other devices on
remote objects. FM5300 also has a USB port for device status log output and entering
configurations.
GPS features:
Fastrax IT600 32 channel GPS/GLONASS receiver;
Protocol NMEA-0183: GGA, GGL, GSA, GSV, RMC, VTG;
Up to -160 dBm sensitivity.
GLONASS features:
NV08C-CSM 32 tracking channels;
Protocol NMEA-0183: GGA, GGL, GSA, GSV, RMC, VTG;
GPS/GALILEO/SBAS: L1 1575.42 MHz;
GLONASS: L1 1597.5-1609.5 MHz;
Up to -160 dBm sensitivity.
1
Package content depends on Order Code, and can be customized by customer needs.
8
GNSS GGG303 Module features:
Navigation Systems; GPS/GLONASS/GALILEO/QZSS;
Protocol NMEA-0183: GGA, GGL, GSA, GSV, RMC, VTG;
Up to -162 dBm sensitivity.
Hardware features:
Cortex®-M3 processor;
16 MB internal Flash memory;
Built-in accelerometer.
Internal backup battery included
Interface features:
Power supply: 10 ÷ 30V;
USB port;
4 digital inputs;
4 analog inputs;
4 open collector digital outputs;
1Wire® temperature sensor;
1Wire® iButton;
LEDs indicating device status;
2xRS232 ports;
Audio interface;
CAN messages 2.0 A, B Active support. Speed up to 1 Mbit/s.
9
Mechanical features
10
2.3 Technical Information about internal battery!
Special version of FM5300 allows to connect additional external backup battery. Such
FM5300 modification should be purchased by special order. Contact sales manager for details.
Connect any capacity 8 V accumulator due to customer’s needs of backup operation time.
Time of charging the accumulator increases while using the accumulator with higher capacity.
11
2.5 Electrical characteristics
Table 2 Electrical characteristics
VALUE
Min. Typ. Max. Unit
CHARACTERISTIC DESCRIPTION
SUPPLY VOLTAGE
12
VALUE
Min. Typ. Max. Unit
CHARACTERISTIC DESCRIPTION
When connecting a COM port to an active external device keep in mind that
the first power supply must be connected to FM5300, and then the external
device should be powered. Connecting external devices when FM5300 is
powered off is not recommended.
2-
1-wire Supply voltage PIN is dedicated for 1-wire devices ONLY, do not use it for any other purpose.
13
2.6 Absolute Maximum Ratings
Gently open FM5300 case using screwdrivers
14
Take off FM5300 case and insert SIM card Assemble device as shown and put screws
as shown into the holes
Screw all 4 screws Device is ready
15
3.2 Installing FM5300 drivers
Software requirements
• Operating system 32-bit and 64-bit: Windows XP with SP3 or later, Windows Vista,
Windows 7.
• MS .NET Framework V3.5 or later (http://www.microsoft.com).
Drivers
Please download Virtual COM Port drivers from Teltonika website:
http://avl1.teltonika.lt/downloads/FM53/vcpdriver_v1.3.1_setup.zip
Installing drivers
Extract and run VCPDriver_V1.3.1_Setup.exe. This driver is used to detect FM5300 device
connected to the computer. Click ‘Next’ in driver installation window (figures below):
This will launch the device driver installation wizard. In the following window click ‘Next’
button again:
16
Figure 4 Driver installation window
17
3.5 Socket 210 pinout
18
Pin
Pin Name Description
Nr.
17 AIN 1 Analog input, channel 1. Input range: 0 – 30V/ 0 – 10V DC
18 OUT 4 Digital output. Channel 4. Open collector output
19 OUT 1 Digital output. Channel 1. Open collector output
This pin is used connected with pin 10 (Ext. Battery (―)). The
function of these pins is to disconnect the internal accumulator during
20 Ext. Battery (+) shipment or storage. When pin 10 and pin 20 are connected, the
internal accumulator is on, while disconnected – the internal
accumulator is off.
3.6 USB
When FM5300 is connected to a PC it creates a STM Virtual COM Port, which can be used
as a system port (to flash firmware and configure the device).
Figure 6 COM-Ports
3.7 Accessories
Note: Teltonika does not provide any additional equipment like panic
buttons, door sensors or other, except of 1 – wire devices: TTJ-101 thermo
sensor and I-Button. These devices are not included in FM5300 package and can
be offered by special order only.
19
1 – Wire devices
One of the FM5300 features is realized 1-Wire data protocol, which enables connection of
up to three thermometers (DS1820, DS18S20 and DS18B20) and I-Button DS1990A see Figure 7
Digital thermometer DS1820 and TTJ 100 connection scheme. Figure 8 show FM5300 and 1-wire
devices connection schemes.
20
Figure 8 Digital key “I-Button” DS1990A connection scheme
F
figure 9 Fuel sensor scheme
Impulse counters
Figure describes the connection scheme to the FM5300. Here two pulse meters are used,
where one is mounted on the direct flow valve and the other on the return flow valve. Data from
both meters is sent to the FM5300. Then FM5300 calculates DIN3-DIN4. Resulting difference
equals to fuel consumption. Filter should be used on the direct flow pipe to prevent any damage
caused by impurities in the liquid. The filter mounted in the meter inlet is only a safety filter and
it is too small to act as a strainer.
21
Figure 10 Pulse fuel meters connection scheme
Alarm buttons, door sensors, ignition, etc return two states: high or low voltage. Digital
inputs should be used to read this information. Figure below shows how to connect alarm
button, door sensor, etc.
In cases when sensor output signal is negative an additional relay has to be installed to
convert negative signal to positive.
22
Immobilizer relay
When connected a shown below, FM5300 disables engine starter when output is ON.
More details about relays can be found below.
Relays
A simple automotive relays is used to invert input signal or to immobilize engine starter.
Note, that they are available as 12 or 24 Volt.
23
4 FIRMWARE
Connect FM5300 to PC with the USB cable. Launch “Firmware Updater”, select COM port
to which device is connected, click connect, and when IMEI and Firmware version fields are filled,
start the update. Device needs some time to send IMEI and Firmware version, so do not be afraid
if IMEI will not show up immediately, disconnect and after 1-2 minutes try to connect again.
When starting update device will open link with updater. With link open device downloads
firmware and starts installing. Wait thru all these screens as in Figure 16 for firmware to update.
Update process may take up to several minutes.
24
Figure 16 Firmware updating processes
When you see a green table like in Figure 16, it means that the firmware is flashed to
FM5300 successfully. You may now close the update window and start using your FM5300
device.
25
5 OPERATIONAL BASICS
FM5300 module is designed to acquire records and send them to server. Records contain
GPS and I/O information. Module uses GPS receiver to acquire GPS data and is powered with 3
data acquire methods: time-based, distance-based and angle-based. Method’s details are
described in Data Acquisition chapter 8. All data is stored in flash memory and later can be sent
via GPRS or SMS channels. GPRS mode is the most preferred data sending mode. SMS mode is
mostly used in areas without GPRS coverage or when GPRS usage is too expensive.
GPRS and SMS settings are described in chapters 6.3.1.2.1 and 6.3.1.2.3. FM5300
communicates with server using special data protocol. Data protocol is described in device
protocols documentation. Please contact Teltonika sale manager to find out more about
protocols documentation purchase.
FM5300 can be managed by SMS commands (SMS Command list is described in SMS
Command List section) and GPRS commands (GPRS Command list is described in GPRS Command
List section). Module configuration can be performed over TCP or via SMS. Configuration
parameters and modes are described in device protocols documentation.
FM5300 is designed to operate in two different modes: Normal Mode and Deep Sleep
Mode (Standby mode). Normal Mode means that FM5300 is fully functional and performs all the
functionality mentioned above in Operational principals section.
Deep Sleep Mode is designed to dramatically reduce power consumption. It is a separate
mode and certain conditions must be fulfilled to switch from Normal operation and enter this
mode. Detailed information about how FM5300 enters/exits Deep Sleep Mode and what
functions does FM5300 perform while in this mode can be found in chapter 9.
5.3 Accelerometer
FM5300 has a built in 3 axis accelerometer which allows the device to indicate if vehicle is
moving or not, as well as measure acceleration. Accelerometer sensitivity can be configured – it
has 2 configurable global parameters: start and stop timeouts that define time intervals in
seconds. To indicate that a vehicle is moving, FM5300 constantly (in frequency of 10 Hz) checks
for g force change on X, Y and Z axes. If measured g force keeps exceeding the set limit (it is not
configurable) for defined time interval in “Movement Filter Start” field (Figure 10), then the
vehicle is considered as moving. Same settings for idle indication apply – if g force change is less
than the set limit for time interval defined in “Movement Filter Stop” field then the vehicle is
considered as idle (not moving).
Example for default parameters: Movement Filter Start = 1 and Movement Filter Stop = 30
means that movement will be detected after 1 second and stop will be detected after 30 seconds
of inactivity.
26
Figure 17 Accelerometer settings
FM5300 has functionality to receive and make voice calls. To enable this functionality a
telephone handset with electret microphone and RJ-9 connector must be connected to “Audio”
port.
In “Global Parameters”, “Call Settings” section (Figure 18) there are four parameters: “Call
number”, “Call trigger”, “Ringtone”, and “Auto answer”. To initiate a call an appropriate digital
input has to be selected as a “Call Trigger”. To trigger the call selected input has to be connected
to the Ext. Battery (+). When DIN disconnected from Ext. Battery (+)the call is triggered, FM5300
dials the number which is defined in “Call Number” field. To initiate a call to FM5300 dial a
number of the SIM card that is inserted in FM5300. When FM5300 has an incoming call it can
play a selected tone from the “Ringtone” list. FM5300 will auto answer the call after number of
rings defined in “Auto answer” field.
When FM5300 receives incoming call it triggers DOUT4, if you answer the call or fold,
DOUT4 is turned off. Be sure no associated external equipment is connected to this output.
DOUT4 can be used for buzzer, to hear an incoming call.
“Voice Settings” (Figure 18) section includes settings for “Microphone level” to regulate
microphone sensitivity and “Speaker level” to define how loud will be the speaker.
27
Figure 18 Voice and Call Settings
5.6 Profiles
FM5300 has 4 profiles saved in Flash memory of the module. Every profile has a list of
parameters, which enables FM5300 to operate in different modes while using different profiles.
The easiest way to understand what is a profile is to compare it to a list of instructions that are
written for different cases. You are allowed to setup up to 4 different module behaviours. Global
parameters contain settings that are common for all 4 profiles. This means that if FM5300 is set
to call to predefined number, you will be able to call it while using any profile.
Profile 3 is default profile for FM5300. It is always loaded on the very first start-up and
further profile switching is proceeded after operator scan or I/O element changes.
Switching between profiles (changing behaviour) can be performed by GSM Operator
(mostly used for roaming applications), or by Profile switching depending on I/O Event (on I/O
value changing). More information about Profile switching functionalities can be found in
chapters 7.1 (Switching by GSM Operator) and 7.2 (Switching by I/O Element).
5.7 Features
Scenarios
Four scenarios are available on FM53 device:
a. Digital Output No.1 is used by scenarios – ECO driving/Green driving and/or Over
Speeding;
b. Digital Output No.2 is used by scenarios – Authorized Driving or Immobilizer.
ECO driving/Green driving Scenario. Gives the ability to periodically monitor driving
characteristics and warn the driver against over accelerating, braking or cornering. More about
ECO driving/Green driving read in chapter 10.1
Over Speeding Scenario. Helps to prevent from exceeding fixed speed and inspects driver if
needed. DOUT1 is controlled by scenario for user needs, to manage buzzer, LED etc.
28
Authorized Driving Scenario. Gives ability to use vehicle only for 50 specific iButton owners
(specified in iButton list). DOUT2 is controlled by scenario for user needs, to manage buzzer, LED
etc.
Immobilizer Scenario. Vehicle can be used only if iButton is connected. In this scenario
iButton list is not used – connect any iButton to pass Immobilizer security. DOUT2 is controlled
by scenario for user needs. DOUT2 is continuously OFF. Dout2 turns ON if Ignition turns ON
(Din1=1). After iButton ID is read (any iButton is attached), DOUT2turns OFF. After iButton
identification DIN1 (ignition) can be turned OFF (Din1=0) for no longer than 30 seconds,
otherwise immobilizer must be repeated.
Note: It is possible to use both ECO driving/Green driving and Over Speeding
scenarios at the same time, while Authorized Driving and Immobilizer are not –
one of these has to be chosen.
Trip
Trip customizable feature enables user extended monitoring of performed trips (from
engine start at present location to engine stop at arrived location), log their start and stop points,
view driven total distance. Event will be generated (included into send records) only when trip
starts and finishes.
Geofencing
Geofencing is another feature which is highly customizable and can detect wherever a car
enters or leaves customized areas. More about Geofencing can be read in chapter 6.3.1.3.4 .
Auto Geofencing feature, if enabled, is activated automatically by turning off car ignition.
Next time before driving user has to disable Auto Geofencing with iButton or by turning on car
ignition. In case of theft, the car leaves Auto Geofencing zone without authorization and FM5300
device automatically sends high priority record to AVL application.
iButton list
Ibutton list is used to enter authorized iButton ID codes, which are used to authenticate
driver in Authorized driving and Auto Geofencing options.
6 CONFIGURATOR
6.1 STARTUP
29
Module configuration is performed over USB cable or COM1. Configuration process starts
from starting FM5300 Configurator program and then connecting to FM5300 device via
“Connect” button located on the top left corner of configurator. If one of the communication
sources (USB cable or COM1) is connected to the device, the configurator will detect it
automatically and if connected successfully IMEI, Version fields, which were empty, now are
filled with certain numbers depending on Modem IMEI and firmware version of your device
(Figure 19).
FM5300 has four user editable profiles, which can be both loaded and saved to the device.
User can also revert to default settings, by pressing Load Defaults button. After any modification
of configuration settings it has to be saved to FM5300 device, otherwise it will not be written to
device flash memory.
FM5300 Configurator is divided into 5 main areas (Figure 20):
Buttons area;
Information area;
Profiles or global parameters selection area;
Settings menu;
Configurable parameters and values menu.
30
Figure 20 FM5300 Configurator window structure
Buttons area
Additional Buttons
Button Description
SIM PIN allows to enter PIN code if inserted SIM card has activated PIN code
security
Add Keyword3 / buttons are used to protect configurator from unauthorized access to
Change Keyword / configuration
Switch Security Off
3
Keyword is of 4 - 10 symbol length (Latin text and/or numbers). If a keyword is set, every time user
reconnects FM5300 to USB or COM1 port he will be asked to enter a valid keyword when connecting FM5300 to
configurator. User is given 5 attempts to enter a valid keyword before blocking the configurator.
31
Information area
FM5300 information area is divided into 2 parts located on the top right and bottom of the
configurator. When configurator is connected to the device via USB or COM1 port all necessary
information about the device is shown here:
IMEI – unique number for every FM5300 and usually servers recognize different
devices by this number;
SOURCE – configuration source (device or file);
VERSION – firmware version of the device;
HARDWARE VERSION – hardware version of the device;
STATUS – status bar;
SECURITY STATUS – status of the configurator security;
SIM PIN STATUS – status of SIM card in the device;
After changing profile and global parameters, changes can be saved to FM5300 Flash. By
pressing “Save” button all 4 profiles and Global parameters are saved to the Flash (Figure 22).
32
6.3 Parameters Configuration
Global parameters do not depend on selected profile; they are common for all profiles. To
configure these parameters choose the TAB named “Global Parameters” and make all necessary
changes (Figure 23)
33
Parameter Name Parameter description
settings inputs 0-30V, 0-10V, two inputs 0-10V while other two 0-30V maximum
input range has impact on precision – values on 0-10V input are
measured more precisely than 0-30V (higher resolution).
Defines accelerometer sensitivity range (0.5g, 1g, 1.5, 2g), how many
seconds should movement be detected by accelerometer in order to
Accelerometer
set movement for FM5300 application and how many seconds after
settings
movement is not detected by accelerometer FM5300 application
should treat like movement is still there.
Static Navigation Allows enabling or disabling functionality.
settings
GNSS Settings Allows choosing compatibility mode and satellite System.
COM1 Settings Allows configuring COM1 baud rate, parity and flowing control.
Allows configuring COM2 baud rate, parity mode, end line, binary
COM2 Settings
timeout and 3 prefixes.
When two or three temperature sensors are connected to FM5300 it is
necessary to define sensor ID to certain property separately. This way
Temperature
FM5300 will know which temperature sensor is which property.
Settings
FM5300 automatically updates ID’s field if any sensors are connected
while configuring device via configurator.
Continuous Allows enabling or disabling functionality and start value setting.
Odometer settings
Garmin settings Allows enabling or disabling functionality and Unicode.
In effect only if LLS mode is selected on both COM1 and COM2
Possible values:
34
Parameter Name Parameter description
from GPS data (NMEA strings). If there is no GPS fix, then speed is zero.
If such situation will happen, then Ignition will be monitored instead of
speed:
section), then vehicle is considered to be in idling state;
section), then vehicle is considered to be in moving state
When Vehicle Generator is working supply voltage is usually 2V – 4V volts higher than when it
not.
Ignition from power voltage cannot be used for:
Immobilizer Scenario
Authorized Driving Scenario
While generator is working, it is to late block engine.
35
If ignition from power voltage is selected, DIN1 value will be ignored for these functionalities:
Sleep
Deep Sleep
Trip
Autogeofence
Odometer
Eco Driving
Green Driving
Static Navigation
Example:
6.3.1.2.1 GPRS
‘GPRS’ defines main parameters for FM5300: GSM operator APN and GPRS username and
password (optional – depending on operator), destination server Domain (can be entered either
IP or domain name) and port. Also both TCP and UDP protocols are supported.
Some operators use specific authentication for GPRS session – CHAP or PAP. If any of these
is used, APN should be entered as ‘chap:<APN>’ or ‘pap:<APN>’. I.e. if operator is using APN
‘internet’ with CHAP authentication, it should be entered as ‘chap:internet’. Information about
APN and authentication type should be provided by your GSM operator.
36
6.3.1.2.2 Data limits functionality
Data limit can be configured for Home (“Max Upload in Home”) and Roaming (“Max
Upload in Roaming”) Separately. Currently Min Settings for Home and Roaming are 10MB. User
can choose to get SMS notification if Data limit has been reached. SMS is send only one time.
User can get current status of datalimits using SMS: ‘getlimits’.
User can reset data limits using SMS: ‘resetlimits’.
These SMS can be GPRS commands too. When data limit will be hit following scenario will be
executed:
In TCP mode:
Open GPRS only if there is high or panic Priority. Send only high or panic priority. Low
priority records sending will recover on month 1 day.
In UDP mode:
Open GPRS only if there is high or panic Priority. Send only high or panic priority. Low
priority records sending will recover on month 1 day.
6.3.1.2.3 SMS
Essential fields in ‘SMS’ part is ‘Login’ and ‘Password’ (Figure 26). This login and password is
used with every SMS sent to FM5300. If login and password are not set, every SMS sent to
FM5300 device has to include two spaces before command (<space><space><command>).
Command structure: <login><space><password><space><command>.
Examples:
1. SMS login and password are set – “asd 123 getgps”
2. SMS login and password are not set – “ getgps”
37
Figure 26 GSM->SMS Settings Configuration (1)
SMS data sending Settings enables or disables periodic data and event SMS sending to
server (Figure 27). Configuration is divided into 3 main parts:
1. Enable/Disable functionality;
2. SMS Week Time button (can be pressed only if functionality is Enabled);
3. Server Phone Number (has to be written in first position of Authorized phone
numbers);
38
Using these settings FM5300 can send SMS with 24-coordinates in one SMS; it is used in
areas where no GPRS coverage is available. Module collects data and sends to server binary SMS
containing information about last 24 collected points. SMS sending schedule is set in SMS Week
Time tab. 24-Coordinates SMS decoding is described in device documentation document. Please
contact Teltonika sale manager to find out more about protocols documentation purchase.
FM5300 is able to use GPRS with all operators but if at least one operator is entered in the
list, FM5300 is allowed to connect to GPRS only while operating in listed operator’s network. Also
operator list has influence on profile switching (see details in chapter 7.1) if Global parameter
“Profile switching on event” is disabled.
39
6.3.1.3 Features
6.3.1.3.1 Mode
FM5300 is able to collect records using three methods at the same time: time, distance and
angle based data acquisition (chapter 8). Send and Save Parameters configuration is available in
Features->Mode category (Figure 29):
Min Period – time period change that initializes record save.
Min Angle – angle change that initializes record save (only if vehicle is moving).
Min Distance – distance change that initializes record save (only if vehicle is moving).
Send period – GPRS data sending to server period. Module makes attempts to send
collected data to server every defined period. If it does not have enough records
(depends on parameter Min. Saved Records described above), it tries again after
defined time interval.
GPRS Context Week Time tab – most GSM billing systems charge number of bytes
(kilobytes) transmitted per session. During the session FM5300 makes connection
and transmits data to a server. FM5300 tries to control the session as much as
possible. Session can last hours, days, weeks or session can be closed after every
connection in certain GSM networks – this depends on GSM network provider. GPRS
Context Week Time defines session re-establishing schedule if session was closed by
network. New GPRS context is opened if 10 minutes are left till time checked in table.
Therefore if all boxes are checked, FM5300 is able to open new connection anytime.
At scheduled time match FM5300 checks for GPRS session activity. If GPRS session is
alive, FM5300 sends data to server according to Send period parameter. If it is not,
FM53 checks if it is able to re-establish the session.
40
6.3.1.3.2 Scenarios
In Scenarios window four different scenarios are available, two per each Digital Output
(DOUT). Only one per digital output can be active at a same time, e.g. DOUT1 can have either
ECO driving/Green driving/Green driving or Over Speeding enabled, DOUT2 can have either
Authorized Driving or Immobilizer enabled.
Scenarios configurable parameters are shown in Figure 30. All values of these parameters
are described in chapter 10.
6.3.1.3.3 Trip
Trip window offers user to configure Trip feature. If Trip is enabled configuration of
parameters is available:
Start Speed – speed, which is detected as minimum speed to indicate Trip start.
Ignition Off Timeout – timeout to wait if ignition was off, to detect Trip stop.
Continuous distance counting – Not or Continuous can be chosen. For this feature
I/O Odometer must be enabled.
41
Figure 31 FM53 Features->Trip Configuration
If I/O Odometer is enabled and Continuous distance counting variable is set to Continuous,
Trip distance is going to be counted continuously (from Trip start to Trip stop). This value is
written to I/O Odometer value field. When Trip is over and next Trip begins, Odometer value is
not reset to zero, it is counted continuously again.
If I/O Odometer is enabled and Continuous Distance Counting variable is set to Not, then
distance is going to be counted only between every record made. This value is written to I/O
Odometer value field and reset to zero every new record until Trip stops. If later all Odometer
values are summed up manually user gets distance driven over the whole Trip period.
6.3.1.3.4 Geofencing
FM5300 has 20 configurable Geofence zones and it can generate event when defined
Geofence zone border has been crossed.
42
Configuration of the parameters is available in Features->Geofencing (Figure 32)
Track Nr. 2
Track Nr. 1
AutoGeofence – the last known position after movement = off. If your car is being taken
away – you can be notified. The shape and size of the geofence zones are configurable. When
object will leave geofence zone device will trigger an asynchronous message.
43
Figure 34 FM53 Features->Autogeofencing Configuration
Auto Geofencing does not require entering coordinates, instead it requires GPS visibility. If
vehicle stopped and activation timeout is reached, Auto Geofence will be created around the
vehicles last position by set Radius value. Auto Geofence event generation works the same as
Geofencing mentioned above.
44
6.3.1.3.5 iButton List
iButton list is used to enter authorized iButton ID codes, which are used to authenticate
driver in Authorized driving and Auto Geofencing options.
6.3.1.4 I/O
If all I/O elements are disabled AVL packet comes with GPS information only. After enabling
I/O element(s) AVL packet in couple with GPS information contains current value(s) of enabled
I/O element.
6.3.1.4.1 FM5300 available I/O list
45
Permanent I/O elements
(are always sent (with every record) to server if enabled)
Nr. Property Name Bytes Description
14 Internal Battery Current 2 Voltage: mA
15 PCB Temperature 4 10 * Degrees ( °C )
0-off/ 1-no antenna (only when using NAVYS)/ 2- no fix/
16 GNSS status 1
3-got fix/ 4-sleep/ 5-over current
17 Dallas Temperature 1 4 10 * Degrees ( °C ), -55 - +115, if 3000 – Dallas error
18 Dallas Temperature 2 4 10 * Degrees ( °C ), -55 - +115, if 3000 – Dallas error
19 Dallas Temperature 3 4 10 * Degrees ( °C ), -55 - +115, if 3000 – Dallas error
20 Fuel Counter 4 Difference of generated impulses on two signal lines
21 iButton ID 8 iButton ID number
22 GPS PDOP 2 Probability * 10; 0-500
23 GPS HDOP 2 Probability * 10; 0-500
24 Odometer 4 Distance between two records: m
25 Deep Sleep 1 0 – not deep sleep mode, 1 – deep sleep mode
26 Cell ID 2 GSM base station ID
Location Area code (LAC), it depends on GSM operator.
27 Area Code 2 It provides unique number which assigned to a set of
base GSM stations. Max value: 65536
28 Movement 1 0 – not moving, 1 – moving.
29 Current Operator Code 4 Currently used GSM Operator code
Fuel level, measured by LLS sensor on COM1, in kvants
30 Fuel level meter 1 2
or liters.
Fuel temperature, measured by LLS sensor on COM1, in
31 Fuel temperature 1 1
degrees Celsius.
Fuel level, measured by LLS sensor on COM2, in kvants
32 Fuel level meter 2 2
or liters.
Fuel temperature, measured by LLS sensor on COM2, in
33 Fuel temperature 2 1
degrees Celsius.
Read RFID value, depending on RFID mode, values can
34 RFID ID 8 be: for RFID mode in hexadecimal format, RFID M7
mode in decimal format.
4
CAN property length can vary depending on filter settings. Data can be sent as 1, 2, 4 or 8 byte property.
46
Eventual IO elements
(generated and sent record to server only if appropriate conditions are met)
Nr. Property Name Bytes Description
46 CAN 7 Varying ID Specific data
47 CAN 8 Varying ID Specific data
48 CAN 9 Varying ID Specific data
49 Geofence zone 01 1 Event: 0 – target left zone, 1 – target entered zone
50 Geofence zone 02 1 Event: 0 – target left zone, 1 – target entered zone
51 Geofence zone 03 1 Event: 0 – target left zone, 1 – target entered zone
52 Geofence zone 04 1 Event: 0 – target left zone, 1 – target entered zone
53 Geofence zone 05 1 Event: 0 – target left zone, 1 – target entered zone
54 Geofence zone 06 1 Event: 0 – target left zone, 1 – target entered zone
55 Geofence zone 07 1 Event: 0 – target left zone, 1 – target entered zone
56 Geofence zone 08 1 Event: 0 – target left zone, 1 – target entered zone
57 Geofence zone 09 1 Event: 0 – target left zone, 1 – target entered zone
58 Geofence zone 10 1 Event: 0 – target left zone, 1 – target entered zone
59 Geofence zone 11 1 Event: 0 – target left zone, 1 – target entered zone
60 Geofence zone 12 1 Event: 0 – target left zone, 1 – target entered zone
61 Geofence zone 13 1 Event: 0 – target left zone, 1 – target entered zone
62 Geofence zone 14 1 Event: 0 – target left zone, 1 – target entered zone
63 Geofence zone 15 1 Event: 0 – target left zone, 1 – target entered zone
64 Geofence zone 16 1 Event: 0 – target left zone, 1 – target entered zone
65 Geofence zone 17 1 Event: 0 – target left zone, 1 – target entered zone
66 Geofence zone 18 1 Event: 0 – target left zone, 1 – target entered zone
67 Geofence zone 19 1 Event: 0 – target left zone, 1 – target entered zone
68 Geofence zone 20 1 Event: 0 – target left zone, 1 – target entered zone
69 Auto Geofence 1 Event: 0 – target left zone, 1 – target entered zone
70 Trip 1 1 – trip start, 0 – trip stop
71 Immobilizer 1 1 – iButton connected
72 Authorized driving 1 1 – authorized iButton connected
ECO driving/Green 1 – harsh acceleration, 2 – harsh braking, 3 – harsh
73 1
driving type cornering
ECO driving/Green Depending on ECO driving/Green driving type: if harsh
74 1
driving value acceleration, braking and cornering – g*10 m/s2
At over speeding start km/h, at over speeding end
75 Over Speeding 1
km/h
There are two types of operations with Permanent I/O elements: simple
monitoring and event generating. Monitoring method is used when current I/O
information needed with regular GPS coordinates. Event generating method is
used when additional AVL packet is needed when current value of I/O exceeds
predefined High and Low levels. I/O settings allow defining I/O event criteria.
47
6.3.1.4.2 I/O configuring
48
Pos.
DESCRIPTION
Nr.
value for Averaging constant time. One unit of averaging constant value equals 20
milliseconds.
Selected data source value input averaging constant are calculated by following
formula:
Where:
VALMean – Value calculated during actual cycle5;
VALMean-1 – Value calculated during previous cycle;
CONST – Averaging constant;
REALVAL – Real value detected on digital input.
I/O properties are additional data sources, which are recorded along with usual GPS data.
I/O#0 property parameter (ID=300)
Parameter defines I/O property value. Possible values are given below.
5
One cycle equal to 20 ms.
49
I/O#0 Low level (ID=303)
I/O#0 logic operand (ID=304)
I/O#0 averaging constant
(ID=305)
50
I/O#0 averaging constant (ID=305)
Parameter defines I/O property sample length to average. If no averaging needed default
value is 1.
Other I/O property elements can be configured in the same logic. All I/O element parameters
are listed below.
51
6.3.1.5 CAN
CAN – Controller Area Network (CAN or CAN-bus) is a computer network protocol and
bus standard designed to allow microcontrollers and devices to communicate with each
other and without a host computer (see chapter 12).
6.3.1.5.1 CAN interface parameters
52
6.3.1.5.1.4 CAN#0 CAN ID (ID=772)
Parameter defines CAN identifier. ID can be 11 or 29 bits length.
Example: 18FEE925 (total fuel used)
Table 23 CAN ID
Minimum Maximum Recommended Goes with (depends on)
Value type
value value value parameters
The rest CAN elements are configured in the same sequence. CAN elements and parameters
ID’s are listed below.
53
There are only 14 I/O parameters that could use Averaging Constant:
Digital Inputs (1-4); Analog Inputs (1-4); Battery Voltage; Battery Current;
External Voltage; PDOP; HDOP; Speedometer.
I/O parameters: “Current Profile”, “Fuel level meter” (1-2), “Fuel
temperature” (1-2), “GNSS Status”, “Movement”, “Active GSM Operator”,
“iButton ID”, “Odometer”, “GSM Signal”, “Deep Sleep”, “Cell ID”, “Area
Code”, “PCB Temperature”, “Dallas temperature Sensor 0..2”, “Fuel
Counter” and “RFID ID” cannot use Averaging constant functionality.
6.3.1.6 Configurable parameter values and Global parameter values
54
X1 (Rectangle) / X
-180 180 0 - Float
(Circle)
Zone #1 Latitude Y1 -90 90 0 - Float
(Rectangle) / Y 034
(Circle) -90 90 0 - Float
Zone #1 Longitude -180 180 0 - Float
X2 (Rectangle) / R 035 180 /
(Circle) 0 0 0 Float
9999999.99
Zone #1 Latitude Y2 -90 90 0 - Float
(Rectangle) / None 036
(Circle) - - - - -
AutoGeofencing parameters (chapter 6.3.1.3.4.2)
Deactivate By 290 0 (Ignition) 1 (iButton) 0 - U8
Enable/Disable 291 0 (Disable) 1 (Enable) 0 1 U8
Activation Timeout
292 0 65535 60 60 U16
(in seconds)
Priority (0 – Low, 1 –
High, 2 – Panic, 4, 5,
293 0 7 (exl. 3) 1 1 U8
6, 7 – SW21, SW22,
SW23, SW24)
Event Generating (0
– no event, 1 – on
294 0 3 0 2 U8
enter, 2 – on exit, 3
– on both)
Radius (in meters) 295 0 9999999 100 100 U32
iButton List (chapter 6.3.1.3.5)
710- FFFFFFFF
Authorized iButtons 0 - U64
759 FFFFFFFF
Features parameters (chapter 5.7)
Ignition source 900 0 1 0 - U8
High Level (for
901 0 30000 0 - U16
Ignition)
Low Level (for
902 0 30000 0 - U16
Ignition)
Digital Output No.1
Usage Scenarios (0 –
disable, 1 – ECO 910 0 2 0 - U8
driving, 2 – Green
driving)
Max Allowed Speed 911 0 350 90 - U16
Max Acceleration
912 0 255 22 25 Float
Force
Max Braking Force 913 0 255 25 35 Float
Max Cornering
914 0 255 21 - Float
Force
Acceleration Active
918 0 10 1 - -
Output Duration
55
Breaking Active
919 0 10 1 - -
Output Duration
Cornering Active
920 0 10 1 - -
Output Duration
Digital Output No.2
921 0 2 0 - U8
usage scenarios
OverSpeeding (0 –
922 0 1 0 - U8
disable, 1 – enable)
Trip Start/Stop
Detection (0 – 280 0 1 1 - U8
disable, 1 – enable)
Start Speed 281 0 255 5 - U8
Ignition Off Timeout 282 0 65536 60 - U16
Trip Continuous
Distance Counting (0
283 0 1 0 - U8
– not, 1 –
continuous)
Manual CAN
Can Baud rate 760 50 1000 0 Autobaud(0) -
CAN mode 761 0 1 0 - -
CAN
Type (0 – standard 770 -
0 1 1 - -
ID, 1 – extended ID) 860
771-
Output mask 1 255 0 - -
861
4 byte 4 byte
772 -
CAN ID hexadecima hexadecimal 0 - -
862
l number number
773 -
CAN Enable/Disable 0 1 0 - -
863
Auto CAN
Enable/Disable Auto
20990 0 1 0 - -
CAN
GSM parameters (chapter 6.3.1.2)
Server Response
230 5 300 5 - U16
Timeout
GPRS Content
Activation (0 – 240 0 1 0 - S8
disable, 1 – enable)
APN Name 242 Empty 32 char Empty - S8[32]
APN username 243 Empty 30 char Empty - S8[30]
APN Password 244 Empty 30 char Empty - S8[30]
Domain 245 Empty 56 char Empty - -
Target Server Port 246 0 65535 0 - U16
Protocol (0 – TCP, 1
247 0 1 0 - U8
– UDP)
Max Upload in 236 10 10000 100 - -
56
Home
Home – Send SMS
238 0 10 0 - -
to number
Max Upload in
237 10 1000 10 - -
Roaming
Roaming – Send
239 0 10 0 - -
SMS to number
SMS data sending
settings (0 – disable, 250 0 1 0 - S8
1 – enable)
SMS Login 252 Empty 5 char Empty - S8[5]
SMS Password 253 Empty 5 char Empty - S8[5]
Authorized phone 260-
Empty 16 char Empty - S8[17]
numbers 269
Operator Code 271 0 99999999 0 - U32
SMS Data send Binary Binary
273 - - 20 byte array
week time schedule decoding decoding
57
Garmin Unicode 118 0/1 (0 – disable, 1 – enable) 1
COM1 Baudrate 119 9600 – 256000 115200
1 – 255 (5 – Silent, 13 – FM Log, 97 – LLS, 98 –
LCD, 99 – RFID, 100 – RFID M7, 101 – Garmin,
COM1 Mode 120 5
161 – COM TCP Link, 177 – COM TCP Link
(binary), 200-203 – Reserved 1-4)
DUAL LLS mode selection 121 0/1 (0 – disable, 1 – enable) 1
COM2 Baudrate 122 0 – 115200 115200
COM2 Parity 123 0/1/2 (0 – none, 1 – even, 2 – odd) 0
0 – 255 (5 – Silent, 13 – FM Log, 15 – NMEA, 97 –
LLS, 98 – LCD, 99 – RFID, 100 – RFID M7, 101 –
COM2 Mode 124 5
Garmin, 161 – COM TCP Link, 177 – COM TCP
Link (binary), 200-203 – Reserved 1-4)
Backup Mode 125 0/1 (0 – disable, 1 – enable) 0
COM2 Binary TMO 126 1 – 255 10
COM2 Prefix1 127 0 – 255 0
COM2 Prefix2 128 0 – 255 0
COM2 Prefix3 129 0 – 255 0
Auto Answer 130 1 – 10 (number of rings) 3
Idling control 131 0/1 (0 – disable, 1 – enable) 1
State idle=1 speed 132 0 – 90 (Speed km/h) 16
State idle=1 time 133 180 – 900 (time in seconds) 180
State idle=0 speed 134 1 – 300 (Speed km/h) 20
State idle=0 time 135 1 – 900 (time in seconds) 1
Dallas temp Sensor 0 ID 140 Up To 16 Char (FW) 0
Dallas temp Sensor 1 ID 141 Up To 16 Char (FW) 0
Dallas temp Sensor 2 ID 142 Up To 16 Char (FW) 0
lls1_poly_a0 143 all float range 0.0
lls1_poly_a1 144 all float range 1.0
lls1_poly_a2 145 all float range 0.0
lls1_poly_a3 146 all float range 0.0
lls1_poly_a4 147 all float range 0.0
lls1_poly_a5 148 all float range 0.0
lls2_poly_a0 149 all float range 0.0
lls2_poly_a1 150 all float range 1.0
lls2_poly_a2 151 all float range 0.0
lls2_poly_a3 152 all float range 0.0
lls2_poly_a4 153 all float range 0.0
lls2_poly_a5 154 all float range 0.0
Network Ping Timeout 155 0 – 30 (time in minutes) 5*
Data saving without time
157 0/1 (0 – disable, 1 – enable) 0
synchronization
58
* From firmware version 01.07.60.Rev:01, network ping timeout default value – 0
When the FM5300M is working in offline mode, it can save over 45,000 records. Since
these records are not sent to the server, they can be downloaded directly to computer using USB
connection. When FM5300 connected to configurator appears additional option “Read Records”
(Figure 30).
After device is switched on, you have to wait 3 minutes for device to startup. Only then it is
possible to download records. If the memory is fully filled, reading may take several minutes. All
records are deleted from device’s memory after reading. Data is stored in a binary file on PC.
Records could be uploaded from file to TAVL server and access all the data from TAVL
application.
ATTENTION! New functionality is available only with FM53M version. Check for
correct version on your FM53M sticker as it is shown below (Figure 38). In the
lower right corner has to be M symbol indicating FM53M version.
59
TAVL client application lets user to use the following features:
• Import data file saved from the device to the TAVL;
• Preview track of the imported data;
• Generate reports based on imported data.
More details on how to use TAVL application please refer to “TAVL manual v1.5”
documentation or its latest versions.
FM53M version can be still used as a standard FM53. It can be configured to acquire and
send data to server. It will be possible to store up to 47,615 data records if GSM is not available
at the moment. It will send data later when GPRS is available again. Note that FM53M can have
memory full of records. In such a case it will start deleting oldest records in order to save new
ones. Sending all the data records to server may take some time.
7 PROFILE SWITCHING
FM5300 has 4 profiles saved in Flash memory of the module. Every profile has a list of
parameters, which enables FM5300 to operate in different modes while using different profiles.
The easiest way to understand what is a profile is to compare it to a list of instructions that are
written for different cases. You are allowed to setup up to 4 different module behaviours. Global
parameters contain settings that are common for all 4 profiles. This means that if you set
FM5300 to call to a predefined number, you will be able to call it while using any profile. Basic
scheme of Global parameters and profiles is shown below. According to the scheme, every
profile has a list of parameters. Global parameters are common for all profiles. (Figure 39)
60
Profile 3 is default profile for FM5300. It is always loaded on the very first start-up and further
profile switching is proceeded after operator scan or I/O element changes (although device
remembers which profile it used after that).
In the example (Figure 40) FM5300 connects to operator with code 24702. It checks profile
1 operator list, but there is only one operator code entered which does not mach. Then it checks
profile 2 operators list. This code is entered there, so FM5300 switches to profile 2.
If there are no operator codes entered in all profiles after operator search task FM5300 will
check all 3 profiles and won’t find any operators in any list. In such a case, FM5300 will switch to
profile 3. Note that before switching to profile 3, the device closes the GPRS session.
61
Figure 40 GSM Operator code profile switching (…)
62
7.2 Profile switching dependence on I/O event
Another profile switch method is based on I/O event. Events happen when the value of
enabled I/O intersects thresholds (enter, exit, on both, hysteresis) predefined by High and Low
level thresholds. SW21, SW22, SW23, SW24 stands for “Switch to profile No. X”. After an event
happens, FM5300 switches to a defined profile. Using profile switching you can create smart
applications. SW2X actions can be performed only if “Profile change on event” is enabled in
Global parameters. Pictures below illustrate profile switching depending on digital events:
Example #1
Configuration of Profile1 to switch to Profile2 on DIN1 value change from 0 to 1:
Example #2
Configuration of Profile2 to switch to Profile1 on DIN1 value change from 1 to 0:
63
Figure 43 Switch to profile on event (2)
8 DATA ACQUISITION
Data can be acquired using GPS or I/O elements. GPS data is for basic vehicle tracking, data
acquisition by I/O elements gives more specific information.
64
Min. Period
Time based data acquiring (Figure Figure 45) – records are being acquired every time when
defined interval of time passes. Entering zero means that data will not be recorded according to
time. This method is suitable best for basic position update.
Min. Distance
Distance based data acquiring (Figure Figure 46) – records are being acquired when the distance
between previous coordinate and current position is greater than defined parameter value.
Entering zero means that data won’t be recorded. This method is suitable for non-urban
territories where moving trajectory is straight.
Min. distance
Min. Angle
Angle based data acquiring (FigureFigure 47) – records are being acquired when angle difference
between last recorded coordinate and current position is greater than the defined value.
Entering zero disables data acquisition depending on angle. This method is suitable for urban
territories. Note that record generation by angle is performed if vehicle is moving at least
6 km/h.
Min. angle
65
8.2 I/O data acquisition
Data also can be acquired using input output elements (it’s change). All base elements are
declared in Table 9 PERMANENT I/O elements list description and in Table 10 EVENTUAL I/O
elements list description
Configuration
Data acquisition by I/O elements can be configured selecting I/O menu in configurator
(refer to chapter 6.3.1.4.2).
Priority: Low – as a regular data; High – generated record are sent immediately to server;
Panic – generated record are sent immediately to server and simultaneously the same record as
SMS message;
High Level: High range of value input;
Low Level: Low Range of value input;
Averaging constant: (see detailed description in chapter 6.3.1.4.2)
Event generation
There are five record event generation type examples (I/O speed is taken as I/O value
example), please refer to Figures below.
0 0
- Event Generated / Record Saved Time, t - Event Generated / Record Saved Time, t
0 0
- Event Generated / Record Saved Time, t - Event Generated / Record Saved Time, t
66
Speed, 5. Hysterisis
Km/h
High Level
100
Low Level
20
0
- Event Generated / Record Saved Time, t
Figure 52 Event on Hysteresis
Event on Zone Entrance: record is generated when actual source value input is between
High and Low level ranges which are set in configuration;
Event on Zone Exit: record is generated when actual source value input increases and
becomes higher than High level and Low level values;
Event on Both: record is generated when actual source value input increases/decreases and
becomes higher/lower than high and low level declared values;
Monitoring: no event at all; I/O values are recorded only when other trigger have worked
(GPS acquisition or other I/O trigger)
Hysteresis: record is generated when actual source value input becomes higher than High
level value, and decreasing becomes less than Low level value
Event on Change: record is generated on every source value change.
SLEEP MODE
FM5300 is able to go to sleep mode after configurable Sleep timeout. This timeout (defined
period) starts counting when device is in STOP mode. After timeout is reached and all conditions
for sleep mode are met, device goes to sleep mode. While in sleep mode, FM5300 turns GNSS
module off (it is possible to communicate with device through SMS). Therefore records with last
good coordinate are being saved and sent to AVL server if configured. Depending on two
configurable parameters, send period and min period*. Also event records are being recorded
with last known coordinate and sent to AVL server. As a result power usage decreases allowing
saving vehicle battery.
FM5300 can enter sleep mode if ALL of these conditions are met:
FM5300 has to be configured to work in Sleep mode and Sleep timeout is reached;
Device must be synchronized time with GNSS satellites;
No movement by accelerometer is detected;
Ignition (DIN1) is off;
FM5300 exits sleep mode when if ONE of following conditions are true:
Movement by accelerometer is detected;
67
Ignition (DIN1) is turned on;
While in deep sleep mode, FM5300 works the same way like in Sleep mode, device saves
records with last good coordinates and sends them to AVL server if configured. Depending on
two configurable parameters, send period and min period. The difference is that device turns off
both GPS and GSM modules (it is not possible to wake up device via SMS or communicate with
it). When there is a record, GSM/GPRS module is turned on to send data and after successful
data send, device immediately returns to deep sleep mode.
FM5300 can enter deep sleep mode (standby mode) if ALL of these conditions are met:
FM5300 has to be configured to work in Deep Sleep mode;
Start-up timeout has elapsed (5 minutes after every restart of the device);
No movement by accelerometer is detected;
Ignition (DIN1) is off (driven logic low);
Send period is more than 60 seconds (Data Acquisition Mode settings);
USB cable is not connected.
FM5300 exits deep sleep mode if ONE of the following conditions are true:
Movement by accelerometer is detected (depends on accelerometer start settings);
Ignition (DIN1) is turned on (driven logic high);
USB cable is connected;
HIGH or PANIC priority eventual record is detected;
68
Note: In order to save GPRS traffic records saved in deep sleep mode contain
below listed I/O elements information:
Digital Inputs (1-4), Analog Inputs (1-4), Battery Voltage, Battery Current,
Digital Outputs (1-4), External Voltage, Movement Sensor, Deep Sleep.
Also, Deep Sleep I/O is always LOW PRIORITY!
In sleep timeout bar you need to set after what time your device goes back to
sleep/ deep sleep modes.
ECO driving or Green driving Scenario? Eco driving is based on accelerometer value and
Green driving based on GPS position.
69
PLEASE NOTE that Eco Driving functionality generally is dependent on
accelerometer. Device must be on plain/horizontal surface to calibrate itself
correctly. It calibrates once it is powered up.
Mounting Requirements
PLEASE PAY ATTENTION, that ECO driving functionality will operate correctly
only if device is mounted into the vehicle in a proper position.
For ECO driving to work properly, device connection pins socket must point towards the
vehicles front side. Deviations of +/- 2o are allowed. But it should be as straight as possible.
70
Deviations of maximum +/- 15o are allowed (Figure 54).
15 0
0
15
20 max 20 max
71
Configuration
Data output
ECO driving/Green driving functionality generates events on three cases. If vehicles:
Acceleration exceeds defined parameter value
Deceleration (braking) exceeds defined value
Cornering force exceeds defined value
72
Program continously monitors and process data from accelerometer than decides
whether harsh event is detected or not. If any of three cases are satisfied event is
generated. Record is saved and sent to server (FM5300 must be configured properly).
Event value is multiplied by 10 before sending/saving record to get more precision
when displaying data*.
Digital output No.1 is activated for a period of time to warn driver. Output on-time
should/can be configured separately for each case.
*Example. If acceleration harsh event of 3.55 m/s2 detected. Record with value 3.55*10 = 35.5
≈ 36 will be saved ant sent to server.
Configuration
73
10.3 Immobilizer Scenario
Immobilizer. Vehicle can be used only if iButton is connected. In this scenario iButton list is
not used; connect any iButton to pass Immobilizer security. DOUT2 is controlled by scenario for
user needs.
Configuration
Configuration
Silent Mode
FM5300 doesn’t do any activity in silent mode. Logs aren’t saved and any data isn’t sent.
74
FM Log Mode
LLS Mode
Note
On COM1: Level will be with ID:201 Temperature will be with ID:202 On COM2:
Level will be with ID:203 Temperature will be with ID:204.
On Valid data Receive Status LED will blink.
If additional accuracy is required, LLS fuel sensors can be configured. For polynoms
configuration to work both LLS on COM1 and COM2 must be selected. As that is done
“Advanced LLS setup” can be clicked. (Figure 60)
75
LCD Mode Configuration
Notes:
#DO DAT= command prints only to COM2
in addition these commands were added:
#DO DAT_1= to print to COM1 #DO DAT_2= to print to COM2
Link between FM and server has to be established for this functionality to work
On Valid data Receive Status LED will blink.
76
Garmin Mode Configuration
10.5.1.3 Settings
Note:
If the Garmin is selected on com1 and com2 the com1 will be preferred.
77
10.5.1.4 Firmware Configuration
Supported Garmin protocols: A***
(http://developer.garmin.com/lbs/fleet-management/fmi-protocol-support-matrix/)
Blocked Garmin ID’s:
Command 0A
Date/Time Data 0E
Unit ID/ESN 26
Pvt Data 33
Legacy Stop Message 87
Legacy Text Message 88
Ping 0260
Ping response 0261
Product ID Request 0001
Product ID Data 0002
FM send ACK the these packets, ant these packets are not sent to server to reduce traffic.
Allowed Garmin ID’s:
ACK 06
NAK 15
Fleet Management Packet A1
Note:
If packet are not listed here packet ID will be ignored.
These parameters are 78utomatically configured when TCP Link mode is selected:
* Record refresh timeout 9999999 sec.
* ignores weektime, timesync, and records
6
For additional information of special packet, please contact to your local sales representative
78
TCP Link Mode (Binary)
This mode is the same as above but binary message will be accepted to/from COM port.
This mode also have some advanced filtering capabilities.
1. Globals->COM2 Settings->Baudrate = any of available baudrates
2. Globals->COM2 Settings->Mode = TCP Link Mode
3. Globals->COM2 Settings->Parity = any setting
4. Globals->COM2 Settings->Timeout = any setting (x10 msec.)
(How much time to wait before detecting end of packet)
5. Globals->COM2 Settings->Parity = any setting
6. Globals->COM2 Settings->Prifix1 = any setting
(incoming 1 byte must match to Prefix1 to be accepted)
7. Globals->COM2 Settings->Prifix2 = any setting
(incoming 2 byte must match to Prefix2 to be accepted)
8. Globals->COM2 Settings->Prifix3 = any setting
(incoming 3 byte must match to Prefix3 to be accepted)
(0 and 255 don’t care)
In this mode NMEA logs are sent via COM1 and COM2 ports.
79
11 SMS COMMAND LIST
SMS commands are used to identify FM5300 current state, possible configuration errors,
perform reset, set parameters, switch on/off outputs, etc.
SMS commands should be sent along with module login and password and sender number
must be entered in the authorized number list (if at least one other number is entered). Please
see SMS settings in chapter 6.3.2.2.2 for more details.
80
setparam # # Set parameter value according entered ID and Value. Yes
1.# - ID value.
2.# - New Parameter Value
flush Initiates all data sending to specified target server Yes
#,#,#,#,#,#,# 1.# - IMEI
2.# - APN
3.# - LOGIN
4.# - PASS
5.# - IP
6.# - PORT
7.# - MODE (0-TCP/1-UDP)
sn x [x=0;1] Enable/disable static navigation Yes
banlist Banlist information Yes
crashlog Crash log information Yes
delete_all_sms Delete all read SMS No
getgnss Current GNSS information Yes
odinfo Current odometer information Yes
prof2backup Saves configuration to backup Yes
backup2prof Recovers saved profile Yes
getcontsens Dallas temp Sensors ID order Yes
savecontsens Save Dallas temp Sensors ID order as it written in „getcontsens” Yes
11.1 getstatus
Table 29 getstatus
Response details Description
Data Link Indicate module connection to server at the moment: 0 – Not connected, 1
– connected
GPRS Indicate if GPRS is available at the moment
Phone Voice Call status: 0 – ready, 1 – unavailable, 2 – unknown, 3 – ringing, 4 –
call in progress, 5 – asleep
SIM SIM Status: 0-ready, 1-pin, 2-puk, 3-pin2, 4-puk2
OP Connected to GSM Operator: Numerical id of operator
Signal GSM Signal Quality [0-5]
NewSMS Indicate if new message received
Roaming 0 – Home Network, 1 – roaming
SMSFull SMS storage is full? 0 – ok, 1 – SMS storage full
LAC Location Area Code
Celll ID Cell ID
Answer Example: Data Link: 0 GPRS: 1 Phone: 0 SIM: 0 OP: 24602 Signal: 5 NewSMS: 0
Roaming: 0 SMSFull: 0 LAC: 0 Cell ID: 0
81
11.2 getweektime
Table 30 getweektime
Response details Description
Clock Sync Indicates system clock synchronization status. 0 – System is not
synchronized, 1 – System synchronized
DOW Day Of Week – indicates current day of week starting from 1 – Monday, 2 –
Tuesday, etc.
Time Indicates current GMT time
WeekTime Indicates time in minutes starting from Monday 00:00 GMT
11.3 getops
Table 31 getops
Response details Description
LIST Returns list of current available allowed operators.
11.4 readops #
Table 32 readops #
Response details Description
LIST Returns acknowledgment of operators in active profile configuration.
11.5 getnmeainfo
Table 33 getnmeainfo
Response details Description
BchSum Nmea packets with bad checksum counter.
Hact Actual HDOP
BT Nmea packets with bad timestamp counter
Blat Nmea packets with bad latitude counter
Blon Nmea packets with bad longitude counter
BSpd Nmea packets with bad speed counter
Bang Nmea packets with bad angle counter
GJC Nmea packets with GPS jumps counter
Rjc Rejected Nmea packets counter
Answer Example: BchSum: 0 Hact: 0.9 BT: 0 Blat: 0 Blon: 0 BSpd: 0 Bang: 0 GJC: 0 , Rjc: 11, Flt:
975, V: 1
82
11.6 getcfgtime
Table 34 getcfgtime
Response details Description
Date/Time Returns last performed configuration date and time.
11.7 getgps
Table 35 getgps
Response details Description
GPS Indicates valid (1) or invalid (0) GPS data
Sat Satellites in use
Lat Latitude (Last good Latitude)
Long Longitude (Last good Longitude)
Alt Altitude, m
Speed Ground speed, km/h
Dir Ground direction, degrees
Date Current date
Time Current GMT time
Answer Example: GPS:1 Sat:7 Lat:54.71473 Long:25.30304 Alt:147 Speed:0 Dir:77 Date:
2007/8/24 Time: 13:4:36
11.8 loadprofile#
11.9 cpureset
11.10 resetallprof
11.11 getver
Table 36 getver
Response details Description
Code Ver Firmware version
83
Device IMEI IMEI
Device ID Device ID is used to detect which type of configuration to load
BL Ver Bootloader Version
Modem App Ver Version of modem application
Hw Hardware type
11.12 getio
Table 37 getio
Response details Description
DI# Digital Input state
DO# Digital Output state
AI# Analog Input state
Answer Example: DI1:0 DI2:0 DI3:0 DI4:0 AI1:0 AI2:0 AI3:0 AI4:0 DO1:0 DO2:0 DO3:0 DO4:0
11.13 getinfo
Table 38 getinfo
Response details Description
INI Device Initialization Time
RTC RTC Time
RST Restart Counter
ERR Error Counter
SR Number of Sent Records
BR Number of broken records
CF Profile CRC Fail counter
FG Failed GPRS counter
FL Failed link counter
UT UPD Timeout counter
P# Current profile
#;#;#;#;# # - how many times appropriate profile ( Profile0; Profile1; Profile2;
Profile3; Profile4 ) was loaded
SMS Sent SMS Counter
NOGPS No GPS Timer
GPS GPS receiver state. 0 – OFF, 1 – restarting, 2 – ON but no fix, 3 – ON and
operational, 4 – sleep mode
SAT Average satellites
RS Reset Source Identification
RF Number of records found on FLASH
84
Answer Example: INI:2007/8/24 10:15 RTC:2007/8/24 12:43 RST:2 ERR:11 SR:182 BR:0 CF:0
FG:0 FL:0 UT: P:1;0;1;0;0;0 SMS:2 NOGPS:0:0 GPS:3 SAT:7 RS:7 RF:11
11.14 deleterecords
Deletes all saved records from device memory. Device does not send a response back to
the sender.
11.15 readio #
Table 39 readio #
Response details Description
ID IO element ID
Value IO Element value
Sets digital outputs to ON or OFF state (for some time if needed). Value is written as a row
for OUT1, OUT2, OUT3, OUT4 values.
Example: ‘setdigout 0010 0 0 5 0’ will set OUT3 to high level for 5 seconds, while OUT1,
OUT3 and OUT4 to low level.
Ans. Example: “DOUTS are set to:0010 TMOs are: 0 0 5 0. Out1 Scenario: Enabled Out2
Scenario: Disabled”
To ignore digital outputs values and make ON/OFF state only to one digital output any
character except 0 and 1 can be used.
Example: ‘setdigout ?1??’ will set OUT2 to high level for indefinite period of time while
OUT1, OUT3 and OUT4 remain as they were set before
Read parameter value. ID consists of 4 digits – first digit identifies profile, second, third and
fourth identifies parameter ID as described in Parameters Configuration chapter.
85
11.18 setparam #### #
Sets new value for parameter. ID consists of 4 digits – first digit identifies profile, second,
third and fourth identifies parameter ID as described in Parameters Configuration chapter. In
value field a new parameter value is entered.
Example: ‘setparam 1245 127.0.0.1’ will change configured IP address in profile1 with new
value
Initiates all data sending by GPRS to specified target server. Comma separated parameters
go as numbered:
1.# - IMEI
2.# - APN
3.# - GPRS LOGIN
4.# - GPRS PASSWORD
5.# - IP
6.# - PORT
7.# - MODE (0-TCP/1-UDP)
Parameters are separated by comma (no spaces needed). In case you do not need to enter
parameter (Login/Pass) – do not put space, simply put comma and write next parameter.
Table 41 flush
Response details Description
FLUSH SMS FLUSH SMS Accepted
Accepted
# records found on Number of records found on FLASH
FLASH
Minimum Records Number of minimum saved records to send
to Send: #
GPRS Enabled: # State of the GPRS connection, 0 – disabled; 1 – enabled
Time Sync: # Indicates time synchronization on the device, 0 – not
synchronized; 1 – synchronized
Answer Example: FLUSH SMS Accepted. 11 records found on FLASH. Minimum Records to
Send: 1. GPRS Enabled: 1. Time Sync: 1.
11.20 getgnss
Table 42 getgnss
Response details Description
86
FIX GPS fix
SAT GL Glonass sattelites in view
GP Gps sattelites in view
Returns state of static navigation and previous state: Static Nav is Disabled. Was:X or Static
Nav is Enabled. Was:X ( 1 – enabled, 0 – disabled). If sent X is not 0 or 1, then response is:
WARNING: Undefined SN parameter: X.
11.22 banlist
Returns a list of possible banned operators. If device returns zeroes, there are no banned
operators saved. Format: A.Bs.C.D
Table 43 banlist
Response details Description
A Banned operator code
Bs Time left
C Reason (1 – can’t connect to operator; 2 – can’t open GPRS connection;
3 – operator closed connection itself; 4 – connection to operator was
successful, but after that device was disconnected from GSM network.)
D Counter (how many times this operator code was already banned)
11.23 crashlog
11.24 braminfo
Table 44 braminfo
Response details Description
Boot Bootloader parameter
Uptime Device uptime
RST Device reset counter
IWDF_RST Independent watchdog reset counter
BadRec Bad record counter
AD Authorized driving state
GD ECO driving/Green driving state
IM Immobilizer state
Answer Example: Boot:55aai Uptime:0 RST:3 IWDG_RST:0 WWDG:1 SoftR:0 Lpwr:0
BadRec:0 AD:0 GC:2783 IM:0
87
11.25 odinfo
Odometer Debug
Answer Example: E:1 V:300 M:1 Mv:1, GPS:2 FIX:0 Valid:1 Sp:0 Ns:0 Jl:1 Along:0.000000
Alat:0.000000 Olong:0.000000 Olat: 0.000000
11.26 getcontsens
Returns a list of connected Dallas temp Sensors ID
Answer Example: „3 Tsensors IDs saved to Flash: 28CE03F9030000DA, 28F718F9030000AD,
28FFE7F80300004A“
11.27 savecontsens
Save Dallas temp Sensors ID order as it written in „getcontsens”
Answer Example: „3 Tsensors IDs saved to Flash: 28CE03F9030000DA, 28F718F9030000AD,
28FFE7F80300004A“
88
12 CAN
Controller Area Network (CAN or CAN-bus) is a computer network protocol and bus
standard designed to allow microcontrollers and devices to communicate with each other and
without a host computer. It was designed specifically for automotive applications but is now also
used in other areas.
SAE J1939 is the vehicle bus standard used for communication and diagnostics among
vehicle components. Based on the same architecture FMS protocol dedicated to telematics
systems is available. It has certain standardized parameters available, such as fuel consumption,
engine work-hours, etc. Please visit http://www.fms-standard.com/ for more information and
message structure.
The FMS-interface is an optional interface of different truck manufacturers. Supported
information is dependent upon vehicle equipment. For the full information set, additional
Electronic Control Units (ECU) may be required. Please contact the manufacturer or your dealer
for more details.
Available parameters:
• Total Fuel
• Total Distance
• Status of brake pedal *
• Engine Torque *
• Actual fuel
• Accelerator pedal position *
• Status engine brake
• Speed *
• RPM
• Engine hours
• Vehicle Weight *
• Fuel level
• Tachograph data *
89
Using mask, filters required bytes;
Different CAN configurations.
12.2 Configuration
Manual CAN data can be configured using “Manual CAN” in CAN tab, figure below (Figure
61 CAN configuration window).
CAN baud rate configuration: speed depends on operating CAN network speed, if that
speed is unknown “Autobaud” mode is recommended (Figure 62 CAN baud rate configuration
window);
3. Availability of parameter depends on vehicle’s model and configuration of FMS interface of the
truck.
Note that If FM5300 is set to “Autobaud” mode it will always check for CAN network even
if device isn’t connected to any of it.
CAN message ID type: Message ID type (Figure 63 CAN message ID types6) two types
according to SAEJ1939 standard: Standard ID (value: 0 to 0x7FFh) and Extended ID (value: 0 to
0x1FFFFFFFh).
90
Figure 63 CAN message ID types
Message ID value is entered in hex format. This parameter is used to configure hardware
message filter (Figure 64). All messages contain 8 bytes of data, to select particular data/bytes
“Output Data Mask” is used, it’s done by ticking required bytes, only selected bytes are sent to
server.
12.3 Example
A sample CAN message has the following structure: X18FEE9018FFFFFFFF23840300, where
essential parts are ‘FEE9’ – identifier and ‘FFFFFFFF23840300’ – data bytes.
CAN messages are configured like any other I/O parameters. They consist of 4 identifier
bytes and 8 data bytes. Below you will find a sample configuration for fuel consumption
parameter:
ID type – is always 29 bits.
Output data mask – defines which data bytes are sent to the server (sometimes not all data
bytes are necessary).
CAN ID – this is 4 byte identifier. Messages use 4 bytes, but the first and last bytes may
differ in different vehicle models while the middle four bytes are the same for all vehicles. The
first and last bytes may have any value. Because of this reason it is recommended to write FF in
the first byte and the same in the last byte.
Example:
All Mercedes Benz Actros 2 models with Vehicle Identification Number (VIN) starting with
WDB93 have a possibility to connect FM5300 module to CAN bus. This can be done by
connecting to special PSM module (which may or may not be included in the truck) or ground
module of the vehicle. For CAN signal to be available, parameter 520 must be enabled in
“kommunikationsschnittstelle” in the vehicle with Mercedes Stardiagnose.
CAN wires can be found on X5 connector located in the fuse box (Figure 65):
Pin 5: CAN Low signal (yellow wire)
Pin 2: CAN High signal (blue wire)
91
Figure 65 X5 plug on Mercedes Benz
In the example FM5300 will filter all CAN messages with identifier FFFEE9FF (fuel
consumption) (Figure 66).
Note: Averaging constant cannot be used with CAN data, because this
information comes in digital format. So in order to prevent data loss, set
Averaging constant parameter to 1.
Most parameters have certain resolution. FEE9 parameter has 0.5L/bit gain, so value that is
sent to server has to be multiplied by 0.5.
Data parsing is preceded by selecting correct message from all available on CAN bus. FMS
standard interface description indicates that fuel consumption is parameter with ID FEE9:
92
Table 45 FMS standard – fuel consumption
00FEE9 PGN Hex
65,257 PGN
1000 ms Rep. Rate
Data Byte 1 Data Byte 2 Data Byte 3 Data Byte 4 Data Byte 5 Data Byte 6 Data Byte 7 Data Byte 8 Byte No.
Name
Total fuel used Total fuel used Total fuel used Total fuel used
Values
Not used for Not used Not used Not used 0,5 L/Bit gain 0,5 L/Bit gain 0,5 L/Bit gain 0,5 L/Bit gain
Values
FMS- for FMS- for FMS- for FMS- 0 L offset 0 L offset 0 L offset 0 L offset
Values
Standard Standard Standard Standard 5.2.5.66 5.2.5.66 5.2.5.66 5.2.5.66
SAE ref
SPN 250 SPN 250 SPN 250 SPN 250
SPN
The example indicates how fuel consumption message is selected and how configuration
impacts this selection (Figure 67).
Figure 67 Example
When certain message is filtered, FM5300 checks which data bytes should be sent to
server. Document indicates that 5-8 bytes are used in FMS standard.
93
Table 46 FMS standard – fuel consumption (5-8 bytes)
Byte
Data Byte 5 Data Byte 6 Data Byte 7 Data Byte 8 No.
8 7 6 5 4 3 2 1 8 7 6 5 4 3 2 1 8 7 6 5 4 3 2 1 8 7 6 5 4 3 2 1 Bit no
Name
Total fuel used Total fuel used Total fuel used Total fuel used Values
0,5 L/Bit gain 0,5 L/Bit gain 0,5 L/Bit gain 0,5 L/Bit gain Values
0 L offset 0 L offset 0 L offset 0 L offset Values
5.2.5.66 5.2.5.66 5.2.5.66 5.2.5.66 SAE
ref
SPN 250 SPN 250 SPN 250 SPN 250
SPN
Figure 68
Data bytes are filtered by selecting the checkboxes in Output data mask. Note, that
configurator has them listed starting with MSB.
After message is filtered it is attached to the data packet and sent to the server. Values are
returned in HEX. 00 03 84 23(HEX) = 230435(DEC). Notice, that data resolution is 0.5L/bit gain –
value has to be multiplied by 0.5, therefore vehicle used total of 115217,5 liters of fuel since it
AutoCAN function allows user to automatically scan for available messages on CAN
bus and configure CAN data sending to server. In order to configure AutoCAN connect FM5300 to
computer with Port ½ cable. Launch FM53xx configurator version 1.1.1.7 or higher. Push
“Connect“ button, then „CAN“ button (Figure 69). CAN configuration menu will be opened
(Figure 70).
94
Figure 69 Entering CAN configuration
Configuration
To start CAN configuration push “SCAN“ button. A table of all available CAN
messages will appear (Fig. 63). Description of columns:
Category – shows CAN message;
Parameter – shows configurable parameter name;
Value – shows scanned value of parameter;
Send data to server – allows to choose the type of data when it‘s generated:
o Disabled – Data will not be collected
o On low priority – records will be generated as low priority events;
o On high priority – records will be generated as high priority events and immediately
sent to server via GPRS (if GPRS is available);
o On panic – records will be generated as panic priority events and immediately sent
to server via GPRS, if GPRS is not available records will be sent via SMS messages;
Data acquisition type – allows to choose when records are generated:
o Monitoring – monitors data;
o On change – record is generated when parameter value is changed;
o Hysteresis – record is generated when increasing parameter value becomes higher
than High value, and decreasing becomes less than Low value
95
o Event on exit – record is generated when parameter value becomes higher than
High value or lower than Low value;
o Event on entrance – record is generated when parameter value becomes between
High and Low values;
o Event on both – record is generated when parameter value crosses High or Low
values;
Low – allows to choose low value for Data acquisition;
High – allows to choose High level for Data acquisition;
CAN monitoring
To start CAN bus monitoring mark Monitoring check box. Table of available CAN
messages will appear (Figure 71). Data from CAN bus will be updated every 3 seconds. In order to
see only desired data open “Monitoring filters” menu (Figure 72Error! Reference source not
found.).
96
Monitoring filters menu allows choosing which data will be shown in configuration
menu. To enable/disable particular data monitoring use checkbox next to data name. To enable
all data monitoring push “Select all” button, to disable all data monitoring push “Select none”
button.
Note: CAN monitoring is FM5300 configurator function; it does not enable data
sending to server. In order to configure data sending to server refer to
Configuration section.
Offline configuration
When FM5300 device is not connected to CAN bus you can configure CAN data
sending by pushing “Offline configuration” button. When offline configuration is enabled a
configuration table of all FMS standard CAN data is shown.
AutoCAN ID list
97
Operation (Hours)
More info.
65260 – Vehicle 27 13 Vehicle Max 24 U8[24] [105- Max 24 ASCII 237
Identification identification 107] bytes.
number More info.
28 14 SW-version 4 U8[4] 109 4 ASCII bytes. 2806
supported More info.
64977 – FMS Standard 29 15 Diagnostics 1 U8 110 [0-3]. 2804
interface supported More info.
30 16 Requests 1 U8 111 [0-3]. 2805
supported More info.
65217 – High 31 17 High resolution 4 U32 112 [0– 917
Resolution Vehicle total vehicle 4294967295]
Distance distance (m).
More info.
65216 – Service 32 18 Service distance 4 I32 113 [-160635– 914
Information 167040] (km).
More info.
33 19 Vehicle motion 1 U8 114 [0-3]. 1611
More info.
34 20 Driver 2 working 1 U8 115 [0-7]. 1613
state More info.
35 21 Driver 1 working 1 U8 116 [0-7]. 1612
state More info.
36 22 Vehicle 1 U8 117 [0-3]. 1614
overspeed More info.
37 23 Driver 1 time 1 U8 118 [0-15]. 1617
rel. States More info.
38 24 Driver 2 time 1 U8 119 [0-15]. 1618
rel. States More info.
39 25 Driver 1 card 1 U8 120 [0-3]. 1615
65132 – Tachograph More info.
40 26 Driver 2 card X 1 U8 121 [0-3]. 1616
More info.
41 27 Direction 1 U8 122 [0-3]. 1619
indicator More info.
42 28 Tachograph 1 U8 123 [0-3]. 1620
performance More info.
43 29 Handling 1 U8 124 [0-3]. 1621
information More info.
44 30 System event 1 U8 125 [0-3]. 1622
More info.
45 31 Tachograph 2 U16 126 [0-256] 1624
vehicle speed (km/h).
More info.
65262 – Engine 46 32 Engine coolant 1 I8 127 [-40 –210] °C. 110
Temperature 1 temperature More info.
65269 – Ambient 47 33 Ambient 2 I16 128 [-273 –751] °C. 171
Conditions AirTemperature More info.
65131 – Driver‘s 48 34 Driver 1 32 U8[24] 129,130 Max 24 ASCII 1625
Identification Identification , Bytes
113 . More info.
65131 – Driver‘s 49 Driver 2 32 U8[24] 132,133 Max 24 ASCII 1626
Identification Identification , Bytes.
134 More info.
50 35 Fuel rate 4 U32 135 [0 –3212] 183
(liters/h).
65266 – Fuel Economy More info.
51 36 Instantaneous 4 U32 136 [0 –125] 184
98
Fuel Economy (km/liter).
More info.
64932 – PTO Drive 52 37 At least one PTO 1 U8 137 [0-3]. 3948
Engagement engaged More info.
64777 – High 53 38 High resolution 4 U32 138 [0–4211081] 5054
Resolution Fuel engine total fuel (liter).
Consumption (Liquid) used More info.
Brake switch:
Switch signal which indicates that the driver operated brake foot pedal is being pressed. This
brake foot pedal is controlling the vehicles’ service brake (total vehicle braking application, not
park brakes). It is necessary for safe drivetrain behavior that the switch activates before the
physical braking components are activated (i.e. Disengage the cruise control function prior to the
activation of friction brakes).
00 – Brake pedal released
01 – Brake pedal pressed
10 – Error
11 – Not Available
Data Length: 2 bits
Resolution: 4 states/2 bit, 0 offset
Data Range: 0 to 3 Operational Range: same as data range
Type: Measured
Supporting information:
PGN 65265
Note: Firmware captures only [0,1] values. [2,3] – are ignored.
99
Data Length: 2 bits
Resolution: 4 states/2 bit, 0 offset
Data Range: 0 to 3 Operational Range: same as data range
Type: Measured
Supporting information:
PGN 65265
Note: Firmware captures only [0,1] values. [2,3] – are ignored.
Clutch switch:
Switch signal which indicates that the clutch pedal is being pressed. It is necessary for a safe
drivetrain behavior that the clutch switch is set before the clutch is opened (cruise control
function).
00 – Clutch pedal released
01 – Clutch pedal pressed
10 – Error
11 – Not available
Data Length: 2 bits
Resolution: 4 states/2 bit, 0 offset
Data Range: 0 to 3 Operational Range: same as data range
Type: Measured
Supporting information:
PGN 65265
Note: Firmware captures only [0,1] values. [2,3] – are ignored.
100
01111 Preprogrammed set speed 6
10000 Preprogrammed set speed 7
10001 Preprogrammed set speed 8
10010 PTO set speed memory 1
10011 PTO set speed memory 2
10100-11110 not defined
11111 Not available
Off/Disabled 00000b — Used to indicate that the PTO governor enable switch is in the off
position.
Hold 00001b — used to indicate that the PTO governor is active and currently maintaining a
captured operating speed.
Remote Hold 00010b — used to indicate that the remote PTO governor is active and the PTO
governor is currently maintaining a captured operating speed.
Standby 00011b — used to indicate that the PTO governor device enable switch is in the ON
position and it is possible to manage the PTO governor.
Remote Standby 00100b — used to indicate that the remote PTO governor device enable switch
is in the ON position and it is possible to manage the PTO governor.
Set 00101b — Used to indicate that the PTO governor is establishing current speed as the
operating speed (captured value).
Decelerate/Coast 00110b — Used to indicate that the PTO governor is in the process of ramping
down, or coasting, from the current operating speed.
Resume 00111b — Used to indicate that the PTO governor is in the process of resuming the
operating speed to a previously captured value.
Accelerate 01000b — Used to indicate that the PTO governor is in the process of ramping up the
operating speed.
Accelerator Override 01001b—used to indicate that the PTO governor is active but for the
present time the engine is controlled by a large driver’s demand.
Preprogrammed PTO Governor Set Speed 1 01010b—used to indicate that the PTO device is
establishing a first preprogrammed PTO governor set speed (user programmable) as the current
operating speed.
Preprogrammed PTO Governor Set Speed 2 01011b—used to indicate that the PTO device is
establishing a second preprogrammed PTO governor set speed (user programmable) as the
current operating speed.
Preprogrammed PTO Governor Set Speed 3 01100b —used to indicate that the remote PTO
device is establishing a third preprogrammed PTO governor set speed (user programmable) as
the current operating speed.
Preprogrammed PTO Governor Set Speed 4 01101b —used to indicate that the remote PTO
device is establishing a fourth preprogrammed PTO governor set speed (user programmable) as
the current operating speed.
Preprogrammed PTO Governor Set Speed 5 01110b —used to indicate that the remote PTO
device is establishing a fifth preprogrammed PTO governor set speed (user programmable) as the
current operating speed.
101
Preprogrammed PTO Governor Set Speed 6 01111b—used to indicate that the remote PTO
device is establishing a sixth preprogrammed PTO governor set speed (user programmable) as
the current operating speed.
Preprogrammed PTO Governor Set Speed 7 10000b —used to indicate that the remote PTO
device is establishing a seventh preprogrammed PTO governor set speed (user programmable) as
the current operating speed.
Preprogrammed PTO Governor Set Speed 8 10001b —used to indicate that the remote PTO
device is establishing a eighth preprogrammed PTO governor set speed (user programmable) as
the current operating speed.
PTO set speed memory 1 10010b —Used to indicate that PTO set speed memory one set state is
active.
PTO set speed memory 2 10011b — Used to indicate that PTO set speed memory two set state is
active.
Data Length: 5 bits
Resolution: 32 states/5 bit, 0 offset
Data Range: 0 to 31 Operational Range: same as data range
Type: Status
Supporting information:
PGN 65265
Note: Firmware captures full data range [0x00..0x1F]. All states.
102
Resolution: 1 %/bit, 0 offset
Data Range: 0 to 250 % Operational Range: 0 to 125%
Type: Status
Supporting information:
PGN 61443
Note: Since bitgain is 1%/bit – raw data is sent to server. But, data is limited to max 125 (0x7D). If
captured data is higher than 125 (decimal) – data is truncated to 125.
Fuel level 1:
Ratio of volume of fuel to the total volume of fuel storage container.
When Fuel Level 2 (SPN 38) is not used, Fuel Level 1 represents the total fuel in all fuel storage
containers. When Fuel
Level 2 is used; Fuel Level 1 represents the fuel level in the primary or left-side fuel storage
container.
Data Length: 1 byte
Resolution: 0.4 %/bit, 0 offset
Data Range: 0 to 100 % Operational Range: same as data range
Type: Measured
Supporting information:
PGN 65276
Note: Value sent to server is already adjusted with bitgain. Since data is sent as U32, value after
floating point is ignored.
Engine speed:
Actual engine speed which is calculated over a minimum crankshaft angle of 720 degrees divided
by the number of cylinders.
Data Length: 2 bytes
Resolution: 0.125 rpm/bit, 0 offset
Data Range: 0 to 8,031.875 rpm Operational Range: same as data range
Type: Measured
Supporting information:
PGN 61444
Note: Value sent to server is already adjusted with bitgain. Since data as sent as U32, value after
floating point is ignored.
103
Axle weight:
Total mass imposed by the tires on the road surface at the specified axle.
Data Length: 2 bytes
Resolution: 0.5 kg/bit, 0 offset
Data Range: 0 to 32,127.5 kg Operational Range: same as data range
Type: Measured
Supporting information:
PGN 65258
Note: Value sent to server is already adjusted with bitgain. Data sent to server is a sum of all
weights per tire per specific axle [1-15]. I.e. axle[1].total_weight, axle[2].total_weight etc. Since
data is sent as U32, value after floating point is ignored.
104
Byte 2 and byte 3 represents the SW version supported for trucks. Version number in the format
ab.cd where Byte 2 represents “a” ASCII and Byte 3 represents “b” ASCII.
Byte 4 and byte 5 represents the SW version supported for bus and coaches; version number in
the format ab.cd where
Byte 4 represents “c” ASCII and Byte 5 represents “d” ASCII.
Data Length: 4 bytes
Resolution: ASCII, 0 offset
Data Range: 0 to 255 per byte Operational Range: same as data range
Type: Measured
Supporting information:
PGN 64977
Note: Firmware sends 4 bytes, which should be interpreted as xx.yy.
105
10 Reserved
11 Don’t care
Data Length: 2 bits
Resolution: 4 states/2 bit, 0 offset
Data Range: 0 to 3 Operational Range: same as data range
Type: Status
Supporting information:
PGN 64977
Note: Firmware captures all values [0x00-0x03].
Service distance:
The distance which can be traveled by the vehicle before the next service inspection is required.
A negative distance is transmitted if the service inspection has been passed. The component that
requires service is identified by the service component identification (see SPN 911-913, 1379,
and 1584).
Data Length: 2 bytes
Resolution: 5 km/bit, -160,635 km offset
Data Range: -160,635 to 160,640 km Operational Range: same as data range
Type: Measured
Supporting information:
PGN 65216
Note: Value sent to server is already adjusted with bitgain.
Vehicle motion:
Indicates whether motion of the vehicle is detected or not.
00 Vehicle motion not detected
01 Vehicle motion detected
10 – Error
11 – Not available
Data Length: 2 bits
Resolution: 4 states/2 bit, 0 offset
Data Range: 0 to 3 Operational Range: same as data range
Type: Measured
Supporting information:
106
PGN 65132
Note: Firmware captures all values [0x00-0x03].
Vehicle overspeed:
Indicates whether the vehicle is exceeding the legal speed limit set in the tachograph.
00 No overspeed
01 Overspeed
10 Error
11 Not available
Data Length: 2 bits
Resolution: 4 states/2 bit, 0 offset
Data Range: 0 to 3 Operational Range: same as data range
Type: Measured
Supporting information:
PGN 65132
Note: Firmware captures all values [0x00-0x03].
107
1110 Error
1111 Not available
Data Length: 4 bits
Resolution: 16 states/4 bit, 0 offset
Data Range: 0 to 15 Operational Range: same as data range
Type: Measured
Supporting information:
PGN 65132
Note: Firmware captures all values [0x00-0x0F].
Direction indicator:
Indicates the direction of the vehicle.
00 – Forward
01 – Reverse
10 – Error
11 – Not available
Data Length: 2 bits
Resolution: 4 states/2 bit, 0 offset
Data Range: 0 to 3 Operational Range: same as data range
Type: Measured
Supporting information:
PGN 65132
Note: Firmware captures all values [0x00-0x03].
Tachograph performance:
Indicates the tachograph performance; including electronic or mechanical analysis, instrument
analysis, speed sensor analysis, mass storage analysis, and printer analysis.
00 – Normal performance
108
01 – Performance analysis
10 – Error
11 – Not available
Data Length: 2 bits
Resolution: 4 states/2 bit, 0 offset
Data Range: 0 to 3 Operational Range: same as data range
Type: Status
Supporting information:
PGN 65132
Note: Firmware captures all values [0x00-0x03].
Handling information:
Indicates that handling information is present. Information could include “no printer paper”, “no
driver card”, etc.
00 – No handling information
01 – Handling information
10 – Error
11 – Not available
Data Length: 2 bits
Resolution: 4 states/2 bit, 0 offset
Data Range: 0 to 3 Operational Range: same as data range
Type: Status
Supporting information:
PGN 65132
Note: Firmware captures all values [0x00-0x03].
System event:
Indicates that a tachograph event has occurred. This may include power supply interruption,
interruption of the speed sensor, incorrect data on the driver card, driving without a driver card,
illegal removal of a driver card, insertion of a driver card during driving, and time adjustment.
00 – No tachograph event
01 – Tachograph event
10 – Error
11 – Not available
Data Length: 2 bits
Resolution: 4 states/2 bit, 0 offset
Data Range: 0 to 3 Operational Range: same as data range
Type: Status
Supporting information:
PGN 65132
Note: Firmware captures all values [0x00-0x03].
109
Resolution: 1/256 km/h per bit, 0 offset
Data Range: 0 to 250.996 km/h Operational Range: same as data range
Type: Measured
Supporting information:
PGN 65132
Note: Since FM FW sends this parameter as U16 (2 Bytes), value after floating point is discarded.
So data limit becomes [0-250]. This parameter could be send as 1Byte IO (as [0-250] fits into 1B,
but it is sent as 2B).
Firmware sends value which is already adjusted with bitgain.
Driver ½ identification:
Used to obtain the driver identity.
Data Length: Variable (“*” delimited)
Resolution: ASCII, 0 offset
Data Range: 0 to 255 per byte Operational Range: same as data range
Type: Measured
Supporting information:
PGN 65131
Note: Firmware expects driver identification to fit into 24 bytes. According to captured driver ID
length either ½/3 IO ID’s will be sent to server (8 Bytes each). I.e. if driver ID length <= 8, only one
IO ID (129) will be sent to server, if VIN length >9 and <= 16, then two IO ID’s will be sent to
server (129,130), and if driver ID length > 16 and <= 24 then three IO ID’s will be sent to server
(129,130,131).
110
Amount of fuel consumed by engine per unit of time.
Data Length: 2 bytes
Resolution: 0.05 L/h per bit, 0 offset
Data Range: 0 to 3,212.75 L/h Operational Range: same as data range
Type: Measured
Supporting information:
PGN 65266
Note: Since FW sends this parameter as U32, value after floating point is discarded. Data limit
becomes [0-3,212]. Firmware sends value which is already adjusted with bitgain.
111
12.5 AutoCAN Configuration over SMS
Parameter ID explanation:
20090
112
35 Vehicle overspeed
36 Driver 1 time rel. states
37 Driver 2 time rel. states
38 Driver 1 card X
39 Driver 2 card X
40 Direction indicator
41 Tachograph performance X
42 Handling information X
43 System event X
44 Tachograph vehicle speed X
65262 – Engine Temperature 1 45 engine coolant temperature X
65269 – Ambient Conditions 46 Ambient Air Temperature X
65131 – Driver’s Identification 47 Driver 1 Identification
65131 – Driver’s Identification 48 Driver 2 Identification X
65266 – Fuel Economy 49 Fuel rate X
50 Instantaneous Fuel Economy X
64932 – PTO Drive Engagement 51 At least one PTO engaged
64777 – High Resolution Fuel 52 High resolution engine total
Consumption (Liquid) fuel used
113
Example SMS:
RFID
Radio-frequency identification (RFID) is the use of a wireless non-contact system that uses
radio-frequency electromagnetic fields to transfer data from a tag attached to an object, for the
purposes of automatic identification and tracking. FM5300 can be configured in a way to use
with an RFID reader. When an RFID of some sorts (typically a plastic card with a magnetic line) is
used with an RFID reader which is connected to FM5300, the device creates a record with the
data that the RFID reader has read and can be sent to a server with all other information. RFID ID
is activated like an I/O parameter (Figure 73).
You cannot set RFID modes for both COM ports – one has to be chosen – either COM1 or
COM2.
114
Figure 74 RFID Global parameter settings
The difference between RFID Mode and RFID MF7 Mode is that in RFID Mode FM5300
understands RFID messages that are in hexadecimal format and RFID MF7 Mode understands
messages that are in decimal format. For example:
RFID Mode message – “$aa$02$03$04$17$89$00$01”
RFID MF7 Mode message – “1213141519”
The chosen mode has to correspond to the RFID reader’s mode. What type of RFID is sent
to FM5300 depends on the reader.
For more information about RFID ID’s and devices, please contact to your local sales
representative.
13 GARMIN
Garmin provides a Fleet Management Interface Tool Kit which connected to FM5300
enables the driver to have a „screen“ in their vehicle for real-time navigation, messaging, and job
dispatch capabilities to help them be more efficient.
FM5300 and Garmin operational scheme is shown in Figure 75 below:
115
Figure 75 FM53+Garmin operational scheme
Standard protocols
116
• Garmin can also provide confirmation that driver has received a particular Stop, read the
details, or deleted it from list.
• Can provide confirmation that a Stop has been completed.
Enhanced protocols
Canned Responses/Messages:
• Fleet managers can communicate by sending up to 200 “canned” responses from server
to be stored directly on Garmin devices.
• Up to 50 of these canned responses can be utilized for any given scenarios.
• Drivers can store up to 120 canned messages, eliminating the need to type while driving.
Status Protocol:
• Up-to-the-minute communications that allow drivers to automatically send status
updates.
• Driver’s units can store up to sixteen status indicators such as start/stop shift, on/off
break, etc.
117
13.4 Destination message
Destination message is used to inform a driver of a new destination. When Garmin device
receives a destination message from server it displays it as “Stop” to the driver and also gives the
driver ability to start navigating to the “Stop” location. New destination in Tavl client is
represented as Geozone so new Geozone (as destination) has to be created first.
In order to connect Garmin PND to FM5300, Garmin mode has to be set in Global parameter settings
(Figure 77). Simply choose Garmin mode in either COM1 or COM2 settings mode, but you cannot
activate Garmin mode in both ports at the same time.
FM5300 is able to filter out some of Garmin FMI packets that are not used in some applications
(including Tavl system) and generates additional data transfer at the same time increasing bills of
GSM services. In order to enable Garmin FMI Ping Packet Filtering set this feature from Global
parameters at the bottom – enable Garmin Ping setting (see Figure 77).
118
Figure 77 Configuration of Garmin in Global parameter settings
NOTE: Garmin FMI protocols are supported only in TCP data transfer mode.
For more information about Garmin PND device connectivity to FM5300 and additional
information, please contact to your local sales representative.
14 LLS SENSOR
LLS sensor series liquid level sensors are solid-state capacitive devices with no moving
parts. The sensors use capacitive technology to produce accurate liquid level measurements of
standard factory grade DIESEL OIL and PURE GASOLINE (BENZINE) carbon fuels.
The LLS sensor liquid level sensors are strictly prohibited to use in any liquids which are not
the factory grade carbon fuels or contain: BIOFUEL, METHANOL, ETHANOL, UREA and similar
aggressive components in pure form or as additives for factory grade carbon fuels for use in
INTERNAL COMBUSTION ENGINES. Operating media – Diesel fuel (oil), pure gasoline (benzene).
IMPORTANT!
The power supply is 10-50 VDC stabilized. The wrong polarity (-) or (+)
connection of power supply will damage or destroy the device. Prohibited for
test or use in water and any other liquids, which are not factory grade carbon
fuels. Fit the plastic insulation cap on the end of the central rod after
installation accordingly to installation guide. To be installed, calibrated, tested
only by qualified authorized person (installer, technician, mechatronic).
119
14.1 Specifications
14.2 Hardware
Operation principle: capacitive.
Output: RS-232.
Standard probe lengths: 700, 1000, 1500 mm.
Optocoupler isolation on both power and signal circuits.
Then FM5300 must be configured. Both fuel level and fuel temperature has to be set up by
configurator’s I/O menu (see Figure 79):
120
Figure 79 FM5300 I/O Configuration
Enable ID11 and ID12, or ID13 and ID14, or all four I/O elements (Figure 79) at the same
time because two LLS sensors can be connected to FM5300 at the same time (for example if a
vehicle has two fuel tanks).
Note: FM5300 has the possibility to connect to two LLS sensor devices at the
same time, using both COM ports.
When only one LLS sensor is connected FM5300 sends the data in kvants and additional
server configuration is required. To get correct data on the server, it has to calculate the values
using polynomial calculation. When two LLS sensors are connected the same is applied, but it is
possible to enter the polynomials into the configuration of FM5300 and it sends the sum of both
LLS sensors, but the data sent is already in liters so no additional calculations have to be made on
the server.
No. of LLS sensors Where polynomials have to be entered
On the server (FM5300 sends values from LLS in
1 (COM1)
kvants)
On the server (FM5300 sends values from LLS in
kvants) OR in FM5300 configuration (the device
2 (COM1 and COM2)
sends the sum of both LLS sensors converted to
liters)
121
Here is an example of how to calibrate LLS sensor and obtain polynomials:
LLS sensor must be put in the intended fuel tank and then configured, using polynomial
calculation. The first step is to firmly place the LLS sensor in the fuel tank and calibrate it. The
tank should be empty or at least almost empty for the calibration to be successful (or at least as
accurate as possible).
IMPORTANT!
Before calibration and calculation of polynomials, make sure that FM5300
polynomial configuration is default. That is all polynomials are 0, except for a1,
which is 1. Otherwise, the calculations will be incorrect.
To acquire the correct polynomials a known amount of petrol has to be poured into the
fuel tank and the value which is read should be written down. Then another amount should be
poured and the next value written down and so on. This should be done till the tank is full. Then
the calculation of polynomials has to be made. Here is an example of how to do this, with the
values already written down, for example a tank of 150 liters and using an editor program like
Microsoft Excel:
The values of the LLS sensor when pouring a known amount of liters into an empty fuel
tank are:
Value (kvants, N) Liters
0 0
90 24
220 42
300 61
400 72
550 84
610 97
690 114
850 138
920 145
1023 150
Note: for more accurate calibration and configuration, the poured liters should
not be a high amount (for example three times by 50 liters). Pour a known
small amount in order to get the most accurate calculations.
Then, enter these values in Excel and calculate another value N+, according to the formula:
FM5300 converts the read data using this formula, so we need to have the converted
values also. Next, enter the new values in Excel and create a scatter chart, like in Figure 81.
122
Figure 81 Scatter chart creation
Then right-click on the chart line and select “Add Trendline” (Figure 82).
123
Select a polynomial type of 5th order trendline. Also select “Display equation on chart”
checkbox (Figure 83).
A new line appears alongside the created one, as well as a formula for that new line (Figure
84).
124
Figure 84 Calculated polynomial line and calculation formula
Where
a0= -30,968
a1= 34,39
a2= -2,9353
a3= -0,3225
a4= 0,091
a5= -0,0046
Here, the polynomials a0…a5 have to be written in the polynomial calculation on the
server. If it is required for FM5300 to send the data in liters, these polynomials can be written in
the configuration of the device. To do this, go to global settings, and choose both ports to work
in LLS mode (Figure 85). Also repeat the steps for the second LLS sensor if it is needed.
Note, that depending on fuel tank shape polynomial line can be with negative values.
REMEMBER!
Polynomials can only be written in the configuration when using two LLS
sensors at once – if one is used, then the polynomial calculation must be done
on the server side.
125
Figure 85 LLS mode settings in Global parameters
Then click “Advanced LLS Setup” in COM2 settings. At the pop upped window (Figure 86)
enter the obtained values of a0…a5 in the appropriate places and click “Write Polynoms”:
126
After the configuration is saved successfully FM5300 is ready to send measured fuel level.
For additional information about LLS sensors, their configuration and connectivity to
FM5300, please contact us to your local sales representative.
Duel LLS mode works only if LLS mode is selected on both COM1 and COM2.
Possible values:
Note:
Sanity check of polynoms values are still in effect, so if polynoms are invalid then sending
will default to RAW LLS values sending.
This solution is working only on FW version 01.07.16 and higher.
ATTENTION!
Some common COM modes can’t be activated in the same time with different
COM ports. Device connection through COM port to Configurator can be
established only in Silent mode and FM log mode regimes. Change COM mode
with which device is connected to Configurator can end with failures. COM
mode changes can be done only from Silent mode to FM log mode or
backwards.
15 GPRS COMMANDS
It is possible to send commands to FM5300 using GPRS. When FM5300 sends records
periodically to a server, a message could be sent from the server and FM5300 will reply to it.
FM5300 has to be connected to the server in order to receive commands.
Command Description
#GET DATAORDER Get info about records sorting parameter
#SET DATAORDERX=Y Set records sorting parameter, Y – value (0/1).
#GET RECTO Get info about records refresh timeout parameter
#SET RECTO=X Set records refresh parameter, X = records refresh timeout
#GET VERSION Receive firmware version
#GET NETWORK Get GSM operator to which device is connected
#GET IMSI Get IMSI of the device
#GET OUT Get DOUT values
#DO REPORT Save a record
127
#DO RESET=XXX Reset FM5300 or GPS module, XXX – FM5X or GPS
#GET ROAMINGX=Y Get operator from the list of a certain profile, X – profile, Y – operator
number in a list
#SET ROAMINGX=Y,Z Set operator to the list of a certain profile, X – profile, Y – operator
number in a list, Z – operator code (must be written in quotes, example
“12345”)
#GET REMIPX Get IP and port number from the configuration of a certain profile, X –
profile
#SET REMIPX=Y:Z Set IP and port number to the configuration of a certain profile, X – profile
no, Y – IP or domain, Z – port number
#GET AUPX Get APN, user login and password from the configuration of a certain
profile, X – profile
#SET AUPX=Y,Z,W Set APN, user login and password to the configuration of a certain profile,
X – profile, Y – APN, Z –, user login W – password
#GET REPRTX Get MinPeriod from the configuration of a certain profile, X – profile
#SET REPRTX=Y Set MinPeriod to the configuration of a certain profile, X – profile, Y –
MinPeriod value
#GET REPDISTX Get MinDistance from the configuration of a certain profile, X – profile
#SET REPDISTX=Y Set MinDistance to the configuration of a certain profile, X – profile, Y –
MinDistance value
#GET REPANGX Get MinAngle from the configuration of a certain profile, X – profile
#SET REPANGX=Y Set MinAngle to the configuration of a certain profile, X – profile, Y –
MinAngle value
#GET SENDPERIODX Get SendPeriod from the configuration of a certain profile, X – profile
#SET SENDPERIODX=Y Set SendPeriod to the configuration of a certain profile, X – profile, Y –
SendPeriod value
#GET REPMRX Get MinRecords from the configuration of a certain profile, X – profile
#SET REPMRX=Y Set MinRecords to the configuration of a certain profile, X – profile, Y –
MinRecords value
#GET IBTNX=Y Get iButton value from the configuration of a certain profile, X – profile, Y
– number on the list
#SET IBTNX=Y,Z Set iButton value to the configuration of a certain profile, X – profile, Y –
number on the list, Z – iButton value
#GET EXTERR Get extended errors value
#SET EXTERR=X Set extended errors value, X – 0/1
There is also a possibility to send the same messages as in SMS command list (chapter 11).
The device sends a response to every command received.
Command Description
getstatus Modem Status information
getweektime Current device time, Day of Week and amount of minutes passed since start of
week
getops List of currently used and available GSM operators
128
readops# Emergency gsm operator readout from active profile
# - 1,2,3
1 – operators [1-20]
2 – operators [21-40]
3 – operators [41-50]
getnmeainfo Nmea error debug sms
getcfgtime Date and Time of last successful configuration
getgps Current GPS data and time
loadprofile# Load specified profile into RAM Engine Profile. # - number of profile to load
cpureset Reset CPU
resetallprof Reset all FLASH profiles to default profile
getver Device / Modem / Code version information
getinfo Device runtime system information
deleterecords Delete all records saved on FLASH
getio Readout digital inputs and outputs, analog inputs
readio # Readout input value according entered ID, # - ID value
setdigout Set digital outputs
XXXX Y1 Y2 Y3 0 – OFF, 1 – ON
Y4 Y1 – timeout for DO1
Y2 – timeout for DO2
Y3 – timeout for DO3
Y4 – timeout for DO4
getparam # Readout parameter value according entered ID.
# - ID value.
Setparam # # Set parameter value according entered ID and Value.
1.# - ID value.
2.# - New Parameter Value
flush Initiates all data sending to specified target server
#,#,#,#,#,#,# 1.# - IMEI
2.# - APN
3.# - LOGIN
4.# - PASS
5.# - IP
6.# - PORT
7.# - MODE (0-TCP/1-UDP)
sn x [x=0;1] Enable/disable static navigation
banlist Banlist information
crashlog Crash log information
delete_all_sms Delete all read SMS
braminfo BatRam info
129
ATTENTION!
In order to send these commands, they have to be converted to special format.
How to convert to this format and for additional information on how to send
GPRS commands, please contact to your local sales representative.
16 DEBUG MODE
FM5300 is able to transmit its current state when connected to PC using PORT1/2 cable. It is
used to detect errors and provide information to possible solutions when operating as
unexpected. Contact our sales manager to get Terminal. After launching it choose baud rate
115200 and hardware control – none. Click on ‘Start Log’ button and save a new file. Then click
‘Connect’ to start receiving messages from FM5300 (see Figure 87).
To debug NMEA GPS data, change baud rate value to 9600 and click connect.
Online log book is initiated using command log2srv and set right configuration. Device establish
GPRS connection and activates link to server, log started to stream to server until set time is
elapsed. To stop streaming immediately log2srvstop is used.
130
Offline log book is initiated using command log2srv and set right configuration. Device start log
writing to flash, this action is performed until set time is elapsed.
To read offline log log2srvstart command is used. It sends log to earlier preconfigured server
(log2srv). Offline log sending also can be terminated using log2srvstop command.
COMMANDS
“SMSlogin<space>SMSpassword<space>log2srv<space><enable>,<mode>,<APN>,<userna
me>,<password>,<IP>,<port>,<TMO>,<Log mode>”
o <mode> -
silent (0) – connect to server and send “Hello” message (all “Terminal”
commands can be used)
echo_time (1) – send log with lines, where is TIME “for example: -
[2013.1.23 14:49:45]-[PERIODIC.BAN.LIST.INFO]:”
echo (2) – send log with lines where is no TIME “for example: [DIN1.FUNC]-
>Waiting for DIN1 to be ON”
o <IP> - servers’ IP address to which offline/online log will be send after request
(“log2srvstart”);
o <TMO> - indicates time of offline log writing to flash or online log sending to server;
o <Log mode> - configuration for online mode (0), configuration for offline mode (1);
131
“SMSlogin<space>SMSpassword<space>log2srvstart”
“SMSlogin<space>SMSpassword<space>log2srvstop”
1 STEP:
132
2 STEP
133
3 STEP
134
18 MOUNTING RECOMMENDATIONS
Be sure that after the car computer falls asleep, power is still available on chosen wire.
Depending on a car, this may happen in 5 to 30 minutes period.
When module is connected, be sure to measure voltage again if it did not decrease.
It is recommended to connect to the main power cable in the fuse box.
Be sure to check if it is a real ignition wire – power does not disappear while starting the
engine.
Check if this is not an ACC wire (when key is in the first position, most electronics of the
vehicle are available).
135
Check if power is still available when you turn off any of vehicles devices.
Ignition is connected to the ignition relay output. As alternative, any other relay, which
has power output, when ignition is on may be chosen.
Ground wire is connected to the vehicle frame or metal parts that are fixed to the frame.
If the wire is fixed with the bolt, the loop must be connected to the end of the wire.
For better contact scrub paint from the place where loop is connected.
136
18.6 Module Installation
137
19 CHANGE LOG
138
39 2014.06.03 3.19 Manual CAN 5-9 addition to IO elements list
40 2014.06.17 3.20 Data send parameters ID added
41 2014.06.27 3.21 Replaced temp sensor name to Dallas temp sensor in PERMANENT I/O
elements list description.
42 2014.07.25 3.22 Added new section 3.7 Accessories, updated all figure numbers, in text
included.
43 2014.08.05 3.23 Updated Autogeofencing information.
44 2014.08.20 3.24 Updated Overspeeding scenario information
45 2014.08.20 3.25 Updated Green driving, Eco driving, Overspeeding ID values.
46 2014.09.01 3.26 Getcontsens, savecontsens parameters added
47 2014.09.02 3.27 Manual CAN configuration minor changes
48 2014.09.24 3.28 Added Mounting recommendations and fixed flash memory.
49 2014.09.30 3.29 Audio port RJ-11 changed to RJ-9, call description changed
50 2014.10.01 3.30 GNSS and GPS antennas connectors changes
51 2014.10.31 3.31 Edited ‘banlist’ debug SMS answer description
52 2014.11.03 3.32 Added Global parameter ID: Data saving without time synchronization
53 2014.11.10 3.33 Added AutoCAN SMS configuration description
Edited SMS commands example answers: getops; readops; getnmeainfo;
braninfo
Edited min/max parameters values for: ID 302; ID 303; ID 305; ID 013; ID 918;
ID 919; ID 920; ID 109
54 2014.12.16 3.34 LLS ID 201 was changed to ID 203. Page 113. This solution is working only on
FW version 01.07.16 and higher.
55 2015.01.12 3.33 Deleted acceleration detection sensitivity description.
Deleted breaking detection sensitivity description.
Deleted cornering detection sensitivity description.
Changed acceleration, breaking and cornering active output duration max
values from 100 to 10.
Added sleep timeout functionality 66p.
Changed SET ROAMING gprs command description.
Changed SET DATAORDER gprs command description.
56 2015.02.24 3.36 Overvoltage description added
57 2015.03.02 3.37 External battery information added, continuous odometer start value changed
58 2015.03.25 3.38 AutoCAN ID list ID115 and ID116 value range changed
59 2015.04.17 3.39 Table 47 AutoCAN ID list modified;
AutoCAN parameters descriptions added.
60 2015.05.05 3.40 Sleep mode description added 67p.
139
66 2016.04.06 3.46 Updated units in Table 47 AutoCAN ID list
72 2016.06.17 3.52 Added SMS ID’s for “Send SMS to number” when Home/Roaming reached max
upload.
73 2016.08.22 3.53 Removed CAN sniff and CAN accelerometer functions from COM port 2
configuration description.
78 2017-02-27 3.58 Minor changes “Overspeeding Scenario” descriptions and network ping
timeout.
140