EasyManua.ls Logo

Teltonika TFT100 - User Manual

Teltonika TFT100
2 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
Loading...
https://wiki.teltonika-gps.com/view/Testing_TCP_link_mode_with_RS232_and_RS485
Testing TCP link mode with RS232 and
RS485
Main Page > E-Mobility Trackers > TFT100 > TFT100 FAQ > Testing TCP link mode with RS232 and RS485
Contents
1 Understanding what is RS232/RS485 TCP Link mode
2 Setting parameters in configurator for TCP Ascii mode test
2.1 Message Timestamp
3 Establishing test link with server through Hercules
4 Sending from server to external device over Hercules
5 Sending from external device to server over Terminal
5.1 Links for download
Understanding what is RS232/RS485 TCP Link mode
In this mode link with external device (for example PC) using text messages can be established.
TFT100 has to be connected to the external device through RS232 or RS485. Any string of data
coming to RS232 or RS485 will be routed to server (if link is currently active). Messages that are
exchanged between the device and server, have to be packed in Codec.12 format. Here for TCP link
establishment we will be using Hercules. For sending messages from external device to server over
the TFT100 Terminal will be used.
Setting parameters in configurator for TCP Ascii mode test
First of all, in the TFT100 configurator you have to set parameters for RS232 or RS485 (depends on
which RS232 or RS485 port you are using) in global parameters window.
Here in RS232 settings section Baudrate can be chosen to any available. Mode has to be chosen to
TCP Ascii.
Message Timestamp
Message Timestamp parameter is used to determine if it is necessary to include timestamp in RS232
TCP packet when sending to server. If parameter is Enabled, then Codec 13 is used for data sending.
Otherwise, Codec 12 is used.
You can also use RS485 which is also suitable for Ascii TCP Link mode. In order to make a link
between the device and server, Domain and Target Server Port have to be set in the working device
profile, GPRS data sending Settings section. When right parameters are set, you can save the
configuration to the device.

Other manuals for Teltonika TFT100

Question and Answer IconNeed help?

Do you have a question about the Teltonika TFT100 and is the answer not in the manual?

Summary

Understanding RS232;RS485 TCP Link Mode

Setting Parameters for TCP Ascii Mode Test

Message Timestamp

Parameter determines timestamp inclusion in RS232 TCP packets, influencing Codec 13 or Codec 12 usage for data.

Establishing Test Link with Server via Hercules

Sending Data to Server Over Terminal

Sending from External Device

Instructions for sending data from an external device to the server using a Terminal application.

Summary

Understanding RS232;RS485 TCP Link Mode

Setting Parameters for TCP Ascii Mode Test

Message Timestamp

Parameter determines timestamp inclusion in RS232 TCP packets, influencing Codec 13 or Codec 12 usage for data.

Establishing Test Link with Server via Hercules

Sending Data to Server Over Terminal

Sending from External Device

Instructions for sending data from an external device to the server using a Terminal application.

Overview

This document outlines the process of testing the TCP link mode using RS232 and RS485 interfaces with a Teltonika TFT100 device. The primary function of this mode is to establish a communication link with an external device, such as a PC, using text messages. This allows for the exchange of data between the TFT100 and a server, with all messages being routed through the TFT100. The data exchanged between the device and the server must be packed in a specific format, either Codec.12 or Codec.13, depending on whether a timestamp is included.

The usage of this feature involves several key steps, starting with the configuration of the TFT100 device. Users need to access the TFT100 configurator and set the parameters for either RS232 or RS485, depending on the physical port being utilized. Within the RS232 settings section, the Baudrate can be selected from any available option, and the Mode must be explicitly chosen as "TCP Ascii." A crucial setting is the "Message Timestamp" parameter. If this parameter is enabled, the device will use Codec 13 for data transmission, which includes a timestamp in the RS232 TCP packet sent to the server. Conversely, if the parameter is disabled, Codec 12 will be used, omitting the timestamp. The RS485 interface is also suitable for Ascii TCP Link mode, offering flexibility in connection options.

To establish a link between the device and the server, the "Domain" and "Target Server Port" must be configured within the working device profile, specifically in the GPRS data sending Settings section. Once these parameters are correctly set, the configuration can be saved to the device.

For testing purposes, a PC is typically used to act as both the server and an external device. After configuring and connecting the TFT100 to the external device, the next step is to launch Hercules, a utility that functions as the server for sending and receiving messages. It's important to note the physical connections: the external device's RX cable must be connected to the TFT100 device's TX cable, and the external device's TX cable must be connected to the TFT100's RX cable. Within Hercules, the "TCP Server" section should be selected from the upper menu. Users must then input their server (PC) port and click the "Listen" button. The "Client connection status" area will indicate whether a connection between the server and the device has been successfully established.

When sending messages from the server to the TFT100 device via Hercules, the message must first be packed into the Codec.12 format. The packed message is then pasted into the "Send" field in Hercules. If the text is in HEX format, the HEX format box should remain unchecked. After clicking the "Send" button, the message will appear in the "Sent data" field (Terminal). To verify successful transmission to the device, users can check the Terminal window. This involves connecting a Port 1/2 cable to the RS232 RX/TX cables on the TFT100 and then connecting the USB side to the computer. It is essential to identify the correct COM Port being used by the Port 1/2 cable in the device manager and select it in the Terminal application before clicking "connect."

Conversely, for testing data transmission from the external device to the server, users can enter the desired text into the Terminal application and press "send." The reception of this data by the server can then be verified in Hercules. It is important to remember that special characters (ASCII Names) need to be marked when sending.

In summary, the TCP link mode with RS232/RS485 on the TFT100 device provides a robust method for text-based data exchange with external servers. Its usage involves careful configuration of communication parameters, selection of appropriate data encoding (Codec.12 or Codec.13 with timestamp), and the use of tools like Hercules for server-side testing and Terminal for device-side data input. The system is designed to route any data string received via RS232 or RS485 to the server, provided the link is active, ensuring reliable data flow for various applications.

Teltonika TFT100 Specifications

General IconGeneral
PurposeMotorcycle
Product colorBlack
SIM card slotYes
LED indicatorsStatus
Housing materialPlastic
Electronic compassNo
GSM bands supported800, 900, 1800, 1900 MHz
Protection featuresDust resistant
SIM card capabilitySingle SIM
International Protection (IP) codeIP67
CertificationCE/RED, EAC, E-Mark, Anatel, UKCA, Ukrainian UCRF, RoHS, REACH, E-Mark, IP67
Built-in memory capacity0.128 GB
USB version2.0
USB connector typeMicro-USB
Battery voltage3.7 V
Battery capacity1800 mAh
Battery life (max)12 h
Operating temperature (T-T)-20 - 75 °C
Operating relative humidity (H-H)5 - 95 %
Weight and Dimensions IconWeight and Dimensions
Depth72.5 mm
Width73 mm
Height27.3 mm
Weight169 g

Related product manuals