Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to use Visual Basic's in industrial application .

Status
Not open for further replies.

piroli

Electrical
Oct 25, 2001
5
I'd like to learn more regarding Visual Basic's potential application in Industrial automation.
For example, our company builds industrial machinery. Every one has a control done by some HMI and one of the PLC such a GE Fanuc, Modicon, AB, or Siemens. Now I would like to use PC with Visual Basic to do the same. I would like to create my HMI and to control all my I/O points by Visual Basic. I have learned the basic of VB. How can VB and I Use PC and Communicate with Allen Bradley SLC 500 PLC?
Does anyone have any experience or knowledge of this, or where can
I obtain some for information regarding such topic. Thanks.
 
Replies continue below

Recommended for you

Hi,

Knowing next to nothing about "Allen Bradley SLC 500 PLC", the little I do know tells me that they are communicated using the RS232 standard (and onthis I'm not 100% sure).

If this is the case then use the MSCOMM1 device that comes with VB. What you have to do is find out what baud rate/bit count/start-stop bit/parity information you SLC 500 is communicating on.

Armed with this information you can set the various protocol settings on the MSCOMM1 device and connect you PC to the PLC. What control commands you send, well again that depends on your PLC. Do you have or require info on this PLC. If not let me know & I'll do some digging.

For info on te I/F module see


Any help ?, yes no let me know.

Regards
 
You can try looking at the following:

"Creating Human Machine Interfaces Using Visual Basic" By Jeff Weigant
"Automating Science and Engineering Laboratories with Visual Basic" by Mark Russo and Martin Echols.

You can also look at the following websites for DDE/OPC use with VB:


Carl
 
I have an protocol to communicate with devices on field I want to be able to translate this protocol to an Modbus protocol or to attach it on HMI (cimplicity fROM GE FANUC)
What is the best fast & reliable way to do it.
Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor