Proprietary host communications via TCP/IP & UDP/IP

Used In:

  • Non-proprietary protocols
  • IEC or C/C++ programming environments

When propriety communications protocols are preferred over standard industry protocols, G-MAS provides TCP/IP & UDP/IP communication interfaces via C and C++ libraries.

A programmer need not be fluent in Socket interfaces in order to use the TCP/UDP tasks. Using this direction connection method, the programmer is able to design and implement both Client and Server sides.

The TCP Server/Client can run on G-MAS/Remote machine respectively and vice versa. A Client-side host can be a PLC device, PC, or even a G-MAS instance. UDP/EoE clients can directly communicate with drives via the EoE protocol.

Design Features

  • TCP/UDP non-blocking client connection
  • TCP/UDP non-blocking server listener
  • Supports multiple instances of TCP/UDP client/server objects
  • Synchronous and asynchronous messaging
  • Provides callback mode, allowing user to wait for a callback event in order to perform an operation
  • Enables direct EoE client connections
  • Development, execution on both Windows and G-MAS platforms

The G-MAS uses several connection object classes to enable the user to act either as a client or server using UDP or TCP/IP communications.

  • The CMMCUDP and the CMMCTCPIP classes enable programming a client or server connection without the need to have prior experience in developing socket communications.
  • Programming can be done either directly on the G-MAS, or using C++ on the Host side. For more information, see using UDP or TCP/IP communications.
  • Ethernet over EtherCAT also is easily used with the CMMCEoE class.