This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Advanced Access to Allen-Bradley Devices with VS.NET
NET Applications- Desktop or Web, INGEAR.NET Components Can Handle It
Local Browser Clients
Remote Browser Clients
Ethernet Ethernet
Agenda – 1 Hour INGEAR.NET Overview Unsolicited Messaging and Data
Structures Overview PeerMessage and DTEncoding
Class Live training Discussion, Questions & Answers
Visualization and Connecting to AB/GE/Modbus PLCs with VS.NET
What Is Involved?
You have an Allen-Bradley PLC that supports unsolicited messages and/or UDT, PDT, or MDT data types Logix Family
(ControlLogix, CompactLogix, MicroLogix)
PLC5-E SLC 5/05
Visual Studio 2005 or newer
Good Design and Planning Still Required
Visual Studio to 1-N Devices
INGEAR.NET Family of Visual Studio.NET Components
Connect to Allen-Bradley, GE Fanuc, and Modbus PLCs
Supported in both Visual Studio 2005, 2008, 2010 Windows Forms Console Applications System Services Web Forms Web Services
COM Wrapper for VB6 Support
Advantages of INGEAR.NET
Easy to use Runtime-free distribution, single
computer, or compact framework licenses
No point counts or other artificial limits
Self Optimized Communication
Interfaces allow for rapid and device-independent development
Unsolicited Messages
On a PC that receives the message the Endpoint is a binding of the IP Address and a specific IP port Endpoints must be
unique and not in use by any other application
Endpoint is an instance of the PeerMessage class
The PLC sends the data message to an Endpoint without a client requesting information
SCADA/HMIOPC Client OPC Server
Unsolicited Message Cycle
Normal Polling Cycle
PeerMessage Class
Handles unsolicited messages Binds the IPAddressNIC and
Protocol properties to a socket to receive the message
Each instance of the PeerMessage class must have a unique IP address and Protocol combination
Each instance of the PeerMessage class can receive messages from multiple PLCs
.LOGIX and Unsolicited Messages
For the PLC Create a MSG instruction
For INGEAR .NET .LOGIX Create an instance of the PeerMessage Class Set the IPAddressNIC and Protocol properties Set the MsgReceived Event to handle incoming