- Posts: 9
- Thank you received: 0
simulation mode
This is first time I try to use LinuxCNC. I have a DIY CNC made by 3 old floppy drives.
Since the XYZ can go only from 0 to 15mm only, I want to have a bigger CNC
in simulation mode use the same configuration. So I use stepconf to create
the configuration, this time, in simulation mode.
But, when I start linuxcnc, I got the following error message:
sim_hardware.hal:37: parameter or pin 'parport.0.pin-06-out-invert-fake' not found
I'm running linuxcnc v2.7.14. Any help is appreciated. Thanks a lot.
Regards
KC
Please Log in to join the conversation.
- tommylight
-
- Online
- Administrator
-
- Posts: 22010
- Thank you received: 3
Fake ????kccheng wrote: sim_hardware.hal:37: parameter or pin 'parport.0.pin-06-out-invert-fake' not found
It can be true or false.
Please Log in to join the conversation.
tommylight wrote:
Fake ????kccheng wrote: sim_hardware.hal:37: parameter or pin 'parport.0.pin-06-out-invert-fake' not found
It can be true or false.
The file, sim_hardware.hal, was genereated by 'stepconf' automatically.
That's why I'm asking ....
Please Log in to join the conversation.
can you post your stepconf file?
Chris M
Please Log in to join the conversation.
(just out-invert-fake)
parport.0.pin-06-out-invert-fake 1
change to :
parport.0.pin-06-out-invert 1
see if that works.
Chris M
Please Log in to join the conversation.
cmorley wrote: looks like a possible bug with the simulated parport component.
can you post your stepconf file?
Chris M
Attachments is "floppy-sim.stepconf".
The following is error messages:
$ linuxcnc floppy-sim/floppy-sim.ini
LINUXCNC - 2.7.14
Machine configuration directory is '/home/kccheng/linuxcnc/configs/floppy-sim'
Machine configuration file is 'floppy-sim.ini'
Starting LinuxCNC...
.
Found file(REL): ./floppy-sim.hal
sim_hardware.hal:37: parameter or pin 'parport.0.pin-06-out-invert-fake' not found
Shutting down and cleaning up LinuxCNC...
LinuxCNC terminated with an error. You can find more information in the log:
/home/kccheng/linuxcnc_debug.txt
and
/home/kccheng/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal
Please Log in to join the conversation.
cmorley wrote: as a quick check, go to the file, sim_hardware.hal and any line like:
(just out-invert-fake)
parport.0.pin-06-out-invert-fake 1
change to :
parport.0.pin-06-out-invert 1
see if that works.
Chris M
With that change, I can start LinuxCNC. But when I do "Home All"
I got error message:
How switch inactive before start of latch move.
parport.0.pin-06-out-invert
is my Z-Direction pin, it's the only inverted pin.
The Z axis is reversed (home at top, Z+ goes down).
Regards,
KC
Please Log in to join the conversation.
hardware configuration of my real floppy CNC.
Here is some tests I did for v2.7.14:
1) stepconf
At the start page, if I choose "Modify a configuration already created with this program"
I still need to check "Create simulated hardware configuration" !! If this checkbox is not checked, the simulation mode in the previous configration file will be overrided as FALSE.
2) remove the invert PIN.
So the LinuxCNC can start normally (the inverted PIN is buggy)
But click "Home All" will cause error.
3) remove the HOME pin
LinuxCNC now can run without any problem.
However, the the "Home All" button become "Home Axis" and I can only Home one axis at a time !!!
Regards,
KC
Please Log in to join the conversation.
output Pin wrong name ( we know how to fix that one )
sounds like homing input is inverted.
I wonder if this is caused by the hardware default logic vrs software simulation of the parport not being the same?
can you post your stepconf file again but compressed? the forum only allows me to open it in firefox not download it.
Chris M
Please Log in to join the conversation.
Compare it with my real floppyCNC configuration file, there are on 2 different tag
as following:
<property name="machinename" type="string" value="floppy-sim"/>
<property name="sim_hardware" type="bool" value="True"/>
Regards,
KC
Please Log in to join the conversation.
