#linuxcnc Logs

Nov 01 2021

#linuxcnc Calendar

12:00 AM CaptHindsight[m]: as long as you keep the printer in a dark area it's not a problem
12:08 AM CaptHindsight[m]: I have resins so sensitive they will cure if kept in brown bottles in normal office light
12:09 AM roycroft: if you're just worried about unattended printing, won't the resin tank filter the light?
12:19 AM CaptHindsight[m]: depends on the sensitivity of the resin, see above
12:19 AM CaptHindsight[m]: you can test your resins by leaving a spoonful in the vat and leaving it out until it cures
12:20 AM CaptHindsight[m]: with the cover on the printer
12:21 AM CaptHindsight[m]: see how many hours, days weeks it takes in various locations, sunny window, grow lamps etc
12:23 AM CaptHindsight[m]: I had brilliant customers that stored their resins on a shelf in the window
12:23 AM roycroft: or just clear some space in a closet or cabinet
12:24 AM CaptHindsight[m]: some you just can't trust without a metal can
12:25 AM CaptHindsight[m]: then again some complain that they want a real fast cure resins and then it cures on the shelf
12:26 AM CaptHindsight[m]: or water soluble resin that they complain that it swells to much from absorbing water
12:27 AM CaptHindsight[m]: I imagine that they also complain about razors being too sharp. Ice too cold and water being too wet.
02:12 AM Deejay: moin
04:30 AM Tom_L: morning
04:59 AM JT-Cave: morning
10:03 AM roguish[m]: good morning. maybe a bit more rain today.....
10:17 AM roycroft: the rain will return here as well today
10:24 AM roycroft: my vfd is out for delivery, so i'll be able to test my mill this evening
11:36 AM aaroncnc: i am a bit confused tool change vs tool prepare
11:41 AM satiowadahc[m]: Tool prepare I normally loopback to tool prepared. Tool change is the actual change
11:42 AM aaroncnc: is it possible to have the manual tool change but still use the tool change to say drive a LED on an output then also still have the onscreen pop up but also have a hardkey set to a input?
11:42 AM * Tom_L is waiting on the mailman for a stepper motor
11:43 AM aaroncnc: to clear? sorry if i worded my question badly.
11:48 AM roycroft: ups will arrive late today
11:48 AM satiowadahc[m]: When do you want to have the led turn on exactly?
11:48 AM roycroft: and i have a board meeting to attend tonight (virtually)
11:48 AM roycroft: hopefully ups will arrive early enough that i'll be able to configure and test my vfd before the board meeting
11:52 AM aaroncnc: satiowadahc[m], im thinking if a user had a light tree that it could enable a light when a tool change is called. then also have a hardkey to clear it. while at the same time still having the hal_manualtoolchange setup in hal.
12:00 PM Tom_L: aaroncnc, toolprepare is for tool changers that prefetch the next tool
12:00 PM Tom_L: like on a large belt drive tool changer
12:00 PM aaroncnc: okay that makes sense.
12:16 PM JT-Shop: aaroncnc, I do something like that in my mill touch 6 and don't use the hal manual tool change
12:18 PM enleth: aaroncnc: remember that you can always wire up any internal HAL pins to arbitrary physical outouts as needed
12:22 PM aaroncnc: thanks, just working on the config tool for remora, just finished the output section for the hal file up next is the input.
01:09 PM aaroncnc: any one with python help me for a sec, https://pastebin.com/8uE5j5zg no matter what i do i cant get line 1 to be true. I feel the answer is obvious but im not getting it.
01:11 PM JT-Shop: use a print function to evaluate the the f string is returning
01:11 PM JT-Shop: print(f'"Joint {i} max"')
01:12 PM JT-Shop: you have parent twice...
01:12 PM JT-Shop: getattr(parent, f'{inbtnlist[i]}').text()
01:15 PM JT-Shop: if i is increment of a loop you prob want getattr(parent, f'inbtnlist{i}').text()
01:16 PM aaroncnc: fixed it, it was the "" messing it up. f'Joint {i} max':
01:23 PM t4nk_freenode: heh, I've been h
01:23 PM t4nk_freenode: wrong chan .
01:30 PM aaroncnc: JT-Shop, AttributeError: 'Ui' object has no attribute 'inbtnlist0'
01:35 PM JT-Shop: it's not going to lie to you :)
01:35 PM JT-Shop: is it a list object?
01:36 PM JT-Shop: I see before you were slicing it with [i], I assumed it was a widget...
01:37 PM aaroncnc: it is a list of objects. i was having errors when i tried to reference the object directly.
01:38 PM aaroncnc: and now that i changed it to reference the button vs the list it works.
01:39 PM JT-Shop: great
01:40 PM aaroncnc: I need to learn so much more. kinda just trying to read and learn as things dont work. probably should take a course on this as i am missing most of the basics i think.
01:40 PM JT-Shop: I like to name widgets of the same flavor like inputs input_0 input_1 etc.
01:40 PM aaroncnc: yea mine are inbtn0 inbtn1.....
01:40 PM JT-Shop: your getting the best experience you can writing a program for a reason
01:43 PM aaroncnc: yea that how i do most things. just dive in break things fast and try to put it together to understand it. i am very good at the first part the second and third are hit and miss.
01:46 PM aaroncnc: JT-Shop, im thinking about the list vs direct reference. any advantage to one or the other? or just a needless extra step?
01:47 PM JT-Shop: using a list is good if the widgets have odd names, with names that can increment no reason to use a list
01:48 PM JT-Shop: in designer you can create one widget and name it fred_0 then use copy and past and the next one will be fred_1 and so on
01:48 PM JT-Shop: makes it fast to create a series of widgets
01:49 PM * JT-Shop fires up the VMC and starts sizing some big 6061 parts
01:49 PM aaroncnc: yea i noticed that after looking at yours and having made all of mine just pain button1, button2, and renaming everything after i copy paste it.
01:55 PM JT-Shop: you can use Ctrl and just drag the next one from the selected one
01:59 PM Tom_L: stepper arrived
02:08 PM * pere just noticed LinuxCNC do not support G60. Anyone know why that is?
02:08 PM Tom_L: brake?
02:08 PM JT-Shop: no one programmed it in...\
02:10 PM Tom_L: haas supports it for compatibility on old junk
02:10 PM Tom_L: it has various meanings depending on the control
02:11 PM JT-Shop: programmer can do the same thing as g60
02:11 PM Tom_L: uni-directonal positioning, exact stop & anti backlash etc
02:12 PM Tom_L: this is not the dark ages... get with the program
02:12 PM Tom_L: :)
02:12 PM * Tom_L blows out pere's candle and gives him a flashlight
02:13 PM Tom_L: pere, could also be that G61.1 took it's place?
02:21 PM pere: Came across it as G60 One-directional positioning
02:22 PM Tom_L: basically used for antilbacklash
02:22 PM Tom_L: G61.1 on linuxcnc is for something else
03:19 PM roycroft: my vfd has arrived - ups showed up early for once
03:53 PM JT-Shop: got my Can-Am RT-622 trailer posted on every craigslist for 150 miles!
03:55 PM CaptHindsight[m]: JT-Shop: is there a Can-Am forum somewhere? Vehicle forums usually have a for sale section with mostly owners of the vehicles
03:56 PM CaptHindsight[m]: i got rid of older car parts this way
03:58 PM JT-Shop: aye and it's posted in the for sale section https://www.spyderlovers.com/forums/showthread.php?144566-2010-RT-622-Trailer-Blue
04:01 PM Tom_L: wired, now to get the software right
04:12 PM aaroncnc: well i just banged my head against a wall for 2 hours till i remembered i can nest loops.......
04:14 PM JT-Shop: lol got some more experience I see... a hard lesson is not soon forgotten
04:19 PM Tom_L: ok i'm confused. on the hostmot2 driver uses ns for dirhold, dirsetup, steplen and stepspace however from what i can tell maxaccel and maxvel are in units per second which then would be angular units on the A axis
04:20 PM Tom_L: so my dirsetup, dirhold, steplen and stepspace should be the same as the X Y Z axis
04:20 PM CaptHindsight[m]: yeah , just think in degrees/sec vs a linear unit
04:20 PM CaptHindsight[m]: and yes, time is still the same
04:20 PM Tom_L: that's what's confusing me :)
04:21 PM Tom_L: i'm not real sure how to calculate that or find a good starting point
04:21 PM CaptHindsight[m]: linear is mm or inches per unit time (seconds)
04:21 PM Tom_L: right
04:21 PM CaptHindsight[m]: rotary axis is degrees per unit time
04:22 PM Tom_L: so my numbers must be way too high then
04:22 PM CaptHindsight[m]: lets run your numbers....
04:22 PM CaptHindsight[m]: you have a 40:1 ratio gearbox?
04:22 PM Tom_L: yes
04:22 PM CaptHindsight[m]: and 10 micro steps?
04:22 PM -!- #linuxcnc mode set to +v by ChanServ
04:22 PM Tom_L: yes
04:23 PM CaptHindsight[m]: so your motor turns 40 times for each rotation of the stage?
04:23 PM Tom_L: yes
04:23 PM Tom_itx: MAX_VELOCITY = 4.0
04:23 PM Tom_itx: MAX_ACCELERATION = 45
04:23 PM Tom_itx: STEPGEN_MAXACCEL = 90
04:23 PM Tom_itx: STEPGEN_MAXVEL = 0
04:23 PM CaptHindsight[m]: ah OK...
04:23 PM Tom_L: those are the linear numbers i'm using for the X axis
04:23 PM CaptHindsight[m]: 360 degrees = 1 turn of the stage
04:25 PM Tom_L: also, when i did get the other stepper to turn without the head attached it would accelerate very slow up to the set feed
04:25 PM CaptHindsight[m]: 40:1 x 10 for microsteps = 400 microsteps per 360 degrees of stage rotation
04:25 PM CaptHindsight[m]: oh sorry
04:25 PM CaptHindsight[m]: stepper is 200 steps per rev?
04:26 PM Tom_L: 1.8 deg
04:26 PM CaptHindsight[m]: or 400 stepstepper
04:26 PM CaptHindsight[m]: ah ok so 200
04:26 PM CaptHindsight[m]: 200 x 10 = 1 rev of the motor
04:26 PM CaptHindsight[m]: 2000 steps per motor rev
04:27 PM CaptHindsight[m]: 2000 x 40:1 for the gearbox = 2000 x 40 = 80,000 steps per 1 stage rev of 360 degrees
04:28 PM Tom_L: so that should be the scale
04:28 PM Tom_itx: sounds closer to what it should be i think
04:29 PM Tom_itx: the x axis scale is 10165.1
04:29 PM Tom_itx: on a 5mm screw iirc
04:29 PM CaptHindsight[m]: 360 degrees / 80,000 = 0.0045 deg per step
04:31 PM CaptHindsight[m]: 222.222222 steps per degree
04:31 PM Tom_L: so is scale per degree or per turn?
04:31 PM CaptHindsight[m]: 1 / 0.0045 = 222.222222222222
04:32 PM CaptHindsight[m]: 1 turn of the motor = 360 deg / 40 of the stage
04:33 PM CaptHindsight[m]: = 9
04:34 PM CaptHindsight[m]: 9 deg of stage rotation
04:34 PM CaptHindsight[m]: 9 / (200 x 10) = 0.0045
04:35 PM CaptHindsight[m]: scale is per degree
04:35 PM Tom_L: ok
04:35 PM CaptHindsight[m]: for rotary
04:36 PM CaptHindsight[m]: per mm or in for linear
04:37 PM CaptHindsight[m]: wait a minute, ;let me double check
04:38 PM CaptHindsight[m]: axis scale in steps/degree
04:38 PM CaptHindsight[m]: Steps per Unit
04:39 PM CaptHindsight[m]: I have been meaning to update the wiki for clarifying what machine units are
04:40 PM Tom_L: so
04:40 PM Tom_itx: SCALE = 4000 - in Sample configs
04:40 PM Tom_itx: STEP_SCALE = 4000 - in PNCconf built configs
04:40 PM CaptHindsight[m]: 222.222222222222 steps per degree
04:40 PM Tom_itx: http://linuxcnc.org/docs/2.8/html/config/ini-config.html#_joint__lt_num_gt_section
04:41 PM Tom_L: i guess either one is valid now?
04:41 PM Tom_itx: STEP_SCALE = 4000 - in PNCconf built configs Specifies the number of pulses that corresponds to a move of one machine unit as set in the [TRAJ] section.
04:42 PM Tom_itx: is scale obsolete now?
04:42 PM CaptHindsight[m]: ANGULAR_UNITS = <units> - Specifies the machine units for rotational axes. Possible choices are deg, degree (360 per circle), rad, radian (2pi per circle), grad, or gon (400 per circle). This does not affect the angular units of NC code. In RS274NGC, A-, B- and C- words are always expressed in degrees.
04:42 PM Tom_L: yeah i read that too
04:45 PM CaptHindsight[m]: the way the docs are written doesn't make this all very clear, you have to jump around sections
04:46 PM CaptHindsight[m]: maybe i can rewrite it
04:47 PM CaptHindsight[m]: this adds confusion "UNITS = INCH - If specified, this setting overrides the related [TRAJ] UNITS setting. (e.g., [TRAJ]LINEAR_UNITS if the TYPE of this joint is LINEAR, [TRAJ]ANGULAR_UNITS if the TYPE of this joint is ANGULAR) "
04:49 PM Tom_L: :) i've been jumping around
04:50 PM CaptHindsight[m]: i was about to do a fresh install of the latest and go through all this for a 5-axis machine
04:51 PM CaptHindsight[m]: I'll make notes and propose a rewrite for the docs if it too unclear
04:51 PM Tom_L: rotary with a cradle or a turning head?
04:51 PM Tom_L: same would apply
04:51 PM CaptHindsight[m]: I have both
04:52 PM Tom_L: so where would be a good place to start with max_velocity and max_acceleration?
04:53 PM JT-Shop: Tom_L, the input shaft turns 40 times for one rev of the dividing head?
04:53 PM Tom_L: yes
04:53 PM JT-Shop: stepconf spit this out [JOINT_3]
04:53 PM JT-Shop: TYPE = ANGULAR
04:53 PM JT-Shop: HOME = 0.0
04:53 PM JT-Shop: MIN_LIMIT = -9999.0
04:53 PM JT-Shop: MAX_LIMIT = 9999.0
04:53 PM JT-Shop: MAX_VELOCITY = 360.0
04:54 PM JT-Shop: MAX_ACCELERATION = 1200.0
04:54 PM JT-Shop: STEPGEN_MAXACCEL = 1500.0
04:54 PM JT-Shop: SCALE = 0.138888888889
04:54 PM JT-Shop: setp stepgen.3.position-scale [JOINT_3]SCALE
04:55 PM CaptHindsight[m]: he is also at 10 microsteps
04:55 PM JT-Shop: yep
04:55 PM CaptHindsight[m]: those number still don't add up that stepconf spits out
04:56 PM Tom_L: scale doesn't agree
04:56 PM JT-Shop: hmm I might need to reverse the very confusing motor:leadscrew
04:57 PM Tom_L: would max_velocity be 360*10 for microstep or /10?
04:57 PM JT-Shop: yep
04:57 PM Tom_L: which?
04:57 PM Tom_L: wasn't a yes no :)
04:58 PM * Tom_L munches on a burrito
04:58 PM JT-Shop: https://imagebin.ca/v/6LCb3yxQrnbi
04:59 PM CaptHindsight[m]: my math is all above ^^
04:59 PM Tom_L: i kept track of it capn
04:59 PM Tom_L: i've never used or seen stepconf :)
04:59 PM JT-Shop: I'm just seeing what the time to accelerate is
04:59 PM Tom_L: heard of.. yes
04:59 PM CaptHindsight[m]: look at bthe bottom line
04:59 PM CaptHindsight[m]: sorry, look at the bottom line
05:00 PM CaptHindsight[m]: Scale is the same
05:00 PM Tom_L: 222.222222
05:00 PM JT-Shop: I had to reverse 40:1 to 1:40
05:01 PM CaptHindsight[m]: hah
05:01 PM Tom_L: so max_acceleration = 54?
05:01 PM JT-Shop: that's distance to reach max velocity
05:01 PM Tom_L: max_velocity = 54?
05:02 PM JT-Shop: 0.3 seconds to reach max velocity at that vel acc setting
05:02 PM JT-Shop: look up a bit higher in the upper box
05:02 PM Tom_L: i see the 360 and 1200
05:02 PM Tom_L: is that what i should use?
05:03 PM Tom_L: i'm thinking degrees for both
05:03 PM Tom_L: so it's units per second
05:03 PM JT-Shop: that would be 2,400 RPM at the stepper, can it do that?
05:03 PM Tom_L: we will see :)
05:04 PM Tom_L: i can do 200 ipm direct drive on a 5mm screw
05:04 PM Tom_L: rapid
05:04 PM Tom_L: not feed
05:04 PM JT-Shop: you can fire up stepconf and change numbers and see the output speed and time to accelerate etc
05:04 PM JT-Shop: how many rpm is that at the stepper
05:04 PM Tom_L: that's a good question
05:05 PM Tom_L: less than 2400
05:06 PM CaptHindsight[m]: 1000 is a good conservative start
05:07 PM Tom_L: ok so with those numbers for vel and accel, where should stepgen_maxaccel and stepgen_maxvel be?
05:07 PM Tom_L: stepgen_maxaccel is at 0
05:07 PM JT-Shop: that means unlimited
05:07 PM Tom_L: i think i read i can set them both at 0
05:07 PM CaptHindsight[m]: you can up it by 500 rpm at a time and see when you start losing steps
05:07 PM JT-Shop: or stall
05:07 PM Tom_L: i don't see the rpm in the stepconf
05:08 PM JT-Shop: you have to calculate that
05:09 PM JT-Shop: your linear axis is doing about 1,016 RPM at 200 IPM
05:09 PM JT-Shop: which sounds better depending on the voltage of the stepper drive
05:09 PM Tom_L: 48v
05:10 PM JT-Shop: you should be able to go 1500 rpm
05:10 PM JT-Shop: I have 70v on my plasma table
05:10 PM Tom_L: maybe one day i'll upgrade the supply
05:10 PM Tom_L: this one was surplus local
05:11 PM Tom_L: all i really need is a toroid
05:11 PM Tom_L: the rest i can reuse
05:11 PM JT-Shop: that's what I got, from antek not antec
05:12 PM Tom_L: i'd have to come up with something for the low voltage supply
05:12 PM Tom_L: right now it's off a centertap of one of the transformers at 24v
05:12 PM Tom_L: those smps won't take more than 35ish volts input iirc
05:13 PM Tom_L: thermostat transformer would do that they're 24v
05:14 PM JT-Shop: the toroid I got had 5v regulated and 24v regulated built in
05:14 PM Tom_L: ok, maybe in a bit i'll go out and test
05:14 PM Tom_L: oh cool
05:14 PM Tom_L: 3 taps?
05:14 PM Tom_L: 70 24 and 5?
05:14 PM JT-Shop: 3 connection points yes
05:14 PM Tom_L: nice
05:14 PM Tom_L: what's the OD on it approx..
05:15 PM JT-Shop: 24v and 5v are regulated so they don't float up
05:15 PM JT-Shop: it's in a tower pc case with the drives
05:15 PM Tom_L: i think this cabinet is either 6 or 8" deep
05:15 PM Tom_L: i'd have to check
05:16 PM roycroft: well that vfd works fine, as does the entire setup
05:16 PM roycroft: there's a narrow resonance range at fairly low rpms that causes the motor plate to vibrate a bit
05:17 PM roycroft: a little stiffening would take care of that, or i could just avoid using that speed range
05:18 PM roycroft: and the motor sings a bit too much for my taste at higher rpms, but that's not uncommon in this kind of setup
05:18 PM roycroft: i haven't run it under load yet - just the motor connected to the free spindle
05:23 PM roycroft: i seem to recall my old motor having a big of a resonance issue at low rpm as well, but not as bad as this
05:23 PM roycroft: the old motor also would not go a slowly as this one
05:24 PM roycroft: i haven't measured spindle rpm yet, but i'm pretty sure i'm down below 100rpm with good torque
05:25 PM JT-Shop: that's pretty low
05:25 PM roycroft: probably lower than i'll ever need
05:25 PM roycroft: but that's fine
05:25 PM roycroft: it's like big lathe low
05:26 PM roycroft: it could come in handy for power tapping
05:28 PM JT-Shop: Tom_L, this is 1200 RPM at the stepper at max vel https://imagebin.ca/v/6LCjtc2szuj0
05:29 PM JT-Shop: 40*(1/360)*180 = 20 RPS * 60 = 1200 RPM
05:41 PM Tom_L: thanks
05:44 PM Tom_L: JT-Shop, capn said 2000 steps per rev
05:44 PM Tom_L: or is that before microstepping is figured in?
05:45 PM -!- #linuxcnc mode set to +v by ChanServ
05:45 PM Tom_itx: 200 x 10 = 1 rev of the motor = 2000 steps
05:48 PM * Tom_L goes out to try it
06:07 PM JT-Shop: 2000 steps to turn the stepper one rev
06:09 PM JT-Shop: <JT-Shop> 40*(1/360)*180 = 20 RPS * 60 = 1200 RPM
06:09 PM JT-Shop: this is the calc for rpm
06:12 PM Tom_L: ok that didn't work at all
06:14 PM -!- #linuxcnc mode set to +v by ChanServ
06:14 PM Tom_itx: http://paste.debian.net/1217697/
06:14 PM Tom_itx: just sits there and tick tick tick at a low rate but doesn't turn at all
06:15 PM Tom_L: also tried 180 and 600
06:15 PM JT-Cave: acc to high for the torque
06:16 PM JT-Cave: keep going down until it works without stalling
06:17 PM Tom_L: so leave velocity at 180 but lower accel
06:17 PM Tom_L: ?
06:17 PM JT-Cave: is it easy to turn the screw?
06:17 PM Tom_L: yes
06:17 PM Tom_L: fairly
06:17 PM JT-Cave: what size stepper?
06:17 PM Tom_L: 570 in oz
06:17 PM JT-Cave: nema 23?
06:17 PM Tom_L: yes
06:18 PM JT-Cave: keep lowering the accel and max vel until it does not stall
06:18 PM JT-Cave: you might need a 2:1 belt reduction...
06:19 PM Tom_L: this is just the stepper
06:19 PM Tom_L: nothing attached
06:19 PM Tom_L: but i'm wondering that anyway
06:19 PM JT-Cave: oh you're just running the stepper on the bench?
06:19 PM Tom_L: until i can get a decent result yes
06:20 PM JT-Cave: if you change to linear and copy another axis will it run?
06:20 PM Tom_L: i'll try that but i had the stepper attached to x to test it
06:21 PM Tom_L: and it was the same as the x axis stepper
06:21 PM Tom_L: wiring is ok
06:21 PM Tom_L: i've had it running the other day on A but not well
06:21 PM Tom_L: i'll try linear once and see how it acts
06:26 PM Tom_shop: joint3 following error
06:26 PM Tom_shop: lemme make sure i got everything changed
06:42 PM Tom_shop: linear using X setup i get a joint following error
06:43 PM Tom_shop: i wonder if that new driver is a little different than the others
06:44 PM Tom_shop: i could swap it with x and try that
06:52 PM Tom_shop: the problem stays with the wiring not the driver
06:52 PM Tom_shop: x works fine with the new driver
06:53 PM Tom_shop: something in the ini setup
07:07 PM Tom_L: triple checked the wiring..
07:08 PM XXCoder: https://youtu.be/DMX7_wnBpa4 nice. making tool
07:08 PM XXCoder: one that uses inserts
08:44 PM srk_ is now known as srk
08:48 PM aaroncnc: is there a best practice for setting up hardkeys to enable coolants? My thought is to setup some sort of toggle in hal linked to an input will this cause any issues?
08:49 PM aaroncnc: http://wiki.linuxcnc.org/cgi-bin/wiki.pl?One_Button_Toggle
08:50 PM XXCoder: that seems to be strightforward'
08:58 PM CaptHindsight[m]: Tom_L: it is user_units per SECOND, so in your case for the rotary axis is in degrees per second, your settings are way too high
08:59 PM CaptHindsight[m]: you're like 100's of times too high
09:00 PM CaptHindsight[m]: MAX_VELOCITY = 360.0 degrees/sec
09:00 PM CaptHindsight[m]: MAX_ACCELERATION = 1200 degrees/sec/sec
09:00 PM CaptHindsight[m]: STEPGEN_MAXACCEL = 360 degrees/sec/sec
09:00 PM Tom_L: none of those numbers even come close to working
09:01 PM Tom_L: one sec
09:01 PM -!- #linuxcnc mode set to +v by ChanServ
09:01 PM Tom_L: i tried 2 steppers
09:02 PM Tom_L: a 282 in oz and a 570 in oz on this axis
09:02 PM CaptHindsight[m]: try MAX_VELOCITY = 3.600 degrees/sec
09:02 PM CaptHindsight[m]: MAX_ACCELERATION = 1.200 degrees/sec/sec
09:02 PM CaptHindsight[m]: STEPGEN_MAXACCEL = 3.60 degrees/sec/sec
09:02 PM CaptHindsight[m]: which stepper drives are these?
09:04 PM Tom_itx: http://paste.debian.net/1217709/
09:04 PM Tom_itx: i was able to get the 282 to turn with that but not the 570
09:04 PM Tom_itx: gecko 203v
09:05 PM CaptHindsight[m]: what is you base freq?
09:06 PM CaptHindsight[m]: we found out earlier that your rotary stage takes 80,000 microsteps per (360 deg) rev
09:07 PM Tom_itx: SERVO_PERIOD = 1500000
09:08 PM CaptHindsight[m]: http://paste.debian.net/1217709/ has the scale at = 3600.00
09:08 PM CaptHindsight[m]: did we find it to be 222.22222
09:08 PM CaptHindsight[m]: didn't/did
09:08 PM Tom_L: yes i was just trying to run the stepper faster
09:09 PM CaptHindsight[m]: are you using a Mesa 7i76 or similar?
09:09 PM Tom_L: 7i90
09:10 PM CaptHindsight[m]: have a missed something?
09:11 PM Tom_L: it's pretty clunky at 222.22
09:11 PM Tom_L: nothing like the other axis
09:11 PM Tom_L: i'll go try your numbers
09:12 PM CaptHindsight[m]: i thought you were trying to get the rotary axis running that has a 40:1 ratio with x 10 microstepping on a 1.8 deg stepper motor
09:12 PM Tom_L: i am
09:12 PM Tom_L: i'll put it back on 222.22
09:12 PM CaptHindsight[m]: define "clunky"
09:12 PM CaptHindsight[m]: please
09:12 PM CaptHindsight[m]: ran slowly?
09:13 PM Tom_L: i'll take a shot of it
09:13 PM CaptHindsight[m]: we need to be sure the stepper pulses are the corrects shape that go from the 7i90 to the gecko 203v
09:13 PM Tom_L: first of all , the 570 won't turn at all. it just hums
09:13 PM Tom_L: the 282 will turn with the config i posted
09:14 PM Tom_L: i'm using the numbers for the step space etc from gecko
09:14 PM Tom_L: same as the other axis
09:14 PM CaptHindsight[m]: do the 570 and the 203V have different pulse timing requirements?
09:14 PM Tom_L: 570 is a stepper
09:14 PM Tom_L: sry for confusing you
09:14 PM Tom_L: in oz
09:14 PM CaptHindsight[m]: heh, yeah
09:14 PM Tom_L: 282 and 570 in oz, 2 steppers i'm testing
09:15 PM CaptHindsight[m]: OK got that
09:15 PM Tom_L: all gecko 203v drivers
09:15 PM macgalempsy: evening gents
09:15 PM CaptHindsight[m]: we need to be sure the drives are getting proper pulses before debugging actual motor movement
09:17 PM CaptHindsight[m]: DIRSETUP = 200
09:17 PM CaptHindsight[m]: DIRHOLD = 200
09:17 PM CaptHindsight[m]: STEPLEN = 1600
09:17 PM CaptHindsight[m]: STEPSPACE = 2000
09:17 PM CaptHindsight[m]: all these have to be good first or the motor will run wacky or not at all
09:17 PM CaptHindsight[m]: no matter what the velocity and accel settings are
09:25 PM CaptHindsight[m]: https://www.geckodrive.com/support/g203v-rev-7.html I don't see how to set the number of microsteps
09:25 PM CaptHindsight[m]: but I'm also tired
09:29 PM Tom_L: gonna upload the video test in a bit
09:29 PM Tom_L: step space etc are all correct
09:30 PM CaptHindsight[m]: https://www.geckodrive.com/amfile/file/download/file_id/9/product_id/9/
09:30 PM Tom_L: i have that on cd
09:30 PM Tom_L: as well as on my pc
09:30 PM CaptHindsight[m]: page 8
09:31 PM CaptHindsight[m]: ADJUSTING MICROSTEP RESOLUTION
09:31 PM Tom_L: on the 213
09:31 PM CaptHindsight[m]: are you certain your jumpered for 10uStep?
09:31 PM Tom_L: the 203v has no jumpers it is preset for 10
09:32 PM Tom_L: P8 is for the 213
09:32 PM CaptHindsight[m]: ok i hate their docs
09:32 PM CaptHindsight[m]: I see now, so that should be fool proof
09:32 PM Tom_L: so the driver works on another axis. i tested that
09:33 PM CaptHindsight[m]: jury is still out :)
09:33 PM Tom_L: the stepper works on another axis. i tested that too
09:33 PM CaptHindsight[m]: ok good
09:33 PM Tom_L: now gonna work on the video tests for you
09:33 PM CaptHindsight[m]: SCALE = should be 222.222
09:34 PM CaptHindsight[m]: same as stepconf, it matched my math
09:34 PM Tom_L: for these tests i didn't change that. i forgot to
09:34 PM CaptHindsight[m]: https://imagebin.ca/v/6LCb3yxQrnbi
09:36 PM CaptHindsight[m]: SCALE = 3600 is just way too high, and will make your max vel setting even crazier high then they are
09:37 PM CaptHindsight[m]: macgalempsy: howdy, did you bring snacks?
09:39 PM CaptHindsight[m]: will make MAX_VELOCITY = 100.0 actually >1600 deg/sec
09:40 PM CaptHindsight[m]: lets see but it looks like you're just trying to step way too fast
09:40 PM Tom_L: so far nothing i've tried will let the 570 turn
09:40 PM Tom_L: just about done uploading
09:41 PM CaptHindsight[m]: the 570 is a stepper motor?
09:41 PM Tom_L: yes
09:41 PM Tom_L: 570inoz
09:41 PM CaptHindsight[m]: what is the power supply voltage to the gecko 203?
09:41 PM Tom_L: 48v
09:42 PM CaptHindsight[m]: motor sounds bad
09:42 PM CaptHindsight[m]: does it work on a different drive?
09:42 PM Tom_L: yes
09:42 PM Tom_L: well, another axis
09:42 PM Tom_L: i swapped drivers and tried them
09:42 PM Tom_L: i swapped steppers and tried them
09:43 PM CaptHindsight[m]: so this gecko drive on the rotary axis can drive other stepper motors
09:43 PM CaptHindsight[m]: just not the 570?
09:43 PM Tom_itx: first 2 are using the config i put on paste.debian
09:43 PM Tom_itx: yes
09:44 PM Tom_itx: https://www.youtube.com/watch?v=IeP3E6jU0SI
09:44 PM Tom_itx: https://www.youtube.com/watch?v=Tm1zZCuB6NM
09:44 PM Tom_L: the slow accel was with your numbers
09:45 PM CaptHindsight[m]: what value resistor is between pins 11 and 12 on the 203 drive?
09:45 PM Tom_itx: 47 ohm 3.5A
09:45 PM Tom_itx: https://www.youtube.com/watch?v=WnL07_yofOo
09:45 PM Tom_itx: https://www.youtube.com/watch?v=m6F0JXChMIg
09:46 PM Tom_itx: that stepper works great on X
09:46 PM CaptHindsight[m]: fricken youtube makes me sign in and verify and then says PRIVATE VIDEO
09:46 PM Tom_itx: oh sry
09:46 PM Tom_itx: i didn't make them public but i thought you could view them
09:46 PM CaptHindsight[m]: sorry, I'm done
09:48 PM CaptHindsight[m]: 3.5A – 47K not 47 ohm
09:49 PM Tom_L: i better check that for sure
09:50 PM Tom_L: i've had enough for one day too
09:50 PM Tom_L: thanks
09:51 PM CaptHindsight[m]: if it ran a different motor with that resistor it's likely still pushing enough current
09:51 PM CaptHindsight[m]: scale = 222.222
09:51 PM Tom_L: i will change that
09:51 PM CaptHindsight[m]: then set your max velocity at something sane
09:52 PM CaptHindsight[m]: gecko runs at up to 330KHz, not sure how fast the 7i90 will step with your other settings
09:53 PM CaptHindsight[m]: but 80,000 / sec is reasonable and is one rotation per second
09:54 PM Tom_L: direct drive 5mm pitch screw i can rapid at 200ipm on x
09:54 PM CaptHindsight[m]: 200 step per rev motor x 10 = 1 rev of the motor
09:54 PM CaptHindsight[m]: 2000 steps per motor rev
09:54 PM CaptHindsight[m]: 2000 x 40:1 for the gearbox = 2000 x 40 = 80,000 steps per 1 stage rev of 360 degrees
09:55 PM CaptHindsight[m]: yeah we want to see the motor run unloaded first
09:55 PM CaptHindsight[m]: then under load
09:55 PM Tom_L: gonna check the resistor then i'm done for the night
09:56 PM CaptHindsight[m]: how easily does the 40:1 gearbox turn by hand?
09:56 PM CaptHindsight[m]: at the input shaft
10:00 PM CaptHindsight[m]: the gecko 203 likely has protection against using a 47 ohm resister, but it might end up keeping the max current to under 1A
10:01 PM CaptHindsight[m]: maybe 0.5A is the default if you short those pins
10:06 PM Tom_L: ok that was a really stupid mistake :)
10:07 PM Tom_L: 47k now the big stepper turns fine
10:07 PM Tom_L: the 203v is very bullet proof
10:07 PM CaptHindsight[m]: don't let it happen again :)
10:07 PM Tom_L: that was one reason i got them in the first place
10:07 PM Tom_L: :)
10:07 PM Tom_L: thanks
10:08 PM CaptHindsight[m]: most often it's just a simple mistake likethis
10:08 PM Tom_L: i had the 47 right :)
10:08 PM CaptHindsight[m]: or like this
10:08 PM Tom_L: i could run them at 5A but i see no reason to. they've got plenty of torque
10:08 PM CaptHindsight[m]: now post a public video
10:08 PM Tom_L: not tonight
10:08 PM CaptHindsight[m]: oh sure
10:08 PM Tom_L: i think i made those public but i don't know if it processed
10:09 PM Tom_L: you can try those again if you want just to see
10:09 PM CaptHindsight[m]: Video unavailable
10:09 PM CaptHindsight[m]: This video is private.
10:09 PM Tom_L: ok
10:09 PM XXCoder: private you have to set accouns it can be viewed by. unlisted is allow any that knows url
10:10 PM Tom_L: that's why i posed the url
10:10 PM Tom_L: i'm just gonna delete those now anyway
11:14 PM aaroncnc: well my config tool for remora with ini and hal support has been pushed to my git hub. Time for sleep now.
11:27 PM CaptHindsight[m]: \0/
11:29 PM Tom_L: 47 ohm was putting out ~.35A
11:58 PM roycroft: i was officially elected membership secretary tonight
11:58 PM XXCoder: congats
11:58 PM roycroft: thanks
11:59 PM roycroft: although most of the board members, in welcoming me, told me what a huge job it is
11:59 PM roycroft: but i know what i got myself into