I am having major problem with data transfer from a pc to our Haas VF3. In some instances. the G-code that arrives into the machine memory is different to what is being sent from the PC. This is a big problem because it can cause the table to suddenly move to an unspecified point while taking a cut. This has happened a handful of times but I need to get to the bottom of it now.
Some information on our setup:
1999 Haas VF-3
Data being sent from a Windows 10 Laptop via USB to RS-232 converter, cable length is less than 6 feet. I've tried changing the converter, the cable, and even tried changing to a PC with direct RS-232 output to remove the adapter, none of which corrects the problem.
I get the same error when I delete the code from memory and re-send the code.
Data transfer is via XModem at 38400 Baud Rate. I've tried reducing to 4800 Baud with no difference. Also tried XOn/XOff instead of XModem, again no difference.
The file that I'm sending is around 2.4Mb in size.
There looks to be around 10 lines of code that has all changed. An example of the code.
Original sent code:
N17325 X-113.842 Y-78.813 I21.773 J43.609
Incorrect code that arrives in the memory:
N17325 X-113.842 Y-4273.117 I21.773 J43.545
Luckily the machine errors out for an over travel of Y-4273, but if the code changed to something else within range of travels it would be a disaster.
Strangely, if I change the value of the Y in the code before sending from Y-78.813 to Y-79.0 then the code sends without a problem.
I can't imagine this is a common problem because I can't find any information online at all.
Has anybody got and ideas what could be causing this? It has made my confidence in sending code very low and running the risk of a bad crash now.
Some information on our setup:
1999 Haas VF-3
Data being sent from a Windows 10 Laptop via USB to RS-232 converter, cable length is less than 6 feet. I've tried changing the converter, the cable, and even tried changing to a PC with direct RS-232 output to remove the adapter, none of which corrects the problem.
I get the same error when I delete the code from memory and re-send the code.
Data transfer is via XModem at 38400 Baud Rate. I've tried reducing to 4800 Baud with no difference. Also tried XOn/XOff instead of XModem, again no difference.
The file that I'm sending is around 2.4Mb in size.
There looks to be around 10 lines of code that has all changed. An example of the code.
Original sent code:
N17325 X-113.842 Y-78.813 I21.773 J43.609
Incorrect code that arrives in the memory:
N17325 X-113.842 Y-4273.117 I21.773 J43.545
Luckily the machine errors out for an over travel of Y-4273, but if the code changed to something else within range of travels it would be a disaster.
Strangely, if I change the value of the Y in the code before sending from Y-78.813 to Y-79.0 then the code sends without a problem.
I can't imagine this is a common problem because I can't find any information online at all.
Has anybody got and ideas what could be causing this? It has made my confidence in sending code very low and running the risk of a bad crash now.