#linuxcnc Logs

Mar 30 2021

#linuxcnc Calendar

12:51 AM gigasu_shida is now known as gigas_cedar
04:04 AM Deejay: moin
04:24 AM Tom_L: morning
05:16 AM JT-Cave: morning
06:36 AM SpiritHorse: bon dia
07:36 AM Tom_L: another windy day ahead
08:00 AM JT-Cave: looks like some rain here then cold... guess I'll toss a bit of tin on top of the wood bin for now
09:03 AM Eric__: people are printing bearings out of plastic, but why?
09:03 AM gregcnc: you don't have to buy anything from anyone any more, except printers and filament
09:06 AM Eric__: bearings are a bargain though
09:06 AM gregcnc: but you can print shitty bearings
09:07 AM Eric__: true, it's not that easy to buy crummy bearings, so if that's what you want, print
09:07 AM Eric__: wonder if you can print an air bearing
09:08 AM gregcnc: it's easy to buy shitty bearings too, the cheapest usually are, but what the fun in buying something if you cab be self sufficient
09:08 AM gregcnc: logic is over rated as well, we don't need any of that today
09:10 AM roycroft: logic is a pretty flower that smells bad
09:12 AM Eric__: should have known NewWay would be printing air bearings
09:13 AM gregcnc: printed air bearings?
09:33 AM skunkworks: I have stopped trying to understand what gene is doing...
10:29 AM JT-Shop: I guess I'm being forced to use windblows 10...
10:39 AM htasta: porque?
10:51 AM roycroft: windows 10 is actually better than windows 7 in most respects, the most notable exception being that it is extremely insistent about installing upgrades at the most inopportune times
10:52 AM roycroft: and if you're installing it so you can run your tax software, you can write off the cost of the upgrade
10:58 AM JT-Shop: downloading and installing upgrades without my permission is unacceptable when you're on satellite with limited bandwidth
11:03 AM Eric__: I take it you aren't using win 10 pro?
11:05 AM Eric__: the interwebs tell me you can schedule updates or pause them
11:07 AM JT-Shop: I'd still be using XP if you could install it... hmm I still have XP on a laptop lol
11:07 AM JT-Shop: I'll just buy a new laptop with windblows 10 on it as AD Click PLC software won't work on 7 anymore
11:30 AM JT-Cave: by any good I mean not ipad like with no control
11:45 AM Bleepshop: JT-Shop: I've still got my XP tech disk for unattended installs. Come to think of it there's everything from WFW 3.11 to XP on that disk along with Ghost and some other goodies. LOL
11:51 AM JT-Shop: I still have my XP disk but you can't install it anymore as it won't activate
12:15 PM NoGodDamnIdea: hey guys
12:47 PM jdh: I activated an xp fairly recently over the phone
12:53 PM Tom_L: so if you have windows 7 you don't have to do taxes?
12:54 PM Tom_L: my kid got a win10 laptop recently that so far seems pretty nice
12:54 PM Tom_L: 4k screen n all
01:04 PM JT-Shop: which one did he get?
01:05 PM Tom_L: just a sec.. i'll look
01:09 PM Tom_L: Razer RZ09-0328
01:11 PM Tom_L: he's using it for cad amongst other things
01:12 PM Tom_L: 6 core i7
01:13 PM Tom_L: maybe a bit more than you need for doing taxes :)
01:15 PM Tom_L: 4k OLED screen is nice
01:59 PM JT-Shop: I would do programming on it mostly
02:00 PM JT-Shop: they are quite proud of them...
02:01 PM JT-Shop: https://www.amazon.com/Razer-Blade-Gaming-Laptop-2019/dp/B07X379CZ9
02:16 PM CaptHindsight: intel cpu with nvidia graphics
02:17 PM CaptHindsight: what I find silly are the AMD cpu laptops with nvidia graphics
02:18 PM rs[m]: voltswagen is silly
02:18 PM CaptHindsight: but catchy
02:19 PM CaptHindsight: i just searched on Amazon for laptops and NO choice was given for AMD cpu
02:19 PM rs[m]: so this is not an early april fools?
02:20 PM CaptHindsight: https://www.theverge.com/2021/3/30/22357166/volkswagen-name-change-voltswagen-us-division
02:31 PM Tom_L: JT-Shop, best buy had them for 17
02:32 PM Tom_L: https://www.bestbuy.com/site/razer-blade-15-base-15-6-4k-oled-gaming-laptop-intel-core-i7-nvidia-geforce-rtx-2070-512gb-ssd-16gb-memory-mercury-white/6409401.p?skuId=6409401
02:34 PM JT-Shop: I'm looking for a 17" monitor when programming PLC's the bigger the screen you can see more of the ladder and all the gizmos
02:35 PM Tom_L: 4k you can see quite a bit
02:37 PM roycroft: hi folks
02:38 PM roycroft: so my local choices for die grinder grinding burrs (various aluminium oxide shapes) are harbor freight, whose "stones" seem to be made of papier mache dipped in sugar crystals, and dremel, which cost 3x as much as hf and don't work much better
02:38 PM roycroft: does anyone have a preferred vendor for such things?
02:39 PM Tom_L: look at travers and see what they have
02:39 PM CaptHindsight: unlocal choices?
02:39 PM roycroft: i'll do that, thanks
02:39 PM roycroft: i always prefer to purchase things locally
02:40 PM roycroft: but if i cannot find what i need locally i'll purchase from non-local sources
02:40 PM Tom_L: https://www.travers.com/abrasive-spiral-rolls/p/418968/?keyword=grinding%20burs&lite=true&pricelistname=SITE
02:41 PM Tom_L: or did you want stones
02:42 PM Tom_L: https://www.travers.com/34group-a34-14-shanks/p/762947/?keyword=debur%20stones&lite=true&pricelistname=SITE
02:42 PM Tom_L: 1/4" shanks
02:42 PM roycroft: yeah, those stones are what i need
02:42 PM roycroft: but with 1/8" shanks for the die grinder i'm using
02:43 PM roycroft: i found those at trafers
02:43 PM roycroft: travers
02:43 PM Tom_L: https://www.travers.com/34group-b34-18-shanks/p/762950/?keyword=debur%20stones&lite=true&pricelistname=SITE
02:43 PM CaptHindsight: https://www.fastenal.com/product/tools-and-equipment/corded-power-tools/grinders/die-and-straight-grinders?categoryId=611830&level=4&query=metabo&isExpanded=true&Public%20Vendor%20Name=Metabo
02:43 PM roycroft: and they're pretty cheap
02:43 PM roycroft: but do they work any better than the ones i have?
02:43 PM CaptHindsight: oh the stones
02:43 PM Tom_L: i haven't tried the ones you have
02:43 PM roycroft: i'm asking for direct experience, not google fu help :)
02:44 PM roycroft: i described the ones i have
02:44 PM CaptHindsight: heh yeah the HF stones are a joke
02:44 PM roycroft: papier mache dipped in sugar crystals
02:44 PM roycroft: they disintegrate in seconds
02:44 PM roycroft: sometimes violently
02:44 PM Tom_L: travers generally has decent stuff
02:44 PM roycroft: i'd rather avoid fastenal
02:44 PM roycroft: the local fastenal folks are jerks
02:45 PM Tom_L: and likely cost more
02:45 PM roycroft: extremely rude and belligerently unhelpful
02:45 PM CaptHindsight: yours as well
02:45 PM CaptHindsight: a common theme
02:45 PM roycroft: but if fastenal have what i need i could order from them online
02:45 PM Rab: Fastenal just closed all of its local retail outlets. There is only will-call from the warehouse facilities.
02:45 PM roycroft: i shall not step foot in the local fastenal store again though
02:45 PM Rab: (Local to me, I mean)
02:46 PM roycroft: if what rab just said is true, then i have no choice about that :)
02:46 PM roycroft: but it doesn't matter if they are still open or not
02:46 PM roycroft: i won't go there
02:46 PM Tom_L: afik the fastenal here is still open to take your money
02:46 PM roycroft: i'll try to muddle through with the dremel stones i just bought, to get me through this project
02:47 PM roycroft: and i'll order some from travers and see how they work out
02:47 PM roycroft: thanks
02:47 PM Tom_L: so why did you bother us with it?
02:47 PM Tom_L: :)
02:48 PM Rab: Which is really kind of a problem. I needed 4-40 x 1/4" SS cap head screws same day, and I could think of literally no local outfit left which would carry them. I ended up cutting down some longer screws I had. For a longer timeframe, I would've just ordered from McMaster-Carr.
02:49 PM Tom_L: ok. just flushed out the well and primed the pump for spring
02:51 PM roycroft: so one of my users is complaining
02:51 PM roycroft: she can't send emails to google via my mail server
02:51 PM roycroft: they are rejecting them because i do not have a "proper IPV6 PTR" for my mail server in my dns
02:52 PM roycroft: that would probably be because my mail server is not doing ipv6
02:52 PM roycroft: the lack of an ipv6 ptr record for that machine is the "proper" ipv6 ptr for it
02:52 PM roycroft: unless google are refusing to accept ipv4 smtp connections now
02:52 PM roycroft: in which case they just blocked virtually all of corporate america
02:56 PM * roycroft does have a mcmaster shipment coming in today
02:57 PM roycroft: for fabricators, a shipment from mcmcaster is like the wells fargo wagon comin' down the street
03:10 PM JT-Shop: mcmaster fasteners are made in the USA fastenall are all chinlee
03:10 PM roycroft: i would not know
03:10 PM roycroft: because i've never purchased anything from fastenall
03:10 PM roycroft: i've tried on a handful of occasions
03:11 PM roycroft: i do know that mcmaster's goods are generally of high quality
03:11 PM roycroft: i'm willing to pay a little more for their stuff, because it's worth it
03:12 PM roycroft: mcmcaster carry grinding stones as well
03:12 PM roycroft: but i've never tried any of theirs
03:12 PM roycroft: i think i'll order some from travers and order some from mcmaster the next time i need to get something from them
03:15 PM roycroft: the ones at mcmasater are about the same price as harbor freight, and way less expensive than dremel
03:16 PM roycroft: and they're probably not individually packaged in ultrasonic welded plastic containers like the dremel ones are
03:17 PM roycroft: this one in particular has an interesting shape that would make it quite useful for generally cleaning up/deburring parts:
03:17 PM roycroft: https://www.mcmaster.com/4522A155-4393A84/
03:43 PM skunkworks: https://youtu.be/JSDu81jjYFs
03:46 PM XXCoder: yo
03:47 PM XXCoder: shaking is camera right?
04:20 PM JT-Shop: $1500 to fix the oil leaks on my 07 uplander with 170k miles... might be time for a new vehicle
04:34 PM skunkworks: XXCoder: no.. The mill is on a tool chest made of jello..
04:35 PM XXCoder: lol
04:35 PM XXCoder: i notice spacing is very slightly vary a little
04:35 PM XXCoder: i guess thats just "runbout" on pen though
04:37 PM skunkworks: could be. 1 degree is about 1/3 rotation of the stepper.
04:39 PM skunkworks: I could put an 20k count per rev encoder on it for testing...
04:40 PM skunkworks: that would be 55 counts per degree
04:40 PM XXCoder: wow thats nice and quite accurate
04:41 PM skunkworks: It should be - and the printed gears line up with the bolt holes that mount it. So I think it should be pretty good..
04:42 PM XXCoder: yeah like i said its likely runout on pen itself
04:42 PM XXCoder: maybe make it so it makes lines first, then letters since that would alter direction of "nub"
04:44 PM skunkworks: I want to use the current rotary axis to create aluminum outside sprockets.. Then the only plastic would be the flex gear/
04:44 PM skunkworks: Shape them.
04:45 PM skunkworks: it is about 100 full steps per degree currently.
04:46 PM skunkworks: sorry - about 56 full steps per degree
04:46 PM XXCoder: cant make metal flex gear?
04:46 PM skunkworks: Not easy..
04:46 PM skunkworks: atleast that would last.
04:51 PM XXCoder: yeah
05:53 PM SpeedEvil is now known as Guest37917
05:55 PM Rab_ is now known as Rab
06:09 PM roycroft: i think i've figured out the best solution to my problem with the die grinder problem - it's to not use it very much
06:10 PM roycroft: when i'm welding inside corners that have to be neat an clean and are hard to get to with a grinder i should tig weld those pars
06:10 PM roycroft: parts
06:54 PM _unreal_: rab sup
06:54 PM _unreal_: Rab, I'm rushing out the door but.. https://photos.google.com/share/AF1QipPqX5FMaiwizwkp5A0lmHpWMVkC32P_WxZ3-6tw3fKjWP90ujEXEVws37aZ8SsFQA?key=LTBIU3F3bHdJUndDUEJPalJzcTFxdGlGSlBUOW53
06:55 PM Tom_L: roycroft, just make pretty welds to start with :)
07:04 PM roycroft: that is what tig welding does for me
07:04 PM roycroft: ideally i'd learn how to weld properly, and be able to make pretty welds with all methods
07:05 PM roycroft: but reality dictates that i weld when i need to weld something
07:05 PM roycroft: and i don't need to weld things often enough for that alone to make me a good welder
07:05 PM roycroft: anyway, the mobile base is in the process of being painted now, so all the fabrication work and cleanup is done
07:08 PM roycroft: hmm, we are going to have a frost tonight
07:08 PM roycroft: which, while not unheard of, is unusual this late in the year
07:08 PM roycroft: but it will get up to 20 tomorrow
07:09 PM roycroft: a fair amount above normal
07:09 PM roycroft: so i guess it's extreme wednesday here
07:15 PM CaptHindsight: are you a welder or a grinder?
07:20 PM roycroft: i am neither
07:21 PM roycroft: but when i join things together by welding them, i spend more time welding than grinding
07:22 PM roycroft: i think that is a positive thing
08:22 PM ziper: i'm thinking about using the head itself as a guide to make the hole square so I can drill the block out for the insert
08:32 PM CaptHindsight: G. Gordon Liddy is dead
08:32 PM drdoc: wow
08:33 PM drdoc: I would have thought that happened forever ago
08:37 PM * ziper blowing on dice
08:37 PM ziper: come on kissinger!!
08:41 PM Rab: haha
08:42 PM CaptHindsight: was only 90
08:43 PM CaptHindsight: so he was in his early 40's when he did Nixon's bidding
08:43 PM Rab: An improbably ripe old age.
08:43 PM CaptHindsight: https://en.wikipedia.org/wiki/G._Gordon_Liddy they used a pic of him moustache free
08:44 PM CaptHindsight: makes no sense
08:44 PM roycroft: at least liddy did not get a nixon tattoo on his back
08:47 PM Rab: CaptHindsight, it hadn't yet crawled down from on top of his head.
08:49 PM drdoc: I think I kilt my 6i25 card
08:50 PM roycroft: kissinger is like 149 now, isn't he?
08:50 PM drdoc: upgrading from the old C2Q box to an i5 and a video card that popped and sizzled when I powered up
08:50 PM roycroft: war criminals tend to live very long lives if they are not prosecuted
08:51 PM drdoc: They do, and that's kind of creepy, is it not?
08:52 PM Rab: roycroft, 98, close enough.
08:53 PM drdoc: now the Mesa card doesn't even show in lspci
08:53 PM roycroft: 98 in people years, or war criminal years?
08:57 PM roycroft: so i saw a couple potentialy positive signs today
08:57 PM roycroft: for the first time in a year, school speed limit signs were lit
08:58 PM roycroft: and for the first time in a year, i got stuck behing a school bus on my way hone
08:58 PM roycroft: home
08:58 PM roycroft: i'm about 80% in favor of these things
08:59 PM Juzzy: Can anyone share a working XYZY mirrored .hal and .ini? I cant figure out why I'm getting joint errors again
08:59 PM roycroft: the 20% that is reticent is concerned that we may have a spring break third wave coming up
08:59 PM roycroft: and that opening schools right now may be a wee bit premature
08:59 PM roycroft: but students need to be in classroms
08:59 PM roycroft: real, physical classrooms
09:03 PM Tom_L: drdoc, contact peter maybe he can fix it. i dunno if he still does that
09:08 PM CaptHindsight: Juzzy: XYYZ, so 2 motors on the Y-axis? Can you post your ini? And what is the "joint error"?
09:09 PM Juzzy: sure, 1 sec. I've missed something, says they need to be homed, but homing does nothing
09:09 PM Juzzy: does it matter the order of "XYYZ"?
09:10 PM CaptHindsight: Juzzy: did this ever work or is this the first attempt at a working machine?
09:10 PM Juzzy: So i had it working on a belt driven system, but it was terrible at skipping stepas, so i upgraded it to an 1605 screw
09:11 PM CaptHindsight: Juzzy: pastebin your ini and hal files for everyone to examine
09:11 PM Juzzy: but i had to rewire and move things around, I thought I had it all right but apperently not
09:11 PM Juzzy: sure.
09:11 PM Juzzy: ive been screwing with it for 3 days, no telling what ive made worse now...
09:12 PM CaptHindsight: Juzzy: does the joint error happen on every axis or only the dual motor Y?
09:12 PM Juzzy: just the dual
09:12 PM Juzzy: hal: https://pastebin.com/3ds8RHLz
09:12 PM CaptHindsight: typos are common as are wiring issues
09:12 PM CaptHindsight: ok that narrows it down
09:12 PM CaptHindsight: only on Y
09:12 PM Juzzy: https://pastebin.com/W7ueuy8y
09:12 PM Juzzy: right
09:13 PM Juzzy: i would love to know some ideas on speeding it up some too lol
09:13 PM Juzzy: right now the microstepper is at 400, the lowest res i can make it
09:13 PM Juzzy: anything over 250mm and it kills it and goes offline
09:14 PM Juzzy: 250mm is still really slow
09:14 PM Juzzy: to travel 1500mm is probably 2 minutes
09:14 PM Juzzy: maybe longer
09:16 PM Juzzy: oh hell i see whats the matter
09:16 PM Juzzy: (maybe)
09:16 PM Juzzy: I have:
09:16 PM Juzzy: net apos-cmd joint.3.motor-pos-cmd => stepgen.3.position-cmd
09:16 PM Juzzy: a.. a.. a...
09:16 PM Juzzy: net lydir => parport.0.pin-09-out
09:17 PM Juzzy: net lystep => parport.0.pin-08-out
09:17 PM Juzzy: net astep <= stepgen.3.step
09:17 PM Juzzy: i'm betting those need to match, eh
09:19 PM CaptHindsight: you also have home sequences the same for Y and Z
09:19 PM CaptHindsight: for axis X you have HOME_SEQUENCE = 1
09:19 PM CaptHindsight: for Y you have HOME_SEQUENCE = -2 for both joints
09:20 PM Juzzy: I thought that was the order, 1's would be fine? does z need to be 2?
09:20 PM CaptHindsight: 1, 2 and then 3
09:21 PM Juzzy: I honestly dont want to home Z anymore, i tried to build an auto Z using aligator clips but its just as easy to do it by hand
09:22 PM Juzzy: k, I tried last time to change Y, i thought the docs said on mirror to do -2
09:22 PM CaptHindsight: then take the homing out for Z this way:
09:22 PM CaptHindsight: HOME_SEARCH_VEL = 0
09:22 PM CaptHindsight: HOME_LATCH_VEL = 0
09:22 PM CaptHindsight: HOME_USE_INDEX = NO
09:22 PM CaptHindsight: HOME_SEQUENCE = 0
09:22 PM Juzzy: ahhh
09:22 PM CaptHindsight: and for Y having -2 for both is fine
09:22 PM CaptHindsight: the - is what synchronizes them
09:23 PM Juzzy: k thought so
09:23 PM Juzzy: so does the naming here matter:
09:23 PM Juzzy: net adir <= stepgen.3.dir
09:23 PM Juzzy: is there anything special about "adir" ?
09:23 PM CaptHindsight: also for Z you have the homing info in the axis+z sections vs the joint_z
09:24 PM Juzzy: can i make them "lydir" without issue as long as it matches the pinmap at the top of the file?
09:24 PM CaptHindsight: opps sorry axis_z vs joint_2
09:24 PM Juzzy: k, ill fix that
09:25 PM CaptHindsight: so I think you should take HOME_OFFSET = 0.0
09:25 PM CaptHindsight: HOME_SEARCH_VEL = 4
09:25 PM CaptHindsight: HOME_LATCH_VEL = 1.5
09:25 PM CaptHindsight: HOME_SEQUENCE = 2
09:25 PM Juzzy: So what does the mirror'd here need to look like?
09:25 PM Juzzy: net min-home-y <= parport.0.pin-11-in
09:26 PM Juzzy: net min-home-x <= parport.0.pin-12-in
09:26 PM Juzzy: net min-home-ly <= parport.0.pin-13-in
09:26 PM CaptHindsight: take those 4 lines ^^ out of [axis_z]
09:26 PM Juzzy: k
09:26 PM CaptHindsight: and put
09:27 PM CaptHindsight: HOME_SEARCH_VEL = 0
09:27 PM CaptHindsight: HOME_LATCH_VEL = 0
09:27 PM CaptHindsight: HOME_USE_INDEX = NO
09:27 PM CaptHindsight: HOME_SEQUENCE = 0
09:27 PM CaptHindsight: into [JOINT_2]
09:27 PM Juzzy: fixed.
09:28 PM drdoc: ugh
09:28 PM CaptHindsight: run that with your still same hal file
09:29 PM Juzzy: well i need to at least fix the names of hal
09:29 PM Juzzy: so question...
09:29 PM Juzzy: I would like my Y switches be both Home and Min limit
09:30 PM Juzzy: net home-y <= parport.0.pin-13-in
09:30 PM Juzzy: net home-y => joint.1.home-sw-in
09:30 PM Juzzy: that was my old config, now I have: net min-home-y
09:31 PM Juzzy: but what does the bottom need to look like?
09:31 PM CaptHindsight: net min-home-ly <= parport.0.pin-13-in
09:31 PM Juzzy: yea i mean the bottom section
09:32 PM Juzzy: net home-y => joint.1.home-sw-in
09:32 PM Juzzy: or...
09:32 PM CaptHindsight: just looking at your hal file
09:32 PM Juzzy: net min-home-y => joint.1.home-sw-in
09:33 PM Juzzy: or.... net home-y => joint.1.min-home-sw-in
09:33 PM Tom_L: => joint.1.home-sw-in joint.1.pos-lim-sw-in
09:34 PM Tom_L: or such
09:34 PM Juzzy: does it matter what net name I use?
09:34 PM Tom_L: for home and limit
09:34 PM Tom_L: not to me
09:34 PM Tom_L: or anybody else for that matter
09:34 PM CaptHindsight: how are your Y axis home switches wired?
09:34 PM Tom_L: a net name isn't relevant
09:35 PM Tom_L: i do use debounce on mine though
09:35 PM Juzzy: captain_morgan: they are just push switches?
09:35 PM Tom_L: net out-home-x debounce.0.0.out => joint.0.home-sw-in joint.0.pos-lim-sw-in
09:36 PM Tom_L: you may need some sort of debounce on your switches
09:36 PM Juzzy: So what actually tells linuxcnc what joint the radio button "X" is?
09:36 PM Juzzy: I assumed some of these names were reserved
09:36 PM CaptHindsight: Juzzy: are they in series with each other or parallel?
09:36 PM Juzzy: oh the ini's [AXIS_X] duh
09:36 PM Juzzy: parallel
09:37 PM Juzzy: net min-home-y <= parport.0.pin-11-in
09:37 PM Juzzy: net min-home-x <= parport.0.pin-12-in
09:37 PM Juzzy: net min-home-ly <= parport.0.pin-13-in
09:37 PM Juzzy: I have 1 on each Y
09:37 PM Tom_L: i'm not running a gantry or using the parallel port but my configs are here and the limits are shared with home: http://tom-itx.no-ip.biz:81/~webpage/cnc/configs/NEW_MILL_SHOP_2.8.1/
09:38 PM Juzzy: thanks tom
09:44 PM Juzzy: Tom_L: I don't see you reusing the "net out-home-y" anywhere, I don't get the point of naming the signal something random if it's not using in a config later?
09:45 PM Juzzy: or are the signal names specific to some internal naming convention?
09:47 PM Juzzy: oooooooh
09:48 PM Juzzy: net min-home-x <= parport.0.pin-12-in
09:48 PM Juzzy: net min-home-x => joint.0.home-sw-in
09:48 PM Juzzy: net min-home-x => joint.0.neg-lim-sw-in
09:48 PM Juzzy: like that?
09:49 PM Juzzy: naming doesnt matter as long as it's consistant i guess
09:52 PM Tom_L: right
09:55 PM Tom_L: more for human readability
09:55 PM Juzzy: aight thanks for the help Tom_L & CaptHindsight
09:55 PM Juzzy: i'll give it a whirl, i think i have it correct at this point
09:57 PM Tom_L: there is a way to tell lcnc to home both the axis motors together on a gantry
09:57 PM Tom_L: i forget what that is
10:00 PM Tom_L: https://forum.linuxcnc.org/49-basic-configuration/35413-problem-with-gantry-homing
10:03 PM Juzzy: thats homing
10:03 PM Juzzy: so ya this isnt right for sure
10:03 PM Juzzy: I'm now getting "joint 0 on limit switch error"
10:03 PM Juzzy: 1 and 3, all of them i changed over
10:04 PM Tom_L: it may be how you sequence the 2 that are together
10:04 PM Juzzy: ya on yours you have them both after the =>
10:04 PM Juzzy: net a-neg-limit hm2_[HOSTMOT2](BOARD).0.gpio.040.in => joint.3.home-sw-in joint.3.pos-lim-sw-in joint.3.neg-lim-sw-in
10:05 PM Juzzy: lemme try joining them like that
10:05 PM Tom_L: i don't think that matters so much
10:05 PM Tom_L: you may not pos and neg together
10:05 PM Tom_L: those are supposed to be opposite ends of your travel
10:08 PM Juzzy: ok that didnt work
10:08 PM Tom_L: http://linuxcnc.org/docs/2.8/html/config/ini-homing.html
10:09 PM Juzzy: ya i need .hal help on this tho
10:09 PM Juzzy: i think i got the homing right
10:10 PM Juzzy: so maybe i have something inverse....
10:10 PM Tom_L: after you home, you need to back off the switch a bit
10:10 PM Tom_L: are you doing that?
10:10 PM Juzzy: When I press the limit switch by hand there's a "|<" Icon beside the X and Y and it is there by default and dissapears when i press it
10:10 PM Juzzy: i'm not getting that far currently
10:12 PM drdoc: sorry to break in, but I have a quick question
10:13 PM Juzzy: no worries
10:13 PM Tom_L: no! take a number and get to the back of the line!!!
10:13 PM drdoc: is there any way a misconfigured but working 6i25 would fail to be listed in lspci output?
10:13 PM Juzzy: ooooooh i am missing something after my signal name
10:13 PM Tom_L: drdoc, i'd get ahold of peter about that
10:14 PM drdoc: Tom_L: instant gratification is my middle name
10:14 PM Tom_L: as i mentioned earlier
10:14 PM drdoc: ok
10:14 PM drdoc: pcw, right?
10:14 PM Tom_L: yes
10:14 PM drdoc: ok
10:14 PM drdoc: thanks!
10:14 PM Tom_L: he seems to be on the forum more than here lately
10:15 PM drdoc: that was literally the first time I'd ever plugged in the Mesa card
10:15 PM Tom_L: what caused the grapic card to fry?
10:15 PM drdoc: I am beyond mortified
10:16 PM drdoc: totally untested gfx board, and I *have* junk systems for testing that stuff
10:16 PM -!- #linuxcnc mode set to +v by ChanServ
10:16 PM drdoc: I just got into a groove and got careless
10:17 PM Tom_L: it happens
10:17 PM drdoc: fried a good haswell motherboard and apparently the 6i25
10:17 PM drdoc: "not to me."
10:17 PM drdoc: famous last words, right?
10:18 PM Tom_L: that's a pcie card right?
10:18 PM drdoc: yes
10:19 PM drdoc: basically a 5i25
10:19 PM Tom_L: i know
10:19 PM Tom_L: i have one i think
10:19 PM Tom_L: maybe a 6i24
10:19 PM Tom_L: i dunno
10:19 PM drdoc: I forget the difference
10:19 PM Tom_L: plugs
10:19 PM drdoc: ah
10:20 PM Tom_L: well between the 6i25 & 24 anyway
10:20 PM Tom_L: 5i is pci not pcie
10:20 PM drdoc: right
10:20 PM drdoc: well, assuming I'll either fix this or replace it, is there any disadvantage to using a generic breakout board with it?
10:20 PM Tom_L: iirc the all can use the 5i25 configs
10:21 PM Tom_L: not really
10:21 PM Tom_L: just need to have the right bit file for it
10:21 PM drdoc: right
10:23 PM drdoc: this was one factor I didn't consider while shopping
10:23 PM drdoc: choice was the 6i25 or the 7i96
10:23 PM Tom_L: why?
10:24 PM Tom_L: 7i96 the all in one card?
10:24 PM drdoc: it's the cheap ethernet step & dir
10:25 PM drdoc: and it would not have gotten lit up
10:25 PM Tom_L: 7i92
10:26 PM Tom_L: i've got one of those and a 7i80
10:26 PM drdoc: oh, ok
10:26 PM drdoc: the 7i96 is step & direction, not anything I/O
10:27 PM drdoc: how is the 7i92? compared to Xi25?
10:27 PM drdoc: 5i25 or 6i25
10:27 PM Tom_L: fewer io?
10:27 PM Tom_L: i forget how many io it has
10:27 PM Tom_L: 34?
10:28 PM Tom_L: takes db25 daughter cards
10:29 PM Tom_L: the 96 is the all in one card
10:29 PM drdoc: yes
10:29 PM Tom_L: came out after i made choices
10:29 PM Tom_L: i've got a few cards i use for testing
10:30 PM drdoc: so no breakout board with the 96, right?
10:30 PM Tom_L: no, it's all in one
10:30 PM Tom_L: i don't know it's specs
10:30 PM Tom_L: buffered io etc
10:30 PM drdoc: that's worth a couple of bucks just in headaches left behind
10:31 PM CaptHindsight: 6i25 would fail to be listed in lspci output, sounds haunted
10:32 PM Juzzy: ok so now as soon as i try to home, i get "joint 0 following error" which the docs says its a feedback position error, but my shitty motors dont have a feedback
10:32 PM Tom_L: CaptHindsight, i think he cooked it
10:32 PM drdoc: CaptHindsight: I think he cooked it
10:32 PM drdoc: :-)
10:33 PM drdoc: as in, I should borrow your nick...
10:33 PM Tom_L: Juzzy, following error is more stepper tuning
10:34 PM drdoc: can I be CorporalHindsight?
10:34 PM Juzzy: I am running these guys: http://www.automationtechnologiesinc.com/products-page/nema-23/kl23h2100-50-4bm with a 4.2a driver
10:35 PM Juzzy: no feedback servo here, is there an option turned on for feedback somewhere?
10:35 PM Tom_L: the error is misleading
10:35 PM Juzzy: just basing it on: http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Following_Error
10:36 PM Juzzy: whats weird, is JOG works fine
10:36 PM Juzzy: (for X at least)
10:37 PM Tom_L: things like MAX_VELOCITY, MAX_ACCELERATION, STEPGEN_MAXVEL, STEPGEN_MAXACCEL are ones you can tweak to help that
10:37 PM Juzzy: so moving from belt to 1605 screw is dramatically slower
10:37 PM Juzzy: yea.... ok i actually lowered those to see if it would help, but it didnt
10:38 PM Tom_L: are your STEPLEN STEPSPACE correct for your driver?
10:39 PM Juzzy: no clue at all
10:39 PM Tom_L: your solution will be in your [JOINTx] settings
10:39 PM Juzzy: yea not sure how to calculate it correctly though
10:39 PM Juzzy: so my driver is set to 400, it's a 200 step motor
10:40 PM Tom_L: somewhere there's a chart for various drivers and timing
10:40 PM Tom_L: and the parallel port is going to be alot slower than a mesa setup
10:41 PM Juzzy: its a 5mm pitch screw, so thats 800 / 5 = scale 160?
10:41 PM Juzzy: yea.. plus its an old ass pc
10:41 PM Juzzy: i may switch it out
10:41 PM Juzzy: i just need it to work for my mom's bday present
10:41 PM Juzzy: :o
10:41 PM drdoc: ow
10:42 PM drdoc: Tom_L: where *are* all the old linuxcnc pages? That one, jitter charts by motherboard, etc
10:42 PM Tom_L: my scale for x is 10160
10:43 PM Tom_L: but it's not going to be anything like yours
10:43 PM Tom_L: anyway. i'm out
10:44 PM drdoc: later, and thanks!
10:45 PM CaptHindsight: drdoc: they are still there, latency jitter scores for older boards
10:45 PM drdoc: my mother-in-law has the PC that has all that bookmarked
10:45 PM CaptHindsight: http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Latency-Test
10:46 PM drdoc: ASSuming she hasn't managed to trash my $HOME
10:46 PM drdoc: thank you sir
10:47 PM Juzzy: omg that fixed the problem but it's FOREVER slow
10:48 PM Tom_L: what did you change?
10:48 PM Juzzy: scale from 4000 -> 160
10:48 PM Tom_L: you need to calculate your scale and make sure it's right
10:49 PM Juzzy: i thought i did
10:49 PM Juzzy: 200 * 800 / 5?
10:49 PM Tom_L: 160 doesn't sound right
10:49 PM Juzzy: erm * 400
10:50 PM Juzzy: that pure math is 16,000 / 5
10:50 PM Tom_L: microstep driver?
10:50 PM Juzzy: ya, lowest i can go is 400revs
10:50 PM Juzzy: so should i have 3200 scale?
10:51 PM Tom_L: measure the travel
10:51 PM Juzzy: with this 1605 screw, it'll be plenty percise
10:51 PM Juzzy: ya... thats how i got 4000
10:51 PM Tom_L: i have those screws on mine
10:51 PM Tom_L: my geckos are 10 microstep
10:53 PM Juzzy: http://www.kelinginc.net/KL-5042.pdf
10:53 PM Juzzy: I have mine set to "2"
10:53 PM Tom_L: is yours inch or mm?
10:53 PM Juzzy: whish is 400 on a 200 step motor
10:53 PM Juzzy: mm
10:55 PM Juzzy: from this article: https://forum.linuxcnc.org/16-stepconf-wizard/36207-axis-configuration-question
10:55 PM Juzzy: THE wizards calculate also for you but only to check
10:55 PM Juzzy: 200Steps/Motor 4Microsteps -> 800steps/rev
10:55 PM Juzzy: pitch Ballscrew 2005/1605 -> 5mm
10:55 PM Juzzy: so you got 800/5 -> SCALE 160Steps/mm
10:55 PM Juzzy: so mine is 200 * 2 microsteps = 400
10:55 PM Juzzy: i have the same 5mm pitch
10:56 PM Juzzy: 400/5 = 80, that doesnt even make sense
10:57 PM Tom_L: where you gettin the 400 from?
10:57 PM Juzzy: 200 step motor... 2 microsteps
10:57 PM Juzzy: 200 * 2
10:58 PM CaptHindsight: 5mm/400 = 0.0125mm per step
10:58 PM Juzzy: seems about right
10:59 PM Juzzy: tiny movement
10:59 PM CaptHindsight: so ~0.0005" per step
10:59 PM CaptHindsight: 12.5um
10:59 PM Juzzy: how do you convert that to SCALE ?
11:02 PM CaptHindsight: 400/5 = 80 = scale
11:02 PM CaptHindsight: 80 steps per mm
11:02 PM Juzzy: ... omg
11:02 PM Juzzy: lemme try it
11:03 PM CaptHindsight: 400 steps per 5mm = 80 steps per mm
11:05 PM Juzzy: k something isnt right
11:05 PM Juzzy: the gui thinks it moved 700+mm
11:05 PM Juzzy: it -might- have moved 3mm in about 30 secs
11:06 PM CaptHindsight: if the jog speed is low it can take a while
11:07 PM Juzzy: does home use jog limit or HOME_VELOCITY?
11:07 PM Juzzy: but it still isnt accurate in the gui
11:07 PM CaptHindsight: is the stepper connected directly to the ballscrew?
11:08 PM Juzzy: yep
11:09 PM CaptHindsight: in your .ini
11:09 PM CaptHindsight: what is in the [traj] section for LINEAR_UNITS =
11:09 PM CaptHindsight: mm?
11:09 PM Juzzy: yep
11:10 PM Juzzy: btw i changed these... may be related
11:10 PM Juzzy: MAX_VELOCITY = 25.0
11:10 PM Juzzy: MAX_ACCELERATION = 250.0
11:10 PM Juzzy: STEPGEN_MAXACCEL = 250.5
11:10 PM Juzzy: bc i noticed while jogging before i redid it all, if I jogged > 250 it would throw a joint error
11:11 PM Juzzy: HOME_SEARCH_VEL = 200
11:11 PM Juzzy: i should video how slow this is though
11:11 PM Juzzy: it might move 1mm per 10-15 seconds
11:11 PM CaptHindsight: change to MAX_VELOCITY = 250.0
11:12 PM Juzzy: k
11:12 PM CaptHindsight: are you using Axis for the GUI?
11:12 PM Juzzy: Not sure what you mean?
11:12 PM CaptHindsight: move the slider to Max for Jog
11:12 PM CaptHindsight: yes you are using AXIS
11:12 PM Juzzy: k its like 1500mm or so, lemme try, its in the shop brb
11:13 PM CaptHindsight: https://pastebin.com/W7ueuy8y DISPLAY = axis
11:13 PM Juzzy: ahh
11:13 PM Juzzy: what makes me think something is mega wrong though
11:13 PM Juzzy: the GUI is flying on the graph, and like is aid it was -700mm+ and in reality it moved maybe 3mm
11:13 PM Juzzy: i said*
11:14 PM CaptHindsight: ok did you change stepper drivers?
11:16 PM Juzzy: no, its set to "2" = 400revs
11:17 PM Juzzy: so.... that moved maybe 1/4th a rev... tossed a joine error
11:17 PM Juzzy: the gui moved 130mm
11:17 PM CaptHindsight: what I meant was are you using the same stepper driver hardware as you did before?
11:17 PM Juzzy: yea, all that's the same
11:18 PM CaptHindsight: I'm not on a LCNC machine right now
11:18 PM Juzzy: it didn't like MAX_VELOCITY = 250.0
11:18 PM CaptHindsight: can you try using stepconf for a new config? name the machine something new
11:18 PM Juzzy: yea i'll try that
11:18 PM CaptHindsight: just call it BOB or Fred for now
11:19 PM CaptHindsight: go through the settings and test the axis movements in stepconf
11:19 PM Juzzy: ya let me do it again
11:26 PM Juzzy: so I have this:
11:26 PM Juzzy: 200 steps, 2 micro, 1:1, 5mm pitch, 25 velocity, 750 max accel
11:26 PM CaptHindsight: did you run each axis test for movement?
11:27 PM Juzzy: when i test it, the 15mm jog
11:27 PM Juzzy: the motor spins maybe 1/6th back and forth
11:27 PM Juzzy: which as you pointed out earlier, is like.... 0.0001mm
11:28 PM CaptHindsight: lower the accel to 50
11:28 PM Juzzy: no i cant do each axis in the stepconf bc of the gantry
11:28 PM Juzzy: it doesnt support mirrored axis
11:28 PM CaptHindsight: is X axis behaving as expected?
11:28 PM CaptHindsight: just get that far
11:30 PM CaptHindsight: on the BASE INFORMATION page, early on, what are your Driver Timing Settings?
11:32 PM Juzzy: i am only testing X
11:32 PM Juzzy: and no
11:33 PM Juzzy: i went down to 1 | 1
11:33 PM Juzzy: still the same 1/6th turn just uber slow
11:33 PM Juzzy: 5000 - default
11:33 PM CaptHindsight: "i went down to 1 | 1" for what?
11:33 PM Juzzy: 1 max velocity 1 acceration
11:34 PM CaptHindsight: okj make the 5000 higher, use 9000 for now in both Step Time and Space
11:34 PM Juzzy: whats weird i had the belts, and it was fast af, 5000 timing, same pc, same drivers
11:34 PM Juzzy: when i get up higher it makes weird noises
11:34 PM CaptHindsight: there is something else up here
11:34 PM CaptHindsight: which stepper drivers are they?
11:34 PM Juzzy: so my jumpers are 1-5: off, 6-8: on
11:35 PM -!- #linuxcnc mode set to +v by ChanServ
11:35 PM CaptHindsight: I didn't see if you already posted that info
11:36 PM CaptHindsight: make and model # please
11:36 PM Juzzy: ya i did a sec ago... no worries
11:36 PM CaptHindsight: http://www.kelinginc.net/KL-5042.pdf
11:36 PM Juzzy: http://www.kelinginc.net/KL-5042.pdf
11:36 PM Juzzy: hah
11:36 PM Juzzy: yes
11:37 PM Juzzy: its actually an "E" at the end
11:37 PM Juzzy: but the label at the top matches these dipswitch settings
11:38 PM CaptHindsight: I have a 4042 in my hands
11:38 PM Juzzy: i can try a higher step... maybe the driver has an issue
11:38 PM CaptHindsight: not yet
11:38 PM Juzzy: i wanted to keep it low as possible due to my older machine and parallel port
11:39 PM Juzzy: and i honestly dont need the higher resolution
11:39 PM CaptHindsight: are you sure you have On and OFF straight for the Dip Switch?
11:40 PM CaptHindsight: it's easy to get that backwards
11:40 PM Juzzy: OMFG
11:40 PM Juzzy: it says ON |V
11:40 PM Juzzy: on is down
11:40 PM CaptHindsight: hah
11:40 PM CaptHindsight: yeah that got me once
11:41 PM Juzzy: hahahahahaha dude
11:41 PM Juzzy: omfg
11:41 PM CaptHindsight: this will likely do it
11:41 PM Juzzy: k elmme go try
11:41 PM CaptHindsight: you are backwards so lowest current and 100 microsteps!!
11:43 PM Juzzy: hahahaha
11:43 PM Juzzy: omg dude that did it
11:43 PM Juzzy: im so happy, you have no ideas
11:43 PM Juzzy: it's like fast as shit now too
11:44 PM Juzzy: whoever designed dips to be up=off and down=on I hope they stump their toe tonight going to piss
11:45 PM CaptHindsight: yeah, backasswards dip switches
11:46 PM CaptHindsight: have to meet a train, hasta