EasyManua.ls Logo

Teltonika FMC125 - User Manual

Teltonika FMC125
3 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
Loading...
https://wiki.teltonika-gps.com/view/FMC125_Testing_RS-232_and_RS-485_TCP_link_mode
FMC125 Testing RS-232 and RS-485 TCP link
mode
Main Page > Professional Trackers > FMC125 > FMC125 Manual > FMC125 Testing RS-232 and RS-485 TCP link
mode
Contents
1 Step 1. Understanding what is FMC125 RS232/RS485 TCP Link mode
2 Step 2. Setting parameters in configurator for TCP Ascii mode test
2.1 2.1. Message Timestamp
3 Step 3. Establishing FMC125 test link with server through Hercules
4 Step 4. Sending from server to external device over Hercules
5 Step 5. Sending from external device to server over Terminal
5.1 Links for download
Step 1. Understanding what is FMC125 RS232/RS485 TCP
Link mode
In this mode link with external device (for example PC) using text messages can be established.
FMC125 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 FMC125 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 FMC125 Terminal will be used.
Step 2. Setting parameters in configurator for TCP Ascii
mode test
First of all, in the FMC125 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.
2.1. 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

Other manuals for Teltonika FMC125

Question and Answer IconNeed help?

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

Summary

Understanding FMC125 RS232;RS485 TCP Link Mode

Setting Parameters for TCP Ascii Mode Test

Message Timestamp

Determines if timestamp is included in RS232 TCP packets, affecting Codec usage.

Establishing FMC125 Test Link with Hercules

Sending Data from Server to External Device via Hercules

Sending Data from External Device to Server via Terminal

Summary

Understanding FMC125 RS232;RS485 TCP Link Mode

Setting Parameters for TCP Ascii Mode Test

Message Timestamp

Determines if timestamp is included in RS232 TCP packets, affecting Codec usage.

Establishing FMC125 Test Link with Hercules

Sending Data from Server to External Device via Hercules

Sending Data from External Device to Server via Terminal

Overview

The FMC125 is a versatile device designed to establish communication links with external devices, such as a PC, using text messages. This communication can be facilitated through either RS232 or RS485 interfaces, making it adaptable to various setups. A core function of the FMC125 is to route any incoming data string from the RS232 or RS485 port directly to a server, provided an active link is maintained. This capability is crucial for real-time data transmission and monitoring from external sources.

A key aspect of the FMC125's operation is its adherence to specific data formats for message exchange. All messages exchanged between the FMC125 device and the server must be packed in Codec.12 format. This ensures standardized and reliable data transfer. For establishing a TCP link, the Hercules utility is recommended, and for sending messages from an external device to the server via the FMC125, a Terminal application is used.

To configure the FMC125 for TCP Ascii mode, several parameters need to be set within the device's configurator. Users must specify settings for either RS232 or RS485, depending on the port being utilized. These settings are found in the global parameters window. For RS232, the Baudrate can be selected from any available option, and the Mode must be set to TCP Ascii. The Message Timestamp parameter is another important configuration. When enabled, it dictates that Codec 13 is used for data sending, which includes a timestamp in the RS232 TCP packet. If disabled, Codec 12 is used, omitting the timestamp. The RS485 interface is also suitable for Ascii TCP Link mode, offering flexibility in connection types.

Establishing a link between the FMC125 device and a server requires setting the Domain and Target Server Port within the device's working profile, specifically in the GPRS data sending Settings section. Once these parameters are correctly configured, the settings can be saved to the FMC125 device.

For testing purposes, a PC can act as both the server and the external device. After configuring the FMC125 and connecting it to the external device, the Hercules utility is initiated on the server side to handle message sending and receiving. It's important to note the physical connections: the external device's RX cable should connect to the FMC125's TX cable, and the external device's TX cable to the FMC125's RX cable.

Within the Hercules application, users select the TCP Server section. Here, the server (PC) port is entered, and the "Listen" button is pressed. The "Client connection status" field will indicate a successful connection between the server and the FMC125 device. Messages intended for the FMC125 device are written in the "Send" field, ensuring they are packed in Codec.12 format.

When sending messages from the server to an external device via Hercules, the message must first be packed in Codec.12 format. This packed message is then pasted into the "Send" field in Hercules. It's crucial to uncheck the HEX format box if the text is already in HEX format. After pressing the "Send" button, the message will appear in the "Sent data" field (Terminal), confirming its transmission. If the message is successfully sent to the FMC125, it can be verified in the Terminal window.

To connect the FMC125 to the computer for sending data, a Port ½ cable is used. One end connects to the RS232 RX/TX cables on the FMC125 device, and the USB side connects to the computer. Users must identify the correct COM Port for the Port ½ cable in the device manager and select it in Hercules before pressing "connect."

For sending data from an external device to the server, a Terminal application is used. Users type the desired text into the Terminal and press "send." The received data can then be verified on the server in Hercules. When checking received data, especially if it contains special characters, it's important to ensure that ASCII Names are marked.

In terms of message handling, the Message Timestamp parameter plays a role in determining whether a timestamp is included in the RS232 TCP packet sent to the server. If this parameter is enabled, Codec 13 is used for data transmission, which incorporates the timestamp. Conversely, if disabled, Codec 12 is used, and no timestamp is included. This provides flexibility in data logging and analysis based on specific application requirements.

The FMC125's design emphasizes robust communication and data integrity, requiring messages to be packed in Codec.12 format for exchange between the device and the server. This standardization ensures that data is consistently interpreted and processed. The use of Hercules and Terminal applications for testing and interaction highlights the device's compatibility with common diagnostic and communication tools, making it accessible for configuration and troubleshooting.

Overall, the FMC125 is engineered to facilitate reliable text-based communication between external devices and a server over RS232 or RS485 interfaces. Its configurability, adherence to specific data formats, and compatibility with standard utilities like Hercules make it a practical solution for various data transmission needs, particularly where real-time monitoring and controlled data exchange are critical. The detailed setup procedures ensure that users can establish and maintain stable communication links effectively.

Teltonika FMC125 Specifications

General IconGeneral
PurposeCar
Product colorBlack
SIM card slotYes
Electronic compassNo
Battery life (max)- h
Weight and Dimensions IconWeight and Dimensions
Weight55 g

Related product manuals