Member Login
member
passwd
remember me on this computer.

- join now -

Search

Neat Stuff

Visit our shop for nerds in control lifestyle products.

Cool stuff
Select a topic of interest:
...and press:
Fortune
Of course power tools and alcohol don't mix. Everyone knows power
tools aren't soluble in alcohol...
-- Crazy Nigel
RSS Feed
RSS feed Use this link to get an RSS feed of the Control.com article flow, for private, non-commercial use only:
www.control.com/rss
Select a Page Style
Select one of the following styles:
- BluFu
- Classic
(cookies required)
from the Automation List department...
connect VB to PLC keyence
PLCs topic
advertisement
Posted by jonalynn on 1 March, 2008 - 12:45 pm
hi..i want to know how to connect VB to PLC keyence using RS232? what is the file i needed in the VB to read the data from Keyence? did i need file .ocx? actually i want to run my machine (motor) using VB with send signal to keyence and turn on the motor and the machine give feedback to Keyence and VB the result from the sorting process by the machine and the result will display in VB by number

so what should i do? please help me...

Posted by Dale Kintz on 12 March, 2008 - 11:17 pm
Good morning!

I am doing something similar. What I am using (to learn the method) is a canned VB program that I got off the Web and reworked it to send/receive from a Keyence PLC over RS232. So far, I can send the "M0" and "M1" commands to start/stop the program and I can read a counter. Do a search for the VBTerm program and I can send you the rest.

From Control Engineering magazine...
Related articles from Control Engineering magazine
Above articles copyright 2008 Reed Business Information. Subject to its Terms of Use.

Your use of this site is subject to the terms and conditions set forth under Legal Notices and the Privacy Policy. Please read those terms and conditions carefully. Subject to the rights expressly reserved to others under Legal Notices, the content of this site and the compilation thereof is © 1999-2008 Control Technology Corporation. All rights reserved.

Users of this site are benefiting from open source technologies, including PHP, PostgreSQL and Apache. Be happy.

Advertisement
Our Advertisers
Help keep our servers running...
Patronize our advertisers!