- Posts: 8
- Thank you received: 0
Inverting input in stepConf causes error loading
When I run the StepConf wizard and create a configuration the 3 axis run back and forth just fine with the axis tester. When I run LinuxCNC it loads but gives limit switch errors. SO, I went back into stepConf and inverted my limit switches (they are active when grounded). HOWEVER, when I do this LinuxCNC fails on loading due to an error message:
sim_hardware.hal:20: Pin 'parport.0.pin-10-in-not-fake' does not exist.
(pin-10-in-fake works just fine, but for some reason when I invert the limit/home switch the hal config file that StepConf wizard generates has this problem.)
Linux CNC version 2.7.3
I'm not sure of the stepconf version, but it was whatever is bundled in the standard 2.7 ISO image that I downloaded just a few days ago.
Anybody run into this before and know a (hopefully easy?) fix?
Thanks,
Jay
Lots of more information about my machine home/limit switches is here:
www.summet.com/blog/2016/01/17/how-to-co...ome-switches-e-stop/
Please Log in to join the conversation.
I am puzzled whet the sim_hardware.hal file came from, that is inappropriate for a real config.
What happens if you just delete the reference to that file from the INI file?
Please Log in to join the conversation.
Chris M
Please Log in to join the conversation.
Please Log in to join the conversation.
I did install the updates (for both Debian and LinuxCNC repositories) after installing from the ISO image.
Perhaps the stepConf needs to be updated somehow? I wasn't sure how to find out the version number of StepConf (it doesn't show it anywhere on the screen when I was using it as far as I can tell.
Please Log in to join the conversation.
andypugh wrote: It would probably have been easier to directly import the Mach3 config on the first page of Stepconf
I am puzzled whet the sim_hardware.hal file came from, that is inappropriate for a real config.
What happens if you just delete the reference to that file from the INI file?
The sim_hardware.hall file was created by the StepConf gui.
I tried commenting out the "source sim_hardware.hal" line from my ScanTek2000-sherline.hal file, but then the error messaged changed as follows:
ERROR: function 'sim-hardware.update' not found ./ScanTek2000-sherline.hall:15:addf failed
So I commented out the "addf sim-hardware.update servo-thread" line.
And then the error was:
Pin 'parport.0.pin-10-in-not' does not exist.
(This is from a line: net home-x <= parport.0.pin-10-in-not)
at this point, I stopped commenting things out, because that line looks very much like something I really want to have in my final config.
Please Log in to join the conversation.
Chris M
Please Log in to join the conversation.
Chris M
Please Log in to join the conversation.
cmorley wrote: when first running stepconf the second page I think, see if 'create simulated hardware configuration' is unchecked - it should be for a real machine.
Chris M
Great, thanks! I didn't know to uncheck that default. After I did that the generated configuration file loads into LinuxCNC correctly!
(My computer will automatically upgrade to 2.7.4 when it is released with just the normal apt-get upgrade correct?)
Please Log in to join the conversation.
Installing 2.7.4 for the first time and although test motion worked great i too got the error, but the error disappeared when i unticked the invert box but of course the axis wouldn't then turn. So fresh configuration and unchecked the 'Create simulated hardware configuration' on the second screen....now works fine.
Please Log in to join the conversation.
