Virtual COM via GPRS

Virtual COM is a software driver that adds a virtual serial port (e.g. COM5) to the operating system and redirects the data from this port via a TCP/IP network to another hardware interface, which is specified by its IP address and port number. Virtual COM over GPRS has been widely used in remote control applications.

Scenario A:

  • M1000 Pro works as TCP server with fixed public IP or dynamic public IP (using Auto SMS Notification, each time when M1000 Pro has a new IP will auto send SMS including IP to preset phone);
  • PC installed virtual COM software works as TCP client with any IP, connect to TCP server on demands.

Scenario B:

  • PC installed virtual COM software works as TCP server with fixed public IP or dynamic IP with domain name;
  • M1000 Pro works as TCP client with any IP;
  • M1000 Pro works under wakeup by SMS/Caller ID modes, after wakeup auto connect to the TCP server, and disconnect when reach maximum idle time (no data flow).

In both scenarios, after TCP connection established, which is a bi-directional socket connection, you can operate the PLC via virtual serial port just like connecting your PC with PLC via serial port locally.