Programming a PLC through VB

Good point Keshik, I agree with the heartbeat analogy, I was thinking that I should have some kind communication check.

My big thing is communicating through the RTU protocol, you guys have provided me with some good content that I will review to try and setup a basic script to communicate. I'll report back in a bit and let you know how I'm progressing.

Thanks for your support as alway
 
Go get this book, it goes through the basics of setting up direct communication with a Micrologix 1500, I think, through VB.

http://www.amazon.com/Home-Automation-Basics-Applications-Connectivity/dp/0790612143

A few years ago, 2005, I did a project where I had a bunch of cognex cameras talking to a Micrologix. The management of the plant wanted a way to data log directly from the station and tie this to a serialized barcode. So using the methods in here I was able to write a VB6 program to connect to the micrologix to see it's IO, Login to the Cognex Cameras to pull the image, and then use a USB connected barcode scanner to tie all this into a SQL insert statment.

Have to say I haven't used it since, as there are other, easier albeit more expensive than free, ways of connecting to a PLC. But for what I was doing here it worked like a charm.

aemcgo0
 
Beat you to it aemcgo :), I ordered a copy just yesterday, it might be old but frankly it is referenced so often that I knew it would be a great resource. Plus, I got a used copy for 12 bucks...doesn't get better than that!
 

Similar Topics

Can you access a CompactLogix PLC for viewing and programming from the other side of an NATR module? Thanks. Bill
Replies
3
Views
2,858
Dear all, Does anyone know if it is possible to program the plc via the Siemens Series 8 control..... say from the front D25 socket, as I don't...
Replies
0
Views
2,979
Hello colleagues, Some time ago I started my adventure with programming. With your help and the courses, things are starting to come together...
Replies
13
Views
685
Dear All, I need a sample PLC program to count the output pulse of a mass flow meter so that a specific amount of mass (for example 100gm)can be...
Replies
2
Views
150
Hi Please I have zeilo smart relay #SR2A201BD but I don't have it's programming cable. Can I use any general usb/rs232 converter? Or need...
Replies
3
Views
163
Back
Top Bottom