TGY Cyber logo

πŸ“˜ ES-TGY - Serial to TCP/IP Emulator

Video Tutorial

1. Introduction

The ES-TGY converts a serial port into Ethernet (TCP/IP) by software while keeping your existing serial application unchanged. This serial→TCP/IP bridge lets you connect scales, printers, PLCs, CNCs, and similar serial devices over cable or Wi-Fi without rewriting the client software.

1.1 Scope

The emulator supports two independent channels, each with its mirrored COM pair and the target IP/port. Logs display the incoming and outgoing traffic for each channel.


2. Installation

  1. Download the installer here.
  2. Run tgy_emulator_install.exe and follow the setup wizard until it completes.
  3. Launch the emulator from c:\tgy\emulator\sertcp.exe or the Windows Start menu.
2.0.1

3. Virtual COM configuration

3.1 Virtualizer installation

  1. From the main menu click Setting Virtual COMs.
  2. If the virtualizer is missing, confirm the installation.3.1.1
  3. Select the displayed components and continue the installer until you reach the component overview.3.1.2
  4. Once installation finishes, return to Setting Virtual COMs.3.1.3

3.2 Pairing COM ports

  1. Click Add Pair to create a mirrored pair.
  2. Enable Use Port Class and Enable buffer overrun on both sides (first and third rows).3.2.1
  3. The installer suggests COM numbers, but you can adjust them; default values are recommended.
  4. Click Apply and then Reset to confirm the pair.

Each pair works like a fork: the emulator uses one COM while your application uses the other. Data sent on one side instantly appears on the counterpart.

3.2.2


4. Emulator configuration

4.0.1

4.1 Enabling channels

  • Activate the desired channels by checking Enabled (up to two).
  • The interface prevents selecting the same COM for both channels, so use distinct COMs.
  • If both channels are used, create two separate COM pairs.

4.2 IP and port assignment

Configure each channel as follows:

Field Description
IP Remote device IPv4 address
Port TCP/IP port (0–65535; defaults: 1100 and 1101)
COM Choose one of the ports from the configured pair

If the same IP is shared across both channels, use different ports (e.g., 1100 and 1101).

4.3 Saving the setup

  1. Click Save to persist the IP, port, and COM settings.
  2. The emulator restores these values every time it starts.

5. Operation and monitoring

  1. Press Start to activate the serial β†’ TCP/IP conversion.
  2. Errors about busy COMs or unreachable targets appear in the Socket and COM boxes; adjust settings accordingly.
  3. Success messages appear in the same boxes when the tunnel is established.
  4. Even minimized or closed, the emulator keeps running and stays accessible via the Windows tray icon.
  5. Press Stop to halt the conversion.

While running, you can observe the COM and Socket logs to debug the data flow.

πŸ“˜ ES-TGY - Serial to TCP/IP Emulator – TGY Cyber Docs