× Forum Header

StepConf wizard won't convert my Mach3 XML

20 Feb 2017 14:53 #88348 by clive
I have just fired up LinuxCNC 2.7 on a new computer ready to switch over from the ugly Mach3 system I have. I tried the StepConf wizard but it won't translate the Mach3 XML file. I don't want to write a configuration file from scratch especially since I have a working Mach3 configuration. I suspected there might be a problem with line endings between the Windows/Mach3 XML file and the LinuxCNC wizard so I added Unix/Linux line endings to the XML file. It made no difference, though it is now readable. I have attached it since it is quite small.

All my other computers are Linux machines and ONLY my CNC machine runs Windows. I'll be glad to see the back of it. However, I'm stuck.

Big John, can you please help?
20 Feb 2017 15:21 #88350 by Todd Zuercher
How is your maching connected to your Mach3 PC?
Linuxcnc can only convert and use Mach3 parallel port connected machines.

If you are using a Smoothstepper, you are going to have to get Linuxcnc compatible hardware and rewire the machine.
20 Feb 2017 15:23 #88352 by clive
It's a parallel port connection.
20 Feb 2017 16:51 #88358 by Todd Zuercher
Are you sure. The bottom of your XML file references a Smoothstepper. Other Mach3 pure parallel port xmls I've looked at do not. Maybe the Smoothstepper is hidden in your PC case, with it's parallel port cables coming out?
20 Feb 2017 17:00 #88359 by clive
The CNC controller box is connected to the PC with a standard parallel port cable. The PC has no special hardware just a regular printer port.

It seems to be a set of parsing errors.
20 Feb 2017 17:32 #88361 by Todd Zuercher
I deleted the Smootstepper references (and maybe a couple of other things) from the xml file then I was able to load it.
I don't know anything about Mach3 or its files. but this is what Stepconfig spit out, Don't know if it will be usable for you.
20 Feb 2017 17:34 #88362 by clive
I'll give that a try and report back.
20 Feb 2017 17:44 #88364 by clive
I removed the section concerning the smoothstepper entirely but that didn't fix the parsing problem. I double clicked the XML file and a browser parsed the file and noted an error in the XML file (some non-ASCII characters!). I deleted those and the file read OK.

On to testing...
20 Feb 2017 17:51 #88365 by Todd Zuercher
Yep, that was it on the line "LastUser" delete those junk characters, and then it loads. (The Smoothsteper stuff had nothing to do with it.)

Good Luck.
20 Feb 2017 17:54 #88366 by clive
Yes, it loaded fine. Now LinuxCNC tells me that the RTAPI and HAL_LIB are not loaded! Dang...
Time to create page: 0.093 seconds
Powered by Kunena Forum