Advertisement

https://wiki.teltonika-gps.com/view/FM6_Testing_RS-232_and_RS-485_TCP_Link_Mode
FM6 Testing RS-232 and RS-485 TCP Link
Mode
Main Page
>
EOL Products
Contents

1 Step 1. Understanding what is FMB640 RS232/RS485 TCP Link mode

2 Step 2. Setting parameters in the configurator for TCP Ascii mode test
3 Step 3. Establishing FMB640 test link with the server through Hercules
Step 1. Understanding what is FMB640 RS232/RS485 TCP
Link mode
In this mode link with an external device (for example PC) using text messages can be established.
FMB640 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 the server (if the link is currently active). Messages that
are exchanged between FMB 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 devices to
servers over FMB640 Terminal will be used.
Step 2. Setting parameters in the configurator for TCP Ascii
mode test
First of all, in the FMB640 configurator you have to set parameters for RS232 or RS485 (depends on
which RS232 or RS485 port you are using) in the global parameters window.
>
FMB640
>
FMB640 Manual
> FM6 Testing RS-232 and RS-485 TCP Link Mode

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Teltonika FM640

  • Page 1 FM6 Testing RS-232 and RS-485 TCP Link Mode Main Page > EOL Products > FMB640 > FMB640 Manual > FM6 Testing RS-232 and RS-485 TCP Link Mode Contents 1 Step 1. Understanding what is FMB640 RS232/RS485 TCP Link mode 2 Step 2.
  • Page 2 Here in the RS232 settings section, Baudrate can be chosen for any available. The mode has to be chosen for TCP Ascii. 2.1. Message Timestamp Message Timestamp parameter is used to determine if it is necessary to include a timestamp in the RS232 TCP packet when sending it to the server.
  • Page 3 3. In the Send field, you can write a message that is packed in Codec.12 format which will be sent to the FMB640device. Step 4. Sending from server to external device over Hercules When sending a message from Hercules, first you have to pack it in Codec.12 format. If you want to send a message to an external device over FMB640from the server, a packed message should be pasted into the Send field in Hercules (Figure 2, marked field 3).
  • Page 4 Step 5. Sending from external device to server over Terminal For testing data sending from external device to server, enter the text you want to send on Terminal and press send. You can check if data is received to a server in Hercules. Sample text: Hello, lets test TCP link mode. Please keep in mind, that special chars (ASCII Names) need to be marked.

Table of Contents