loading LinuxCNC on old smithy 1240

More
20 Sep 2022 18:39 #252427 by LPMattei
loading LinuxCNC on old smithy 1240 was created by LPMattei
I have an old Smithy 1240, I want to load the latest, or at least more recent version of LinuxCNC. I am very new to this, so apologies if this is too dumb a question. My Smithy 1240 currently runs 2.5.4 and everything works fine, but I want to add a usb pendant and it doesn't look like it will work , I put in a new drive and loaded the latest version, and LinuxCNC wont start, it gives an error that it cannot find firmware hm2/5i20/sssvst2_2_4_v31.bit. My assumption is there is a configuration that needs to be done, but I have no info on the machine configuration.
So I guess my questions are:
A: Can the SW be updated while saving the current configuration?
B: Can someone point me to info on how to configure the software if A: is not possible?
C: Does someone have this working and is willing to send me a working / configured copy of it?

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

More
20 Sep 2022 20:43 #252441 by PCW
Replied by PCW on topic loading LinuxCNC on old smithy 1240
as a first step, I would copy the existing firmware file and configuration files
from the original hard drive and transfer them to the new installation drive

There is a built-in utility to update configuration files (from 2.7 to 2.8/2.9) but I am not sure if it works on 2.5.X version files

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

More
20 Sep 2022 22:46 #252450 by LPMattei
Replied by LPMattei on topic loading LinuxCNC on old smithy 1240
Can you point me to where those files are, I had copied the file it was barking about, but it didn't seem to help

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

More
20 Sep 2022 23:00 #252451 by PCW
Replied by PCW on topic loading LinuxCNC on old smithy 1240
The firmware file should be in

/lib/firmware/hm2/5i20/

You will need to duplicate this directory on the new installation disk

The hal and ini files should be in

~/linuxcnc/configs

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

More
25 Sep 2022 18:34 #252722 by LPMattei
Replied by LPMattei on topic loading LinuxCNC on old smithy 1240
Thank you, I will try that

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

More
25 Sep 2022 20:51 - 25 Sep 2022 21:37 #252738 by LPMattei
Replied by LPMattei on topic loading LinuxCNC on old smithy 1240
OK, I moved the files and now I get a new error relating to 1240combined.hal max current. I ran latency test as it said, but I didn't see it matter. Attached are the error and section from 1240combined.hal file
Attachments:
Last edit: 25 Sep 2022 21:37 by LPMattei.

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

More
26 Sep 2022 14:41 #252771 by PCW
Replied by PCW on topic loading LinuxCNC on old smithy 1240
Is the 8I20 powered?

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

More
26 Sep 2022 16:46 #252785 by LPMattei
Replied by LPMattei on topic loading LinuxCNC on old smithy 1240
I would have to say yes, if I swap in the disk with the old version SW it works fine

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

More
26 Sep 2022 20:30 #252799 by PCW
Replied by PCW on topic loading LinuxCNC on old smithy 1240
Can you try commenting out that line (line 86) in the hal file
and trying to start LinuxCNC again.

I think possibly some pin names changed over the years

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

More
26 Sep 2022 22:42 #252811 by LPMattei
Replied by LPMattei on topic loading LinuxCNC on old smithy 1240
I tried that, then I commented the next 3 lines that failed.
#    setp hm2_5i20.0.stepgen.03.position-scale  [AXIS_3]SCALE
#    setp hm2_5i20.0.stepgen.03.maxaccel        [AXIS_3]STEPGEN_MAXACCEL
#    setp hm2_5i20.0.stepgen.03.maxvel          [AXIS_3]STEPGEN_MAXVEL
then it gave following error
./1240combined.hal:191: Pin 'hm2_5i20.0.8i20.0.0.amp_enable' does not exist
I feel like it is missing something and I will be chasing the errors all the way down.
 

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

Time to create page: 0.072 seconds
Powered by Kunena Forum