Joined on 04-18-2008
Posts 2
Re: About write program using socktet and opto command via tcp

No reply?
Report
04-21-2008, 1:33 PM
gmitchell

Joined on 12-01-2003
Optomation Systems, Madrid, Spain
Posts 153
Re: About write program using socktet and opto command via tcp

A good place to start is to read the OptoMMP_Protocol_Guide… This guide is for programmers who are writing custom applications to communicate with Opto 22 memory-mapped devices. These devices include SNAP PAC controllers and SNAP PAC EB and SB brains; SNAP Ultimate, SNAP Ethernet, and SNAP Simple I/O; E1 and E2 brain boards, and SNAP-LCE controllers. The guide describes how to use the OptoMMP Communication Toolkit or the IEEE 1394-based OptoMMP memory-mapped protocol for programming. The guide also contains the complete memory map for all Opto 22 memory-mapped devices.

As for examples you could start by downloading the OptoMMP Communications Toolkit

The OptoMMP Communication Toolkit includes ActiveX components and C++ classes for communicating with Opto 22 Ethernet-based brains and controllers which are memory-mapped devices using the OptoMMP protocol. The toolkit hides the details of the memory map protocol, so you can use programming tools such as Visual Basic or Visual C++ to easily communicate with these Ethernet devices.

All source code is included, along with examples using Visual Basic 6.0, Visual C++ 6.0, Word, Access, and Delphi.