loading LinuxCNC on old smithy 1240

More
31 Oct 2022 19:50 - 31 Oct 2022 19:52 #255600 by andypugh
Replied by andypugh on topic loading LinuxCNC on old smithy 1240
9 float OUT 0 hm2_5i20.0.8i20.0.0.bus-voltage ==> voltage
9 bit OUT TRUE hm2_5i20.0.8i20.0.0.status.bus-underv

Looks like the power to the 8i20 is off?
Last edit: 31 Oct 2022 19:52 by andypugh.

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

More
31 Oct 2022 20:02 #255603 by LPMattei
Replied by LPMattei on topic loading LinuxCNC on old smithy 1240
shouldn't be, unless there is a change in how it is turned on with new SW. if I install old drive with old SW, it will work. could it be a line we commented out in the hal?

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

More
31 Oct 2022 20:14 #255607 by andypugh
Replied by andypugh on topic loading LinuxCNC on old smithy 1240
Was the machine actually on when you got the list?

I think that your PyVCP panel should be showing bus voltage too?

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

More
31 Oct 2022 20:34 #255608 by LPMattei
Replied by LPMattei on topic loading LinuxCNC on old smithy 1240
I need to apologize, when I said it worked when I put the old drive / SW in, I made an assumption (I know). I forgot that I had added a power drawbar, I've been looking right at it, and forgot that after I installed it, I never actually ran the spindle. I need to mess with the interlock switch that is apparently wired incorrectly. I'm guessing the spindle will work once I fix that. I will get back in a bit

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

More
31 Oct 2022 20:46 #255610 by LPMattei
Replied by LPMattei on topic loading LinuxCNC on old smithy 1240
update, there is an issue with the interlock sw, With old SW I was able to disengage interlock sw and spindle would run. With new version, it doesn't run in either position. So I'm thinking it is somewhere in hal still

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

More
31 Oct 2022 21:09 #255611 by LPMattei
Replied by LPMattei on topic loading LinuxCNC on old smithy 1240
OK, so I jumped out the interlock, and spindle runs with old SW, but still not with new SW.

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

More
31 Oct 2022 21:23 #255612 by LPMattei
Replied by LPMattei on topic loading LinuxCNC on old smithy 1240
I ran halcmd again, with switch jumped out and gui up and system homed   smithy@debian:~$ halcmd show pin *8i20*
Component Pins:
Owner   Type  Dir         Value  Name
     9  float IN      0.3333333  hm2_5i20.0.8i20.0.0.angle <== rotor_angle
     9  float OUT        328.32  hm2_5i20.0.8i20.0.0.bus-voltage ==> voltage
     9  float OUT            40  hm2_5i20.0.8i20.0.0.card-temp ==> temp
     9  float IN             -0  hm2_5i20.0.8i20.0.0.current <== current
     9  bit   OUT         FALSE  hm2_5i20.0.8i20.0.0.fault.U-current
     9  bit   OUT          TRUE  hm2_5i20.0.8i20.0.0.fault.U-current-not
     9  bit   OUT         FALSE  hm2_5i20.0.8i20.0.0.fault.V-current
     9  bit   OUT          TRUE  hm2_5i20.0.8i20.0.0.fault.V-current-not
     9  bit   OUT         FALSE  hm2_5i20.0.8i20.0.0.fault.W-current
     9  bit   OUT          TRUE  hm2_5i20.0.8i20.0.0.fault.W-current-not
     9  bit   OUT         FALSE  hm2_5i20.0.8i20.0.0.fault.bus-high
     9  bit   OUT          TRUE  hm2_5i20.0.8i20.0.0.fault.bus-high-not
     9  bit   OUT         FALSE  hm2_5i20.0.8i20.0.0.fault.bus-overv
     9  bit   OUT          TRUE  hm2_5i20.0.8i20.0.0.fault.bus-overv-not
     9  bit   OUT         FALSE  hm2_5i20.0.8i20.0.0.fault.bus-underv
     9  bit   OUT          TRUE  hm2_5i20.0.8i20.0.0.fault.bus-underv-not
     9  bit   OUT         FALSE  hm2_5i20.0.8i20.0.0.fault.framingr
     9  bit   OUT          TRUE  hm2_5i20.0.8i20.0.0.fault.framingr-not
     9  bit   OUT         FALSE  hm2_5i20.0.8i20.0.0.fault.module
     9  bit   OUT          TRUE  hm2_5i20.0.8i20.0.0.fault.module-not
     9  bit   OUT         FALSE  hm2_5i20.0.8i20.0.0.fault.no-enable
     9  bit   OUT          TRUE  hm2_5i20.0.8i20.0.0.fault.no-enable-not
     9  bit   OUT         FALSE  hm2_5i20.0.8i20.0.0.fault.overcurrent
     9  bit   OUT          TRUE  hm2_5i20.0.8i20.0.0.fault.overcurrent-not
     9  bit   OUT         FALSE  hm2_5i20.0.8i20.0.0.fault.overrun
     9  bit   OUT          TRUE  hm2_5i20.0.8i20.0.0.fault.overrun-not
     9  bit   OUT         FALSE  hm2_5i20.0.8i20.0.0.fault.overtemp
     9  bit   OUT          TRUE  hm2_5i20.0.8i20.0.0.fault.overtemp-not
     9  bit   OUT         FALSE  hm2_5i20.0.8i20.0.0.fault.watchdog
     9  bit   OUT          TRUE  hm2_5i20.0.8i20.0.0.fault.watchdog-not
     9  bit   OUT         FALSE  hm2_5i20.0.8i20.0.0.status.brake-old
     9  bit   OUT          TRUE  hm2_5i20.0.8i20.0.0.status.brake-old-not
     9  bit   OUT         FALSE  hm2_5i20.0.8i20.0.0.status.brake-on
     9  bit   OUT          TRUE  hm2_5i20.0.8i20.0.0.status.brake-on-not
     9  bit   OUT         FALSE  hm2_5i20.0.8i20.0.0.status.bus-underv
     9  bit   OUT          TRUE  hm2_5i20.0.8i20.0.0.status.bus-underv-not
     9  bit   OUT         FALSE  hm2_5i20.0.8i20.0.0.status.current-lim
     9  bit   OUT          TRUE  hm2_5i20.0.8i20.0.0.status.current-lim-not
     9  bit   OUT         FALSE  hm2_5i20.0.8i20.0.0.status.ext-reset
     9  bit   OUT          TRUE  hm2_5i20.0.8i20.0.0.status.ext-reset-not
     9  bit   OUT         FALSE  hm2_5i20.0.8i20.0.0.status.no-enable
     9  bit   OUT          TRUE  hm2_5i20.0.8i20.0.0.status.no-enable-not
     9  bit   OUT          TRUE  hm2_5i20.0.8i20.0.0.status.pid-on
     9  bit   OUT         FALSE  hm2_5i20.0.8i20.0.0.status.pid-on-not
     9  bit   OUT         FALSE  hm2_5i20.0.8i20.0.0.status.sw-reset
     9  bit   OUT          TRUE  hm2_5i20.0.8i20.0.0.status.sw-reset-not
     9  bit   OUT         FALSE  hm2_5i20.0.8i20.0.0.status.wd-reset
     9  bit   OUT          TRUE  hm2_5i20.0.8i20.0.0.status.wd-reset-not

smithy@debian:~$
     

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

More
31 Oct 2022 21:28 #255613 by LPMattei
Replied by LPMattei on topic loading LinuxCNC on old smithy 1240
Is there maybe something here that needs changed?

# Spindle Contactor Enable
setp hm2_5i20.0.gpio.041.is_output TRUE
setp hm2_5i20.0.gpio.041.invert_output TRUE
# Door Closed - Energizes spindle contactor
net CLOSED hm2_5i20.0.gpio.029.in_not hm2_5i20.0.gpio.041.out

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

More
01 Nov 2022 00:28 #255625 by andypugh
Replied by andypugh on topic loading LinuxCNC on old smithy 1240
It looks like the 8i20 has volts and is enabled.

Open the halmeter and / or halshow and follow the spindle.0.... pins through.

There is a pid component for closed-loop spindle control, and then the bldc component, so quite a lot of places a signal could be getting lost.

Look at the signals and pins here, especially 8i20.current:
net current bldc.0.out hm2_5i20.0.8i20.0.0.current abs.0.in

This might need to be 30, now:
setp pid.0.maxoutput 1.0
That could be limiting the motor to 1A.

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

More
01 Nov 2022 00:42 #255627 by LPMattei
Replied by LPMattei on topic loading LinuxCNC on old smithy 1240
setp pid.0.maxoutput 30 did it. Spindle now runs.
Anything else to test before calling it good?

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

Time to create page: 0.071 seconds
Powered by Kunena Forum