Hello
Guest
it is
May 06, 2025, 02:15:21 PM
Guest
Login
Register
Menu
Home
Help
Search
Login
Register
YouTube
Machsupport Forum
/
Mach Discussion
/
Mach SDK plugin questions and answers.
/
SImple RS232 interfacing?
« previous
next »
Print
Pages:
1
Go Down
Author
Topic: SImple RS232 interfacing? (Read 9800 times)
0 Members and 1 Guest are viewing this topic.
peu
23
SImple RS232 interfacing?
«
on:
June 06, 2011, 12:14:10 PM »
Few days ago I receive one of these simple usb-rs-232 converters for pcb integration:
http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=180532641086
I do like to play with small microchip PICs from time to time
I would like to know if there is a plugin to set toggles or buttons via rs-232 messages, something like this:
data sent from small PIC microcontroller via rs232 small text messages:
"1000=1" <- set led 1000 to on
"1000=0" <- set led 1000 to off
"1000=2" <- change status
same for oem triggers
In a nutshell, a plugin to implement simple text messages like is described here:
http://machsupport.com/MachCustomizeWiki/index.php?title=Mach_specific_Subroutines/Functions_grouped_by_purpose#Serial_port
Thanks!!
Pablo
Logged
peu
23
Re: SImple RS232 interfacing?
«
Reply #1 on:
June 07, 2011, 07:34:59 AM »
I guess no replies means there is nothing like I ask available? or maybe its not a good idea at all?
There is still hope
Logged
BR549
6,965
Re: SImple RS232 interfacing?
«
Reply #2 on:
June 07, 2011, 12:11:58 PM »
Yo need to check with Henrik here :
http://henriksplace.se/cnc/cnc_mach3_vb_serial.html
Logged
peu
23
Re: SImple RS232 interfacing?
«
Reply #3 on:
June 07, 2011, 12:53:34 PM »
Thanks a lot for the link, after reading it I see that what I want to accomplish is not easily done using rs-232 it will be wise to go to other solutions instead of trying to kludge my idea
Logged
BR549
6,965
Re: SImple RS232 interfacing?
«
Reply #4 on:
June 07, 2011, 02:21:51 PM »
Mach does not have a good serial protocol if any at all . It was never developed as most hobbiest would never use it.
Just a thought(;-) TP
Logged
cncstep
23
Re: SImple RS232 interfacing?
«
Reply #5 on:
June 29, 2011, 01:27:15 PM »
Use this class to create a plugin, you will have full access to the PC rs232 port.
http://cncrouter.ru/files/class_comport.zip
Logged
www.cncrouter.ru
cncstep
23
Re: SImple RS232 interfacing?
«
Reply #6 on:
June 30, 2011, 03:54:09 PM »
May be someone there is a class for working with usbhid device ?
Logged
www.cncrouter.ru
BR549
6,965
Re: SImple RS232 interfacing?
«
Reply #7 on:
July 10, 2011, 10:35:53 AM »
Pablo we have gotten things to work with SendSerial to a point with LCD devices over USB. So maybe there is a way to do simple things with your device.
(;-) TP
Logged
Print
Pages:
1
Go Up
« previous
next »