#garfield Logs
Jul 16 2023
#garfield Calendar
04:15 PM rue_mohr: yay!, first thing in my list is done, the mowerbot has a charger port!
04:25 PM rue_mohr: I want to avoid complex stuff on the server as I'm not sure or really in control of whats on it
07:26 PM Tom_L: :/ broken limit switch wire x 2
07:30 PM Tom_L: at least i remembered where i put the pins for the plug
07:34 PM rue_shop3: !
08:12 PM Tom_L: where did i put the spare limit switches?
08:12 PM Tom_L: the Z+ is bad
08:14 PM Tom_L: i know i have some!!!
08:14 PM Tom_L: NC btw
08:24 PM Tom_L: found
08:46 PM Tom_L: ok fixed
08:47 PM Tom_L: turns out the switch was good
08:47 PM Tom_L: wire came unplugged
08:47 PM Tom_L: but there was a couple broken wires on the connector to the box which is no surprise. i unplug those more than i shoul
08:47 PM Tom_L: d
08:48 PM Tom_L: good to check it now and then even if i'm not using it as much
09:26 PM rue_mohr: caught my finger in a chain drive of the mowerbot
09:26 PM rue_mohr: quite hurt but not terrible
09:34 PM Tom_L: better be more careful
09:51 PM rue_shop2: yea
09:51 PM rue_shop2: that could have been really bad
09:52 PM rue_shop2: so
09:52 PM rue_shop2: grbl cant control the spindle or z axis...
09:52 PM rue_shop2: so I think I translated something wrong
09:54 PM rue_shop2: oh I think there is a required homing thing I need to turn off
10:10 PM rue_shop2: z was beacsue jumper lines got crossed on me
10:10 PM rue_shop2: correcting directions now....
10:14 PM rue_shop2: Tom_L, on your machine +x is to the right and +Y is cutter towards to top of the material (closer to the post on the material)
10:17 PM Tom_L: i get confused on that, the table moves to the left when homing and that's X+ but looking at the spindle it would be considered right
10:20 PM Tom_L: Y+ the table moves toward the column iirc
10:21 PM Tom_L: so my Y zero is the right rear corner of the table
10:21 PM Tom_L: so my XY zero is the right rear corner of the table
10:22 PM rue_shop2: and your jobs are always in -Y?
10:22 PM rue_shop2: range?
10:22 PM Tom_L: i feel cutting into material should be negative whether it's X Y or Z
10:22 PM Tom_L: yes
10:22 PM rue_shop2: yes, I use z- as down
10:22 PM Tom_L: and i set all my cad up the same way
10:23 PM rue_shop2: ah, your jobs are place in -X -Y space, ok
10:23 PM rue_shop2: so yes, then my axies are the right way around
10:24 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/rue/Can_Holder/A3/A3_fixture.jpg
10:24 PM rue_shop2: ok, next I have to set up my steps and acceleration
10:24 PM Tom_L: on that part the XY zero would be the right step on the vise jaw
10:24 PM Tom_L: front edge of the rear jaw right end
10:25 PM rue_shop2: ok, math
10:25 PM rue_shop2: I have 200 steps/rev, 8 microsteps, and 2:1 on a 5mm ball screw
10:26 PM Tom_L: 200 steps or microsteps?
10:26 PM rue_shop2: I get 640 steps/mm
10:26 PM rue_shop2: 200 is motor steps
10:26 PM Tom_L: 200*8*2
10:26 PM rue_shop2: /5
10:28 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/rue/Can_Holder/A12_New/A12_Position1.jpg
10:28 PM Tom_L: notice the model is left and below XY 0 and 1" below Z
10:28 PM Tom_L: i set my tools 1" above the work
10:28 PM rue_shop2: yup
10:29 PM Tom_L: safety factor
10:29 PM Tom_L: alot of guys set the tool right on the top of the work but i think that's a bad idea
10:30 PM rue_shop2: ok, quiz, do you know what max velocity and acceleration you use on your machine?
10:31 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/configs/NEW_MILL_SHOP_2.8.4/new_mill_A.ini
10:31 PM Tom_L: search for 'velocity'
10:32 PM Tom_L: and you'll find a few
10:32 PM rue_shop2: hmm, clockwise is - on your pendant...
10:33 PM Tom_L: i'm not sure exactly how they calculate that number. it may be that per servo period
10:33 PM rue_shop2: is that ipm?
10:34 PM Tom_L: MAX_VELOCITY = 1.2 - Maximum velocity for this joint in machine units per second.
10:34 PM Tom_L: http://linuxcnc.org/docs/stable/html/config/ini-config.html#_joint__lt_num_gt_section
10:34 PM Tom_L: second
10:34 PM rue_shop2: ips!?
10:34 PM Tom_L: max
10:35 PM rue_shop2: 5120mm/sec
10:35 PM Tom_L: MAX_ACCELERATION = 20.0 - Maximum acceleration for this joint in machine units per second squared.
10:35 PM Tom_L: mine is 45 there
10:35 PM Tom_L: at least on the axis i'm looking at
10:36 PM Tom_L: [AXIS_X]
10:36 PM Tom_L: MIN_LIMIT = -17.750
10:36 PM Tom_L: MAX_LIMIT = 0.050
10:36 PM Tom_L: MAX_VELOCITY = 4.0
10:36 PM Tom_L: MAX_ACCELERATION = 45
10:37 PM rue_shop2: ok, I'll try that for a start (converting it to metric was fun)
10:38 PM Tom_L: the rotary is a bit different
10:38 PM Tom_L: [AXIS_A]
10:38 PM Tom_L: MIN_LIMIT = -1e99
10:38 PM Tom_L: MAX_LIMIT = 1e99
10:38 PM Tom_L: MAX_VELOCITY = 75.0
10:38 PM Tom_L: MAX_ACCELERATION = 50.0
10:38 PM Tom_L: WRAPPED_ROTARY = 1
10:38 PM Tom_L: ignore the limits.. it has none
10:38 PM Tom_L: but the MAX_ there are in deg
10:38 PM Tom_L: iirc
10:39 PM Tom_L: you will need slower numbers i think
10:39 PM Tom_L: lower voltage supply and lower current drivers
10:39 PM Tom_L: if the steppers buzz you'll know you're too fast
10:40 PM Tom_L: i wish i had a better plug for my limit switches
10:41 PM Tom_L: but i started out with it on the sherline because that's what their controller used
10:43 PM Tom_L: ### 1.8 deg per step on the stepper
10:43 PM Tom_L: ### 200 x 10 = 1 rev of the motor
10:43 PM Tom_L: ### 2000 steps per motor rev
10:43 PM Tom_L: ### 2000 x 40:1 for the gearbox = 2000 x 40 = 80,000 steps per 1 stage rev of 360 degrees
10:43 PM Tom_L: ### 360 degrees / 80,000 = 0.0045 deg per step
10:43 PM Tom_L: so 200 * your microstep
10:43 PM Tom_L: = 1 rev
10:45 PM Tom_L: oh, that was for the rotary
10:46 PM Tom_L: rue_shop2, i think you're off a decimal place on that 5120mm/sec
10:47 PM Tom_L: 512mm/sec is more reasonable
10:48 PM Tom_L: gnite
10:50 PM rue_shop2: whts this isn't a stepper stalling... this is the bearing never lubed...
10:55 PM Tom_L: bearing froze up?
11:13 PM rue_shop2: no
11:13 PM rue_shop2: i think something is chattering in the drive tho
11:13 PM rue_shop2: that aside, I dont think this is 5mm pitch
11:13 PM rue_shop2: I think its really close tho
11:13 PM rue_shop2: whats a close imperial?
11:15 PM rue_shop2: 5tpi?
11:20 PM rue_shop2: ?? it looks like the ball screws are 5tpi?
11:21 PM rue_shop2: says my dial indicator doing a simple move
11:21 PM rue_shop2: bah, its 9pm