RS232 connection
RS232 connection
I installed Board Master a software that control a CNC machine to produce PCB (Printed Circuit Board).
The software install flawlessly but to check if it works I need RS232 working to control CNC machine.
I tried to set connection parameters in Board Master choosing COM1 (the only available) but CNC machine don't move and software keep asking for switching machine on.
Of course software and CNC works in Windows XP.
1) is RS232 working on Wine ?
2) if yes how can I check it ?
The software install flawlessly but to check if it works I need RS232 working to control CNC machine.
I tried to set connection parameters in Board Master choosing COM1 (the only available) but CNC machine don't move and software keep asking for switching machine on.
Of course software and CNC works in Windows XP.
1) is RS232 working on Wine ?
2) if yes how can I check it ?
RS232 connection
On Tue, 2010-05-25 at 12:16 -0500, Giorgio wrote:
- use a break-out box to see the levels of the serial port pins
and whether they change as expected when its in the cable between
the PC and the CNC machine.
- beg, borrow or steal a datascope and use it as above. This will let
you see the text of the messages.
- get hold of a null-modem cable (Tx and Rx lines are crossed in a null
modem cable) and use it to connect the port you're driving with Wine
to a spare port on the same or another machine. Then you can use any
serial comms program to see what is sent. Good Linux programs to use
would be minicom or Kermit - the minicom package should be part of
your distro but kermit probably isn't - get it from
http://www.columbia.edu/kermit/ck80.html
Martin
It works for me, both on COM1 and COM2 and a 6 serial port PCI card.I installed Board Master a software that control a CNC machine to produce PCB (Printed Circuit Board).
The software install flawlessly but to check if it works I need RS232 working to control CNC machine.
I tried to set connection parameters in Board Master choosing COM1 (the only available) but CNC machine don't move and software keep asking for switching machine on.
Of course software and CNC works in Windows XP.
1) is RS232 working on Wine ?
There about three possibilities:2) if yes how can I check it ?
- use a break-out box to see the levels of the serial port pins
and whether they change as expected when its in the cable between
the PC and the CNC machine.
- beg, borrow or steal a datascope and use it as above. This will let
you see the text of the messages.
- get hold of a null-modem cable (Tx and Rx lines are crossed in a null
modem cable) and use it to connect the port you're driving with Wine
to a spare port on the same or another machine. Then you can use any
serial comms program to see what is sent. Good Linux programs to use
would be minicom or Kermit - the minicom package should be part of
your distro but kermit probably isn't - get it from
http://www.columbia.edu/kermit/ck80.html
Martin
Thank you very much for your detailed and complete answer.
I forgot an important detail: the system is dual boot, Windows XP and Mandriva 2010.0. Using Windows on the same pc CNC and software works. So probably RS232 hardware works. Anyway I'll try to get a null modem or a datascope to check.
Waiting for signal check is there any setting I need to have RS232 working ?
Or a software check for RS232 in Wine?
Is there anything like a terminal in Wine ?
Till now I just installed Wine and then the software.
I forgot an important detail: the system is dual boot, Windows XP and Mandriva 2010.0. Using Windows on the same pc CNC and software works. So probably RS232 hardware works. Anyway I'll try to get a null modem or a datascope to check.
Waiting for signal check is there any setting I need to have RS232 working ?
Or a software check for RS232 in Wine?
Is there anything like a terminal in Wine ?
Till now I just installed Wine and then the software.
RS232 connection
On Wed, 2010-05-26 at 09:48 -0500, Giorgio wrote:
DOS version called MSkermit. You could look for those on the main Kermit
site.
Writing programs that use serial comms under Windows or DOS is a
nightmare because neither OS provides a serial comms API. As a result
everybody rolls their own hardware drivers or buys in 3rd party serial
comms libraries. Some of these approaches work better than others. It
would not be surprising if some of them are incompatible with Wine.
Martin
There is a Windows version of Kermit but its not free. There was also aThank you very much for your detailed and complete answer.
I forgot an important detail: the system is dual boot, Windows XP and Mandriva 2010.0. Using Windows on the same pc CNC and software works. So probably RS232 hardware works. Anyway I'll try to get a null modem or a datascope to check.
Waiting for signal check is there any setting I need to have RS232 working ?
Or a software check for RS232 in Wine?
Is there anything like a terminal in Wine ?
DOS version called MSkermit. You could look for those on the main Kermit
site.
Writing programs that use serial comms under Windows or DOS is a
nightmare because neither OS provides a serial comms API. As a result
everybody rolls their own hardware drivers or buys in 3rd party serial
comms libraries. Some of these approaches work better than others. It
would not be surprising if some of them are incompatible with Wine.
Martin
Thanks again.
I ask to the CNC firm about some simple command to check RS232 communication.
In Windows I use an USB-serial adapter. Do you think that it could works in Wine too?
Some time ago I tried to use a Windows sw to program microcontrollers and it needed USB. At that time USB don't worked in Wine.
Do USB works in Wine now ?
Do you think possible using USB-serial adapter in Wine ?
I ask to the CNC firm about some simple command to check RS232 communication.
In Windows I use an USB-serial adapter. Do you think that it could works in Wine too?
Some time ago I tried to use a Windows sw to program microcontrollers and it needed USB. At that time USB don't worked in Wine.
Do USB works in Wine now ?
Do you think possible using USB-serial adapter in Wine ?
RS232 connection
On Wed, 2010-05-26 at 12:07 -0500, Giorgio wrote:
serial message traffic.
Martin
Good idea. It may have some sort of debugging display that can showThanks again.
I ask to the CNC firm about some simple command to check RS232 communication.
serial message traffic.
Some USB-serial adapters might work. Mine, a pfranc one, doesn't.In Windows I use an USB-serial adapter. Do you think that it could works in Wine too?
Martin
RS232 connection
andy88 wrote:
Looks like this maybe broken.
I have no Serial<->USB device to test with to confirm.
James McKenzie
There is a bug report for broken USB Serial devices in Wine's Bugzilla.
Looks like this maybe broken.
I have no Serial<->USB device to test with to confirm.
James McKenzie
RS232 connection
On Mon, 2010-06-14 at 20:20 -0700, James McKenzie wrote:
hard to find, though prices have jumped over the last year, and and 2
port PCI cards are in the same price bracket as single port USB-serial
adapters.
My experience is that Wine couldn't find my USB-serial adapter no matter
what I tried, but it worked right away on a 6 serial port PCI card.
Martin
Stick a PCI serial adapter card in the back and use that. They're notandy88 wrote:There is a bug report for broken USB Serial devices in Wine's Bugzilla.
Looks like this maybe broken.
I have no Serial<->USB device to test with to confirm.
hard to find, though prices have jumped over the last year, and and 2
port PCI cards are in the same price bracket as single port USB-serial
adapters.
My experience is that Wine couldn't find my USB-serial adapter no matter
what I tried, but it worked right away on a 6 serial port PCI card.
Martin