TFT100 RS485 settings

From Wiki Knowledge Base | Teltonika SAS
Main Page > SAS Micro Mobility > TFT100 > TFT100 Configuration > TFT100 RS485 settings

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 current, when entering Sleep or Deep sleep RS-485 will be powered off.

RS-485 modes

  • RS-485 transmit (TFT100 log) mode:

RS485.gif

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

  • RS-485 transmit (GNSS NMEA) mode:

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

  • RS-485 receive (LLS) mode (not available at the moment):

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

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

In TCP ASCII/Binary mode a link with an external device using text messages can be established. In TCP ASCII/Binary mode all data received from external device through RS-485 is sent directly to server (if link is currently active). Data is encapsulated in codec 12 format.

  • RS-485 Super Soco mode:

Super Soco mode which is used by Super Soco e-scooters. Default settings are: 9600 Baudrate, Parity: none. When this mode is selected user will be able to read Super Soco e-scooter specific data via RS485. RS485 SUPERSOCO.gif


RS-485 TCP Binary settings

RS485 TCP BINARY.gif

TCP Binary has a setting Prefix. It is possible to set Prefix 1, Prefix 2 or Prefix 3. These prefixes can be used seperately or in unison. To configure this setting a value from 0 to 255 in decimal has to be entered. Device will convert this value to HEX and compare the 1st, 2nd or 3rd byte from incoming data. If the values do not match, device will not accept incoming data.

Example:
Incoming packet through RS232/RS485 using TCP Binary/TCP Binary Buffered mode - 50 72 65 66 69 78 20 57 6f 72 6b 69 6e 67

  • If Prefix 1 is set to 80 in decimal, it is equal to 50 in HEX.
    • TFT100 device will then check the 1st byte of incoming data and compare to the set Prefix 1.
  • If Prefix 2 is set to 114 in decimal, it is equal to 72 in HEX.
    • TFT100 device will then check the 2nd byte of incoming data and compare to the set Prefix 2.
  • If Prefix 3 is set to 101 in decimal, it is equal to 65 in HEX.
    • TFT100 device will then check the 3rd byte of incoming data and compare to the set Prefix 3.

When values match, data will be accepted and saved to Buffer (using TCP Binary Buffered mode) or sent to server (using TCP Binary mode).

Incoming packet through RS232/RS485 using TCP Binary/TCP Binary Buffered mode - 50 0 65 66 69 78 20 57 6f 72 6b 69 6e 67

  • If Prefix 1 is set to 80 in decimal, it is equal to 50 in HEX.
    • TFT100 device will then check the 1st byte of incoming data and compare to the set Prefix 1.
  • If Prefix 2 is set to 114 in decimal, it is equal to 72 in HEX.
    • TFT100 device will then check the 2nd byte 0 of incoming data and compare to the set Prefix 2.

Since Prefix 2 does not match incoming 2nd byte, data will not be accepted.