× Forum Header

testing stretch linux 2.7 in vbox, can't get result from step config

More
02 Feb 2020 10:55 #156363 by CNC101shed
I have been using EMC2 and linuxcnc for the past 14 years. Never had trouble getting results with step config. This time I installed Debian stretch with linuxcnc from your download page as I have done with previous releases.
Installed in Vbox, no problem. Tried to generate a stepconfig file. This worked until I tried to start 'My Mill' that is when got a huge error message with a huge file. Somehow I can't print the file or copy it. All very strange.
I have attached ini and hal file

File Attachment:

File Name: my-mill.hal
File Size:3 KB

File Attachment:

File Name: my-mill.ini
File Size:2 KB

File Attachment:

File Name: my-mill.ini
File Size:2 KB

File Attachment:

File Name: my-mill.hal
File Size:3 KB
Attachments:

Please Log in or Create an account to join the conversation.

More
02 Feb 2020 20:26 #156403 by BeagleBrainz
What is the contents of the directory where your hal & ini files are ?
Is there a custom.hal & custom_postgui.hal files ?
Is there a sim_hardware.hal file ?

I ran your files in Virtualbox with custom.hal & custom_postgui.hal lines commented out & with the sim_hardware.hal file in the same directory and axis started up fine.

If you actually read the Linuxcnc error window you will find the errors that prevent it from starting. If you click Select All button you can then paste the text to a file in an editor. Read very carefully up to the kernel debug info.

Please Log in or Create an account to join the conversation.

More
03 Feb 2020 03:01 #156415 by CNC101shed
I had expected the program to run as is. I am not a programmer and to old to learn at present. I will attach the rest of the files in the config folder and the error file.
I would also like to add screenshots of how I went through step config. This will however exceed what I can put in in one session.
Thanks for looking this over for me BeagleBrainz.

Please Log in or Create an account to join the conversation.

More
03 Feb 2020 04:09 - 03 Feb 2020 04:09 #156417 by JohnnyCNC
This is the line telling you what the problem is:

sim_hardware.hal:36: Signal 'fake-xstep' can not add OUT pin 'parport.0.pin-08-out-fake', it already has OUT pin 'parport.0.pin-02-out-fake'

Try commenting out these two lines in your .hal file.

fake-xstep & fake-xdir are already connected to out pins. I don't know what they are being assigned again.

setp sim-hardware.Zhomesw-pos [AXIS_2]HOME_OFFSET
net fake-xstep => parport.0.pin-02-out-fake
net fake-xdir => parport.0.pin-03-out-fake

net fake-ystep => parport.0.pin-04-out-fake
net fake-ydir => parport.0.pin-05-out-fake
net fake-zstep => parport.0.pin-06-out-fake
net fake-zdir => parport.0.pin-07-out-fake
#net fake-xstep => parport.0.pin-08-out-fake
#net fake-xdir => parport.0.pin-09-out-fake

net fake-all-home sim-hardware.homesw-all
net fake-all-limit sim-hardware.limitsw-all
net fake-all-limit-home sim-hardware.limitsw-homesw-all
Last edit: 03 Feb 2020 04:09 by JohnnyCNC.

Please Log in or Create an account to join the conversation.

More
03 Feb 2020 04:10 #156418 by BeagleBrainz
OK the issue seems to be here:
Debug file information:
.
sim_hardware.hal:36: Signal 'fake-xstep' can not add OUT pin 'parport.0.pin-08-out-fake', it already has OUT pin 'parport.0.pin-02-out-fake'
6717

file sim_hardware.hal line 36

Which seems to be here: look at lines 36 & 37
net fake-xstep           => parport.0.pin-08-out-fake
net fake-xdir            => parport.0.pin-09-out-fake

Should these have been lines 36 & 37.
net fake-astep           => parport.0.pin-08-out-fake
net fake-adir            => parport.0.pin-09-out-fake

Maybe a mistake whilst running stepconf ?

Please Log in or Create an account to join the conversation.

More
03 Feb 2020 04:13 #156419 by JohnnyCNC
You got it BeagleBrainz,, I just noticed the a axis later in the hal.

Please Log in or Create an account to join the conversation.

More
03 Feb 2020 21:18 #156475 by CNC101shed
If I read your comments correctly the problem is that I want to program in dual axis on X. That was the plan from the start as i need to work out dual axis and homing. While my old cnc router uses dual X axis, X ans A joints have been fed the X step and direction feeds with homing just on the x axis. As they are fed the same step and direction homing never was an issue. With the new machine I am building I will be using rack and pinion drive. Rack and pinion drives are a lot easier to move when not powered up. Hence the need for dual homing.
This brings us back to step config. I made this a very simple config file to keep things simple. Attached are the screenshots of how I went through them.

Please Log in or Create an account to join the conversation.

More
04 Feb 2020 01:27 #156484 by JohnnyCNC
You may need to look at LinixCNC 2.8. That version allows for 2 joints (motors) on one axis. I don't know how homing works though. I have a standard mill so I have no experience with a gantry style machine. I'm sure someone will chime in on that subject.

Please Log in or Create an account to join the conversation.

More
04 Feb 2020 02:56 #156486 by CNC101shed
Thank you all for your comments. I tried a new step config with just XYZ without the dual x axis it worked just fine. obvious I have to go to 2.8 when it becomes available.

Please Log in or Create an account to join the conversation.

More
04 Feb 2020 09:37 #156489 by Clive S

Thank you all for your comments. I tried a new step config with just XYZ without the dual x axis it worked just fine. obvious I have to go to 2.8 when it becomes available.


It is available 2.8 and 2.9 there are a few posts on here how to upgrade from 2.7 to 2.8

Please Log in or Create an account to join the conversation.

Time to create page: 0.232 seconds
Powered by Kunena Forum