Welcome to OptoForums
Login
|
Sign Up
SNAP PAC Systems
Started by cqttom@tom.com at 04-18-2008 3:05 AM. Topic has 2 replies.
OptoForums
»
Product Forum
»
SNAP PAC System...
»
Re: About write program using socktet and opto command via tcp
Search
Sort Posts:
Oldest to newest
Newest to oldest
04-18-2008, 3:05 AM
cqttom@tom.com
Joined on 04-18-2008
Posts 2
About write program using socktet and opto command via tcp
I wann'a a sample program.The program is written using C#,and using socket protocol and opto command way to communicate with opto device ,and get opto device information .Thanks A lot.
By the way ,my english is not good.
my Email: cqttom@tom.com
Thanks Again.
Report
04-20-2008, 8:17 PM
cqttom@tom.com
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 142
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.
http://www.opto22.com/documents/1465_OptoMMP_Protocol_Guide.pdf
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.
http://www.opto22.com/site/downloads/drilldown.aspx?aid=2889
Note that the MMP protocol is for accessing the brain side of the processor and not the internal control engine used by PACControl. Thats another story!
Report
OptoForums
»
Product Forum
»
SNAP PAC System...
»
Re: About write program using socktet and opto command via tcp
(please select)
Forums Home
|- Search Forums
|- Active Topics
|- Unanswered Posts
User Options
|- Sign In
|- Join this community
|- Forgot Password
Product Forum
|- SNAP PAC Systems
|- Other Hardware Systems
|- Other Software
|- Protocols and Drivers
|- SNAP PAC Learning
|- Shoot This, Opto!
Application Forum
|- Automation, Control, Data Acquisition, and Remote Applications
|- Systems Integrator, VAR, and OptoPartner Section
|- Where's Your Opto 22?
International
|- Opto 22 in Latin America
|- Opto 22 Forum for French (Français) Speaking Customers