#linuxcnc Logs

Jun 20 2018

#linuxcnc Calendar

12:12 AM circ-user-IktJm: list
12:28 AM MrHindsight: Lcvette: just got back in, so what was the problem?
12:29 AM MrHindsight: Lcvette: lower P, and a sprinkle of D?
12:35 AM Lcvette: Well... It looks like it got resolved but.. My buddy just brought to my attention that he had commented out a couple encoder feedback lines
12:35 AM Lcvette: https://pastebin.com/0wb43KFZ
12:35 AM Lcvette: Can be seen in that pastebin of the Hal
12:36 AM Lcvette: Sooo
12:38 AM Lcvette: pcw_home: to the comment about the encoder feedback....
12:39 AM hazzy-lab: oops, it might be good to have that vel feedback ...
12:39 AM Lcvette: Just discovered that there are a couple encoder feedback pins commented out that probably need to be uncommented
12:40 AM Lcvette: Yeah going to turn those on in the morning and check the time again
12:40 AM Lcvette: Tune
12:41 AM Lcvette: So does that mean it's not in closed loop?
12:42 AM hazzy-lab: I am not sure, it does not look like it is connected to anything, so it might not be used
12:42 AM MrHindsight: are your encoders connected directly to the drives?
12:43 AM MrHindsight: with taps off to the Mesa card?
12:43 AM Lcvette: Yes
12:43 AM Lcvette: Correct
12:43 AM hazzy-lab: Then you should not need the vel-fb
12:45 AM * hazzy-lab is more than half asleep ...
12:45 AM hazzy-lab: gn8
12:45 AM Lcvette: Ok but definitely the position fb
12:45 AM Lcvette: Night hazzy
12:45 AM MrHindsight: <-- fully asleep
12:46 AM Lcvette: Night mrhindsight
12:57 AM MrHindsight is now known as CaptHindsight
01:05 AM IchGucksLive: motning from germany
01:05 AM IchGucksLive: getting the best day sice weeks today
01:05 AM IchGucksLive: what a mess i need to go to school
01:05 AM IchGucksLive: at age 70+
01:09 AM IchGucksLive: hi Lcvette
01:09 AM IchGucksLive: im off 2 garden watering the plants
01:17 AM fragalot: mornin
04:05 AM Loetmichel: rmu: Thanks again for the "rotate cooordinate system" Gcode... SOOO convenient to fill given sheet metal with a panel of identical parts without much waste!
04:06 AM rmu: no problem, yw ;-)
04:07 AM miss0r: the new EDM is alive! :D it took a big of elbow grease & some new relays. but now it is sparking away ;D
04:10 AM Loetmichel: *ouchie* *note to self* soldering a brass enclosure with a propane torch and then trying to get it out of the vice with bare hands: BAD idea... yellow marks on the skin now... :-(
04:11 AM miss0r: ouch :-/
04:37 AM Loetmichel: btw: Thats what i am soldering at the moment: http://www.cyrom.org/palbum/main.php?g2_itemId=16134&g2_imageViewsIndex=1
04:40 AM SpeedEvil: miss0r: yay
05:07 AM miss0r: I'm uploading a very short video to youtube as we speak
05:07 AM miss0r: also, I need to make some ventilation for it
05:07 AM miss0r: Kerosine fumes - ain't nobody got time for that
05:14 AM miss0r: Handheld quality at its best :S https://www.youtube.com/watch?v=Kw_TKs0NKRU
05:15 AM XXCoder: ok im ready to get mind blasted. clicking.
05:15 AM XXCoder: so what was wrong with machine>
05:16 AM XXCoder: honestly your video isnt bad
05:16 AM miss0r: one snapped cable on a sensor. One broken thermostat & two dud relays. and two others that looks like they are going to go at any moment
05:16 AM XXCoder: bad parts was just moving atound for different viewpoint
05:17 AM miss0r: alright :] Not exactly steffan quality video, but I suppose its worth viewing
05:17 AM RyanS: Plasticine has a good use for indirect measurement. measured a tool holder dovetail with the dowel pin method--stuff plasticine between the dowel to free up both hands for the inside micrometer. don't have any adjustable parallels but this worked
05:18 AM RyanS: pins*
05:18 AM miss0r: For the time being I just polished the contacts on the two dud relays. This of course is only a temporary solution, as the coating is gone. But they are proving hard to find these types
05:19 AM miss0r: RyanS: That is nice to know :]
05:19 AM XXCoder: none different model but withing ratings?
05:19 AM RyanS: indeed
05:20 AM RyanS: <- high tech metrology here :P
05:21 AM miss0r: I'm running the 'polishing' mode on the EDM now... I wonder how good the surface will be
05:22 AM miss0r: but it'll be a while before we know
05:25 AM RyanS: miss0r: maybe something like this https://coinweek.com/us-coins/counterfeit-coin-detection-spark-erosion-1858-flying-eagle-cent/
05:25 AM RyanS: common coin counterfit method
05:34 AM miss0r: hehe that sounds like a plan
05:34 AM miss0r: :D
05:35 AM miss0r: This thing will make me rich, for sure :P
05:36 AM miss0r: This place is starting to feel like a real production shop. At the moment I have two CNC mills running + the EDM. While I just stand here writing to you guys. I'm a glorified emergenzy stop button pusher, just waiting for something to sound wrong
05:38 AM RyanS: you should try it for interests sake. if you punch 'FAKE' on it its legit. coin collectors sometimes buy em to fill blanks in their collection - - I was too snobby to do that
05:38 AM RyanS: real or the slot is empty
05:38 AM miss0r: and if I don't punch fake on it, the US airforce will drop a bunkerbuster through my roof
05:39 AM miss0r: This machine also has a "rotary head" so I can erode out conuses ect. I wonder how long it will take me to learn to use that
05:40 AM RyanS: no but competitors in china won't like you
05:41 AM RyanS: well, apparently an EDM coin is easy to spot
05:43 AM miss0r: sure is. you can see the pitting
05:43 AM miss0r: unless you want to spend 60+ hours polishing it up
05:43 AM miss0r: with the edm
05:44 AM jthornton: morning
05:45 AM RyanS: https://www.ebay.com.au/itm/1930-Australian-Penny-Genuine-real-Above-fine-grade-c-w-Authentication-grade/202322937927?hash=item2f1b630847:g:J6kAAOSwiDFYQopB the grammar of the phrase 'genuine real' makes me suspicious
05:45 AM XXCoder: real * real = fake
05:46 AM miss0r: pffft.. how many do you want ?
05:46 AM miss0r: :D
05:46 AM miss0r: morning jthornton
05:47 AM XXCoder: one of "out there" stuff I wanted to try but probably never will do is vacuum metal deposition
05:47 AM miss0r: RyanS: If you want, I can EDM 'genuine real' into them, to remove any doubt potential buyers might have :D
05:48 AM RyanS: I'd be worried if it said 10 available / 50 sold
05:48 AM miss0r: haha yeah
05:48 AM XXCoder: know whats better?
05:49 AM XXCoder: no limit lol
05:49 AM XXCoder: unless seller is time traveler :P
05:51 AM RyanS: 3001 available should cut it
05:52 AM miss0r: as only 3000 were ever minted?
05:56 AM XXCoder: easy to make rare edition
05:56 AM XXCoder: take a paper. make random scabble, sign it
05:56 AM XXCoder: its unique
05:58 AM RyanS: its believed that 3000 were minted
06:00 AM jthornton: gave my old Jet table saw a new zip code yesterday... yea more room in the shop
06:00 AM RyanS: you could declare an independent Republic ( or hereditary dictatorship if you prefer) and mint your own currency
06:00 AM XXCoder: jthornton: dang your shop that big? ;)
06:01 AM XXCoder: reminds me of this joke
06:01 AM XXCoder: this rich guy invited another to his home
06:01 AM XXCoder: he was giving a tour, and other guy kept saying whoa that is huge so on and on
06:02 AM XXCoder: guy then says "oh yeah I need to let my wife know you are here also." takes up phone and says...
06:02 AM XXCoder: err bit mistake
06:02 AM XXCoder: guy then says "oh yeah I need to let my wife know you are here also, she is at west wing of house" takes up phone and says...
06:02 AM XXCoder: "long distance please."
06:03 AM RyanS: harhar
06:03 AM jthornton: a neighbor used to say he gave something a new zip code when he sold it
06:04 AM XXCoder: lol
06:05 AM jthornton: so I did finally sell the old Jet table saw :)
06:06 AM RyanS: "whoa this is huge" sounds like something the NYCCNC guy would say at the Haas factory
06:07 AM XXCoder: haas theres some thats pretty big but whatever its haas lol
06:08 AM RyanS: I guess it's better than tormach
06:08 AM XXCoder: where do ytou rate hurco heh
06:11 AM RyanS: I don't know they only seem to sell Doosan here... maybe they'll throw in a free earth mover
06:12 AM Tom_L: morning
06:12 AM XXCoder: ran hurco before. it sucks lol
06:13 AM XXCoder: need to adjust tlo .001?
06:13 AM XXCoder: you take number, calculate it on your calculator, input resu;t
06:13 AM XXCoder: its far easier to just jog to "zero" then go up or down whatever set tlo
06:16 AM RyanS: whats the highest end of the market. I get the impression that Mazak is towards the higher end and Mori Sieki is the Rolls Royce
06:16 AM XXCoder: or g0g5xz0 (make sure part is out of way) lol
06:16 AM XXCoder: no idea
06:16 AM XXCoder: shop I work at have huge number of different companies machines
06:17 AM XXCoder: from haas (few machines from tiny sucky office mill to bigger), mazak, fadal, so on and on
06:17 AM XXCoder: we have evry expensive swiss oil using lathe lol
06:17 AM XXCoder: it got insane number of tools
06:17 AM XXCoder: 30? dunno.
06:18 AM XXCoder: it got its own chips bin lol as oil itself is very expensive
06:18 AM RyanS: oil using?
06:18 AM XXCoder: it uses oil as coolant
06:18 AM XXCoder: very precise machine
06:19 AM RyanS: I thought oil usually lubricates and cools
06:19 AM XXCoder: well thats coolant lol
06:20 AM XXCoder: yeah normally use water and heavy chemicals and oil mixed in it as coolant. the "white coolant"
06:20 AM XXCoder: but that machine uses pure oil
06:21 AM XXCoder: okay time to bathe and sleep before I boil to death. later
06:21 AM miss0r: There we go. I just ordered a bunch of new relays for the EDM. plus some new soldering sockets, as the socket type used is not longer availiable anywhere !
06:22 AM RyanS: swiss lathe where the part moves along Z rather than the tool?
06:25 AM miss0r: lunch!
06:26 AM hazzy-lab: morning
06:32 AM XXCoder: RyanS: some moves tools some move parts
06:32 AM XXCoder: it can transfer to other end without losing position
06:32 AM XXCoder: so what comes out is complete parts. no "a then b"
06:32 AM XXCoder: ops
06:35 AM XXCoder: time for my body to dry: 100 hours. damn hot and kinda humid :(
06:36 AM XXCoder: I hate trying to sleep on this kind of air condition
06:39 AM XXCoder: ugh not looking forward to waking up in "spa" laters
06:40 AM jthornton: no AC in your house?
06:40 AM XXCoder: nah
06:40 AM XXCoder: dammit gonna go later lol
07:18 AM Beachbumpete1: Morning LinuxCNC :)
07:25 AM miss0r: This is going to be a shitty job replacing these relays.
07:26 AM miss0r: The three "white" sockets in the bottom left of this box; I'm going to be replacing them with 11-pole round plugin relay sockets
07:26 AM miss0r: https://imgur.com/a/kmezCdQ
07:31 AM unterhausen: apparently the captcha people don't think that a bicycle is a vehicle
07:39 AM miss0r: vegan meal is not food either
07:42 AM lcvette: pcw_home: https://pastebin.com/Mur7j4D9
07:51 AM holzjunkie1 is now known as holzjunkie
08:29 AM lcvette: pcw_home: fixed the debug
09:40 AM lcvette: morning gents
09:41 AM lcvette: and gentlewomen alike
09:41 AM lcvette: have a question
09:42 AM lcvette: does anyone on know the stepgen control setting for encoder feedback position?
09:42 AM lcvette: just wondering if im in the correct mode
09:42 AM lcvette: https://pastebin.com/u0aEzC6m
09:43 AM lcvette: Hal file
09:44 AM cradek: with encoder feedback, most folks use stepgen in velocity mode with a pid.
09:44 AM cradek: then you can home to index. in position mode you can't.
09:45 AM lcvette: trying to determin which im in
09:45 AM pcw_home: currently you are not using the encoder feedback
09:46 AM pcw_home: (which is what I suspected yesterday
09:46 AM lcvette: so that is why you suspected the stepgen yesterday
09:46 AM lcvette: lol
09:46 AM lcvette: jinx
09:46 AM lcvette: i fixed a few things this morning
09:47 AM lcvette: but it did not seem to change anything int he tuning so i suspected the same thing
09:47 AM lcvette: and started digging
09:47 AM pcw_home: this is also why such a high P term is possible (since the stepgen is an almost perfect velocity mode device)
09:47 AM lcvette: gotcha
09:47 AM lcvette: what is needed to go to feedback mode
09:48 AM lcvette: now that i have learned the tuning procedure
09:48 AM pcw_home: first lower the P term to 10 or so before testing
09:48 AM lcvette: ok
09:48 AM Deejay: hi
09:49 AM lcvette: widen the ferrors?
09:49 AM pcw_home: yes
09:49 AM pcw_home: then change net x-pos-fb <= hm2_7i92.0.stepgen.00.position-fb
09:50 AM pcw_home: to net x-pos-fb hm2_7i92.0.encoder.01.position
09:51 AM lcvette: no <=
09:51 AM pcw_home: make sure your encoder feedback is correct (correct direction and scaling)
09:51 AM lcvette: scaling is correct
09:51 AM pcw_home: expect runaways!
09:52 AM lcvette: direction i need to check
09:52 AM lcvette: ok
09:52 AM pcw_home: <= and => are just for looks
09:59 AM lcvette: for Y just to be clear it changes to <= hm2_7i92.0.encoder.02.position
10:00 AM lcvette: or does it stay <= hm2_7i92.0.encoder.01.position
10:03 AM IchGucksLive: hi all
10:05 AM IchGucksLive: .weather Zweibrücken
10:05 AM theCockerel: Yahoo! Weather - Zweibrucken, RP, DE: Partly Cloudy, 27°C (80°F), Humidity: 51%, Calm 0.0m/s (→)
10:05 AM IchGucksLive: it feals fairly hoter then it is
10:05 AM IchGucksLive: im off till later
10:08 AM pcw_home: if the y encoder connects to encoder 2 yes
10:09 AM lcvette: yup spindle 0, x1, y2, z3
10:10 AM Tom_L: lcvette, <= , => are optional only for your viewing pleasure
10:10 AM lcvette: clear ff2 im guessing as well
10:10 AM pcw_home: I would to start
10:12 AM lcvette: http://i.imgur.com/noayxJ2.png
10:12 AM lcvette: debug
10:12 AM lcvette: says it was already linked
10:13 AM lcvette: https://pastebin.com/u0aEzC6m
10:13 AM lcvette: current hal file
10:15 AM pcw_home: you need to delete net x-encpos-fb <= hm2_7i92.0.encoder.01.position
10:16 AM lcvette: ok
10:16 AM lcvette: done
10:16 AM pcw_home: net x-pos-fb <= hm2_7i92.0.stepgen.00.position-fb is still there
10:16 AM pcw_home: Oh maybe that the spindle
10:16 AM lcvette: no that was from just before i made the changes
10:17 AM lcvette: but the new changes you said to make are made
10:17 AM lcvette: sorry i'll update
10:33 AM lcvette: https://pastebin.com/B42Mppugupdated hal file
10:33 AM lcvette: it now loads and the axis move, however they are NOT moving the distance the dro's say they are moving
10:35 AM lcvette: appears to be about 25% movement of what the dro is reading
10:35 AM lcvette: actualo movement 25mm dro reads 100mm
10:35 AM lcvette: is this a encoder x4 thing?
10:35 AM Tom_L: could be
10:40 AM lcvette: ok so maybe in feedback mode im not supposed to run the gear ratio in the drive?
10:41 AM lcvette: and just run it as the encoder pulse per rotation
10:41 AM lcvette: that would make sense
10:42 AM lcvette: 5000 line encoders
10:42 AM gregcnc: that will give linuxcnc full resolution
10:42 AM lcvette: and my scaling currently is 1000 pulses per revolution
10:43 AM lcvette: wait
10:43 AM lcvette: that would be backwards wouldn't it
10:43 AM gregcnc: 1000 per mm?
10:43 AM lcvette: yes
10:44 AM gregcnc: just work out the math
10:44 AM lcvette: 6000 per revolution
10:44 AM lcvette: 6mm screws
10:44 AM lcvette: thats the current gear ratio setting in the drive currently
10:45 AM lcvette: 1000/mm
10:45 AM lcvette: .001mm/pulse
10:45 AM gregcnc: what changed that now it's wrong?
10:45 AM lcvette: but dros are reading more than actual travel
10:46 AM lcvette: we discovered i was not actually in feedback mode
10:46 AM lcvette: and corrected it so now i am
10:46 AM lcvette: so i ned to correct the scaling
10:46 AM lcvette: but im trying to figure out where the scaling is wrong
10:46 AM lcvette: and what requires changing
10:46 AM lcvette: drive or ini
10:46 AM lcvette: or both
10:47 AM gregcnc: do you have a link for ini
10:48 AM lcvette: https://pastebin.com/GYtbLmKL
10:48 AM lcvette: ini
10:48 AM lcvette: current
10:51 AM gregcnc: so you commended 100 and it moved 25mm?
10:51 AM lcvette: rough estimate
10:51 AM lcvette: didn't get a tape out
10:51 AM lcvette: but i can
10:54 AM gregcnc: it's probably something different than the 4:1 ratio based on 5000 lines and the 1000 scale with the drive.
10:55 AM gregcnc: either 5:1 or 3:1
10:57 AM lcvette: commanded 100mm get 30mm exactly
10:57 AM lcvette: to .01mm at least
10:57 AM lcvette: best i could measure with vernier calipers
10:58 AM gregcnc: 20,000ppr/6mm pitch
10:59 AM lcvette: 3333.333333
10:59 AM lcvette: thats the scaling
10:59 AM gregcnc: right
11:00 AM gregcnc: 5 or 10mm screw would be more appropriate for that encoder
11:00 AM lcvette: yeah well
11:01 AM gregcnc: but your resolution is high enough it shouldn't matter
11:01 AM lcvette: my buddy is lucky he has the 10mm screws
11:01 AM lcvette: i was the first guy through before they changed over to using 10mm screws
11:01 AM lcvette: how many decimal places should i add in the ini?
11:02 AM gregcnc: i don't know
11:02 AM lcvette: pcw_home: for encoder scaling how many decimal places is ok in the ini?
11:04 AM pcw_home: more than 6 digits is in the noise
11:04 AM lcvette: total
11:04 AM pcw_home: whats the full travel of you machine?
11:05 AM lcvette: 3333.3
11:05 AM lcvette: 27x16x18
11:05 AM gregcnc: 3 places beyond the decimal is enough for 40"
11:06 AM gregcnc: so 4
11:06 AM pcw_home: so 6 digits is in the 1 u range
11:06 AM pcw_home: buried in backlash/thermal/ballscrew errors
11:06 AM lcvette: . a digit?
11:07 AM pcw_home: just numbers
11:07 AM lcvette: 3333.33
11:07 AM lcvette: got it
11:11 AM lcvette: http://i.imgur.com/TmsY39L.png
11:12 AM lcvette: x axis first halscope
11:12 AM lcvette: that looks more different
11:12 AM lcvette: and ferror caught it and errored out
11:12 AM lcvette: should i try lower p
11:13 AM lcvette: P-10 currently
11:14 AM pcw_home: more P
11:14 AM lcvette: increment
11:14 AM lcvette: 20
11:15 AM pcw_home: FF1 still 1?
11:15 AM lcvette: yes
11:16 AM lcvette: ff2 0
11:16 AM gregcnc: would it be directly related to the change in scale?
11:16 AM gregcnc: if it was tuned before?
11:16 AM pcw_home: no
11:16 AM pcw_home: as long as PID inputs and outputs are scaled in mm, mm/s, mm/s^2
11:17 AM pcw_home: are you sure the scale is correct now?
11:18 AM pcw_home: FF1 should get you pretty close if the encoder scaling is right
11:19 AM lcvette: http://i.imgur.com/Czu2en5.png
11:19 AM lcvette: p 50
11:19 AM lcvette: i also turned my velocity up to max
11:20 AM lcvette: forgot to do that in the first one
11:20 AM lcvette: ff2?
11:20 AM lcvette: or more p
11:20 AM lcvette: no oscillations
11:21 AM Deejay: re
11:22 AM lcvette: http://i.imgur.com/SggT4Pa.png
11:22 AM lcvette: P-100
11:22 AM lcvette: no oscillations
11:24 AM lcvette: http://i.imgur.com/nErKs7H.png
11:24 AM lcvette: P-200
11:24 AM lcvette: axis faulted before i could let go
11:31 AM pcw_home: looks like the scale is wrong
11:33 AM lcvette: ok
11:33 AM lcvette: in the drives do i need to change the gear ratio settings?
11:34 AM lcvette: because they don't seem to be the same as the encoder output
11:34 AM lcvette: which appears to be 20,000 pulses
11:34 AM lcvette: with 6mm screws
11:35 AM pcw_home: move and measure with an indicator
11:35 AM lcvette: ok
11:38 AM roycroft: if you folks would indulge me on something slightly off-topic again ...
11:38 AM roycroft: there is a good amount of autocad talent here
11:38 AM roycroft: i need to start doing drawings using metric units
11:39 AM roycroft: when i took autocad classes i was taught to set up the pages in american standard units
11:39 AM roycroft: and when i needed to deal with metric, i should create a new drawing, draw everything with the metric units, then create a block from everything in that drawing
11:40 AM roycroft: then create a new drawing, import the block scaled at 1/25.4, and explode it
11:40 AM roycroft: but 1. that's pretty stupid and a pain in the butt
11:40 AM roycroft: 2. it leaves me with metric drawings now scaled to us customary units
11:41 AM roycroft: what i need to do is plot the stuff at actual size, retaining the metric units
11:41 AM roycroft: i was told that the work-around to #2 is to set my dimension style to use dual units, and plot in both
11:41 AM lcvette: its within a tenth or two but that could be im not setting my indicator straight
11:41 AM roycroft: there has ot be an easier way to do that
11:42 AM roycroft: i'll be plotting on us customary sized paper
11:42 AM roycroft: but i'm thinking i should be able to define that somehow in metric units (perhaps for the viewport)
11:42 AM lcvette: in autocad?
11:42 AM roycroft: yes
11:42 AM roycroft: and i'm well aware that autocad itself is unitless
11:42 AM roycroft: i'm not talking about creating the drawings
11:42 AM roycroft: i'm talking about plotting
11:43 AM roycroft: and plotting 1;1
11:43 AM roycroft: 1:2
11:43 AM roycroft: dammit
11:43 AM roycroft: 1:1
11:43 AM roycroft: i'm in a machine room with a failed hvac system
11:43 AM roycroft: it's 45 degrees in here right now, and i'm barely able to function
11:43 AM roycroft: and it's gone up half a degree in the past 2 minutes
11:43 AM roycroft: that's not a good trend
11:44 AM Tom_L: paper size shouldn't affect units
11:44 AM gregcnc: you'll thaw soon
11:44 AM roycroft: i'm sweating like a pig
11:44 AM roycroft: right, tom_l
11:45 AM roycroft: but how do i tell autocad that my units are mm, not inches, when scaling?
11:45 AM roycroft: do i do that in viewport settings?
11:45 AM roycroft: i never got much instruction on plotting/viewports/etc.
11:45 AM lcvette: man your testing my memory
11:45 AM roycroft: i just learned how to set up my templates, and have been using the same templates for 15 or so years
11:46 AM Tom_L: i don't use acad often enough to remember much about it except that i don't like it
11:46 AM roycroft: yeah, what little i might have known is lost
11:46 AM roycroft: you see what i'm getting at?
11:46 AM roycroft: i have a rectangle 125x560mm
11:46 AM gregcnc: it's been ages since I dealt with acad, but I know it was a disaster https://www.cad-notes.com/fix-autocad-drawing-unit/
11:46 AM roycroft: i want to plot it at 125x560mm
11:46 AM Tom_L: you wanna plot metric drawings on standard paper
11:46 AM Tom_L: is that it?
11:46 AM roycroft: by z 1xp
11:46 AM roycroft: yes
11:47 AM Tom_L: so draw it in metric units and select standard paper when you go to plot it
11:47 AM roycroft: and that whole create a block, import it scaled, and explode is stupid
11:47 AM roycroft: right
11:47 AM roycroft: none of that is a problem
11:47 AM roycroft: except when i scale it 1:1, it thinks it's 125in 560in
11:47 AM gregcnc: i think that depends on what you're trying to accomplish
11:47 AM fragalot: Hello
11:47 AM lcvette: ok so in the viewport
11:47 AM lcvette: when you select it
11:47 AM fragalot: miss0r: how's the EDM?
11:48 AM lcvette: you should be able to type in the control box
11:48 AM lcvette: view, entr
11:48 AM lcvette: scale
11:48 AM lcvette: and enter your desired scaling for that view port
11:48 AM lcvette: or vscale
11:48 AM lcvette: if memory serves
11:48 AM lcvette: its from about 20 years ago
11:49 AM lcvette: but im sure the keyboard commands are still the same
11:49 AM roycroft: my goal is to figure out how to do this, and then create some metric templates
11:49 AM roycroft: i'm on autocad 2008, lcvette
11:49 AM roycroft: so closer to what you learned than what modern autocad does
11:49 AM lcvette: doesn't matter
11:49 AM lcvette: the keyboard commands remain the same i would imagine
11:49 AM lcvette: i doubt they would change them
11:49 AM lcvette: or they would piss off their users
11:50 AM Tom_L: you mean like pulling the plug on f360 after you start to like it?
11:50 AM lcvette: so if you draw your objects in the model space in model units
11:50 AM lcvette: you should be able to scale them to anything you want in the viewports
11:51 AM lcvette: regardless of whether the template is in inches or mm
11:51 AM roycroft: i read some stuff that says i should be able to set scaling in viewport properties
11:51 AM lcvette: if its inches just scale it as if it were mm
11:51 AM roycroft: but there is no scaling option when i pull up viewport properties
11:51 AM lcvette: did you try high lighting the viewport perimeter and typing vscale?
11:52 AM roycroft: no
11:52 AM lcvette: well
11:52 AM roycroft: let me try that
11:52 AM Tom_itx: https://forums.autodesk.com/t5/autodesk-architectural-desktop/metric-drawing-viewport-scale-issues/td-p/2099912
11:52 AM roycroft: unknown command
11:52 AM Tom_itx: https://forums.autodesk.com/t5/autocad-forum/import-metric-to-imperial-and-scale-viewports-and-annotative/td-p/5049474
11:52 AM lcvette: viewscale
11:52 AM roycroft: that must be some new-fangled thing
11:52 AM Tom_L: dunno if that'll help or not
11:52 AM roycroft: i don't want to import metric to american customary
11:53 AM roycroft: i want to draw in metric and plot 1:1
11:53 AM roycroft: that's all i want to do
11:53 AM Tom_itx: https://forums.autodesk.com/t5/autocad-forum/metric-viewport-scale-factors/td-p/3451040
11:53 AM lcvette: hang on let me go fire up my other pc
11:53 AM lcvette: i will take a break from my "Scaling dilemsa" lol
11:54 AM roycroft: hmm
11:54 AM roycroft: scalelistedit may address the issue
11:55 AM Tom_itx: http://www.cadtutor.net/forum/showthread.php?10783-scale-a-metric-drawing-to-inches-in-viewport
11:55 AM Tom_itx: maybe the 4th post down or so
11:57 AM lcvette_: ok
11:57 AM lcvette_: still there
11:58 AM lcvette_: double click in the viewport to activate it
11:59 AM roycroft: right
11:59 AM Tecan: http://www.netpipe.ca/zen/albums/3D-Printing/blocks.jpg waiting on more pla http://www.netpipe.ca/zen/3D-Printing/drillreamer.jpg had to make this for the vertical holes and it works great. for some reason the way it prints makes them smaller than actual.
11:59 AM roycroft: that post, tom_itx, claims that internally autocad stores paper sizes in metric units
11:59 AM lcvette_: see if z enter
11:59 AM lcvette_: scale enter
12:00 PM roycroft: if that's true, then somehow i had to do a scaling factor when first setting up the templates
12:00 PM lcvette_: and enter your scale factor gives you whaty you need
12:01 PM roycroft: so i did that
12:01 PM roycroft: i highlited the viewport
12:02 PM roycroft: set the scaling to 0.0394 (1/25.4)
12:02 PM lcvette_: highlighted it or axtivated it
12:02 PM roycroft: i double clicked on it
12:02 PM lcvette_: in it or on it
12:02 PM roycroft: on it
12:02 PM roycroft: on the boundary lines of the viewport itself
12:03 PM roycroft: anyway, my object was then the correct size
12:03 PM roycroft: but only because of that scaling
12:03 PM lcvette_: sweet
12:03 PM lcvette_: is that not what you wanted?
12:03 PM roycroft: when i went to model mode, and did z 1xp, it blew up 25.4x too large
12:03 PM roycroft: which is not at all what i want
12:03 PM roycroft: that's what i've been doing
12:03 PM roycroft: and what i want to avoid
12:03 PM roycroft: i want to type "z 1xp" and have it plot actual size
12:04 PM roycroft: not 25.4x larger
12:04 PM roycroft: somehow 1 drawing unit is locked to 1" in paper space
12:04 PM roycroft: and that's waht i need to fix
12:05 PM roycroft: aah, i think i may have found something way down in tom's link that addresses it
12:05 PM roycroft: i'll check it out after i finish yelling at the hvac folks
12:06 PM lcvette_: ok
12:06 PM lcvette_: sorry i couldn't help more
12:06 PM roycroft: iN704035TC: 37.2HU:26.9%IL: 7.0
12:06 PM roycroft: 37.2 is pretty intolerable
12:06 PM roycroft: thanks lcvette_
12:07 PM roycroft: it looks like autocad uses a linetype.lin file to scale for paper space
12:07 PM roycroft: i'll sort that out in a bit
12:12 PM roycroft: ok, i'm done yellling at them
12:12 PM roycroft: i should clone one of my american customary templates so i can try to convert it to metric
12:14 PM Rab: Anybody have any opinions for a functional benchtop milling machine in the $2,000USD range, US market? A friend of mine is looking for something similar to my (1960s) Clausing 6x24. Grizzly seems like one option.
12:15 PM Tecan: kijiji.ca is what i use to search here
12:16 PM Tecan: i think they have a canada wide search too
12:16 PM Rab: I warned them a lot of the low-end import stuff is a sort of half-finished kit of castings. I don't know if there's a more reputable tier meeting that price range.
12:17 PM Rab: Tecan, noted. I don't think that will work for us in Texas.
12:17 PM Tecan: shipping might not be that much freight
12:17 PM Tecan: might be close to same
12:20 PM Beachbumpete1: Rab I had a couple benchtop machines with the last one being an RF45 asian machine and it was by far the best of the bunch. They are sold in various flavors by most of the importers. Mine was a Lathemaster which I eventually converted to CNC. It was quite a stout little machine for a benchtop.
12:21 PM Rab: Beachbumpete1, great, thanks!
12:21 PM enleth: Rab: is the space/weight the limit here, or the price? y'know, used bridgeports and all
12:22 PM Beachbumpete1: sure man. It seems that there are varying tiers of them as well. Some are of lesser quality others slightly better. Not honestly up on which is the creme of the crop currently.
12:22 PM diverdude: Hi, I have a 3040 set up with a parallel cable. I have tested it on winXP machine w. CNCcontroller and it works....Now I am trying to run it with linuxCNC instead but I cannot get any response from it. I have run the step conf and feel i have settings correct....but still its dead. Can someone in here help me figure out what I am doing wrong?
12:23 PM Loetmichel: diverdude: IIRC it needs an enable pin
12:23 PM Loetmichel: did you set that correctly?
12:23 PM Rab: enleth, low ceiling, and a smaller machine would be a better fit. Unfortunately this area is kind of a machine tool desert, so used Bridgeports aren't such an easy option.
12:23 PM Beachbumpete1: http://charteroakautomation.com/ this was one that I considered and it is a quite large machine for a benchtop
12:23 PM enleth: Rab: also, the Physics Anonymous YouTube channel recently got a PM-25MV: http://www.precisionmatthews.com/shop/pm-25mv/
12:23 PM diverdude: Loetmichel: hmmm not sure. Where do I set that?
12:23 PM Loetmichel: diverdude: can you test the axxes in stepconf?
12:23 PM Loetmichel: or dont they move at all?
12:24 PM enleth: Rab: they seem to be satisfied and it's well within the price you mentioned
12:24 PM Loetmichel: in the pinout in stepconf right at the start
12:24 PM Rab: enleth, thanks, that looks like a good candidate.
12:24 PM diverdude: Loetmichel: they dont move at all...i am trying to test in stepconf but its just not moving at all
12:24 PM enleth: Rab: I suppose you could message them and ask if they still recommend it, 3 months after they got it
12:24 PM enleth: Rab: here's the unboxing video: https://www.youtube.com/watch?v=eMAhD7XVgFc
12:26 PM IchGucksLive: hi all
12:26 PM diverdude: Loetmichel: moment..i am trying to make a screenshot for you... (not used to debian) :)
12:26 PM Loetmichel: diverdude: do you have any documentation where which pin is on the Parellelport of the driver box?
12:26 PM IchGucksLive: diverdude, hi im the man how builts lots of 3020
12:26 PM Loetmichel: if not: can you open the box and make a picture of the LPT-breakour board?
12:27 PM diverdude: Loetmichel: no i dont have much docs :/ I found this though: https://www.china-cncrouter.com//downfile/2015120417282452561.pdf
12:27 PM diverdude: Loetmichel: i sure can do that. hang on
12:28 PM enleth: Rab: also, I've seen at least one guy who cut out a hole in his garage ceiling to fit a manual Bridgeport's motor (the rest of the varispeed enclosure was right up against the ceiling), then concealed the hole in the room above with some custom furniture so that his wife wouldn't ask unnecessary questions
12:28 PM IchGucksLive: divq its a standar BOB inside
12:28 PM cradek: I raised the ceiling a few inches above my vmc (into empty attic space)
12:29 PM IchGucksLive: 2/3 45 6/7
12:29 PM Loetmichel: diverdude: if that PDF is for your EXACT machine: page 14 lowest pic
12:30 PM Loetmichel: set pin1 in Stepconf to enable and active high and pin 14 to enable and active low
12:30 PM Loetmichel: should work then
12:30 PM IchGucksLive: pin 1 and 14 is enable axis
12:31 PM Rab: enleth, haha, awesome
12:31 PM Beachbumpete1: cradek heheh I did the same thing \
12:31 PM Rab: Cover the motor with a padded hassock, makes a warm place for the cat to sleep.
12:32 PM diverdude: Loetmichel: is this of any use to you? https://ibb.co/iJUC4d
12:32 PM IchGucksLive: cool it says the max speed for the mashine is calibrated at 150mm/min
12:33 PM IchGucksLive: i got 3600 on mine http://tv-profi-gmbh.de/masch_baumh_k.jpg diverdude
12:33 PM diverdude: wow
12:34 PM Loetmichel: diverdude: nope... would have to see both sides completey.and no wires in the way and a bit sharper ;)
12:34 PM Loetmichel: but have you seen my statement above=?
12:34 PM IchGucksLive: diverdude, can you open the Folder of Linicnc where the mashine is and post please the HAL file namad as the mashine
12:34 PM diverdude: ahh yes i will try first to do as you say
12:34 PM Loetmichel: [18:53] <Loetmichel> diverdude: if that PDF is for your EXACT machine: page 14 lowest pic
12:34 PM Loetmichel: [18:54] <Loetmichel> set pin1 in Stepconf to enable and active high and pin 14 to enable and active low
12:34 PM Loetmichel: [18:54] <Loetmichel> should work then
12:35 PM diverdude: Loetmichel: here is the stepconf file: https://paste.ubuntu.com/p/Xt8kG5p2fw/
12:35 PM IchGucksLive: Loetmichel, did he say what stepconf version h and os he uses
12:36 PM Loetmichel: diverdude: that looks wrong
12:36 PM IchGucksLive: diverdude, your parport adress seams wriong
12:37 PM IchGucksLive: diverdude, please open a terminal
12:37 PM IchGucksLive: type
12:37 PM diverdude: i tried different parports
12:37 PM diverdude: $ cat /proc/ioports | grep parport d010-d012 : parport0
12:37 PM diverdude: i tried that also
12:37 PM IchGucksLive: gmesg | grep parpo*
12:37 PM diverdude: and 0x0278 and 0x0378
12:37 PM IchGucksLive: dmesg
12:38 PM diverdude: https://paste.ubuntu.com/p/wbpgWVjfwZ/
12:38 PM IchGucksLive: YEP the adress is 0xd010
12:38 PM Loetmichel: diverdude: still you have pin14 as spindle out
12:39 PM Loetmichel: not as Enable (inverted)
12:39 PM diverdude: Loetmichel: moment...i am installing screen shot tool to show you
12:40 PM roycroft: blah
12:40 PM roycroft: hvac folks still haven't dispatched an actual technician
12:40 PM roycroft: they have sent someone with a portable unit
12:40 PM IchGucksLive: diverdude, change the adress and mashine will give respoinse
12:41 PM IchGucksLive: diverdude, there is a tool in the system
12:41 PM IchGucksLive: extras screeenshot
12:42 PM diverdude: Loetmichel: hmm i dont see an option to set pin1 to enable and active high
12:42 PM Loetmichel: IchGucksLive: dont be so sure... they send a dozen different BOBs out with their 3020, 3040 and 6040 machines... and each with a slightly different pinout...been there had that problem ;)
12:43 PM IchGucksLive: Loetmichel, fully agree
12:44 PM IchGucksLive: diverdude, second page drop down pin1
12:44 PM diverdude: managed to change address: https://paste.ubuntu.com/p/6KrZnT7t2k/ But still no movement....I cannot figure out how to set pin1 to enable and active high and pin 14 to enable and active low
12:44 PM Loetmichel: diverdude: IIRC linuxCNC calls it "ESTOP OUT"
12:44 PM Loetmichel: and if there is no hook in front of "invert" its active high
12:45 PM IchGucksLive: Loetmichel, take also action on pin10 estop in
12:45 PM IchGucksLive: Loetmichel, it blocks the system
12:45 PM lcvette_: have a question regarding scaling
12:45 PM Loetmichel: yes, forgot that totally
12:45 PM diverdude: Loetmichel: IchGucksLive like this? https://ibb.co/faJYAJ
12:45 PM lcvette_: and gear ratio
12:45 PM Tom_L: reptiles have scales
12:46 PM IchGucksLive: lcvette-
12:46 PM lcvette_: is it better to not use a gear ratio when scaling?
12:46 PM IchGucksLive: lcvette-1, at ballscrew
12:46 PM Loetmichel: diverdude pin 14 isnt spindle according to your manual link
12:46 PM Loetmichel: its estop out invertet
12:46 PM diverdude: aha ok...i will change that
12:48 PM gloops: pin 1 is pwm
12:48 PM Loetmichel: ah, and ESTOP IN is also inverted
12:48 PM diverdude: Loetmichel: so pin1 to enable and active high = ESTOP OUT pin 14 to enable and active low = ESTOP IN
12:48 PM diverdude: correct?
12:48 PM Loetmichel: no
12:49 PM Loetmichel: PIN 1 ESTOP OUT (non inverted), pin 14 ESTOP OUT (inverted), pin10 ESTOP IN (inverted)
12:49 PM IchGucksLive: Loetmichel, better to use Activate Driver
12:50 PM diverdude: great, so like this https://imgbb.com/
12:50 PM Loetmichel: https://www.china-cncrouter.com//downfile/2015120417282452561.pdf <- look at the pdf you posted, page 13 (for estop in) and page 14 (for enable/estop out)
12:50 PM diverdude: still no response :(
12:51 PM Loetmichel: have you pulled the ESTOP on your control box/driver box?
12:51 PM Loetmichel: or is it pressed in?
12:52 PM Loetmichel: (usually you have to turn the button 90° clockwise to unlock it once pressed to release it again)
12:52 PM diverdude: it was pulled
12:53 PM diverdude: now i pressed it
12:53 PM Loetmichel: do the steppers "sizzle" once you try to test the axis?
12:53 PM diverdude: no....they dont even make a single sound
12:53 PM Loetmichel: or do they stay soundless or even STOP to "sizzle" when the test goes active?
12:53 PM diverdude: no i have STOP out again
12:54 PM diverdude: no=now
12:54 PM Loetmichel: hm mm
12:54 PM Loetmichel: strange
12:55 PM Loetmichel: take IchGucksLives advice and use "activate driver" instead of "ESTOP OUT"
12:55 PM Loetmichel: just a hunch...
12:55 PM Loetmichel: if all else fails: where are you located?
12:56 PM diverdude: it actually makes a small click when i press the button
12:56 PM Loetmichel: the button or the steppers?
12:56 PM diverdude: the stepper
12:57 PM Loetmichel: can you test please if there is a difference in holding torque (turn the motors, you will not damage them) wheh estop is pressed or not and with the stepconf test active or not?
12:57 PM Loetmichel: s/wheh/when
12:59 PM CaptHindsight: does anyone else get crazy customers that really don't order much but go on and on about the drama in their business adventures around the world with scientist and heads of corporations... their emails are like excerpts from sci-fi or spy novels..
01:00 PM CaptHindsight: or am I just lucky? :)
01:00 PM diverdude: Loetmichel: hmmm i did not really feel much of a difference
01:00 PM fragalot: CaptHindsight: You're lucky. I'm typically the one that gets to deal with the drama rather than only hear about it
01:01 PM fragalot: :P
01:01 PM CaptHindsight: "hey can I be a distributor of your products?"
01:02 PM CaptHindsight: "just sell me your stuff at a reduced price so that I can make a profit vs you, oh and I only want to buy a few at a time"
01:02 PM fragalot: "I won't actually sell any, but I am interested in the discount"
01:02 PM fragalot: hehe yeah
01:02 PM IchGucksLive: diverdude, what system of linuxcnc do you run the live dvd
01:03 PM Loetmichel: diverdude: switch the control box off entirely. is it less torque? if not you still havent enable signal to the drivers
01:03 PM diverdude: IchGucksLive: no i have made a full install of the latest version i could find
01:03 PM CaptHindsight: so how long have you been a distributor and what else do you sell and how much?
01:04 PM CaptHindsight: "oh we are just starting out"
01:04 PM IchGucksLive: diverdude, Wheezy
01:04 PM diverdude: Loetmichel: when i switched of the control box the torque is very different...i can just move it freely now
01:04 PM IchGucksLive: diverdude, 2.8
01:04 PM Loetmichel: ok.
01:04 PM Loetmichel: then it seems the enable is working
01:04 PM fragalot: CaptHindsight: gotta start somewhere? :-)
01:05 PM diverdude: IchGucksLive: Release: 7.11
01:05 PM diverdude: wheezy
01:05 PM Loetmichel: check if you got the pins for the step and dir for the axes right...
01:05 PM CaptHindsight: fragalot: starting with your profit margin
01:05 PM IchGucksLive: diverdude, plese use synaptic and update to 7.13
01:05 PM Loetmichel: https://www.china-cncrouter.com//downfile/2015120417282452561.pdf <- page 12
01:05 PM diverdude: Loetmichel: right - how do i check that
01:05 PM IchGucksLive: diverdude, only linuxcnc
01:06 PM fragalot: CaptHindsight: obviously
01:06 PM diverdude: IchGucksLive: you think that might improve things?
01:06 PM fragalot: CaptHindsight: how else are they going to outgrow you?
01:06 PM IchGucksLive: YES
01:06 PM CaptHindsight: I'd like a to start a new McDonalds franchise, can you sell me a few burgers at a time until we ramp up over the next few years?
01:06 PM IchGucksLive: lots of hints solfed in task
01:06 PM diverdude: IchGucksLive: sorry for all the stupid questions... can you show me the command to do that
01:07 PM IchGucksLive: diverdude, therfor we all are here
01:07 PM fragalot: CaptHindsight: if you sell your industrial products at the same rate a fastfood joint does, I want to know what those products are. :P
01:07 PM Loetmichel: diverdude: x axis step pin 2 dir pin 3 (inverted), y axis Step pin4, dir pin 4 (inverted) and z axis step pin 5 dir pin7 (inverted)
01:07 PM CaptHindsight: fragalot: me to
01:08 PM Loetmichel: fragalot: things like LM7805?
01:08 PM fragalot: Loetmichel: that's an electronic component, not an industrial product
01:08 PM CaptHindsight: fragalot: the other request is just to buy parts
01:08 PM CaptHindsight: 1-2 at a time
01:08 PM Loetmichel: ah right
01:09 PM Loetmichel: then M3 bolts ;)
01:09 PM fragalot: Loetmichel: again just a component
01:09 PM IchGucksLive: Loetmichel, M2.5 are cheeper
01:09 PM Loetmichel: noth where i buy them
01:09 PM fragalot: with industrial products I mean finished drives, machines, etc
01:09 PM fragalot: complete valve units
01:09 PM Loetmichel: 1000 box of M3*4 in A2 are cheaper than M2.5*6 in zinc plated
01:10 PM Loetmichel: fragalot: i know. i wanted to make a joke.
01:10 PM fragalot: Loetmichel: you're german
01:10 PM fragalot: you don't get to make jokes :P
01:11 PM diverdude: Loetmichel: ehhh ok now i am getting an actual error: https://ibb.co/m7Pe0J
01:11 PM Loetmichel: THAT was a good one ;)
01:11 PM diverdude: i did not change anything
01:11 PM Loetmichel: diverdude: no idea.
01:11 PM Loetmichel: sorry
01:11 PM diverdude: Loetmichel: i just tried inverting those pins
01:11 PM CaptHindsight: https://www.youtube.com/watch?v=B3EBs7sCOzo The Grand Tour: Explaining Germans
01:12 PM fragalot: :-)
01:12 PM Loetmichel: CaptHindsight: he's just jealous of sabine.
01:13 PM CaptHindsight: Loetmichel: maybe a bit :)
01:13 PM diverdude: i will try to restart
01:14 PM CaptHindsight: did the Grand Tour get Sabine on any of the show?
01:14 PM diverdude: Loetmichel: ok...now that error is not coming anymore
01:14 PM CaptHindsight: or was she just on Top Gear?
01:14 PM fragalot: wh(o|at) is sabine?
01:15 PM diverdude: Loetmichel: but that inversion of pins did not make any difference
01:15 PM CaptHindsight: fragalot: https://www.youtube.com/watch?v=p9wTV2-xmow
01:15 PM Loetmichel: german top gear host and somewhat regulary guest in the english top gear
01:15 PM Loetmichel: back then
01:15 PM diverdude: IchGucksLive: how can i update you said?
01:15 PM CaptHindsight: the Queen of the Nürburgring
01:15 PM Loetmichel: and a nürnburg ring driver par exellance
01:15 PM IchGucksLive: diverdude, please dont use Motor steps 400 in stepconf USE 200 and Divider 2
01:16 PM IchGucksLive: CaptHindsight, more likly master of disaster
01:16 PM diverdude: IchGucksLive: you mean "Motor steps per revolution" should be 200 and not 400 ?
01:16 PM IchGucksLive: diverdude open a terminal type synaptic
01:17 PM diverdude: bash: synaptic: command not found
01:17 PM IchGucksLive: diverdude, at the end only the number below the filds count
01:18 PM IchGucksLive: diverdude, im now starting your mashine as i got one left of me
01:18 PM diverdude: Loetmichel: its like when i repeatedly click the move button it gives very small clicks...so there is something happening....but its not correct
01:19 PM diverdude: IchGucksLive: you have a 3040?
01:19 PM Loetmichel: diverdude: my guess: you have flipped the step pins with the direction pins
01:19 PM IchGucksLive: i got 4 in a armlength and 24 in house
01:19 PM diverdude: Loetmichel: but would it then have worked on windows?
01:19 PM Loetmichel: diverdude: check again please: [19:31] <Loetmichel> diverdude: x axis step pin 2 dir pin 3 (inverted), y axis Step pin4, dir pin 4 (inverted) and z axis step pin 5 dir pin7 (inverted)
01:19 PM Loetmichel: it would if you had the pins correctly there
01:19 PM diverdude: Loetmichel: because it runs fine on my windowsxp machine
01:21 PM Loetmichel: can you see the pinout you have configured in the windows machine?
01:21 PM diverdude: Loetmichel: "y axis Step pin4, dir pin 4 (inverted)" you mean "y axis Step pin4, dir pin 5 (inverted)" right?
01:21 PM Loetmichel: ups
01:21 PM Loetmichel: sorry, yes
01:21 PM IchGucksLive: diverdude, in terminal type sudo synaptic
01:21 PM diverdude: IchGucksLive: ok, and then?
01:21 PM IchGucksLive: diverdude, thne in the press the RELOAD icon
01:22 PM IchGucksLive: then in the lupe SEARCH linuxcnc
01:22 PM IchGucksLive: Right click on linuxcnc and Update
01:23 PM Loetmichel: IchGucksLive: it wouldnt matter though
01:23 PM Loetmichel: the basic function on the LPT worked since it was called EMC
01:23 PM Loetmichel: cant remember a time when it didnt
01:23 PM IchGucksLive: il make him a new config
01:24 PM IchGucksLive: on the pdf state
01:24 PM diverdude: its upgrading now
01:26 PM Loetmichel: https://www.youtube.com/watch?v=_tG3Tx1e704 <- THAT is sabine btw ;)
01:26 PM diverdude: Loetmichel: i have this now: https://ibb.co/cLbgEd still nothing
01:26 PM Loetmichel: "fastes taxi driver in the world"... and a girl on top ;)
01:27 PM Loetmichel: diverdude: according to your manual thats correct... but maybe the manual is for a different version.
01:27 PM diverdude: IchGucksLive: i have upgraded linuxcnc in synaptic
01:27 PM Loetmichel: do you have a way to look what the config on the XP machine is?
01:28 PM diverdude: Loetmichel: hmmm yes i have to switch machines then
01:28 PM Loetmichel: look at it, write all the pins down and then config linuxCNC accordingly
01:29 PM Loetmichel: i would BET there is a different BOB in there than the manual you linked suggests
01:29 PM Loetmichel: did i ask where you live?
01:30 PM holzjunkie1 is now known as holzjunkie
01:30 PM diverdude: Loetmichel: i am in copenhagen in denmark :) What about you?
01:30 PM Loetmichel: hmm, thats a bit far off...
01:31 PM Loetmichel: germany, Offenbach (near frankfurt)
01:31 PM Loetmichel: i would have driven a few 100km to get that sorted... 1200km is a bit much though ;)
01:31 PM diverdude: ahh ok. not so far away :)
01:31 PM diverdude: hahaha
01:31 PM diverdude: true :D
01:31 PM IchGucksLive: diverdude, Querry
01:32 PM diverdude: Loetmichel: are you working with mills or is it your hobby?
01:32 PM Loetmichel: its actually easy if you have a multimeter (continuity tester) and know how to use it...
01:32 PM Loetmichel: both
01:33 PM Loetmichel: its my hobby and i have one at the job
01:33 PM Loetmichel: a 6040 though
01:33 PM diverdude: ahh ok - cool
01:33 PM Loetmichel: i have built about 8 CNC mills myself though over the xears
01:33 PM Loetmichel: years
01:33 PM IchGucksLive: diverdude, mail adress to send the mashine config
01:34 PM IchGucksLive: Loetmichel, i wirerd 2 today
01:34 PM Loetmichel: but the electronic side of a 3 axis stepper CNC mill on LPT is rather simple... not much to go wrong there :)
01:35 PM IchGucksLive: diverdude, hit my nick twice or right mouse select private frame
01:35 PM * Loetmichel works for a company that makes IT tech shielded against eavesdropping... simple wiring of a CNC with known chips on the driver boards is quite simple compared to that ;)
01:35 PM IchGucksLive: divq i work for the beergarden
01:36 PM fragalot: Loetmichel: if you go cheaper with the drives & cables it's also quite effective against eavesdropping
01:36 PM Loetmichel: hmm?
01:36 PM fragalot: EMI
01:36 PM IchGucksLive: Loetmichel, ist er weg
01:36 PM fragalot: Loetmichel: overpower their radio signal.. drown it out with noise :P
01:36 PM Loetmichel: ?
01:37 PM Loetmichel: fragalot: ah. i see
01:37 PM IchGucksLive: i need to leve sorry i ddid make new configs and now he is gone SAD
01:37 PM IchGucksLive: till tomorrow same time
01:37 PM diverdude: i am here
01:38 PM Loetmichel: nope, we have to be BELOW a certain level with any signal coming out of the machine... and the german BSI is quite adamant on that to pass their cert.
01:38 PM diverdude: noo i was just typing in the email :(
01:38 PM diverdude: ok
01:38 PM lcvette-1: Ichs does that
01:38 PM Loetmichel: and that level is about 20-80 db BELOW CE EMI levels (depending on frequency) ;)
01:39 PM lcvette-1: But he's very good with help sometimes
01:39 PM Loetmichel: diverdude: sorry man... ichgugslive tends to do that...
01:39 PM gloops: whats the problem here?
01:39 PM diverdude: ok, no problem. I was to slow :)
01:39 PM lcvette-1: 30% help 70% stories of his machines
01:39 PM Loetmichel: lcvette-1: his english is worse then mine though ;)
01:39 PM lcvette-1: Lol
01:40 PM Loetmichel: than
01:40 PM lcvette-1: Indeed it is but you can makes it out
01:40 PM fragalot: what's more difficult to follow is his train of thought
01:40 PM lcvette-1: Unless he's been in the better garden to long
01:40 PM lcvette-1: Beer
01:40 PM Loetmichel: fragalot: sometimes it is ;)
01:40 PM diverdude: ok - i will go and get some food and then try again with this machine a bit later
01:41 PM lcvette-1: Be here tomorrow same time
01:41 PM lcvette-1: For ichs files
01:41 PM Loetmichel: god appetit, diverdude
01:41 PM lcvette-1: Or else....
01:41 PM diverdude: tak skal du have :) snakker du dansk?
01:41 PM lcvette-1: Dun dun dun
01:41 PM diverdude: lcvette-1: yes i will be here hehe
01:41 PM Loetmichel: no, sorry
01:41 PM Loetmichel: google translator
01:41 PM diverdude: ich spreche auch ein bischen deutch
01:42 PM Loetmichel: been a few times there but never learned the language ;)
01:42 PM diverdude: ich habe in deuchland fur 2 jahre gewhont wenn ich klein war hehehe
01:42 PM Loetmichel: had fun though... german navvy uniform seems to be a "mating call" for a certain kind of danish girls :-)
01:43 PM diverdude: ahhh yes....navy uniform probably works on the girls here :)
01:43 PM Loetmichel: s/ be/ have been
01:43 PM diverdude: i have not tried that though
01:44 PM Loetmichel: ... also the fact that we had all sorts of alchol without tax aboard
01:44 PM Loetmichel: :-)
01:44 PM diverdude: that also helps :)
01:44 PM Loetmichel: i would think ;)
01:45 PM diverdude: ok food...wifey is getting impatient haha
01:45 PM diverdude: gotta leave me cave :D be back later haha
01:46 PM lcvette-1: pcw_home: just a thought might it be drive settings such as soft start s curve acceleration or something that may be causing the oddness?
01:46 PM pcw_home: certainly could, you want all filtering turned off
01:47 PM lcvette-1: Good tidbit!
01:50 PM JT-Shop: hmm these led bulbs don't work in my shop lights
01:50 PM lcvette-1: pcw_home: scaling was very close, with in a couple tenths over an inch, but not sure if the DTI was perfectly squared and arm was extended pretty far too get around the way covers so there may have been some flex going on
02:07 PM pcw_mesa: OK so it does look like there's a large delay from the step/dir to motion so I would expect some kind of filtering/limiting is enabled
02:11 PM gregcnc: flipping hell what are the odds the day after I order 100USD toolholder the same stuff comes up on ebay for30$?
02:12 PM pcw_mesa: 83% ?
02:12 PM gregcnc: oh well, can't hurt to have two
02:14 PM gloops: cancel the order
02:17 PM gregcnc: moar is better
02:18 PM gregcnc: The inserts hurt more at 35USD each
02:20 PM gloops: i found a decent bargain under poorly worded ad, still running though, would save about 50 quid if it isnt discovered - or he doesnt remove it
02:45 PM diverdude: Loetmichel: what was the "Activate Driver" ?
02:46 PM Loetmichel: diverdude: ichguckslive said its better to use "activate driver" instead of "Estop out" as the enable for the drivers
02:46 PM Loetmichel: makes sense ;)
02:46 PM Loetmichel: should be in the rolldown for the pins
02:46 PM diverdude: ahh ok. i thought it was an alternative software :)
02:46 PM gloops: john snow on TV doing an old Pullmans 1st class rail carriage up - a 40 ton 5 star restaurant on wheels heh
02:47 PM diverdude: Loetmichel: IT WORKS!!!!!!!!!!!!!!!!!!!
02:48 PM diverdude: HALLELUUUJAAAA
02:48 PM diverdude: :D :D :D
02:49 PM diverdude: i did it
02:51 PM andypugh: Great! (Did what?)
02:53 PM diverdude: made my 3040 move around with linuxCNC
02:53 PM Deejay: grats
02:53 PM diverdude: i have been struggeling with that
02:54 PM diverdude: is it possible to interface with linuxcnc using python?
02:54 PM cpresser: yes
02:54 PM cpresser: lots of different ways
02:55 PM cpresser: userspace hal components, python as g-code generator, for the ui as virtual control panel
02:55 PM andypugh: http://linuxcnc.org/docs/2.7/html/config/python-interface.html
02:56 PM andypugh: cpresser: And that ^
02:56 PM cpresser: yep, my list was one important point short
02:56 PM roycroft: it looks like acad 2009+ is the best solution to my templating issue
02:56 PM roycroft: and that's an expensive solution, as my license is for 2008 and i am not on support
02:57 PM andypugh: LinuxCNC is basically C, C++ and Python. With a hint of tcl
02:58 PM roycroft: the problem with rescaling, should i go that way, is that my lineweights, dimensioning, text, hatching, etc. will have to be adjusted when i rescale
02:58 PM roycroft: so i really really really don't want to do that
03:03 PM gloops: what are the drawings of roycroft?
03:04 PM roycroft: i'm trying to draw in metric units and have them plot at full size
03:04 PM roycroft: or at whatever real ratio i want
03:04 PM roycroft: all my templates are set up for american customary units
03:05 PM roycroft: this should not be too difficult, but i haven't set up templates from scratch in about 10 years
03:06 PM roycroft: the "solution" i have is to draw in model space using metric units, save the whole drawing as a block, and then import the block into one of my american customary templates, scaled properly
03:06 PM roycroft: and that's a bs solution
03:07 PM roycroft: but that's how i was taught to deal with metric drawings when i took autocad classes
03:07 PM roycroft: i just want to go to a layout tab, type "z 1xp" in model space, and be able to plot the metric drawing actual size
03:07 PM roycroft: seems like a pretty simple thing
03:07 PM roycroft: or should be
03:12 PM gloops: theres a lot of dedicated apps for furniture and and cabinets now you know
03:12 PM gloops: take the brainache out of it
03:12 PM roycroft: huh?
03:12 PM roycroft: who said anything about furniture or cabinets?
03:13 PM gloops: i thought thats what you were going to do
03:13 PM roycroft: i never said anything like that
03:13 PM roycroft: and no, that's not what i am going to do
03:13 PM roycroft: and i'm quite comfortable with autocad, for most things
03:14 PM roycroft: i just don't remember how the whole paper space/layout stuff is set up
03:14 PM gloops: must be another roycroft that was kitting out a small workshop for cabinet making then
03:14 PM roycroft: because i've been using the same templates for well over a decade
03:14 PM roycroft: i do a lot of different things
03:15 PM roycroft: my current project, that is inspiring me to get the native metric stuff set up, is modifying some fiber optic splice enclosures
03:15 PM roycroft: which were manufactured using metric measurements
03:15 PM roycroft: and the drawings for which are in metric units
03:16 PM roycroft: but i need to do this for the general case
03:16 PM roycroft: not switch software for a specific thing
03:16 PM * roycroft has some other autocad books at home that he'll peruse
03:16 PM roycroft: being such an old version of autocad, online resources are a bit more scarce than for more recent versions
03:17 PM roycroft: and people who publish articles on websites hate putting dates on them, so many of the things i do find won't work but i won't know that until i try, because i have no idea when they were written
03:17 PM rmu: strange issue with autocad. one should think different units in any CAD are just a matter of selecting which unit should be used when drawing dimensions
03:17 PM gloops: wouldnt be any easier to keep using metric for this then?
03:17 PM roycroft: autocad is unitless in model space
03:18 PM roycroft: that's what i'm trying to do, gloops
03:18 PM roycroft: that is my intent
03:18 PM roycroft: at the end of the day, i want to take my standard templates that use american customary units, and create duplicates of each that use metric units
03:18 PM roycroft: so i can draw natively using either unit system
03:18 PM roycroft: i don't want to do any scaling or converting
03:19 PM roycroft: i want to open a metric template, draw a box that is 425mm x 425mm, plot it at 1:1, and have the plot measure 425mm x 425mm
03:19 PM rmu: stupid program
03:19 PM roycroft: it's not a stupid program
03:19 PM roycroft: being unitless is fine
03:20 PM roycroft: and i don't fault autocad for my problem
03:20 PM roycroft: my problem is that i don't remember how to set the scaling in a layout, and am having a hard time finding documentation on how to do it
03:20 PM roycroft: the stuff others have suggested here work for newer versions than what i'm running
03:21 PM diverdude: anybody seen this linuxcnc error before? linuxcnc.error: emcStatusBuffer invalid err=3
03:21 PM roycroft: but this really is not an autocad problem - it's a me problem
03:22 PM rmu: roycroft: so you can't put dimensions in inch and in metric in the same drawing and have it be the right size?
03:22 PM roycroft: i can set the dimension style to whatever i want
03:22 PM roycroft: i can set it to dual dimensions if i want
03:22 PM roycroft: dimensioning is not the issue
03:22 PM roycroft: it's scaling in the layout
03:23 PM rmu: i would scale it in the model space
03:23 PM roycroft: if i draw that rectangle, and then go to a layout tab and type in model space "z 1xp" it will zoom to 425 inches x 425 inches
03:23 PM roycroft: model space is unitless
03:23 PM gloops: https://forum.linuxcnc.org/38-general-linuxcnc-questions/27697-linuxcnc-error-emcstatusbuffer-invalid-err-3
03:24 PM roycroft: if something is 425 long it could be 425mm, 425 inches, 425 angstroms, 425 furlongs, 425 light years
03:24 PM roycroft: autocad does not know and does not care
03:24 PM rmu: roycroft: what happens if you import a block from an "imperial" drawing into a "metric" one?
03:25 PM roycroft: you have the option of scaling it if you want to
03:25 PM rmu: hehe
03:25 PM roycroft: otherwise, your 4" block becomes a 4mm block
03:25 PM roycroft: actually it's just a 4 block
03:25 PM rmu: so you have some convention of unit in model space?
03:25 PM roycroft: all the scaling is done in the layout
03:25 PM roycroft: i can draw a 4" square block
03:25 PM roycroft: dimension it
03:25 PM roycroft: and the dimensions will say '4"'
03:26 PM roycroft: and i can go into dimension styles
03:26 PM roycroft: and tell it to say mm and not "
03:26 PM roycroft: and the same block will then say '4mm'
03:26 PM roycroft: and autocad still will not care
03:26 PM roycroft: model space really, truly is unitless
03:26 PM gloops: what happens if you want to CAM it?
03:26 PM roycroft: i don't know
03:26 PM roycroft: i suppose one would do that from a layout
03:27 PM Tom_L: i've had to rescale things for cad cam
03:27 PM roycroft: and layouts DO have a concept of units
03:27 PM Tom_L: not a big deal
03:27 PM roycroft: and setting up metric layouts is what i'm trying to do
03:27 PM rmu: i maintain: stupid program ;-) -- stopped using AutoCAD at R13 or so 25 years ago
03:27 PM Tom_L: same
03:27 PM roycroft: you're free to say that, of course
03:27 PM roycroft: and maybe you think i'm a stupid person for continuing to use it
03:27 PM Tom_L: roycroft, still not gettin anywhere?
03:28 PM roycroft: no, other than finding many ways to do it with acad 2009+
03:28 PM Tom_L: maybe a little stubborn...
03:28 PM roycroft: and i have 2008
03:28 PM rmu: roycroft: no, i didn't mean to imply that anybody is stupid
03:28 PM roycroft: maybe i should upgrade some day
03:28 PM roycroft: next time i have a spare $5k that i don't know what to do with
03:28 PM roycroft: which will probably be never :)
03:29 PM rmu: sorry if i made that impression
03:29 PM Tom_L: upgrade to solidworks if you do
03:29 PM Tom_L: or something
03:29 PM roycroft: i have solidworks 2012
03:29 PM roycroft: but i do a lot of 2d stuff
03:29 PM roycroft: and don't want to use solidworks for that
03:29 PM roycroft: i'm 10x faster with autocad than solidworks
03:29 PM andypugh: diverdude: Did you notice that that URL was for you?
03:29 PM Tom_L: yeah
03:29 PM roycroft: i find that, at least, older verions of autocad are utterly useless for anything 3d
03:30 PM roycroft: i wish solidworks had a command line like autocad
03:30 PM andypugh: I might have once been faster with 2D than 3D. But you can’t draw mistakes in 3D
03:30 PM roycroft: i'd be much faster with it if it did
03:30 PM Tom_L: different animal
03:30 PM roycroft: yes, it is a completely different animal
03:30 PM andypugh: In 2D CAD you can make all the same mistakes that you can with a drawing board. And some extras
03:30 PM Tom_L: most cad cam are parametricn nowdays
03:30 PM roycroft: and maybe a command line would not work with solidworks
03:31 PM rmu: since i found out about constraint based drawing / modeling i don't want to use anything else
03:31 PM roycroft: i have nowhere near as much time using solidworks as with autocad
03:31 PM roycroft: most of the engineering drawings i do for work are in autocad
03:31 PM Tom_L: it's a different way of thinking
03:32 PM roycroft: and they have to be, because the people with whom i exchange the drawings all use autocad
03:32 PM roycroft: i have found that a 3d mouse makes a tremendous difference in my ability to use solidworks
03:32 PM Tom_L: and you've never run across this scaling issue before?
03:32 PM roycroft: and i don't carry that around with me
03:32 PM roycroft: no, my work stuff is all civil
03:32 PM roycroft: and it's all done in american customary units
03:33 PM roycroft: i've never encountered a metric drawing at work
03:33 PM roycroft: i have some civil templates that are in feet, not inches
03:34 PM roycroft: but most of the time i'm working with someone else's existing drawing, and not creating a new one from scratch
03:34 PM roycroft: i design fiber optic cable plants
03:35 PM roycroft: so i typically get a drawing set from a municipality's engineering department with all the existing roads, utilities, etc.
03:35 PM roycroft: and add the new fiber optic conduits to those existing drawings
03:35 PM roycroft: and when they send me a drawing, it comes with their template
03:36 PM roycroft: so the layouts are already set up in the proper units
03:36 PM roycroft: contractors don't use any kind of cad software
03:36 PM roycroft: underground utility contractors, at least
03:36 PM roycroft: so i send them pdfs of the construction drawings
03:37 PM roycroft: they print them out, and literally redline them with a red pen
03:37 PM roycroft: and i use those to generate the as-builts
03:58 PM diverdude: andypugh: hmmm i already seem to have bwidget installed
03:59 PM andypugh: can you pastebin the error text?
04:08 PM CaptHindsight: roycroft: new tool for installs with trees and similar too close to overhead lines https://twitter.com/LevineJonathan/status/1009150968787849216
04:09 PM Deejay: gn8
04:09 PM diverdude: andypugh: https://paste.ubuntu.com/p/dZ4dXpvPtZ/
04:12 PM diverdude: andypugh: do you know what this is?
04:13 PM andypugh: diverdude: I was meaning the text from the LinuxCNC error window, really.
04:13 PM diverdude: This is the code which generates the error: s = linuxcnc.stat(); s.poll()
04:14 PM andypugh: Where is this code?
04:14 PM diverdude: andypugh: it is code i run in python console. I want to move my xyz table from python
04:14 PM andypugh: Is LinuxCNC running?
04:15 PM diverdude: andypugh: no
04:15 PM andypugh: That is probably the problem
04:16 PM diverdude: andypugh: aha you are right....when i turn on linuxcnc gui and then run the script, there is no error
04:17 PM andypugh: LinuxCNC stat needs a linuxcnc to give the status of
04:18 PM diverdude: andypugh: ok...does that mean that i need to have linuxcnc GUI running when i execute my script?
04:18 PM Tom_itx: https://cnc4xr7.com/
04:18 PM Tom_itx: anybody know about this guy?
04:18 PM andypugh: You don’t need the GUI, you do need the motion module and HAL
04:19 PM diverdude: andypugh: i see...can i load those in my script such that the script will be self contained?
04:19 PM CaptHindsight: Billy Sam
04:20 PM CaptHindsight: https://cnc4xr7.com/G0602.php
04:20 PM andypugh: diverdude: Instead of a GUI, try “halrun” in a separate terminal and then try the Python (I think that isn’t enough, you need to “loadrt motmod” at the very least, and almost certainly an interpreter (probably G-code) or it won’t know how to interpret the MDI
04:21 PM andypugh: Simplest way to get what you want is to edit a standard config and use DISPLAY = halui instead of Axis.
04:22 PM diverdude: andypugh: essentially its because i have a camera on my machine. I am trying to make a program which grabs an image and then moves the camera, and grabs an image etc.
04:23 PM diverdude: andypugh: i can control the camera and i can do image analysis in a script which is why i also want to control the xyz from that script
04:23 PM andypugh: This is all doable, I just don’t know how without thinking hard.
04:23 PM roycroft: yay
04:23 PM diverdude: ok i see
04:23 PM roycroft: bN704035TC: 20.0HU:48.0%IL: 7.8
04:24 PM roycroft: i can tolerate that temperature
04:24 PM roycroft: 45 was a real problem
04:24 PM CaptHindsight: Tom_itx: doesn't sound like a Canadian https://www.youtube.com/watch?v=UWgwWzbms6M
04:24 PM roycroft: this in a data center
04:24 PM diverdude: andypugh: do you have some good tips on how to get started on this?
04:24 PM andypugh: Tom_itx: He seems to charge $99 for a Mach3 screen that handles an ATC. He’s not my kind of guy :-)
04:25 PM andypugh: diverdude: Do you want any GUI at all?
04:25 PM diverdude: andypugh: no
04:25 PM Tom_L: andypugh i was just watching one of his videos and wondered who he was
04:25 PM andypugh: Not even a custom one that runs your Python?
04:25 PM MarcelineVQ: CaptHindsight: agree, though that accent wouldn't be totally out of place in alberta
04:25 PM Tom_L: wasn't planning on buying anything from him
04:26 PM diverdude: andypugh: no i would prefer to have everything in a terminal actually
04:26 PM andypugh: You really are the LinuxCNC poster-child aren’t you :-)
04:26 PM lcvette-1: Tom_L: i know Sam he's a buddy of mine
04:26 PM diverdude: me? :)
04:27 PM roycroft: alberta fancies itself the texas of the great white north
04:27 PM andypugh: Then do what I said, take the current config and edit it so that it has DISPLAY = halui
04:27 PM diverdude: andypugh: the .stepconf?
04:28 PM andypugh: No, you are beyond what Stepconf can do for you now.
04:28 PM CaptHindsight: lcvette-1: what part of Canada is he from?
04:28 PM andypugh: Ignore Stepconf from now on, and take ownership of your HAL and INI files.
04:28 PM lcvette-1: He's not
04:28 PM diverdude: andypugh: right ok
04:28 PM andypugh: (That setting is in the INI file)
04:28 PM lcvette-1: He's here in the states
04:28 PM lcvette-1: Georgia
04:29 PM diverdude: andypugh: ok..i see it
04:29 PM diverdude: andypugh: setting DISPLAY = halui
04:29 PM andypugh: There are other ways to do this, but that’s the simplest.
04:29 PM CaptHindsight: isn't hazzy-dev from down yonder there somewheres?
04:30 PM diverdude: andypugh: simple is good...especially for newcommers like me :)
04:30 PM lcvette-1: Not sure where hazzy-dev is from
04:30 PM diverdude: andypugh: ok...i changed the .ini file...what do i do now ?
04:31 PM andypugh: Terminal? linuxcnc -l
04:31 PM andypugh: Or the GUI menu will work too
04:31 PM diverdude: andypugh: ok...gui seems to be running now
04:32 PM andypugh: I think you can probably also use the command “halrun -f <path to HAL file> -i <path to INI file> and that won’t load a GUI
04:32 PM andypugh: Which GUI?
04:32 PM diverdude: linuxcnc gui starts when i execute linuxcnc -l in terminal
04:32 PM andypugh: Which GUI? Axis?
04:33 PM diverdude: andypugh: yes
04:33 PM andypugh: Did you remove all mention of Axis from the INI file?
04:33 PM andypugh: If so, that’s odd
04:33 PM diverdude: andypugh: no...only changed the first occurance...are there more?
04:34 PM andypugh: Not as far as I know
04:34 PM andypugh: try linuxcnc without the -l and make sure you choose the INI that you edited
04:35 PM diverdude: andypugh: ahh....where do i choose the .ini file?
04:35 PM andypugh: In the config picker that pops up if you don’t use -l
04:36 PM diverdude: hmm $ halrun linuxcnc/configs/chinamill1/chinamill1.hal linuxcnc/configs/chinamill1/chinamill1.ini this gives : halrun: too many arguments
04:36 PM andypugh: http://linuxcnc.org/docs/2.7/html/man/man1/halrun.1.html
04:37 PM Tom_itx: CaptHindsight, was watching this video of his: https://www.youtube.com/watch?v=BfG0DMNj4jk
04:37 PM Tom_L: one of the drives i was looking at
04:37 PM andypugh: You seem to have left out the -i for the INI
04:37 PM diverdude: ok i ran linuxcnc and picked my inifile.....and seems like its running w/o GUI now
04:38 PM diverdude: andypugh: and i can do the .stat command in python w/o error
04:38 PM andypugh: You probably want to use the halrun method eventually
04:38 PM andypugh: But that will require study of the halrun and halcmd manpages
04:39 PM diverdude: right - i see. interesting.....but seems that this hal server needs to be running on the system at all times
04:40 PM andypugh: Yes, there is no way from the interpreter (MDI) to the step-generators without HAL
04:45 PM diverdude: andypugh: aha....i guess now i then need to understand why nothing is happening when I am running c = linuxcnc.command();c.mode(linuxcnc.MODE_MDI);c.mdi("G0 X10 Y10 X10");
04:48 PM DaViruz: two X-words in the same block?
04:48 PM andypugh: I imagine that you need to disable e-stop, turn on the machine, home the axes etc. (All possible without a GUI)
04:48 PM DaViruz: or was that just a irc typo
04:49 PM DaViruz: i suppose it should still result in movement though
04:50 PM andypugh: I suggest putting Axis back as the GUI, then doing all those things, then trying your MDI again.
04:50 PM andypugh: The figure out how to start up the machine from Halui or Python.
04:51 PM andypugh: (If you use linuxcnc -l & you can then, in the same terminal, use halcmd setp halui.estop.rest 1
04:51 PM andypugh: sorry
04:52 PM andypugh: halcmd setp halui.estop.reset 1
04:52 PM andypugh: then halcmd setp halui.machine.on 1
04:53 PM diverdude: andypugh: yeah i am getting this error when running above lines: command (EMC_TASK_PLAN_EXECUTE) cannot be executed until the machine is out of E-stop and turned on
04:53 PM andypugh: halcmd.joint.0.home
04:53 PM andypugh: halcmd setp joint.1.home 1
04:53 PM diverdude: $ halcmd setp joint.1.home 1 <commandline>:0: parameter or pin 'joint.1.home' not found
04:54 PM andypugh: Sorry, I was looking here: http://linuxcnc.org/docs/html/man/man1/halui.1.html
04:55 PM andypugh: halcmd show pin
04:55 PM andypugh: Will show all the HAL pins that you could be using
05:00 PM diverdude: wow so many
05:01 PM andypugh: You might well be able to do the same from the Python interface.
05:02 PM andypugh: Yes, c.state(STATE_ESTOP_RESSET) then c.state(STATE_ON)
05:02 PM andypugh: c.home(0)
05:02 PM hazzy-dev: c.set_state(linuxcnc.STATE_ESTOP_RESET,)
05:02 PM hazzy-dev: c.state(linuxcnc.STATE_ON)
05:02 PM hazzy-dev: c.home(-1)
05:02 PM andypugh: c.home(1) etc
05:02 PM Tom_L: what does it mean, low inertia or medium inertia on a motor and which is more desireable?
05:03 PM hazzy-dev: andypugh: beat me :D
05:03 PM Tom_L: is that the armature mass?
05:03 PM andypugh: Tom_L: It depends in if you are driving a high inertia or low inertia load.
05:04 PM hazzy-dev: diverdude: c.home(-1) will home all if you have the INI set up with home sequences
05:05 PM hazzy-dev: lcvette-1: You know Sam of cnc4xr7? Neat! I did not know he was here in Ga, does that mean you are you in Ga too?
05:05 PM hazzy-dev: His conversion plans are very well thought out, as much as I like starting from scratch I think I might get them when I eventually CNC my G0602
05:05 PM Tom_L: he's not but i forgot where he said he was
05:05 PM andypugh: Tom_L: https://www.motioncontroltips.com/faq-what-is-servo-motor-inertia-and-why-does-it-matter/
05:05 PM lcvette-1: NC here
05:06 PM hazzy-dev: Ok, close enough, I was in SC this morning :)
05:06 PM lcvette-1: Yeah he is the buddy i was telling you wants to make a screen
05:06 PM lcvette-1: He's converting to linuxcnc
05:06 PM hazzy-dev: Oh, thats great!
05:06 PM Tom_L: i like him a little bit more now
05:06 PM andypugh: Is he aware that he will struggle to get any money for anything he does for LinuxCNC?
05:07 PM lcvette-1: I Skype with him daily there a group of us, me him Russtuff, Wyatt, GDodson
05:07 PM andypugh: (Not that I have ever tried)
05:07 PM lcvette-1: I don't think he is going to try and make a business or if it
05:08 PM hazzy-dev: Well, he is clearly not after money, he sells his plans for a very modest fee
05:08 PM lcvette-1: Just wanted to make how own screens
05:08 PM andypugh: I was just amazed at the $99 charge for a Mach3 screen
05:09 PM andypugh: Maybe that’s the going rate?
05:09 PM lcvette-1: I pay more than that for Machstdmill
05:09 PM lcvette-1: They get ya with update fees to
05:10 PM lcvette-1: But, i love is features
05:10 PM Tom_L: you pay in sweat here
05:10 PM lcvette-1: Yeah
05:10 PM Tom_L: but the education is free
05:10 PM lcvette-1: I make parts with that machine while i work on this one
05:10 PM lcvette-1: Was speed to be the other way around
05:10 PM lcvette-1: Supposed
05:11 PM lcvette-1: Lol
05:15 PM lcvette-1: But I'm glad i have learned as much as i have
05:16 PM tjb1_: 2 changes in code and I go from 16 MHz processor to 96 MHz processor, teensy is so great
05:16 PM Tom_L: andypugh does lcnc support serial spindle control?
05:16 PM Tom_L: rs485/232
05:16 PM lcvette-1: I will be able to fix much more if anything breaks
05:17 PM andypugh: Tom_L: Modbus, certainly. I have my lathe spindle connected by RS485 / Modbus
05:17 PM TurBoss: Tom_L: hello, what VFD=
05:17 PM TurBoss: ?
05:17 PM TurBoss: HUANYANG=
05:17 PM TurBoss: ?
05:17 PM andypugh: Yes, mine is a HY
05:17 PM Tom_L: just load a component for it?
05:18 PM andypugh: Well, youneed hardware too. But yes
05:18 PM TurBoss: there is a comp right?
05:19 PM Tom_L: what's the difference in 422 and 485?
05:19 PM JT-Shop: I think the electrical spec
05:20 PM JT-Shop: oh crap I better go put my crap up fixing to rain I think
05:23 PM Tom_itx: https://automationforum.in/t/differences-between-rs232-rs422-and-rs485/391
05:28 PM * hazzy-dev just finished laying out 50lbs+ of fresh peaches
05:29 PM Tom_L: peachy
05:29 PM hazzy-dev: I stopped by the farm on the way back from NC and picked up yesterdays culls - too small to sell, but perfect otherwise!!
05:29 PM hazzy-dev: Tom_L: very
05:47 PM JT-Shop: so much for the rain it just cleared up
05:48 PM Tom_L: looks like a nice line is heading that way though
05:50 PM JT-Shop: yea, we are drier than a popcorn fart after all that wet last winter lol
05:51 PM lcvette-1: Can have some of our rain, it's been a wet really summer so far here in NC
05:51 PM lcvette-1: Early
06:14 PM Lcvette is now known as Lcvette-1
06:21 PM AndroUser: If anyone gets bored and feels like looking at some drive settings that might affect feedback control....
06:23 PM AndroUser: Lost my Nick
06:25 PM andypugh: Is he still there?
06:25 PM Tom_L: doesn't appear to be
06:25 PM Tom_L: back again
06:26 PM AndroUser: Am i back?
06:26 PM Tom_L: no
06:26 PM AndroUser: Lol
06:26 PM Tom_L: andypugh, what model vfd do you have?
06:26 PM Tom_L: 220v?
06:27 PM andypugh: I have a generic HuangYang 4kW unit
06:27 PM Tom_L: what are you driving with it?
06:27 PM andypugh: Yes, we only have 240 and 440 in the UK
06:27 PM Tom_L: i figured
06:27 PM andypugh: It drives my lathe
06:28 PM Tom_L: just a 3ph ac motor?
06:34 PM lcvette: Hi
06:34 PM lcvette: Made it back
06:34 PM lcvette: Lightning speed knocked out power
06:36 PM lcvette: https://forum.linuxcnc.org/10-advanced-configuration/34767-drive-settings-for-position-control-with-closed-loop-feedback
06:37 PM lcvette: If anyone knows what filtering drive settings might effect the feedback loop on position control...... And your bored....
06:40 PM andypugh: Tom_L: Yes, generic 3-phase motor: Pics 14 and 15 here: http://bodgesoc.blogspot.com/search/label/Holbrook08%20X-axis%20and%20first%20parts
06:44 PM andypugh: What do you have for P000? (I think you said that analogue speed control was not available?)
06:47 PM andypugh: lcvette: That’s a heck of a lot of manual
06:48 PM lcvette: Lol
06:48 PM lcvette: Yeah this drive is position only
06:48 PM lcvette: That's just the index for the drive settings
06:49 PM lcvette: I couldn't upload the whole thing, was to big for linuxcnc file size limit
06:49 PM andypugh: So, have you any idea which other settings are in the manual and don’t apply to your drive?
06:50 PM lcvette: I've read through the manual 3 times cover to cover
06:50 PM lcvette: It goes over big items but not much on most of the settings
06:51 PM andypugh: I was trying to find if you can configure the encoder output to be the real position rather than commanded.
06:51 PM lcvette: It covers anything rewiring calculations
06:51 PM lcvette: The encoder outputs actual
06:51 PM andypugh: Did you decide last night how well it is working. When I went to sleep the halscope was looking really good. So good that PCW didn’t believe it.
06:52 PM lcvette: With good reason
06:52 PM lcvette: Discovered it was not in closed loop
06:52 PM lcvette: It is now in closed loop and not as good
06:53 PM lcvette: I did some testing this morning and was having problems
06:54 PM lcvette: https://m.imgur.com/SggT4Pa
06:55 PM andypugh: I am confused now. What was joint.N.motor-pos-fb connected to?
06:55 PM andypugh: If it was connected to command then there woild be no noise at all.
06:56 PM lcvette: PCW had me change the encoder fb
06:56 PM lcvette: It was stepgen
06:57 PM tjb1_: https://media.discordapp.net/attachments/206756204427476995/459135721249177620/image.jpg THC almost done!
06:57 PM andypugh: Ah, yes.
06:58 PM andypugh: Some repeated lines and slightly different signal names are confusing the issue there.
06:59 PM andypugh: That sort-of explains why D and P were not having exactly the expected effect.
07:00 PM pcw_mesa: Yeah is was just stepgen feedback which is almost perfect if you enable the DPLL
07:00 PM pcw_mesa: too perfect...
07:00 PM lcvette: Lol
07:00 PM andypugh: Tuning the PID to the stepgen feedback is an interesting idea, but does mean that the entire loop is in HAL and not involving the drive at all.
07:00 PM lcvette: And i thought i was catching a break
07:01 PM andypugh: You just need to do the same thing again with the right HAL connections. How long did it take? An hour?
07:01 PM lcvette: I tried today
07:01 PM pcw_mesa: Lucky you are not trying to use linear scales for feedback, then all the real nastyness shows up
07:01 PM lcvette: Did not have the same effect
07:01 PM lcvette: Got ugly
07:01 PM andypugh: I am really surprised that the P was able to drive oscillation in that setup.
07:02 PM lcvette: https://m.imgur.com/io4BRsl
07:02 PM andypugh: What P did you use? I would start right back at 1
07:02 PM pcw_mesa: Your drives look like they have a about a 20 Hz low pass filter enabled
07:03 PM lcvette: Started at 10
07:03 PM lcvette: Went as high as 200
07:03 PM andypugh: imgur link not working
07:03 PM pcw_mesa: probably not great for path following even open loop
07:04 PM Wolf__: tjb1_: smoothie?
07:04 PM lcvette: https://m.imgur.com/nErKs7H
07:04 PM pcw_mesa: if you were running Mach you would be happy because you dont see any of the dynamic errors
07:04 PM lcvette: Lol
07:04 PM tjb1_: Wolf__: Smoothieboard? no
07:04 PM lcvette: Ignorance is bliss
07:04 PM Wolf__: tjb1_: I know its not a smoothie board
07:05 PM Wolf__: what control setup is that using
07:05 PM tjb1_: ??
07:05 PM tjb1_: it going to be mach3
07:05 PM andypugh: P307 Speed reference Filter Constant 1mS ?
07:06 PM tjb1_: Wolf__: = wolfmanjm?
07:07 PM lcvette: I don't have a setting in that one
07:07 PM andypugh: lcvette: In that plot, was I = 0?
07:07 PM lcvette: Yes
07:07 PM lcvette: Just was starting with p
07:07 PM andypugh: Did you try a smaller P?
07:08 PM lcvette: Yes
07:08 PM lcvette: One sec
07:09 PM tjb1_: andypugh: that all transferred to teensy 3.1 no problem
07:09 PM lcvette: https://m.imgur.com/TmsY39L
07:09 PM andypugh: P205 looks interesting : “Position reference acceleration/deceleration time constant”
07:10 PM lcvette: Want the rest of the manual?
07:10 PM lcvette: Can i send in here?
07:11 PM andypugh: I would say that the first was too much P and the second too little P
07:11 PM andypugh: Though it does seem that there might be something else going on.
07:11 PM andypugh: I can’t stay much longer…
07:11 PM lcvette: The first was also at a much slower velocity and i forgot
07:12 PM lcvette: No worries
07:19 PM Wolf__: tjb1_: nope
07:20 PM tjb1_: Wolf__: you know of anyone running a plasma table on smoothie?
07:20 PM tjb1_: I have one but I wouldnt know how to use it with a gecko g540
07:22 PM lcvette: pcw_mesa: Your drives look like they have a about a 20 Hz low pass filter enabled
07:23 PM lcvette: I just looked and didn't see anything specifically that sounded like that
07:24 PM lcvette: pcw_mesa: might it be known by another name?
07:25 PM andypugh: lcvette: I found the word “filter” in quite a few places
07:25 PM andypugh: als look for “time constant”
07:25 PM lcvette: Me to
07:25 PM pcw_mesa: try setting P to say .1 (just so it does not drift), the velocity feed forward part alone should make the drive follow the profile fairly accurately
07:26 PM andypugh: Did you look at P205?
07:26 PM pcw_mesa: if it does not, its something in the drive causing delay
07:27 PM andypugh: You are using “position reference” I think?
07:28 PM renesis: guys can i do scripted movements based on sensor input with linuxcnc using conditional language?
07:28 PM renesis: or like is there API hooks that i can just push around with python
07:29 PM renesis: like, linuxcnc has always just worked for me, so ive learned nothing
07:30 PM andypugh: Yes, you can use Python
07:31 PM andypugh: http://linuxcnc.org/docs/2.7/html/config/python-interface.html
07:31 PM renesis: like when you couldnt reset home and would lock yourself out of half your axis, i just bitched in here, and magically months or years later the feature was there
07:31 PM renesis: all i have learned is to complain in here =\
07:31 PM andypugh: diverdude asked the same question earlier, he might be the expert by now
07:31 PM renesis: andypugh: ty!
07:32 PM lcvette: https://ibb.co/d4qNN8
07:32 PM renesis: oh shit im like a paragraph in and i already want to use this just to have more shit to look at during machine cycles
07:32 PM lcvette: That's the manual pages for that setting
07:33 PM lcvette: I have p205-0
07:33 PM andypugh: What is your current P205 setting? (Or is everything at factory defult?)
07:34 PM lcvette: Most are factory default some are changed
07:34 PM andypugh: Ah, welll, there goes that idea
07:34 PM lcvette: Yeah
07:34 PM lcvette: The second pdf on the form are my actual settings
07:35 PM andypugh: I need to depart now. Hope you figure it out.
07:35 PM lcvette: Thanks Andy!
07:35 PM andypugh: (If this really is a filter then the Siemens controler you meant to buy would have also struggled, and you would have had no idea why)
07:40 PM lcvette: pcw_home: since i had to change the scale up to 3333.33 could it be in getting to fast? For the velocity?
07:41 PM lcvette: To high of a resolution to keep up?
07:41 PM flyback: https://youtu.be/vtWp45Eewtw?t=224
07:45 PM pcw_mesa: thats about a 1 MHz count rate at 280 mm/s Normally you would expect to see a huge error spike when the velocity crossed the maximum count rate threshold
07:46 PM pcw_mesa: (the encoder count would also be wrong)
07:48 PM pcw_mesa: At this point, I would be temped to go back to open loop mode but plot the position and encoder position to see what the drive is actually doing
07:48 PM lcvette: Ok
07:49 PM pcw_mesa: obviously not doing what its been told to do
07:50 PM pcw_mesa: Is there a tuning application with the drives? maybe they are not tuned well
07:50 PM lcvette: So add back the old Stepgen fb
07:51 PM pcw_mesa: yeah probably keep the old and new just comment out the lines you dont want
07:52 PM lcvette: Umm.. there is an inertial sitti i discovered buried in the
07:52 PM Roguish: lcvette: really helps to keep good notes on what you're doing and what happens.......
07:52 PM pcw_mesa: # in front of net statement that's not wanted
07:52 PM lcvette: Inertia autotune function
07:52 PM lcvette: I just found it
07:52 PM pcw_mesa: manual multiplexor
07:53 PM lcvette: I could try running that
07:54 PM lcvette: These drives have so many settings to tune
07:55 PM lcvette: What's a manual mulyiplecor?
07:56 PM lcvette: Roguish: i do
07:57 PM pcw_mesa: putting a comment char in front of the net statement you dont want and removing the comment char from the one you want
07:57 PM lcvette: Gotcha
07:57 PM Roguish: like PCW said, a '#' at the start of the line makes it a comment. good way to leave notes and trial lines.
08:00 PM lcvette: if i comment out the new lines i added for encoder fb, will i be able to still plot them?
08:02 PM Roguish: not if you're plotting a signal you're creating. if the signal is not created, there's nothing to plot
08:03 PM Roguish: if you're just linking things, you should be able to plot.
08:05 PM lcvette: Ok
08:06 PM lcvette: I'll have to take a look at that some more, need to learn how to link
08:06 PM Roguish: http://linuxcnc.org/docs/
08:07 PM Roguish: http://linuxcnc.org/docs/2.7/html/hal/intro.html
08:43 PM lcvette: Just read the Hal manual for the 3rd time
08:43 PM Tom_L: i'm not sure i've read it all once
08:44 PM lcvette: It makes 3% more sense than it did the last time, so progress, if i read it again a few more times with some more practical application! Get the hang of it I'm sure
08:45 PM lcvette: I'm terrible with manual reading on programming stuff
08:46 PM lcvette: Because i have no background in it
08:54 PM SpeedEvil is now known as Guest3018
10:03 PM Isleape1 is now known as Isleape
11:20 PM roycroft: finally, this day from hell (almost literally, given that i had to sit in a 45 degree machine room most of it) is over
11:20 PM roycroft: 15 hours later
11:21 PM roycroft: now i can pull out my autocad books and see if i can make sense of layout units
11:32 PM Roguish: roycroft: model space or paper space?
11:35 PM roycroft: there is no concept of units in model space
11:39 PM Roguish: there're no units anywhere.
11:39 PM Roguish: are you trying to get 'scaled' drawings? like 1/4" or something?
11:41 PM roycroft: i am trying to create drawings in mm and plot them actual size without having to do weird scaling things in the layout
11:42 PM roycroft: i want to draw a square 425 units on a side, go to a layout, type "z 1xp", plot it, and have a plot that is 425mm on a side
11:43 PM roycroft: what i really want to do is convert my existing templates from inches to mm
11:43 PM roycroft: but i don't really mind creating new templates from scratch if necessary
11:43 PM Roguish: oh, boy. that's a good one.
11:44 PM roycroft: i can't just scale it with z 0.0394xp
11:44 PM roycroft: first of all i don't want to
11:44 PM roycroft: but secondly, lineweights, hash patterns, dimensions, text will all be wrong if i do that scaling
11:44 PM roycroft: i created all these templates years ago
11:44 PM roycroft: i know it can be done
11:44 PM roycroft: but i've been using the same templates for over 10 years
11:45 PM roycroft: and it's an old version of autocad - 2008
11:45 PM roycroft: more modern versions have better mechanisms for doing this
11:45 PM roycroft: but in 2008, layouts and paperspace were still relatively new concepts
11:45 PM roycroft: i still have drawings that were given to me back then that do not have any layout setups at all
11:46 PM roycroft: and i know cad operators who still do not use layouts
11:46 PM roycroft: anyway, i am perusing my autocad books now, and hopefully will sort it out before long
11:47 PM lcvette: Model and paper space had been sounds since..... Near beginning
11:47 PM roycroft: interestingly, i've learned that autocad tabulates paper sizes in mm internally, and they get translated to american customary units
11:47 PM lcvette: I was using it on R11 back in 93
11:48 PM Roguish: i don't think it'll be hard, it's a ratio of the viewport scale to the physical paper size.
11:48 PM roycroft: it really seems silly not to use paper space
11:48 PM roycroft: yeah, but i haven't found how to do that
11:48 PM roycroft: i agree with you - i think it's just scaling the viewport
11:48 PM roycroft: i know how to do with with 2009+
11:48 PM roycroft: but not with 2008
11:49 PM Roguish: should be very similar
11:49 PM Roguish: i have 2012
11:51 PM roycroft: there are new commands in 2009 that let one scale viewports more easily
11:51 PM roycroft: anyway, i have a couple ~900 page books that hopefully will hshed some light on the situation
11:52 PM Roguish: when you'
11:54 PM Roguish: re in PS, select the viewport entity, it's attributes has a 'custom scale' in the misc section.
11:54 PM Roguish: try setting that to .03937 (1/25.4)
11:57 PM Roguish: what size is your finished drawing ? D, E, ???
11:57 PM fragalot: A5
11:57 PM roycroft: i'm in the us
11:57 PM roycroft: i use a, b, d, e
11:58 PM roycroft: ax paper is really really expensive here
11:58 PM roycroft: for the plotter, i mostly use arch d and arch e
11:58 PM fragalot: 'twas a joke, A5 is tiny.
11:59 PM roycroft: it's 1/2 the size of a4, right?