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 ?
On Tue, 2010-05-25 at 12:16 -0500, Giorgio wrote:> 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 ? >It works for me, both on COM1 and COM2 and a 6 serial port PCI card.> 2) if yes how can I check it ? >There about three possibilities: - 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.
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'll try to debug RS232 and if I will have no result I'll try with USB-serial adapter and I'll open a new topic.