Using Sockets to Access the RMC ENET

There are two main ways to communicate to the RMC over Ethernet from a custom application:

 

Choosing a TCP/IP Stack and API

The PC or device to be programmed must have a TCP/IP Stack and Application Programming Interface (API). All Windows platforms (since Windows 95) include support for a TCP/IP stack and include the Winsock API. Unix platforms typically also have a TCP/IP stack and the BSD Sockets API. It may be more challenging to find a TCP/IP stack and accompanying API for embedded devices, but we expect that such users will understand the depth of their undertaking.

 

Choosing an Application Protocol

Unless you already have one of the RMC's application protocols implemented, we recommend the Modicon Modbus/TCP protocol. This protocol is one of the simplest protocols and has an open standard. This means the protocol specification is publicly available. See the Modicon Modbus/TCP web site at http://www.modbus.org for complete details on the protocol including C examples for both Windows and Unix and a Java example.

 

Modbus/TCP Implementation Notes

While the Modicon Modbus/TCP web site has documentation and sample code for its Modbus/TCP protocol, it is worth pointing out a few specifics on communicating with the RMC over Modbus/TCP. This section neither replaces nor modifies the Modbus/TCP specification, but clarifies key points and defines the RMC's function support.

 


Copyright (c) 1997-2015 by Delta Computer Systems, Inc.