#linuxcnc Logs
Jan 17 2023
#linuxcnc Calendar
12:20 AM roycroft: i told them that i spent a bunch of time assembling it and i really don't want to disassemble it and ship it back
12:30 AM roycroft: so they told me that i can just keep it and i would get a full refund anyway
12:30 AM roycroft: and i just got confirmation of that
12:30 AM XXCoder: interesting
12:30 AM XXCoder: i guess you can just make new thumnb screw now
12:30 AM roycroft: i think now i will buy an m3 thumb screw from china for $3
12:30 AM roycroft: yes, or i can make one
12:30 AM roycroft: having an amazon business account is nice
12:30 AM roycroft: they actually take care of their customers
12:30 AM roycroft: i was about to ask for a $50 refund, but they beat me to the punch and offered a full refund instead
12:30 AM XXCoder: well not bad then
12:30 AM roycroft: and yes, the real question is probably: why did my business buy a $325 vinyl cutter instead of a $5k vinyl cutter?
12:30 AM roycroft: the answer is: i don't intend to use it for much right now
12:30 AM roycroft: and if i ever do, i'll get the $5k one
12:32 AM roycroft: i was thinking about cutting some stensils so i could paint the logo on the sides of my pickup
12:32 AM roycroft: but then it occured to me that if i get the right kind of vinyl i'd be better off just applying vinyl stickers to the pickup
12:32 AM roycroft: so they can be removed later if need be
12:32 AM XXCoder: thats nice way to use it also
12:32 AM roycroft: but i like using stencils to label things
12:33 AM roycroft: except i don't like the look of most stencils
12:33 AM roycroft: the vinyl cutter should let me cut custom stencils that look however i want for anything i want to label
12:37 AM XXCoder: well cant wait to see your results
12:37 AM roycroft: hopefully i'll be able to work with it soon
12:38 AM roycroft: i just got off work for the fair
12:39 AM roycroft: this special election is just killing me
01:04 AM Deejay: moin
01:40 AM randy: morning
03:15 AM travis_farmer[m]: G'Morning
03:25 AM travis_farmer[m]: today, i believe i will work on the spindle brake settings in my VFD. still takes about 15 - 20 seconds for the spindle to stop. that will make for some long tool change cycles.
04:13 AM CaptHindsight[m]: the kinetic energy has to go somewhere or be converted
04:14 AM travis_farmer[m]: i have a brake resistor connected
04:14 AM CaptHindsight[m]: what did you end up using for a braking resistor?
04:15 AM CaptHindsight[m]: lamps are always fun since you get a nice glow when braking
04:15 AM travis_farmer[m]: it is a 180 ohm (i think) 500w
04:16 AM CaptHindsight[m]: https://www.electronics-tutorials.ws/wp-content/uploads/2018/05/dccircuits-dcp4.gif
04:18 AM * travis_farmer[m] uploaded an image: (335KiB) < https://libera.ems.host/_matrix/media/v3/download/matrix.org/niXvQfQPcICuycHTqMiFTXYK/20210723_160930.jpg >
04:18 AM travis_farmer[m]: here is the resistor, with my pendant stuck to it
04:18 AM travis_farmer[m]: it is a resistor made to be a brake resistor
04:19 AM CaptHindsight[m]: 150 ohm
04:19 AM CaptHindsight[m]: 1.66A
04:19 AM travis_farmer[m]: i guessed close ;-)
04:20 AM CaptHindsight[m]: how many volts is this motor?
04:20 AM travis_farmer[m]: 220
04:20 AM CaptHindsight[m]: 150 ohms is not very low
04:21 AM travis_farmer[m]: i have a 600w resistor, but the value is far too low for the VFD, like just under an ohm, according to my DMM
04:22 AM travis_farmer[m]: vfd says not below 50ohm
04:23 AM CaptHindsight[m]: how many HP motor?
04:24 AM travis_farmer[m]: 4.5KW
04:24 AM travis_farmer[m]: around 6HP ?
04:25 AM CaptHindsight[m]: https://www.frizlen.com/en/service/braking-resistor-calculator/?no_cache=1
04:28 AM CaptHindsight[m]: you'd nee3d a 60 ohm 600W to get the stop time down to 5 sec with 4.17 duty cycle
04:28 AM CaptHindsight[m]: 4.17%
04:29 AM CaptHindsight[m]: can you put two 150 ohm in parallel?
04:29 AM travis_farmer[m]: my current resistor is two resistors in series
04:30 AM CaptHindsight[m]: tw0 75 ohm?
04:30 AM CaptHindsight[m]: two
04:30 AM travis_farmer[m]: haven't tested actual values, but i would say so
04:31 AM CaptHindsight[m]: did you try just one?
04:32 AM travis_farmer[m]: not yet, but i could when i head out to my shop today
04:33 AM CaptHindsight[m]: 75 ohm 500w should bring it down to a 5 sec stop
04:34 AM travis_farmer[m]: cool :-)
04:34 AM travis_farmer[m]: though the resistor may not be cool... :-)
04:37 AM Tom_L: morning
04:56 AM JT-Cave: morning
07:19 AM JT-Cave: finally found the wire colors for the panasonic interface cable that only has 50 wires in it
07:26 AM Tom_L: 50! that would be an important find
07:26 AM JT-Cave: yup
07:26 AM Tom_L: for what panasonic device?
07:26 AM Tom_L: plc? or do they make those
07:29 AM JT-Cave: they make plc's this is a minas a4 servo drive
07:34 AM Tom_L: i posted my orient hal config if you might see something i am missing: http://tom-itx.no-ip.biz:81/~webpage/cnc/configs/NEW_MILL_ORIENT/new_mill.hal
07:36 AM Tom_L: Andy's diagram: http://tom-itx.no-ip.biz:81/~webpage/cnc/configs/NEW_MILL_ORIENT/orient.jpg
07:38 AM Tom_L: the remap works, M19 doesn't start the spindle
07:39 AM Tom_L: even after i forced the initial index pulse
07:39 AM Tom_L: sync works
07:42 AM JT-Cave: looks cornfusing
07:42 AM Tom_L: it's mostly there and working but that one pesky step
07:44 AM Tom_L: https://forum.linuxcnc.org/10-advanced-configuration/42792-m19-and-spindle-index-enable-issues
07:44 AM Tom_L: i'm going to try that later today
07:46 AM JT-Cave: I don't see addf hm2_[HOSTMOT2](BOARD).0.write servo-thread
07:47 AM travis_farmer[m]: it is further down
07:48 AM Tom_L: i haven't finished cleaning that file up yet
07:48 AM Tom_L: i'll move it closer to the top
07:49 AM Tom_L: err wait.. maybe i was informed to make that the last one... something makes me think that
07:49 AM JT-Cave: # THREADS
07:49 AM JT-Cave: addf hm2_7i92.0.read servo-thread
07:49 AM JT-Cave: addf motion-command-handler servo-thread
07:49 AM JT-Cave: addf motion-controller servo-thread
07:49 AM JT-Cave: addf pid.0.do-pid-calcs servo-thread
07:49 AM JT-Cave: addf hm2_7i92.0.write servo-thread
07:49 AM JT-Cave: that's the normal order
07:52 AM Tom_L: ok those are all there and in order now
07:53 AM JT-Cave: the order you add a function is the order they are ran
07:53 AM Tom_L: refresh
07:54 AM JT-Cave: https://imagebin.ca/v/79C5MOwBQz9y
07:55 AM JT-Cave: houston I have a problem to fix
07:55 AM Tom_L: i've been trying to clean up all my configs ove the last couple days
07:55 AM JT-Cave: the 7i92T config is loading a 7i92 board...
07:55 AM Tom_L: woopsie
07:55 AM Tom_L: i was wondering what i was looking at
07:56 AM Tom_L: caffeine hasn't quite kicked in
07:56 AM * JT-Cave starts his chicken day
08:03 AM travis_farmer[m]: we recently got a counter-top ice maker... one of those that makes tube ice. everytime it drops the ice, it sounds just like plastic gears grinding and chattering. it isn't, but it sounds that way. just something to get used to, i guess. at least it is fast at making ice!
09:15 AM travis_farmer[m]: LCNC 2.9, deb11, qtdragon GUI: the axis values are flickering up and down in numbers. anybody ever have that before? my first time seeing it
09:20 AM travis_farmer[m]: doesn't seem to harm opperation, just annoying
09:32 AM travis_farmer[m]: well now, that was annoying!!! when the brake kicked on on my spindle... it tripped the GFCI block i was using as a power strip, and shut down my LCNC computer instantly...
09:33 AM travis_farmer[m]: must have been a massive EMP from the brake resistor?
09:52 AM travis_farmer[m]: well, i got hungry, so i am back inside to house. no need to assist at this point. ;-)
10:08 AM unterhaus: gfci will trip on big current to neutral that doesn't match the current on the hot
10:09 AM unterhaus: not sure how to avoid that, and now 220 needs gfci sometimes
10:12 AM travis_farmer[m]: the VFD wasn't connected to the GFCI, so it had to be from an EMP, my guess
10:16 AM JT-Cave: Tom_L, https://forum.linuxcnc.org/24-hal-components/47991-orient
10:18 AM roycroft: gfci will trip on a small current leak - it doesn't have to be big
10:20 AM * travis_farmer[m] takes lunch
10:20 AM * JT-Cave picked the wrong day to work 63ยฐF and sunny today
10:29 AM roycroft: it's cool and cloudy here
10:29 AM roycroft: but it's january, so pretty normal
10:31 AM Tom_L: JT-Cave, thanks i'll check it out later today
10:32 AM Tom_L: i'm not looking to implement it, this is more for the know how test
10:37 AM JT-Shop: yup, me too
10:37 AM * JT-Shop heads to work
10:37 AM roycroft: how quaint
10:38 AM roycroft: this free vinyl cutter came with the software on a cd-rom
10:41 AM Loetmichel: let me guesss: pirated copy of coreldraw?
10:45 AM JT-Shop: hmm paypal won't let me select my cc just paypal credit or pay later...
10:46 AM * JT-Shop gives up and heads to work
10:53 AM roycroft: they do that with some vendors, jt-shop
10:53 AM roycroft: i'm not sure why, but i've run into that as well
10:54 AM roycroft: loetmichel: no, it's some vector-based stuff that only runs on windows, and is tailored for vinyl cutters
10:54 AM roycroft: i'm not sure i need it
10:54 AM roycroft: inkscape is supposed to work with this cutter
10:54 AM roycroft: and it's not really a free vinyl cutter
10:55 AM roycroft: it was missing a thumb nut, and i'll need to get one before it will work properly
10:55 AM roycroft: so it's actually a $3 vinyl cutter
11:02 AM skunkworks[m]: https://www.youtube.com/watch?v=rvcJdHnWXHU
11:24 AM Tom_L: been busy i see
11:25 AM Loetmichel: roycroft: i was just guessing because thats what the 40W laser cutter came with. Pirated Corel draw with laser plugin
11:25 AM Loetmichel: also in CD
11:25 AM Loetmichel: or rather DVD
11:28 AM Rowow5457[m]: Hello I'm very puzzled on a weird problem. I moved my PC and rewired my breakout board and now the steppers don't work... Except if I use my lathe linuxcnc software it works. I triple checked everything and all the settings in the stepper/driver/pinout is the same
11:28 AM Rowow5457[m]: I have screenshots to show if it helps. But I'm absolutely confused why the software was working fine last week. Should I try running a new configuration from scratch?
11:28 AM Tom_L: not if the previous one was working
11:29 AM Tom_L: it would be more trouble to start over
11:29 AM Tom_L: open the lathe and mill hal side by side and compare the differences
11:29 AM Tom_L: you will find something
11:31 AM Rab: Rowow5457[m], LinuxCNC thinks the machine is turned on and out of estop, and runs gcode, but there's no motion?
11:32 AM Rab: Or is it hanging up on one of those steps?
11:33 AM Rowow5457[m]: I'm simply trying to move the stepper motors
11:33 AM Rowow5457[m]: They enable/disable (I see and hear the motors turning on and off) when I click the unlock button
11:33 AM Rowow5457[m]: But when I try to jog it doesn't move
11:34 AM Rowow5457[m]: It jogs fine on my lathe software but the mill software it doesn't jog
11:35 AM Rowow5457[m]: And it was working a week ago before I moved
11:35 AM Rowow5457[m]: My only guess is the file got corrupted somehow??
11:35 AM Rowow5457[m]: I'll simply make a new configuration and see what happens
11:40 AM Rowow5457[m]: Just did a brand new configuration and still same issue...
11:51 AM Tom_L: check wiring. you did move it
11:54 AM unterhaus: I was just troubleshooting networking on my win 10 computer and found it's running candy crush
11:55 AM Tom_L: who was winning?
11:58 AM Rowow5457[m]: I rechecked the wiring many times
11:58 AM Rowow5457[m]: But it works on my lathe software fine
11:58 AM Rowow5457[m]: Just the plasma cutter configuration doesn't jog
11:59 AM Tom_L: take a break, go have a beer, then come back to it
12:00 PM Rowow5457[m]: That's what I've been doing the past 3 days lol
12:00 PM Rowow5457[m]: ๐
12:00 PM Tom_L: drink more
12:00 PM Rowow5457[m]: I'm getting closer
12:00 PM Rowow5457[m]: Maybe ur right
12:01 PM Tom_L: i don't get paid to be wrong
12:01 PM Tom_L: but then again... i don't get paid
12:10 PM skunkworks[m]: so - when you say 'lathe software' do you mean a lathe configuration in linuxcnc?
12:11 PM Rowow5457[m]: Yes
12:11 PM Rowow5457[m]: Sorry not sure what to call it
12:15 PM * Rowow5457[m] uploaded an image: (1952KiB) < https://libera.ems.host/_matrix/media/v3/download/jauriarts.org/jTSupADycqQuIysUPMMJkUcZ/PXL_20230117_180130592.jpg >
12:15 PM Rowow5457[m]: the issue is in here
12:15 PM Rowow5457[m]: I tried changing everything I could think of one by one and when I updated the steps on the axis it stopped working
12:16 PM Rowow5457[m]: The one on the left works fine
12:16 PM Rowow5457[m]: The one on the right doesn't
12:18 PM Rowow5457[m]: .... Found the mistake I'm very dumb
12:18 PM Rowow5457[m]: I accidentally was flipping around micro stepping switches on the driver
12:18 PM Rowow5457[m]: It works it's just so slow I couldn't tell it was moving haha
12:18 PM Rowow5457[m]: Thanks everyone who helped sorry about this ๐
12:19 PM Rowow5457[m]: * .... Found the mistake I'm very dumb
12:19 PM Rowow5457[m]: I accidentally was flipping around micro stepping switches on the driver a while ago
12:19 PM Rowow5457[m]: It works it's just so slow I couldn't tell it was moving haha
12:19 PM Tom_L: carry on
12:22 PM skunkworks[m]: glad I could help.
12:45 PM unterhaus: roycroft: Lee Valley is buying Hock tools
01:03 PM roycroft: yes, i just got the email
01:04 PM roycroft: that's fine
01:04 PM roycroft: ron's been doing it since the '80s
01:04 PM roycroft: he deserves a retirement
01:04 PM roycroft: and i trust lee valley to carry on the tradition
01:04 PM roycroft: he could not have found a better company to sell to
01:05 PM roycroft: maybe next time i'm in fort bragg he'll have time to have a couple beers with me, instead of one and dash back to the shop
01:06 PM * travis_farmer[m] uploaded an image: (138KiB) < https://libera.ems.host/_matrix/media/v3/download/matrix.org/NlKTDslJOHYEfolBfUTXBDPz/323630155_397270352605856_5774572968094062138_n.jpg >
01:06 PM travis_farmer[m]: found JT's next project
01:20 PM travis_farmer[m]: Hmmm, i soldered up a prototype board to use an I2C ADS1115 analog to digital converter with LinuxCNC... now i am unsure i want to connect much to it, as there is no optoisolation to the Mesa board... i wanted a way to read 0-10V in, but i don't know if i can trust a direct signal from my VFD (through a 15Kohm over 10Kohm voltage divider)...
01:22 PM travis_farmer[m]: now i am unsure what to do with it, other than admire the booger soldering job ;-)
01:25 PM rmu: travis_farmer[m]: oyu could use a mesa thcad
01:26 PM zephyr9900: If the BW is not too high I think a diff amp input and the right amount of filtering should work
01:26 PM travis_farmer[m]: i have a THCAD-10, but i thought the ADC would be better somehow ;-)
01:29 PM CloudEvil: travis_farmer[m]: Adding a large robust diode clamp in front, and sizeing the resistors so they can take 220V continuously would be another option
01:30 PM travis_farmer[m]: that sounds a little scary...
01:31 PM rmu: travis_farmer[m]: use a raspberry pi to read out the i2c, connect rpi via ethernet, ethernet is isolated
01:31 PM travis_farmer[m]: though, if i can figure out the thermistor hal componant, and the figures for the one in my spindle, could read spindle temp...
01:31 PM CloudEvil: This is for fault tollerance, not normal operating coditions
01:32 PM rmu: thermistor in the spindle shouldn't potential free
01:32 PM rmu: should be, sorry
01:33 PM travis_farmer[m]: right, so if i can find the correct connector pins, i can use that thermistor :-)
01:35 PM travis_farmer[m]: i just have to cut the ties to the onboard voltage divider, and read in the thermistor with a correctly sized resistor for it :-)
01:37 PM rmu: did you fix your rs485 issues?
01:37 PM rmu: i'm curious what the issue was...
01:38 PM travis_farmer[m]: no, gave up for now. mb2hal wasn't communicating with this new VFD, so i am controlling it analog
01:42 PM travis_farmer[m]: that's why i am reading a 0-10V from the VFD, as it sends it in proportion to running speed, so i can get feedback on rpm
01:53 PM rmu: what kind of motor does that vfd drive?
01:54 PM travis_farmer[m]: a Chinese 4.5KW ATC spindle
01:58 PM * travis_farmer[m] heads out to shop
02:04 PM zephyr9900: rmu and travis_farmer[m] I think they say asynchronous motor so I think that is an induction motor. I wonder how accurate the drive will be able to estimate the speed?
02:04 PM skunkworks[m]: tom_l: https://bbs.homeshopmachinist.net/forum/general/2032600-anyone-within-a-few-hours-of-wichita-kansas
02:07 PM rmu: that was the point of my question
02:07 PM zephyr9900: rum indeed that is what I thought
02:08 PM zephyr9900: *rmu
02:08 PM travis_farmer[m]: it is 3ph, 4 pole. it estimates the speed by the frequency it drives it at, given the number of poles
02:08 PM rmu: if the vfd is doing some primitive hz/voltage adaptation it doesn't really have any idea of the speed of the motor.
02:09 PM rmu: you said you control frequency with a 0-10V signal?
02:09 PM travis_farmer[m]: well, i have no other way to tell the motor speed...
02:09 PM travis_farmer[m]: yes
02:09 PM zephyr9900: well it can only estimate based on frequency and the expected slip of the rotor. You can estimate the same way
02:10 PM rmu: so what does the feedback say? does the VFD do some ramping of frequency?
02:10 PM rmu: in theory the vfd could estimate speed of the motor via backemf and doing fancy math, but i'm not sure how well that works sensorless with induction AC motors
02:11 PM travis_farmer[m]: yes to ramping. and the 0-10V feedback rises and fals with the spindle speed, even when decel
02:15 PM skunkworks[m]: The K&T has a 90's vintage toshiba vfd that we are controlling with 0-10v.. it works quite well
02:16 PM skunkworks[m]: I think I have to do a bit of fiddling to get the scaling right - but I am not closing the loop with the motor encoder.. It 'just works' TM
02:44 PM Tom_L: skunkworks[m], you need another lathe?
02:44 PM Tom_L: i don't have room for one
02:44 PM Tom_L: but i'd probably be the closest
02:47 PM roycroft: i'm thinking of getting a smaller lathe
02:47 PM roycroft: bigger than my original one, but smaller than my current one
02:47 PM roycroft: i'd like some real estate back
02:47 PM roycroft: but i also really like the size of my current lathe
02:48 PM Tom_L: he should say more about it
02:48 PM XXCoder: nice video skunkwork
03:02 PM roycroft: i wonder if i have my priorities wrong in life
03:03 PM roycroft: the headline news all over the country is that brian walshe has been arrested for the murder of his wife
03:03 PM Tom_L: you do but nobody else would notice
03:03 PM travis_farmer[m]: well, my ADS1115 prototype got real hot as soon as i started LCNC, and it went poof... no idea on the status of the mesa pins, but at this point i stopped caring, as nothing has worked right today, yet.
03:03 PM roycroft: the problem is, i have never heard of him, and the articles i am reading don't explain who he is
03:03 PM Tom_L: just another nobody to me
03:03 PM roycroft: i obviously am not paying attention to the right things
03:07 PM rmu: travis_farmer[m]: you might try getting a second opinion on your contraptions before powering up. could help keep the magic smoke in.
03:07 PM travis_farmer[m]: i suppose on the plus side, the better computer i setup for LCNC, is actually better. and i ordered the air lines and fittings to complete my ATC spindle install. then i can find out if the sensors in the spindle work correctly.
03:07 PM rmu: big red emergency stop that cuts power also might help in case you notice something gets hot
03:08 PM travis_farmer[m]: i have a power cut, and i used it
03:08 PM rmu: also lab power supply that can limit current
03:10 PM travis_farmer[m]: i think it was because the mesa card is configured with internal pull-ups, and the ADS1115 didn't like it
03:12 PM travis_farmer[m]: in any event, last time i try a project off the LCNC forum like that...
03:14 PM rmu: pull up usually has a high value and should not fry anything connected
03:15 PM travis_farmer[m]: well, clearly i am a moron and know nothing...
03:16 PM rmu: hmm. what post did you mean, i didn't find ADS1115 with forum search
03:17 PM XXCoder: trash train lol https://youtu.be/VhYEOG9LOIk
03:17 PM travis_farmer[m]: https://forum.linuxcnc.org/24-hal-components/29294-ads1115-hal-modul-i2c-communication
03:17 PM rmu: my search-fu needs improvement
03:20 PM Tom_L: JT-Shop, that snip of code spumco posted should help alot i just have to figure out what he's doing
03:21 PM rmu: travis_farmer[m]: are you talking i2c with/through a mesa card?
03:22 PM travis_farmer[m]: was trying, given the schematic in the post
03:24 PM rmu: hmm
03:25 PM XXCoder: man that train is overkill I think but cool
03:26 PM rmu: travis_farmer[m]: how do you talk i2c with mesa?
03:27 PM travis_farmer[m]: i used the comp file in the post. it is a sort of bit-banged i2c
03:28 PM Tom_L: JT-Shop, i think in that code, motion.digital-out-07 is set in the M6 subroutine call which then enables the tristate latch to set the spindle-index-enable
03:28 PM travis_farmer[m]: it uses 3 mesa pins to create the i2c, using the schematic
03:29 PM Tom_L: JT-Shop, but what i don't see is how that can work side by side with spindle sync which also needs that pin
03:29 PM solarwind: pcw-home you mentioned that at the time there weren't any open PCIe endpoint implementations, which is why you went with a PCI bridge. I'm guessing the IP block that Xilinx has (https://numato.com/kb/getting-started-with-pci-express-on-nereid/) doesn't count as open right?
03:30 PM rmu: i suspect doing this with bitbang with 1khz servo rate will be very slow.
03:30 PM solarwind: rmu what are you trying to do?
03:30 PM solarwind: I can probably help you with that
03:30 PM rmu: travis_farmer[m]: if you fried the ADS you probably had some short or miswiring on supply lines
03:30 PM travis_farmer[m]: could be, i will do an autopsy tomorrow
03:31 PM rmu: solarwind: i'm only retracing travis_farmer[m]'s attempt to read a voltage via bitbanged i2c and an ADS1115
03:32 PM travis_farmer[m]: 2 hours of sniffing solder fumes could have been the cause of that ;-)
03:32 PM solarwind: travis_farmer[m] why bitbang?
03:32 PM solarwind: what is the ADS1115 connected to?
03:33 PM rmu: solarwind: can you do i2c with mesa in a "high-level" fashion?
03:33 PM rmu: (that is without messing with the VHDL files)
03:33 PM travis_farmer[m]: i followed this, solarwind https://forum.linuxcnc.org/24-hal-components/29294-ads1115-hal-modul-i2c-communication
03:36 PM travis_farmer[m]: though at this point, it may be moot, as it was my only ADS1115... ;-)
03:36 PM solarwind: Ah ok
03:36 PM solarwind: What are you trying to read with that chip?
03:38 PM travis_farmer[m]: the 0-10v (via voltage divider) from my VFD, though i then thought the VFD power may be a bad idea, so i was going to read a thermistor with it
03:43 PM CaptHindsight[m]: solarwind: kintex started shipping in March of 2011
03:45 PM JT-Shop: Tom_L, which code?
03:45 PM JT-Shop: I see several replies to the orient thread
03:47 PM Tom_L: the code spumco posted
03:47 PM Tom_L: i gave up on the german ones
03:49 PM Tom_L: i glanced at it fairly quick but tristate holds the preset value (1) until a request is sent then it is fed to the spindle-index-enable
03:50 PM * travis_farmer[m] wonders how much money he has wasted due to his own idiocy...
03:50 PM Tom_L: then i think (not provided yet) a digital out is set in the subroutine for M6 remap
03:50 PM Tom_L: which then enables the tristate
03:59 PM solarwind: CaptHindsight[m] that guide applies to the Artix series too
04:00 PM CaptHindsight[m]: solarwind: who can afford that stuff?
04:00 PM solarwind: CaptHindsight[m] it's < $200
04:00 PM CaptHindsight[m]: in 2006?
04:00 PM solarwind: Now
04:01 PM solarwind: I just bought a whole dev board for $150 https://rhsresearch.com/products/nitefury-xilinx-artix-fpga-kit-in-nvme-ssd-form-factor-2280-key-m
04:01 PM CaptHindsight[m]: yes I know but he designed thos boards years ago when you were in jr high :)
04:02 PM solarwind: I don't think _that_ many years ago
04:02 PM CaptHindsight[m]: and up until the pandemic and supply shortages the design worked out pretty well
04:02 PM * travis_farmer[m] thinks the whole ATC spindle is turning into a nightmare purchase, and is feeling quite defeated...
04:02 PM solarwind: I know, I'm not saying anything is wrong with it
04:03 PM solarwind: I'm just investigating the possibility of native PCIe for low latency, also for my own purposes
04:03 PM CaptHindsight[m]: wires wires and more wires where does it end?
04:04 PM solarwind: That board has 4 LVDS pairs and 4 GPIO directly from the FPGA, so it's easy to interface to another cheaper FPGA for multiplexing data
04:04 PM rmu: travis_farmer[m]: heads up
04:04 PM CaptHindsight[m]: FPGA VHDL designers are getting ~$200K/yr around here
04:04 PM rmu: head up
04:05 PM rmu: you will get it sorted eventually
04:05 PM solarwind: I like Verilog
04:06 PM CaptHindsight[m]: Verilog FPGA verification engineers are getting similar
04:06 PM JT-Shop: travis_farmer[m], can you make the spindle run manually?
04:07 PM solarwind: I'm getting a little less than that for about 2 hours of work per day haha
04:07 PM travis_farmer[m]: yes, but i can't yet even get a tool into it. i need to wait for yet more parts to arrive
04:07 PM solarwind: I got an offer for a lot more, but that'll involve doing a lot more work so I passed on that offer
04:07 PM JT-Shop: pneumatic parts?
04:07 PM travis_farmer[m]: yes
04:09 PM JT-Shop: as soon as you can load a tool start making parts and worry about the control later
04:09 PM CaptHindsight[m]: solarwind: yeah time is valuable
04:09 PM solarwind: Fully remote, super easy work
04:10 PM CaptHindsight[m]: solarwind: engineering stuff?
04:10 PM travis_farmer[m]: maybe you're right, it just seems so daunting. more of a challenge than i was expecting.
04:11 PM solarwind: CaptHindsight[m] even easier, software engineering
04:11 PM solarwind: in Ruby LOL
04:11 PM solarwind: I can't believe I'm getting paid for this shit
04:12 PM CaptHindsight[m]: count your blessings
04:12 PM CaptHindsight[m]: and don't tellanyone
04:12 PM solarwind: Why?
04:12 PM CaptHindsight[m]: job stealers
04:13 PM solarwind: they can't steal my job
04:13 PM solarwind: I'm overqualified for it
04:17 PM roycroft: they took er jerbs!
04:18 PM roycroft: https://www.youtube.com/watch?v=N-kgb1QtSnU
04:35 PM JT-Shop: geez placing an order with hartville hardware is a pia
04:37 PM XXCoder: oh boy lol
04:37 PM JT-Shop: https://www.backyardchickens.com/threads/calling-any-one-from-missouri.73271/page-1620#post-26461775
04:37 PM JT-Shop: damn that guy is ugly
04:38 PM Tom_L: yeah but he makes pretty bowls
04:38 PM XXCoder: awesome bowl
04:39 PM XXCoder: is it completely sealed or what? after all its for popcorn which would have salts and butter or whatever in it
04:44 PM JT-Shop: it has 2 coats of Tried & True Varnish Oil and buffed between each coat on the lathe
04:45 PM travis_farmer[m]: after i blocked all the SPAM bots from trying to join my forum... i have realized that those were the only viewers of my forum... ;-)
04:50 PM XXCoder: jt so how would you clean it after use?
04:50 PM XXCoder: thats what im curious about
05:01 PM JT-Woodshop: wash it out I assume
05:05 PM XXCoder: interesting. well some coatings dont like soap and water so I wondered about it :)
05:06 PM Tom_L: not dishwasher safe
05:06 PM JT-Shop: actually roycroft would know
05:07 PM JT-Shop: heh
05:15 PM Tom_L: JT-Shop, whole pile of files now
05:15 PM JT-Shop: lol
05:15 PM JT-Shop: at least I got some feedback
05:15 PM Tom_L: yeah, now just to weed thru it
05:16 PM Tom_L: i'm changing some of my net names to make it easier to follow
05:16 PM JT-Shop: hens are wandering inside now
05:16 PM JT-Shop: cool
05:16 PM Tom_L: i'm eating one of their cousins
05:17 PM JT-Shop: they don't care so long as it's not stealing their treats
05:17 PM _unreal_: ok just mounted My heatsink finally to my OPI5
05:17 PM _unreal_: working on photos etc...
05:17 PM travis_farmer[m]: same here, KFC for supper ;-)
05:18 PM * travis_farmer[m] signs off for tonight, in the hope tomorrow is a better day...
05:19 PM Tom_L: don't get your hopes up
05:19 PM roycroft: what would i know?
05:19 PM Tom_L: if that finish is dishwasher safe
05:19 PM Tom_L: on jt's bowl
05:19 PM * roycroft doesn't know much, so is interested in what folks think he does know
05:20 PM roycroft: oh, the buffed out tried & true
05:20 PM roycroft: i would say no
05:20 PM JT-Shop: how to wash a bowl treated with T&T
05:20 PM roycroft: but i'm not sure i woud put anything made of wood in a dishwasher
05:20 PM Tom_L: i'd guess too many hard chemicals in dishwasher soap
05:20 PM roycroft: you wash that bowl with soap and water
05:20 PM JT-Shop: well I would never put the bowl in the dishwasher
05:20 PM roycroft: washing up liquid, as the brits would call it
05:20 PM JT-Shop: wash by hand
05:20 PM roycroft: first of all, what are you going to put in it?
05:21 PM Tom_L: just a passing thought
05:21 PM roycroft: if it's just popcorn, a wipe with a damp rag is probably enough
05:23 PM JT-Shop: my wife may just display them dunnno
05:23 PM JT-Shop: but yeah popcorn bowls is the idea
05:24 PM Tom_L: be sure to engrave your name on the bottom for future generations
05:25 PM JT-Shop: Tom_L, the local dealer was being a bit evasive, my buddy from Revere called his buddy in the next town over who is the sales manager and he will let me know in a couple of weeks if they have an allotment for one
05:25 PM JT-Shop: the one I'm making for my nephew's wedding will be engraved on the bottom
05:25 PM Tom_L: i thought you did that
05:26 PM JT-Shop: I did a rfq at the local dealer but that was not going anywhere
05:26 PM Tom_L: and i didn't quite follow about the dealer...
05:26 PM Tom_L: for what?
05:26 PM JT-Shop: C8
05:26 PM Tom_L: OH
05:27 PM Tom_L: like you really need that
05:27 PM JT-Shop: I don't need it...
05:27 PM Tom_L: find a viper for a test drive...
05:27 PM Tom_L: that'll wake ya up a bit
05:27 PM JT-Shop: 495hp is enough for me
05:29 PM JT-Shop: I usually drive like an old lady...
05:29 PM Tom_L: you mean the one that is late for church?
05:29 PM JT-Shop: only when the wife is not in the car lol
05:31 PM JT-Shop: time to wander inside and tuck the hens in and read them a bed time story
05:54 PM roycroft: my first vw bus was 35hp
05:54 PM roycroft: putt putt
05:55 PM roycroft: 0-60 in less than an hour, as long as i was going downhill
05:55 PM XXCoder: roycroft: so basically dont put in dishwash water, but use rag or something wipe with soapy water then just water and leave to dry?
05:55 PM roycroft: that's what i would do
05:55 PM roycroft: but that said
05:56 PM roycroft: i have a cutting board that fits over one side of my sink
05:56 PM roycroft: it had gotten rather worn, so a few years ago i ran it through the thicknesser to make the top flat again
05:56 PM roycroft: and then i sanded it and coated it with three coats of tried & true varnish oil
05:57 PM roycroft: it still repels water nicely, even after several years
05:57 PM roycroft: and i rins it with the facuet at least a couple times/day
05:57 PM XXCoder: nice
06:08 PM Apfelwurm[m]: Short question: if i wanted to build a custom bitfile for the mesa 7i76S, would i have to use the efinity software from efinix to do so?
06:10 PM Tom_L: yes
06:13 PM Apfelwurm[m]: Thanks, thats sad, so i would need a dev kit for that, which i dont need ๐
06:14 PM Tom_L: yup
06:14 PM andypugh: Hang on, the 7i76S doesnโt use bitfiles.
06:14 PM Tom_L: bin
06:15 PM andypugh: The 7i76E does, but the others onl have smart-serial firmware onboard.
06:15 PM Tom_L: same idea just .bin instead of .bit
06:16 PM andypugh: I am trying to work out what a custom 7i76 firmware could do.
06:16 PM Tom_L: i see about 13 pre made ones for it
06:16 PM Apfelwurm[m]: Nvm, thats wat i meant
06:16 PM Tom_L: probably mostly for the plugin boards
06:17 PM Tom_L: Apfelwurm[m], do you have jt's config tool?
06:17 PM _unreal_: FIRST opi5 in the world with a frame mounted heatsink
06:17 PM _unreal_: https://github.com/berin-aquaquad/orange-pi-5
06:17 PM _unreal_: >:) its good to be first
06:18 PM Tom_L: Apfelwurm[m], https://www.gnipsel.com/linuxcnc/mesact/index.html
06:22 PM Apfelwurm[m]: I`m looking into if i can get pkuart working on that card ๐
06:23 PM Apfelwurm[m]: Yes ๐
06:25 PM _unreal_: well My next step at this point is to start booting the OPI5
06:25 PM Tom_L: andypugh, do you know what lcnc version started allowing # comments at the end of a line of code?
06:26 PM andypugh: No, sorry, I donโt.
06:26 PM andypugh: You mean G-code?
06:26 PM Tom_L: no, hal etc
06:26 PM XXCoder: wonder if you can search commits for that tom
06:26 PM Tom_L: ; comments gcode
06:26 PM Tom_L: or ()
06:30 PM andypugh: Some time before 2011 apparently: https://github.com/LinuxCNC/linuxcnc/commit/7a09df425e0dc3fc96b0f71c622a5a9216ec73cf
06:30 PM Tom_L: post 2.7.x?
06:30 PM Tom_L: i don't remember when 2.8 became a thing
06:31 PM andypugh: 2011 was probably 2.5
06:31 PM Tom_L: nice
06:31 PM Tom_L: guess i'll test it on the mill and see
06:33 PM andypugh: In fact, 2.4
06:33 PM andypugh: Getting Started Guide V2.4
06:33 PM andypugh: The EMC Team January 11, 2011
06:36 PM Tom_L: awesome! that's good to know
06:36 PM Tom_L: and it worked
06:37 PM Tom_L: that makes me wonder what ver i started with because i know i couldn't then
06:42 PM Apfelwurm[m]: My brain seems to be not on the peak performance point at the Moment, i ofc meant the 7i96S here
06:42 PM XXCoder: tom might be wrong comment charactor then
06:43 PM XXCoder: you was here when I come in at 2015? so dont really know lol
06:43 PM Tom_L: no he initially said 7i96s
06:43 PM XXCoder: my comment isnt related to apfel :)
06:43 PM Tom_L: i dunno, i've been floating around on irc since 90
06:44 PM XXCoder: man im so jelious of 2015 me lol so healthy and could actually work on cnc router.. but didnt. bah that ungrateful guy
06:53 PM XXCoder: andypugh: silver screws interesting
06:53 PM XXCoder: also, spoon? I guess you want to cheap used stuff for that
06:55 PM andypugh: It was a bit of a shame, it was quite a nice little spoon, bit was ยฃ5 delivered.
08:10 PM pcw-home: Apfelwurm[m]: I can make 7I96S firmware with a PKTUART if you like
08:30 PM _unreal_: pcw-home, you'll like this
08:30 PM _unreal_: https://github.com/berin-aquaquad/orange-pi-5
08:30 PM _unreal_: my current project
11:08 PM Tom_L: to use motion.digital-out-xx does it need to be initialized somehow?
11:09 PM Tom_L: i get pin motion.digital-out-07 not found
11:10 PM Tom_L: the docs say num_dio defaults to 4
11:10 PM ZincBoy[CAON][m]: By default there are only 4? dio enabled. You need to add num_dio=<number desired io> to the loadrt EMCMOT line.
11:10 PM Tom_L: i did
11:10 PM Tom_L: add one
11:10 PM Tom_L: but the one i added is number 07
11:10 PM Tom_L: is that an issue?
11:11 PM ZincBoy[CAON][m]: Example: loadrt [EMCMOT]EMCMOT servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS num_dio=16 unlock_joints_mask=[EMCMOT]UNLOCK_MASK
11:11 PM Tom_L: also do they start at 00 or 01?
11:11 PM Tom_L: yes i added that tot he emcmot line
11:11 PM Tom_L: maybe they have to be numbered in starting sequence
11:12 PM Tom_L: i'll try that tomorrow
11:12 PM ZincBoy[CAON][m]: I think they start with 0 so you would need num_dio=8 to have pin 07 enabled. Check with halshow.
11:12 PM Tom_L: ok
11:12 PM Tom_L: that's probably what is wrong
11:12 PM Tom_L: i went thru the whole config and tried to clean it up a bit
11:13 PM Tom_L: still sorting out orient
11:13 PM Tom_L: but making progress
11:15 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/configs/NEW_MILL_ORIENT/new_mill.hal
11:15 PM Tom_L: at least it will start up and home the cnc