connect VB to PLC keyence

J

Thread Starter

jonalynn

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...
 
D
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.
 
Top