#linuxcnc-devel Logs
May 29 2022
#linuxcnc-devel Calendar
03:29 AM pere: andypugh: seb_kuzminsky will visit Norway 5th to 19th to give a talk, <URL: https://www.nuug.no/aktiviteter/20220607-fabrication/ > and help me convert my CNC to LinuxCNC.
07:50 AM JT-Cave: pcw-home, 7i76S manual show TB2 pin 22 as SPINDLE + looking at the printing on the board it shows SPIN-
08:22 AM pcw-home: Ill fix that in the manual
08:23 AM pcw-home: on the spindle configuration, note that 7I96S,7I76,7I76E,7I47S all need to use the -abs command
08:25 AM pcw-home: since they have 0 to 10V (unipolar) outputs
08:27 AM pcw-home: also if using the spindle PID as a feedthrough (no encoder feedback used) P should be 0
08:28 AM pcw-home: Otherwise the scaling will be wrong (2x too high output)
09:02 AM JT-Cave: OK thanks
09:03 AM JT-Cave: for the spindle I just have FF0 = 1
09:08 AM JT-Cave: how's the 7i96S build coming along?
09:13 AM Tom_L: how's the 7i96s config tool coming?
09:14 AM JT-Cave: just need to sort out some details on the spindle in the Mesa Configuration Tool
09:14 AM JT-Cave: I'm not making one just for the 7i96S, focused on the tool that does all the cards
09:14 AM Tom_L: probably a better idea
09:17 AM JT-Cave: once I managed to add the 5i25 to the 7i92 tool that opened the door for the tool that does them all
09:17 AM Tom_L: i suppose the first couple were alot harder than the next ones
09:52 AM JT-Cave: the first one was quite a bit of work
10:10 AM JT-Cave: pcw-home, so I need to do pid.4.output => abs.0.in => abs.0.out => hm2_7i96s.0.pwmgen.00.value
10:10 AM Tom_L: first time the buster iso has come up with the linuxcnc logo on boot
10:21 AM pcw-home: No need for the abs component, motion already exports and absolute spindle speed pin
10:22 AM pcw-home: spindle.0.speed-out-abs
10:30 AM JT-Cave: ok, do I need the pid for a spindle?
10:30 AM Tom_L: set FF0 =1 the rest to 0 iirc from the other day
10:30 AM JT-Cave: that's what I do
10:31 AM Tom_L: pcw can verify but iirc that was it
10:31 AM Tom_L: finally setting up a new iso install
10:32 AM JT-Cave: I need to swap MB's here but need to finish the 160' of deck railing too
10:33 AM pcw-home: The only reason to use PID is if the user wants to add feedback later
10:41 AM Tom_L: JT-Cave, you could have a checkoff to add it
10:43 AM pcw-home: If FF0= 1 (and everything else is 0) the PID is a no-op (the PID output=the PID command)
10:43 AM Tom_L: at least the template would be in place
10:46 AM JT-Cave: ok, that's easy as I have a feedback combo box for none or encoder
10:46 AM JT-Cave: thanks pcw-home
11:10 AM pcw-home: Actually I realize that only the 7I76 requires the absolute spindle speed (the others use the PWMgen which is sign-magnitude so OK with signed speeds)
11:30 AM roguish[m]: Peter. I found an error in the hostmot2 driver.
11:33 AM roguish[m]: in the encoder section. there is a pin 'velocity' which is ok. but there is a pin created 'velocity-rpm' which is not in the doc. it is incorrect. it is actually velocity in machine units per minute.
11:34 AM roguish[m]: i have verified with an independent tach on the motor, as the numbers did not make sense. once i took out the pitch of the ballscrew the rpm's matched.
11:34 AM roguish[m]: so, it needs to get fixed, and added to the docs
11:36 AM roguish[m]: please check it out.
01:02 PM JT-Cave: pcw-home, thanks
01:13 PM pcw-home: roguish[m] it is RPM for spindles...
01:14 PM pcw-home: (and that is its intended usage)
01:28 PM roguish[m]: pcw-home: ok, I still suggest that it be added to the documentation for the driver, with full definition. i'm looking at the current master html docs.
01:29 PM roguish[m]: http://linuxcnc.org/docs/devel/html/drivers/hostmot2.html#sec:hm2-encoder
01:37 PM pcw-home: Yeah, I woud expect that to come from the man page, but that looks several years out-of-date
03:39 PM -!- #linuxcnc-devel mode set to +v by ChanServ
04:10 PM -!- #linuxcnc-devel mode set to +v by ChanServ
05:08 PM -!- #linuxcnc-devel mode set to +v by ChanServ
06:45 PM -!- #linuxcnc-devel mode set to +v by ChanServ