Template:FMM640 RS-232 and RS-485

From Wiki Knowledge Base | Teltonika GPS

RS-485 interface=

RS-485 supports only half-duplex communication, which means data is transferred only one way at a time.
When activated RS-485 driver chip draws constant 30mA current, when entering Sleep or Deep sleep RS-485 will be powered off.

RS-485 modes

  • RS-485 receive (FMB silent) mode:

RS485 Works in receive mode. Support debug and testing commands. When command is received answer is sent after that it back up to Receive mode.

  • RS-485 transmit (FMB log) mode:

RS-485 prints FMB device log and does not respond to commands.

  • RS-485 transmit (NMEA) mode:

RS-485 prints GNSS NMEA log and does not respond to commands.

  • RS-485 receive (LLS) mode:

This mode supports up to five LLS fuel level sensors each of which has a receiver ID.

  • RS-485 TCP receive (ASCII/Binary) modes:

In TCP ASCII/Binary mode a link with an external device using text messages can be established. Buffered modes save information until link with server is established and records are sent.

  • RS-485 receive (TCP ASCII/Binary Buffered) mode :

RS485 works in receive mode. When data received from server RS485 is switched to transmit mode. If data server is not available, data will be saved in buffer.

RS-232 Interface

RS-232 supports full-duplex communication which means the data can be both sent and received at the same time as they use separate transmission lines. Most of the modes are the same as for FMB640. FMB640 RS-232 connection diagram is shown on the figure below.
RS232 connection diagram:
FMB640 RS232.png

RS-232 modes

Silent, Log mode, NMEA, LLS, TCP ASCII and TCP Binary modes, TCP ASCII/Binary Buffered modes are identical to those of FMBXXX RS-232 and RS-485 modes. In RS-232 LLS mode only one LLS fuel level sensor can be connected.

  • RS-232 LCD mode:

In this mode user is able to communicate with the server through terminal. A link between FMB device and the server has to be established for this mode to function properly.

  • RS-232 RFID HID/RFID MF7 mode:

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. FMB640 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 FMB640, 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


FMB640 RS232 RFID.png
To set up FMB640 so it can be connected to an RFID reader, some parameters have to be set up. Go to RS232 \ RS485 and set up COM1 or COM2 settings to RFID Mode or RFID MF7 Mode (the used mode depends on the mode that the RFID reader works). See Figure 922. The Baudrates foreach mode are:

RFID Mode – 57600
RFID MF7 Mode – 9600

FMB640 RS232 RFIDconf.png
The difference between RFID HID Mode and RFID MF7 Mode is that in RFID HID Mode FMB640 understands RFID messages that are in hexadecimal format and RFID MF7 Mode interpretes messages that are in decimal format. The type of RFID message sent to FMB640 depends on the RFID reader. For example, RFID HID mode message looks like "$aa$02$03$04$17$89$00$01" while MF7 mode message is of following format: "1213141519".
The selected mode has to correspond to the RFID reader's mode.
Please contact your local sales representative for more information about RFID IDs and devices.

  • REC to LCD mode: In this mode records are sent via ports.

This is an example view that is displayed in Terminal :

Rec-lcd.jpg


  • ATOL Tachograph mode: This mode is used to connect ATOL tachograph.
  • UL202-2 Fuel Sensor: Select this mode to make Ultrasonic Fuel Sensors to work on COM port.
  • Satellite Backup mode:

Since 00.02.05 firmware version device supports Iridium devices which can send short burst data (SBD) to server. This means that some data can be sent from FM device to server through satellites. In order to get those records you have to connect device to FM64 COM1 or COM2 port. Select COM1 or COM2 mode Satellite backup mode. Those settings could be found in RS232/RS485 TAB in configurator. Baud rate for satellite devices is 19200 bps. Furthermore TSM232 functionality should be enabled. These settings can be found in Features TAB in Short burst data settings. See picture belowDevice supports Iridium devices which can send short burst data (SBD) to server. This means that some data can be sent from FM device to server through satellites.

  • RS-232 Garmin mode:

Garmin provides a Fleet Management Interface Tool Kit, once FMB640 is connected to the navigator it enables the driver to have a "screen" in their vehicle for real-time navigation and messaging, and offers job dispatch capabilities to help them be more efficient.
FMB640 and Garmin operational diagram is shown on the figure below.

FMB640 garmin block.png

Garmin configuration is shown on the figure below.

FMB640 RS232 Garmin.png

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).
In order to use LLS fuel counter the newest firmware version is needed which can be obtained from Teltonika or a representative. Firmware is updated over GPRS or using cable update method.
The LLS fuel sensor must be connected to the FMB640 device.

Specifications

Parameter Value
Supply voltage +10..+50 V
Current consumption, mA (for 12/24 V) 25 mA / 50 mA.
Working temperature -40..+85 ºC
Working mode continuous
Weight < 2.0 Kg.
Working pressure atmospheric

FMB640 RS232 LLS.png

Then FMB640 must be configured. Both fuel level and fuel temperature has to be set up by configurator’s I/O menu:
FMB640 RS232 LLSmenu.png