#linuxcnc Logs

Jun 08 2021

#linuxcnc Calendar

04:05 AM Tom_L: morning
04:05 AM XXCoder: morning
05:31 AM JT-Cave: morning
05:31 AM XXCoder: morning
07:17 AM Tom_L: partly cloudy Hi 86F
07:44 AM -!- #linuxcnc mode set to +o by ChanServ
08:43 AM Vq: ESMQ 081320Z 16010KT CAVOK 22/12 Q1018
09:41 AM JT-Shop: weird now the servo is turning at a normal speed for homing then it stops and of course a following error...
10:14 AM JT-Shop: I've not heard back from the spoiled brazil boy after telling him I no longer ship to brazil it causes too much grief and trouble
11:02 AM JT-Shop: hmm I need to just have a button on the screen for forward and backward to test armature and tacho connections somehow
11:29 AM TurBoss1: hello
11:52 AM CloudEvil: Tom
11:53 AM CloudEvil: Tom_l: I allegedly also have one arriving t tomorrow.
11:59 AM cloudevil: Tom_L: I allegedly have one also arriving tomorrow before ten pm.
12:56 PM Tom_L: that was random
12:57 PM cloudevil: (the 5C cheap thingy)
12:58 PM Tom_L: oh
12:58 PM Tom_L: my brain doesn't remember stuff that long
01:10 PM aaroncnc: question about using linux cnc to make a pwm signal with no base thread. what are the limits?
01:11 PM aaroncnc: just using the servo thread for pwm and setting the freq to 400
01:30 PM JT-Shop: anyone know how to jog before homing?
01:36 PM aaroncnc: ini setting
01:36 PM aaroncnc: NO_FORCE_HOMING = 1
01:36 PM aaroncnc: i put it in [TRAJ]
01:37 PM JT-Shop: still won't jog until I home all the axes
01:39 PM aaroncnc: @JT-Shop, hmm under each joint HOME_IGNORE_LIMITS = YES
01:40 PM Tom_L: yeah that should work. i can jog before i home though. dunno what i have that set to
01:41 PM Tom_L: yeah i have that set to YES so maybe that's why
01:42 PM Tom_L: 1 per axis i may add
01:45 PM JT-Shop: that setting is just for the limit switch AFAIK
01:45 PM JT-Shop: and I would not want that for sure as I home to limit switches
01:48 PM JT-Shop: anyway I just commented out all the home vel lines so it homes all without moving
01:48 PM JT-Shop: down to the servo moves a bit then the drive faults out
01:48 PM aaroncnc: @JT-Shop, that weird as with those 2 settings my machine still homes to them and can jog without homing.
01:50 PM JT-Shop: that is weird
01:51 PM JT-Shop: hmm wait you have to have that if you share the home and limit switch
01:52 PM JT-Shop: When you use the limit switch as a home switch and the limit switch this should be set to YES
01:53 PM aaroncnc: @JT-Shop, that makes sense. i under stand having max travel limit switches but why have both home and min limits? do some people make their machine home in the center of travel? so is that the reason hey would be separated?
01:58 PM JT-Shop: yep
02:10 PM JT-Shop: the x axis drive is faulting out, that's why it stops turning
02:35 PM Joe_Hildreth: Hello all.
02:36 PM Joe_Hildreth: I am back with some newbie questions. I just received the mesa 6i25 and 7i76. And I have a question about the configurations.
02:37 PM CaptHindsight[m]: @joe just ask, people are here and gone all the time :)
02:38 PM Joe_Hildreth: As I understand it, there are two different programs that you can use to write the configuration to the 6i26. The DOS application called NMFLASH and the Windows / Linux mesaflash
02:39 PM JT-Shop: dunno about windblows but both are called mesaflash
02:39 PM Joe_Hildreth: Also mentioned are a number of config files (.pin). Now, I see that the mesaflash utility is installed with LCNC 2.8. But when I look for the fimware files I am not finding them
02:39 PM JT-Shop: you have to download them... sec I'll get the link
02:39 PM Joe_Hildreth: Are the with LCNC? Is there a place to download them?
02:39 PM JT-Shop: mesa
02:40 PM Joe_Hildreth: Thanks JT
02:40 PM JT-Shop: http://www.mesanet.com/software/parallel/5i25.zip
02:40 PM JT-Shop: 5i25 and 6i25 use the same bit files
02:41 PM JT-Shop: mesaflash --device 6i25 --readhmid
02:41 PM JT-Shop: that will read the card
02:42 PM JT-Shop: sudo mesaflash --device 6i25 --write somebitfile.bit
02:42 PM JT-Shop: that will write the bit file
02:42 PM Joe_Hildreth: OK, another question. Seems like you can run the 6i25 in either 6i25 or 5i25 mode. Change the bus clock, but is there any real difference between them. Any advantage of using the card in 6i25 mode?>
02:42 PM JT-Shop: then either power cycle or mesaflash --device 6i25 --reload
02:43 PM Joe_Hildreth: Thanks for the help John.
02:43 PM JT-Shop: not sure what your talking about AFAIK the cards are the same except for the pci/pcie part
02:44 PM Joe_Hildreth: You know how I am, would like to cover some of this stuff in a video but want to make sure I have it correct in my head.
02:44 PM JT-Shop: oh and make sure you open the terminal in the same place as the bit files
02:45 PM Joe_Hildreth: I downloaded the files. In the manual ...
02:45 PM Joe_Hildreth: brb
02:46 PM Joe_Hildreth: Page 8 - The 6I25 can be completely software compatible with the 5I25 if 5I25 bitfiles are
02:46 PM Joe_Hildreth: loaded in the 6I25's EEPROM, and its PCI clock is set for 33 MHz. This is the current
02:46 PM Joe_Hildreth: default setup of 6I25 cards. Configured this way, the 6I25 will report itself as a 5I25 and
02:46 PM Joe_Hildreth: will be completely compatible with 5I25 software. These is a small speed advantage and
02:46 PM Joe_Hildreth: some additional 6I25 features available if the card is runs as a native 6I25. To do this, a
02:46 PM Joe_Hildreth: 6I25 bitfile must be loaded in the 6I25's EEPROM, and the local PCI clock set to 66MHz.
02:47 PM Joe_Hildreth: Was wondering what additional features are. Or should we just look at the card as a PCIe version of the 5i25?
02:47 PM JT-Shop: new to me lol
02:48 PM JT-Shop: did you get any 6i25 bit files?
02:48 PM Joe_Hildreth: I dunno let me look at the archive
02:48 PM JT-Shop: I don't see any 6i25 bit files at mesa
02:49 PM Joe_Hildreth: No, they all look to be the 5i25 files.
02:49 PM Joe_Hildreth: You know how I am, I overthink crap. HAHA
02:52 PM Joe_Hildreth: So at least for now, it looks like the docs refer to a 6i25 bitfile, using the 66MHz bus and some unknown additional features. Who could answer that for the mentally ill that want to know?
02:53 PM Tom_L: pcw
02:54 PM JT-Shop: man, that new dehumidifier really sucks the water out of the air fast
02:58 PM Tom_L: shop?
02:59 PM Tom_L: how you gettin on with your servo tuning?
02:59 PM JT-Shop: yeah well it's just inside the garage so I don't have to listen to it
03:01 PM JT-Shop: the former Anilam tech guy has been working with me and just sent me a board setup page
03:02 PM Tom_L: oh good
04:26 PM JT-Shop: well didn't get the bp servo to work and tech guy just signed off
04:43 PM XXCoder: JT-Shop: which dehumidifier?
04:49 PM JT-Shop: pelonis 60 pint
04:49 PM JT-Shop: with pump
04:49 PM JT-Shop: PAD60P1AGR
04:50 PM JT-Shop: https://www.pelonis.com/home/dehumidifiers/product/PAD60C1AGR
04:50 PM JT-Shop: this one goes to 35% the one I have in the big shop only goes down to 45%
04:54 PM Spida_ is now known as Spida
04:57 PM XXCoder: thanks
05:22 PM Tom_L: looks like menards sells them
05:32 PM JT-Shop: yep, 11% off the inflated price
05:35 PM XXCoder: gonna love that inflate price then sale
05:42 PM Tom_L: 11% in store credit
05:43 PM JT-Shop: yep, works for me
05:43 PM JT-Shop: I usually have one in my pocket and use it for personal stuff
05:46 PM JT-Shop: I put 12v on the servo armature wires and it's spinning away...
05:46 PM Tom_L: that's a good sign
05:47 PM Tom_L: maybe this newer servo requires different amp parameters
05:47 PM JT-Shop: dunno why the drive don't like the tacho at least I assume that's the issue
05:47 PM JT-Shop: parameters?
05:47 PM Tom_L: i dunno... i assume they have a setup like vfd
05:48 PM Tom_L: maybe not
05:48 PM JT-Shop: there are 5 pots on the drive and nothing else
05:48 PM Tom_L: oh
05:48 PM JT-Shop: think a card with a few pots and some connectors and a test port
05:49 PM JT-Shop: the replacement servo is 9.56v per 1000 rpm and the old one is 9.5v per 1000
05:50 PM JT-Shop: I asked Jerry but he never answered my question
05:51 PM Tom_L: not that much difference but it does make a difference
05:52 PM Tom_L: when i was setting up the vfd the first thing i did was measure the max V out from the mesa card which was something less than 10v
05:52 PM Tom_L: then found what it took for the midpoint rpm and kept after it until they matched
05:53 PM Tom_L: no pid just the analog out
05:54 PM Tom_L: does that driver take pwm, analog or what?
05:54 PM JT-Shop: it's weird the servo only moves a 1/4 turn or so then the drive faults
05:54 PM JT-Shop: +- 10v
05:54 PM Tom_L: it's almost like a wire is swapped
05:54 PM JT-Shop: the replacement servo looks like it was never used
05:55 PM Tom_L: or the encoder isn't aligned with the motor phases if they're supposed to be
05:55 PM JT-Shop: I tried reversing direction with scale and it made no difference
05:55 PM JT-Shop: the encoder doesn't go to the drive
05:55 PM Tom_L: hmm
05:55 PM JT-Shop: that's what I said
05:56 PM Tom_L: put a v meter on each leg and see what happens?
05:56 PM Tom_L: dunno what that would show but it might show something
05:56 PM Tom_L: 3 phase motor?
05:57 PM Tom_L: the drive should be ok since all you were doing was changing bearings
05:58 PM JT-Shop: it's a dc servo
05:58 PM Tom_L: i know next to nothing about servos
05:58 PM JT-Shop: I've swapped the servo from drive to drive and the issue is with the replacement servo
05:58 PM Tom_L: it was kindof enlightening tuning that vfd
05:59 PM Tom_L: huh
05:59 PM Tom_L: just 2 wire to the motor?
06:00 PM JT-Shop: yeah
06:00 PM JT-Shop: 2 wires to the armature and 2 wires back from the tachogenerator
06:00 PM JT-Shop: I prob need to see what the voltage back is
06:01 PM Tom_L: no resistance to the frame?
06:01 PM JT-Shop: from?
06:01 PM Tom_L: either wire
06:01 PM Tom_L: oh
06:01 PM JT-Shop: power or tacho?
06:01 PM Tom_L: either one
06:01 PM JT-Shop: both should be isolated but I can test for short
06:02 PM Tom_L: this shouldn't matter on that but it might.. are the encoder outputs open collector?
06:02 PM Tom_L: maybe they changed encoder type?
06:02 PM Tom_L: if it's not getting a good solid wave that would do it
06:02 PM JT-Shop: I need to make up a couple of wires to connect the mil spec connector for tacho
06:02 PM Tom_L: got a scope?
06:03 PM Tom_L: i had to put pullups on the encoder i'm using because it's open collector
06:03 PM JT-Shop: the drive cares less about the encoder, it only cares that the tacho is sending back the correct voltage for commanded speed
06:03 PM Tom_L: you'd think they would have that figured out on a replacement part
06:03 PM Tom_L: so it's a voltage not encoder pulses?
06:04 PM JT-Shop: encoder goes straight to emc
06:04 PM Tom_L: i figured that out
06:04 PM Tom_L: is it a pulse or a voltage?
06:04 PM JT-Shop: just a voltage
06:04 PM Tom_L: or a phase difference between the 2 wires
06:04 PM JT-Shop: the tachogenerator is a voltage
06:05 PM Tom_L: yeah i'm learing as i go here :)
06:05 PM JT-Shop: no phases all dc
06:05 PM JT-Shop: dc in to armature and dc out from the tacho
06:05 PM Tom_L: what's the max voltage from the tachogenerator to the mesa card?
06:06 PM JT-Shop: tacho goes to the drive only
06:06 PM Tom_L: so there's a tachogenerator AND an encoder?
06:06 PM JT-Shop: max should be 28.68v at 3k
06:06 PM JT-Shop: yep
06:06 PM Tom_L: both on the motor?
06:06 PM JT-Shop: yep
06:06 PM Tom_L: ok
06:07 PM Tom_L: and the tachogenerator goes back to the drive itself but the encoder goes to the mesa card?
06:07 PM JT-Shop: yep
06:07 PM JT-Shop: only 4 wires between the drive and the card
06:07 PM JT-Shop: my next test is to just put 1.5v on the velocity pins and see what happens
06:08 PM Tom_L: and the drive gets a +-10v signal from mesa
06:08 PM JT-Shop: yea
06:08 PM Tom_L: i was gonna suggest a midpoint voltage if you can come up with it
06:08 PM Tom_L: calculate what rpm it _should_ be at at a given voltage
06:08 PM JT-Shop: I just wonder if the tacho brushes need to just run a bit in case this servo has been sitting for years
06:09 PM Tom_L: and adjust the tachogenerator feedback pot until you arrive at that
06:09 PM Tom_L: maybe
06:09 PM Tom_L: let's not take it apart to clean them ehh?
06:09 PM JT-Shop: actually the manual says to adjust the tacho pot to 10 ohms
06:09 PM Tom_L: so you have a starting point
06:09 PM JT-Shop: I'm running it for a while to see
06:10 PM JT-Shop: taking the brushes off is easy, pulling the tacho armature off is not
06:10 PM Tom_L: i found the analog output range on mine and worked with those numbers not assuming a good solid 10v
06:10 PM JT-Shop: if I reverse the tacho wires it runs VERY fast lol
06:10 PM Tom_L: i bet
06:11 PM Tom_L: so it is doing some sort of feedback
06:11 PM JT-Shop: yep the drive says go this fast in this direction and if I don't get the right voltage back here is more power
06:11 PM Tom_L: is -10v reverse?
06:12 PM JT-Shop: yea
06:12 PM Tom_L: so... do you have one of those smps regulators with a pot?
06:12 PM JT-Shop: no, what is that?
06:13 PM JT-Shop: I have a lab dc power supply that can supply very precise voltage or constant current
06:13 PM JT-Shop: and yes I have a scope
06:13 PM Tom_L: there you go
06:14 PM Tom_L: use that to adjust your midpoint rpm for what the input is supposed to be
06:14 PM Tom_L: then
06:14 PM Tom_L: hook up the encoder back to mesa
06:14 PM JT-Shop: time to corral the hens and move them back to the coop
06:14 PM Tom_L: if you get 0-10v working 0- -10 will follow
06:15 PM JT-Shop: the emc side is working fine, I can put the y servo on x and it runs fine
06:15 PM Tom_L: right
06:15 PM Tom_L: you may need to adjust it a tiny bit
06:15 PM JT-Shop: the issue is between the servo and the drive :(
06:15 PM Tom_L: but hopefully you can do it on the drive itself
06:15 PM Tom_L: calculate what a given voltage should produce in rpm
06:16 PM Tom_L: what's max rpm for the motor?
06:16 PM JT-Shop: 170vdc should be 3k on the armature
06:16 PM Tom_L: i worked back from that on mine
06:16 PM Tom_L: no i mean input to the drive itself
06:16 PM Tom_L: a range between 0 and 10v
06:16 PM JT-Shop: that's +-10vdc
06:17 PM Tom_L: i know but right now we're just doing the positive side
06:17 PM JT-Shop: I can put the y servo on the x drive and it works perfect
06:17 PM Tom_L: all negative does is reverse the direction right?
06:17 PM JT-Shop: so that proves that nothing is wrong in the drive or 7i77 or emc
06:18 PM Tom_L: no but aparently the feedback pot is off a bit
06:18 PM Tom_L: that's what it sounds like but wtf do i know :)
06:18 PM JT-Shop: I can connect the x servo to any drive and I get the same result drive fault
06:19 PM JT-Shop: yea the tacho pot must be off so I'll have to play with that and try some different ohm setting
06:19 PM JT-Shop: hmmm I wonder if that servo came from a 3300m and the setup is different?
06:19 PM Tom_L: i'd get it to work at half speed with a 5v input to the drive
06:19 PM JT-Shop: it won't work at all right now
06:19 PM Tom_L: ok
06:20 PM JT-Shop: time to collect the lucky chickens and put them up
06:20 PM Tom_L: http://www.illianaindtech.com/PartsBook3-14-14/Web%20Page/Manuals/3300mk/70000381C.pdf
06:21 PM Tom_L: dunno if that might help
06:21 PM Tom_L: likely more for programming etc
06:25 PM Tom_L: http://www.illianaindtech.com/PartsBook3-14-14/Web%20Page/Manuals/3300mk/70000418C.pdf
06:25 PM Tom_L: Motion setup & test utility 3200MD 3300M 3300MK
06:25 PM Tom_L: might have something in it
06:26 PM Tom_L: Balancing Servo Amplifier Outputs
06:26 PM Tom_L: P 15
06:27 PM Tom_L: of course they're using their control but might still be helpful
06:27 PM Tom_L: using servo amp board 33000123
09:30 PM CaptHindsight[m]: just returned from another CL purchase without being killed
09:32 PM XXCoder: criagslist?
09:34 PM CaptHindsight[m]: yes, and again no murder
09:34 PM CaptHindsight[m]: me or them
09:35 PM XXCoder: i see you forgot a gun lol
09:36 PM CaptHindsight[m]: I never feel like I need a gun to go out or stay home...
09:37 PM CaptHindsight[m]: but I'm getting closer to wearing a flack vest
09:37 PM XXCoder: whats going on at your neighhood
09:37 PM CaptHindsight[m]: stupid people and police
09:38 PM CaptHindsight[m]: afraid of too much
09:38 PM Tom_L: i don't need to watch cops on tv, just open the door and peek outside
09:39 PM XXCoder: being deaf in certain cities im at risk constantly. theres police who will shoot person who dont reply when walking away
09:39 PM XXCoder: i know of few deaf people who died by that
09:40 PM CaptHindsight[m]: how dare you be deaf!
09:40 PM XXCoder: few lived, and didnt even know there was police at all.
09:40 PM XXCoder: all was just enjoying a walk and suddenly gunshot
09:41 PM CaptHindsight[m]: well, the police officer felt disrespected so shooting was the only recourse
09:41 PM XXCoder: guy who killed a deaf driver in car said "oh shit!" when he saw "hi im deaf" sign on window after shooting
09:41 PM XXCoder: hes still working now.
09:42 PM XXCoder: didnt even get vacati erm i mean "adminstive leave"
09:42 PM CaptHindsight[m]: yeah, somebody that scared or fragile should not be armed, legally
09:42 PM XXCoder: not only that, but in position of power
09:42 PM XXCoder: badg
09:42 PM XXCoder: *badge
09:42 PM CaptHindsight[m]: well many years ago we gave a bit too much power to police unions
09:42 PM CaptHindsight[m]: and the surprisingly have abused this
09:43 PM CaptHindsight[m]: the/they
09:43 PM XXCoder: pikashocked
09:43 PM CaptHindsight[m]: no fucking kidding they will abuse it
09:43 PM XXCoder: https://cdn.frankerfacez.com/emoticon/295455/4
09:43 PM CaptHindsight[m]: who was so naive to think that they could be trusted?
09:43 PM XXCoder: yeah
09:44 PM XXCoder: im glad police here is pretty good on west wa
09:44 PM CaptHindsight[m]: combine bully, arrested development and racism and this is what if you get if you don't monitor for it
09:44 PM XXCoder: fbi have been warning about it for years
09:45 PM XXCoder: couple decade really
09:47 PM CaptHindsight[m]: we require more training to become barbers and hairdressers than to be a police officer
09:47 PM XXCoder: think of this this way
09:47 PM XXCoder: mcdonald workers must always manage things and not get out of control
09:48 PM XXCoder: lest they not get fired
09:48 PM XXCoder: police and get out of control and literally kill someone
09:48 PM XXCoder: and not fired
09:48 PM XXCoder: so in this, mcdonald worker is more strictly managed than police.
09:48 PM XXCoder: and better trained
09:49 PM CaptHindsight[m]: yeah, you don't have to be a genius to see that this is out of balance
09:50 PM XXCoder: indeed
09:50 PM CaptHindsight[m]: just blind or fanatical
09:50 PM CaptHindsight[m]: https://www.cnn.com/2016/09/28/us/jobs-training-police-trnd/index.html
09:51 PM XXCoder: germany its 2 years of training if i remember right
09:52 PM CaptHindsight[m]: heh yeah i was talking to Loet about that
09:52 PM CaptHindsight[m]: watch the German show "Cops"
09:53 PM CaptHindsight[m]: professional, I thought it was satire
09:54 PM XXCoder: havent really watched tv shows for years
09:54 PM XXCoder: i rather read
09:55 PM CaptHindsight[m]: https://raidrush.net/pages/online-fernsehen/ click on 4th from left on top row, it's on now
09:55 PM CaptHindsight[m]: Sat.1
09:56 PM CaptHindsight[m]: "On Patrol"
09:57 PM XXCoder: interesting. seem to be just talk
09:57 PM XXCoder: cant tell because not captioned, and not likely would be captioned in english.
09:57 PM CaptHindsight[m]: Fox translates it as "Fuhrers Fist" :)
09:58 PM CaptHindsight[m]: yeah it streams from germany live, maybe a 1 minute delay for compression
09:58 PM CaptHindsight[m]: yeah it's mostly talk
09:59 PM XXCoder: pretty cool, id love that site if was hearing
09:59 PM CaptHindsight[m]: one had a kidnapper with a person in the trunk and no guns were drawn
09:59 PM CaptHindsight[m]: I've seen them tackle people
10:00 PM CaptHindsight[m]: the man in the blue sequin jacket was cited for wearing too bright an outfit during the day before 6pm
10:00 PM XXCoder: lol
10:01 PM CaptHindsight[m]: and this is Germany
10:01 PM CaptHindsight[m]: we fought a fucking world war over fascism
10:02 PM XXCoder: yeah and we turning into one lol
10:02 PM CaptHindsight[m]: and near half the idiots here want to try it out again
10:02 PM XXCoder: i just hope we turn around
10:02 PM XXCoder: yeah
10:02 PM XXCoder: im scared of so many voting laws that try to bend to their favor
10:04 PM CaptHindsight[m]: https://i.imgur.com/BNAFrkU.jpeg
10:04 PM XXCoder: good shirt
10:05 PM CaptHindsight[m]: they are a real threat
10:05 PM XXCoder: politicans who pander to them is
10:06 PM CaptHindsight[m]: like kids and badgers, you have to keep your eye on them
10:06 PM XXCoder: and news that constantly pump fear
10:06 PM XXCoder: like fox
10:06 PM CaptHindsight[m]: propaganda
10:06 PM XXCoder: and now newsmax
10:07 PM CaptHindsight[m]: hah, yeah, newsmax that takes no sides
10:07 PM CaptHindsight[m]: it's what we tell you so believe us or else
10:08 PM CaptHindsight[m]: back to work here
10:08 PM XXCoder: have fun
10:10 PM CaptHindsight[m]: dealing with paint cure times/windows
10:10 PM CaptHindsight[m]: recoat within 4 hours or over 4 days etc
10:11 PM CaptHindsight[m]: so you don't want to miss the window
10:11 PM XXCoder: bleh heh
10:12 PM CaptHindsight[m]: funky solvents as well
10:12 PM CaptHindsight[m]: some have a stimulant effect
10:13 PM CaptHindsight[m]: paint to late in the day and you can't sleep
10:13 PM CaptHindsight[m]: to/too
10:13 PM Tom_L: so we'll see ya at 4am?
10:48 PM CaptHindsight[m]: nah, my neighbors aren't trying to kill me at 4am
10:48 PM CaptHindsight[m]: more respectable noon to maybe 6pm types