Examples

Example VB Progams and Project Files

If the Examples do no run, you may have omitted them during Installation. Please run the Setup program again.

 

SIMPLE

VB 6.0

images\btn_run_program32.gif

SIMPLE provides a good starting point for becoming familiar with the operation of the IN-GEAR ActiveX.  SIMPLE covers all the basic techniques for reading/writing a Word, Floating Point, String and Bit data values. 

Easy to follow Visual Basic source code is included which can be studied or modified by opening the SIMPLE.VBP project file.

VB.NET

images\btn_run_program32.gif

SIMPLE.NET provides a good starting point for becoming familiar with the operation of the IN-GEAR ActiveX using Visual Studio .NET 2003. SIMPLE.NET covers all the basic techniques for reading/writing a Word, Floating Point, String and Bit data values. 

Easy to follow Visual Basic.NET 2003 source code is included which can be studied or modified by opening the SIMPLE.VBPROJ project file.

 

ARRAYS

VB 6.0

images\btn_run_program32.gif

ARRAYS builds on the SIMPLE example by adding support for reading/writing blocks of data points.  ARRAYS covers techniques used in most applications; reading and writing blocks of registers at a time. 

Easy to follow Visual Basic source code is included which can be studied or modified by opening the ARRAYS.VBP project file.

VB .NET

images\btn_run_program32.gif

ARRAYS.NET builds on the SIMPLE.NET example by adding support for reading/writing blocks of data points.  ARRAYS covers techniques used in most applications; reading and writing blocks of registers at a time. 

Easy to follow Visual Basic .NET 2003 source code is included which can be studied or modified by opening the ARRAYS.VBPROJ project file.

 

ALARMS

images\btn_run_program32.gif

 

ALARMS demostrates the use of WatchPoint commands for Alarming.

Easy to follow Visual Basic source code is included which can be studied or modified by opening the ALARMS.VBP project file

 

 

UNSOLMSG

VB 6.0

images\btn_run_program32.gif

UNSOLMSG covers the techniques used to receive Unsolicited Messages from a PLC-5 or SLC processor. 

Easy to follow Visual Basic source code is included which can be studied or modified by opening the UNSOLMSG.VBP project file.

VB .NET

images\btn_run_program32.gif

UNSOLMSG.NET covers the techniques used to receive Unsolicited Messages from a PLC-5 or SLC processor. 

Easy to follow Visual Basic .NET 2003 source code is included which can be studied or modified by opening the UNSOLMSG.VBPROJ project file.

 

VCREAD

VC++

 

VCRead is an MFC based application that demonstrates using the INGEAR Allen-Bradley ActiveX control with Microsoft Visual C++ 6.0.

 

 

DISCLAIMER

CimQuest INGEAR provides programming examples for illustration only, without warranty either expressed or implied,

including, but not limited to, the implied warranties of merchantability and/or fitness for a particular purpose.

We assume you are familiar with the programming language being demonstrated, the tools used to

create and debug procedures as well as intimate knowledge of the PLC and network. CimQuest INGEAR support professionals can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific needs. If you have limited programming experience, you may want to contact CimQuest INGEAR for fee-based consulting at (610) 935-8282.