2.8.4 Upgrade - Not Starting

More
25 Sep 2022 21:50 #252741 by Hodge
I've been using LCNC 2.7 on an HP Compaq DC7600 successfully for a few years running my Emco lathe via Pico Universal Stepper Controller.

I wanted to upgrade to 2.8.4 to use G70+ and also change to a thin client HP T610.

I tested the T610 runs 2.7 fine on Wheezy before installing Buster and 2.8.4.

I did and ISO Buster install with 2.8.2 and updated to 2.8.4.

I then manually changed my INI and HAL files (script was uncessful) working through the 'DeBug' notes on the failed start up screen.

The last 'fix' was to compile 'emcochanger.comp' to 'emcochanger.so' BUT after this compile I cannot get LCNC to start or give any error message. When executing with the 'emco.ini' literally nothing happens.

LCNC will start with sim.axis or give error messages with the previous ini files but does nothing when executed with the attached 'emco.ini'.

Can anyone point me in the right direction please??

Thanks
Attachments:

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

More
26 Sep 2022 06:21 #252750 by Aciera
Replied by Aciera on topic 2.8.4 Upgrade - Not Starting
have you tried to start your config from the terminal?

$ linuxcnc

should open the config picker window where you can choose your config. That should give you some output in the terminal window which my give an indication of what' wrong.
The following user(s) said Thank You: Hodge

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

More
26 Sep 2022 12:34 #252757 by Hodge
Replied by Hodge on topic 2.8.4 Upgrade - Not Starting
That helped a lot. Thanks Aciera!

It seemed to be [TRAJ] HOME= 0 0 in the ini that was the problem. I've just '#'d it.

HOWEVER, after correcting a few more errors I've now hit another brick wall.

LCNC 2.8.4 will now start, I can jog both X and Z via the keyboard arrow BUT Z does not show on the DRO although the axis is moving. X appears to be fine.

Both axis will home but Z will no longer move after X is homed.

I think I must have some JOINT_#, AXIS_#, PID.# references mixed up but have tried many combo's and can't seem to find the issue.

Any ideas??      (ini/hal attached)
Attachments:

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

More
26 Sep 2022 13:08 #252761 by mgm
Replied by mgm on topic 2.8.4 Upgrade - Not Starting
maybe the addition of the HOME_SEQUENCE will help

at Joint_0 = 0
at Joint_1 = 1

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

More
26 Sep 2022 14:40 #252770 by Hodge
Replied by Hodge on topic 2.8.4 Upgrade - Not Starting
Thanks mgm for the suggestion.

I've added HOME_SEQUENCE to the JOINTS and it successfully HOME's ALL but this did not fix the issue.

I don't think it's a homing issue as the DRO for Z is not registering when jogging before homing although it is fine for X.

Do you know which HAL line gives the displayed DRO value?   joint.#.motor-pos-fb maybe?

I'm fairly sure it is the manual referencing I've done in the HAL and INI for the 2.8.4 upgrade as it was all fine in 2.7
 

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

More
26 Sep 2022 15:40 #252778 by tommylight


It seemed to be [TRAJ] HOME= 0 0 in the ini that was the problem. I've just '#'d it.

Not ot be omited, must be
HOME = 0 0 0
for 3 axis machine.

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

More
26 Sep 2022 18:55 #252797 by Hodge
Replied by Hodge on topic 2.8.4 Upgrade - Not Starting
Thanks Tommy

When HOME = 0 0 is used LCNC won't start (It's a lathe with just two axis)

When HOME = 0 0 0 is used it does start but the same problem exists. No DRO readout for Z and Z motion stops when X is homed.

Could it be a naming/referencing issue where the original setup had redundant Y axis (i.e. AXIS_0 was X, AXIS_1 was Y but not used, AXIS_2 was Z). Now 2.8.4 is using only JOINT_0 & JOINT_1 but the PID references are PID.0 & PID.2 still. Also 'ppmc.0.encoder.02.position' for Z.

Does this matter ??

I've tried renaming them (PID.1, etc) but haven't had success yet.

 

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

More
27 Sep 2022 07:29 #252835 by Aciera
Replied by Aciera on topic 2.8.4 Upgrade - Not Starting
It does seem like it's somehow expecting 3 axis (XYZ) but I can't see why.

As an alternative route you might want to try to create a new 2 axis (XZ) config from scratch with one of the tools included and modify that for your needs.

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

More
07 Oct 2022 10:13 #253665 by Hodge
Replied by Hodge on topic 2.8.4 Upgrade - Not Starting
I eventually found the answer to 'Z' axis not working properly after re-reading the excellent 'Updating LinuxCNC' document on the website.

In the hal....

loadrt trivkins

should be.......

loadrt trivkins coordinates=XZ

All working fine now. Thanks for your help with this one.
 
The following user(s) said Thank You: tommylight

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

Time to create page: 0.114 seconds
Powered by Kunena Forum