Machsupport Forum

Mach Discussion => VB and the development of wizards => Topic started by: sunmix on November 14, 2006, 09:19:14 PM

Title: VB and RS232
Post by: sunmix on November 14, 2006, 09:19:14 PM
Hi, is there any websites that can explain how to link Rs-232 and VB together? There's an instrument that feedback signals from 0- 200 and I need the VB to detect it so that I can do program what I want to control.
Title: Re: VB and RS232
Post by: CNC-Steuerung on November 16, 2006, 04:05:46 PM
Hi,

you can use a subroutine "SendSerial (char as String) to communicate. But is it possible to read a value with the RS232?

I couldnt fount anything ....

Does anybody use the RS232 in such a way?

Regards,
Wolfram
Title: Re: VB and RS232
Post by: davidimurray on November 17, 2006, 04:32:00 AM
I have used it before - best place to look at the moment is down in the downloads section under macros of the forum. CJmerlin has used it to control a microcontroller, based on my experiments.

Cheers

Dave
Title: Re: VB and RS232
Post by: Controller on December 15, 2006, 08:27:37 AM
Any luck with the VB and RS232 I am looking to control a Boxford Duet which requires serial to control the motor and reports back with the RPM, does any one know how I can trigger a serial send with a G-Code and control depending on returned value, new to this so any help would be appreciated.
Title: Re: VB and RS232
Post by: davidimurray on December 15, 2006, 12:53:19 PM
Have a look here -

http://www.machsupport.com/forum/index.php?topic=1658.0

Cheers

Dave
Title: Re: VB and RS232
Post by: Controller on December 16, 2006, 08:26:30 PM
Many thanks for that I will let everyone know how I get on, Cheers.