#linuxcnc | Logs for 2016-10-20

[00:28:00] <bnz> oh man not having much joy, every time i connect my DC motor controller to the FPGA card the card is not detectable, and cuz i have rebooted too many times the wrong way my CF card is corrupt.. not happy.. have to wait while i download new image and apply EMC to it...
[00:29:55] <bnz> the stepper card works thats no problem but this motor driver card just don't want to play nice, i have checked that there are no voltages that will hurt the card and all my grounds are right and signals appear to be fine but when its connected it won't appear on the pci bus..
[00:30:10] <bnz> 30mins
[00:30:46] <bnz> 400ks i should see if i can get something better than what i have...
[02:32:50] <Deejay> moin
[04:40:31] <XXCoder> JT-i3: heh my kit come with 4 clips
[05:52:52] <jthornton> morning
[05:52:58] <XXCoder> yo jt
[05:53:11] <XXCoder> my kt come with 4 clips lol
[05:53:14] <jthornton> I need to find some clips
[05:53:15] <XXCoder> used that
[06:13:57] <XXCoder> wb JT-i3
[06:14:00] <XXCoder> jthornton:
[06:15:10] <jthornton> yo
[06:15:31] <XXCoder> https://www.thingiverse.com/thing:1701198
[06:15:34] <XXCoder> HMM
[06:17:51] <jthornton> the one I have seems to work, we need an X axis tensioner
[06:18:29] <XXCoder> unfortunately spacing its not easy
[06:18:44] <XXCoder> well maybe if theres something on top of x block
[06:19:01] <XXCoder> rather than go around and clamp on belt, theres ome sort of torsoner
[06:22:09] <jthornton> yea that's what I'm working on a tensioner on top of the X slide
[06:23:25] <XXCoder> let me know
[06:23:31] <XXCoder> I dont really like wood clip spring
[06:24:51] <jthornton> looks like the close pin spring lol
[06:45:43] <XXCoder> http://go.eliomotors.com/hs-fs/hubfs/ac_setup.jpg?width=550&name=ac_setup.jpg
[06:45:50] <XXCoder> thats AC testing setup for elio
[06:46:05] <XXCoder> room is at 110f, very high humidity
[06:46:14] <XXCoder> and "sun" at 30 degrees angle right into car
[06:47:14] <XXCoder> for cold they set room to 0f abd soaked room
[06:47:23] <XXCoder> making car very cold and used heat test
[06:52:41] <XXCoder> jthornton: what ya think heh
[06:54:01] <jthornton> how are they coming along with the elio?
[06:54:21] <XXCoder> seem to making nice progress and tests
[07:12:46] <zhivko> HEy guys!
[07:13:26] <jthornton> dang sat internet suck
[07:13:57] <zhivko> Is there any sample of linuxcnc component that would create websocket connection to certain http://... and pull value from it?
[07:18:03] <jthornton> I don't know of anything like that but you can do anything with a M1xx
[07:19:59] <jthornton> not sure if you can get a value back from the M1xx but you can set a value
[07:22:37] <rene-dev> zhivko http://linuxcnc.org/docs/html/hal/halmodule.html
[07:29:58] <zhivko> rene-dev: can python comp run in servo thread ?
[07:31:20] <rene-dev> no, but I dont think a websocket request in a servo thread is a good idea... but it is doable with rt preempt... you just have to write it in c
[07:34:00] <rene-dev> zhivko this is a simple example of a realtime comp that does networking... http://pastebin.com/rm8zgyBF
[07:41:06] <zhivko> rene-dev: many thanks this is udp example - no websocket example? I tried google... no success...
[07:47:46] <sync> zhivko: what happens if your websocket hangs for longer than your rt period?
[07:48:17] <zhivko> you are right..... I will try udp client
[07:49:02] <zhivko> SO I compile with: instcomp ./stmbl.comp ? I am getting: Error: Unrecognized file type for mode preprocess: './stmbl.comp'
[08:11:55] <zhivko> ah OK for instcomp it expects .icomp extension...
[08:36:37] <rene-dev> zhivko what exactly are you trying to do?
[09:12:43] <zhivko> just reading distance from my laser sensor
[09:12:50] <zhivko> rene-dev: just reading distance from my laser sensor
[09:13:38] <rene-dev> zhivko for z correction? what kind of sensor? does it have native ethernet? there should be a better way of getting the data
[09:14:10] <zhivko> it has native serial
[09:15:59] <zhivko> but I added esp8266 that runs webserver on top of it and communicates via serial to this laser sensor...
[09:22:38] <pink_vampire> hi
[09:23:06] <pink_vampire> I have an issue with my encoders.
[09:23:14] <pink_vampire> and I need some help
[09:24:07] <pink_vampire> Loetmichel: are you around?
[09:25:09] <archivist> ask the real question first not meta questions
[09:26:22] <JT-Shop> :)
[09:34:06] <pink_vampire> the encoders cables are too short (6ft) I need to replace them with longer cable to about 12ft, I got the shielded cable but I'm not sure how to build it, if I should use the shield wire as my black negative, or ground it? on the original cable the shielded wire is just float
[09:34:33] <pink_vampire> archivist:
[09:34:44] <pink_vampire> JT-Shop:
[09:35:35] <ToddZ> I'd suggest building the new just like the old ones.
[09:36:58] <JT-i3> shields are always grounded on one end only
[09:37:01] <ToddZ> shield should be connected to earth at one end only (usually the control end)
[09:38:42] <pink_vampire> my biggest concern is an interference between the motor cable to the encoders cable. the motors generate a-lot of noise
[09:39:34] <pink_vampire> if I open an AM radio here when the machine is running I just get noise all over
[09:39:39] <Jymmm> pink_vampire: Are the motor cables shielded?
[09:39:45] <pink_vampire> no
[09:39:55] <Jymmm> That would be a first start
[09:41:05] <Jymmm> pink_vampire: You could get some braid and put over the cables, nat as effective, but better than nothing
[09:41:13] <Jymmm> not*
[09:41:24] <pink_vampire> there is no shielding to the cable, it's just 3 wires, + - ground
[09:41:47] <ToddZ> what if you stuffed them into a flexible metal conduit?
[09:42:44] <pink_vampire> and it should be grounded?
[09:43:11] <Jymmm> pink_vampire: But ONLY on one end. dont ground both ends of the shield.
[09:43:39] <pink_vampire> the motor body is metal, and it connect to the ground
[09:44:43] <pink_vampire> and i don't have any connector on the motor.
[09:46:15] <pink_vampire> i can split the ground wire before is go in to the motor and get a piece of wire to the end of the shield.
[09:46:29] <pink_vampire> it will work?
[09:47:18] <archivist> connect shield one end only else you have a ground loop
[09:48:26] <pink_vampire> and on top of the shield i need to add isolation?
[09:53:19] <pink_vampire> archivist: Jymmm ToddZ
[09:57:18] <pink_vampire> one sec, I'm take a picture of the problem here
[10:00:35] <terkaa> hi all
[10:00:40] <pink_vampire> hi
[10:01:37] <terkaa> Anyone know why after using start from line munber. LinuxCNC goes thru all toolchanges until the tool needed for that line
[10:02:18] <JT-i3> what version?
[10:02:30] <JT-i3> what gui?
[10:02:42] <terkaa> 2.8 and gmoccapy
[10:02:45] <JT-i3> manual tool change or automatic
[10:02:53] <terkaa> auto
[10:03:03] <terkaa> tool change by M06 Tx
[10:04:11] <JT-i3> I meant you have a tool changer or you use the manual tool change window?
[10:05:57] <JT-i3> smells like a bug in master to me if you can reproduce the behavior in a sim file a bug report
[10:07:17] <Jymmm> pink_vampire: you mean insulation? Not unless you think it might short on something.
[10:07:52] <pink_vampire> one sec
[10:08:09] <terkaa> I have ATC
[10:08:25] <pink_vampire> I'm taking several pictures so you can see the issue
[10:08:55] <gregcnc> see wires?
[10:09:17] <JT-i3> surprisingly smoked salmon bits and sauerkraut is pretty good
[10:10:08] <JT-i3> terkaa: file a bug report, don't think you can reproduce that in a sim
[10:10:16] <terkaa> Ok
[10:10:22] <Jymmm> JT-i3: has to be some good sauerkraut
[10:10:50] <Jymmm> JT-i3: which is hard to find
[10:10:53] <terkaa> I have another issue with SOVR it is seen here
[10:10:53] <JT-i3> home made :)
[10:10:54] <terkaa> https://www.youtube.com/watch?v=Rcnlw9ZD9YA
[10:11:00] <JT-i3> which is easy to make
[10:11:02] <Jymmm> JT-i3: ah
[10:11:25] <terkaa> It starts bouncing if I use external switch
[10:11:34] <terkaa> With Gmoccapy slide it is ok
[10:11:36] * JT-i3 has limited bandwidth and can't watch videos during the day
[10:12:19] <Jymmm> JT-i3: I keep telling ya, you REALLY need to upgrade to a 2400 BAUD modem
[10:12:33] <JT-i3> no phone line anymore
[10:13:00] <Jymmm> JT-i3: So you have cell service, but no broadband?
[10:13:28] <JT-i3> right
[10:13:56] <Jymmm> JT-i3: Damn, I *REALLY* feel for ya
[10:14:17] <terkaa> Here is my thread at forum:https://forum.linuxcnc.org/49-basic-configuration/31706-spindle-override-with-wsum-switch-bouncing
[10:14:22] <terkaa> https://forum.linuxcnc.org/49-basic-configuration/31706-spindle-override-with-wsum-switch-bouncing
[10:14:26] <JT-i3> it's a price you have to pay to be able to pee off the deck Jymmm
[10:15:58] <Jymmm> JT-i3: hahaha, well shit man, yesterday I went out into the deep forest (it's considered wilderness area) and I think I saw a bear trying to have a pissing contests with me, he won too.
[10:17:18] <Jymmm> It's eerily quiet too, kinda creeps you out. especially if you went solo.
[10:18:53] <Jymmm> you can hear every single little twig crack and all you want to know if it's bear or mnt lion that did it.
[10:19:20] <gregcnc> and if it is?
[10:19:39] <Jymmm> gregcnc: chainsaws are not just for wood =)
[10:20:01] <gregcnc> magdump?
[10:21:00] <Jymmm> as in magazine(s)? Nah, ammo is expensive,
[10:21:18] <gregcnc> https://www.youtube.com/watch?v=L-qIJApoJiQ
[10:22:01] <Jymmm> gregcnc: https://www.youtube.com/watch?v=eDmBNp03j0Y
[10:22:10] <gregcnc> so you carry a chainsaw in the woods?
[10:22:45] <Jymmm> Since we were getting firewood, yep =)
[10:23:57] <gregcnc> ah i see how's the garage heating coming?
[10:25:30] <Jymmm> gregcnc: temperary on hold, using buddy propane heater for now, need to insulate the ceiling, and find some tubing
[10:26:06] <Jymmm> gregcnc: Since this is all an experiment, not wanting to put any money into it unless I have to.
[10:26:14] <CaptHindsight> Jymmm vs Evil Dead?
[10:26:27] <Jymmm> CaptHindsight: context?
[10:26:42] <gregcnc> Jymmm vs. teddy bears and kittens
[10:26:46] <CaptHindsight> picturing your adventures with a chainsaw
[10:28:45] <Jymmm> CaptHindsight: HAHAHA, a frind fell a tree, was pulling it out of the brush, got caught on a smaller pine tree and literally catapult him 30 feet. I just wish he had gotten it on video
[10:32:02] <Jymmm> CaptHindsight: gregcnc Oh, and if you think bear spray will save you... https://www.youtube.com/watch?v=tK609rbSBLs
[10:32:26] <Jymmm> You see cubs.... RUN LIKE HELL
[10:33:20] <gregcnc> yeha you couldn't make me watch a cubs game no matter what
[10:33:43] <Jymmm> lol
[10:36:28] <pink_vampire> pictures http://imgur.com/a/4MiVo
[10:37:09] <pink_vampire> now you can see the whole trace of the cable from the motor to the driver
[10:38:49] <pink_vampire> everything is very close to other cables, and this is why I'm not sure how to shield it
[10:39:00] <pink_vampire> archivist:
[10:39:13] <pink_vampire> Jymmm:
[10:39:20] <pink_vampire> ToddZ:
[10:39:33] <gregcnc> same way if they were far apart?
[10:40:37] <pink_vampire> so to shield it from the motor to the cable gland or to go up to the driver?
[10:40:55] <gregcnc> all the way
[10:41:20] <pink_vampire> and if I have all the wires breaded in the wire ducts it's not going to make an issue?
[10:41:53] <gregcnc> I'd just get shielded cable
[10:43:58] <Jymmm> Just simply (loosely) twisting the motor wires will help reduce emi/rfi
[10:44:18] <Jymmm> in pairs that is
[10:45:20] <pink_vampire> and I cant connect a new shielded wire to the motor because is already have about 2ft of none shielded wire
[10:45:32] <gregcnc> open motor rewire
[10:45:37] <Jymmm> pink_vampire: http://www.eetimes.com/document.asp?doc_id=1279624
[10:45:52] <Jymmm> pink_vampire: then pull new wire
[10:46:13] <pink_vampire> Jymmm: it's close to hard
[10:46:28] <pink_vampire> already try that.
[10:46:32] <Jymmm> pink_vampire: you put it in, you can replace it.
[10:47:01] <pink_vampire> I will brake the head of the screws
[10:48:09] <Jymmm> pink_vampire: Then have a set of drill bbits handy would be my suggestion
[10:49:32] <pink_vampire> I just not going to open them
[10:50:47] <pink_vampire> it's a very looong screw m5 and 7" long
[10:51:24] * Jymmm never knew that wires/cables had screws
[10:51:40] <pink_vampire> not something that you can find easy
[10:52:03] <Jymmm> Nor would buy/use.
[10:53:38] <pink_vampire> and it's not going to be a problem if I have 2 ground wires?
[11:01:57] <MacGalempsy> hi
[11:02:23] <JT-Shop> hi
[11:03:24] <Jymmm> pink_vampire: Did you read that link I gave in full?
[11:04:21] <pink_vampire> i did a sketch,
[11:07:14] <pink_vampire> http://i.imgur.com/pcDcmkS.png the green is the ground wire, the yellow is insulated braided shielding
[11:08:24] <pink_vampire> that will work? or it create a loop?
[11:10:33] <Jymmm> CaptHindsight: the results of all your help =) http://imgur.com/a/grudL
[11:11:31] <MacGalempsy> JT-Shop: how is the glass working out?
[11:11:38] <FloppyDisk525> pink, you do not want to connect the shield of the motor cable to the shield of the encoder cable
[11:12:04] <FloppyDisk525> all the noise from your noise motor will go onto the encoder cable.
[11:12:46] <CaptHindsight> Jymmm: did you run out of paint? :)
[11:13:02] <pink_vampire> so to add one more cable to the motor?
[11:13:05] <FloppyDisk525> Run the shield back for the motor cable to your ground point. Like you are for the encoder.
[11:13:29] <FloppyDisk525> Well - actually, you if you don't have the cable for the motor shield, 'just don't add it.'
[11:13:32] <MacGalempsy> Jymmm: its
[11:13:38] <MacGalempsy> looking good
[11:13:49] <FloppyDisk525> Just leave that 'extra' green wire off from the motor cable.
[11:13:55] <Jymmm> CaptHindsight: Nah, just no need to paint the inside of the wall, that was just for sealing the wood where I drilled the hole =)
[11:14:06] <FloppyDisk525> Thinking out loud, I've wired more than one stepper motor w/ out a shield in the cable and it's been fine.
[11:14:16] <FloppyDisk525> It's not the motor you're worried about, it's the encoder signals.
[11:14:34] <Jymmm> MacGalempsy: thanks, only took me a year =0
[11:14:36] <FloppyDisk525> If you can separate the distance of the encoder and motor cable (I know, not easy), that would help.
[11:14:46] <FloppyDisk525> I just jumped on, do you have a noise problem?
[11:15:13] <MacGalempsy> lol. thats how we oldies know its a quality job
[11:15:21] <pink_vampire> FloppyDisk525: something like that
[11:15:42] <pink_vampire> http://i.imgur.com/Bb03sVM.png
[11:16:09] <FloppyDisk525> That should be better.
[11:17:01] <pink_vampire> and the other end of the braided is just float
[11:17:04] <MacGalempsy> pink_vampire: is there a common bolt where all the green wires mount to the chassis?
[11:17:21] <Jymmm> MacGalempsy: Nah,I have these chrome racks rated at 3000lbs each, but the casters only rated 150lbs and got damaged in the move. I even had the racks straped together to prevent falling over. Took me forever to figure out how to fix them,
[11:17:31] <FloppyDisk525> Yes, the end w/ the devices should float...
[11:17:41] <Jymmm> MacGalempsy: Then winter (snow) came, blah blah blah
[11:18:12] <pink_vampire> yes, I have ground bus terminal blocks
[11:18:32] <MacGalempsy> i think today is a good day to install the 4th axis and pid tune it
[11:18:45] <pink_vampire> it's go from the bus to the earth ground
[11:19:11] <MacGalempsy> ah ok
[11:19:27] <JT-Shop> got to get some clips for it, but I verified that the aluminum moves as it heats and cools
[11:19:57] <Jymmm> JT-Shop: That's physics at work =)
[11:20:52] <pink_vampire> this is the earth ground bus http://i.imgur.com/FDZF9mL.png
[11:21:25] <MacGalempsy> nice. pv
[11:21:35] <pink_vampire> pv?
[11:22:06] <MacGalempsy> i dont have quick name type on this phone
[11:22:42] <pink_vampire> I see
[11:22:45] <Jymmm> pv == pink_vampire
[11:22:46] <MacGalempsy> pv abbr. for pink_vampire
[11:22:56] <pink_vampire> I got it..
[11:22:58] <pink_vampire> lol
[11:23:30] <pink_vampire> i thought photo voltaic
[11:24:05] <MacGalempsy> JT-Shop: no binder paper clips laying around? i had to raid a filing cabinet before
[11:24:56] <JT-Shop> I have a hand full somewhere lol
[11:24:58] <pink_vampire> I'm going to try to crimp the new (crazy expensive wire)
[11:27:15] <Jymmm> dont forget to use shield bearings
[11:29:48] <pink_vampire> shield bearings?
[11:39:28] <MacGalempsy> they keep the signal rolling thru past the connection
[12:08:53] * Tom_L wonders what's on JT-Shop's printer today
[12:15:07] <pink_vampire> MacGalempsy: ?!?! O_o
[12:20:10] <IchGucksLive> hi
[12:21:02] <IchGucksLive> ESA lost the probe
[12:21:10] <IchGucksLive> so Nasa stays ontop
[12:21:25] <JT-Shop> nothing lol
[12:21:47] <IchGucksLive> what happens id putin takes over as donald and his 80% familie RUS background controls the US
[12:21:55] <Tom_L> JT-Shop what's up today?
[12:22:27] <IchGucksLive> Tom_L: why is there so many logs on your page from the far past
[12:22:43] <Tom_L> because i keep them?
[12:23:15] <Tom_L> and i'm too lazy to move them
[12:23:23] <IchGucksLive> 2012 is the first it scrolls and scrolls and scrolls till today
[12:23:56] <MacGalempsy> anyone know an easy way to setup a linux/windows network?
[12:24:11] <Tom_L> i just share folders
[12:24:32] <Tom_L> for transferring your cnc files?
[12:24:59] <IchGucksLive> best is always to fix the ip's
[12:25:59] <IchGucksLive> i got a coustemer that loads the nc file with the pendant by buttem press from the win fixed nc name
[12:26:08] <MacGalempsy> Tom_L yes.
[12:26:10] <IchGucksLive> the post always overrides it
[12:26:37] <Tom_L> MacGalempsy, easiest way i found was just to share the windows output folder
[12:26:51] <IchGucksLive> MacGalempsy: let the CAM safe to the nc folder
[12:27:14] <MacGalempsy> i also have a virtual box on the win box that i want to transfer files between
[12:27:20] <Tom_L> IchGucksLive, i tried that but it wouldn't work on mine
[12:27:34] <IchGucksLive> on fix ip
[12:28:20] <IchGucksLive> ok it is esyer to grap from linux on a win mashine
[12:29:02] <IchGucksLive> so today here 50k people where caled to vote for the US elektion Ramstein based
[12:29:08] <MacGalempsy> the mill pc has a net connection. is there a way i can browse it like i do with the home network?
[12:29:17] <Tom_L> yeah
[12:29:25] <ToddZ> We have a NAS set up where all the machines have a folder with all of thier files saved
[12:29:40] <Tom_L> MacGalempsy, that's bacically how i do it with the shared folder on windows
[12:29:43] <IchGucksLive> thats cool
[12:29:48] <Tom_L> it should be visible
[12:30:11] <Tom_L> or get a tennis shoe network
[12:30:16] <IchGucksLive> it may take a while till all pc find eatch other be pationt
[12:30:25] <IchGucksLive> the folder is not there emedetly
[12:34:32] <IchGucksLive> HK has left the weather is showing a taifun retching overnight
[12:35:28] <ToddZ> hate it when that happens
[12:46:18] <IchGucksLive> Q: on 12.04 how do i see the free disk space
[12:55:35] <pcw_home> on almost any unix system, df should work
[12:57:30] <IchGucksLive> thanks 98% used
[12:58:32] <nubcake> hey
[12:58:39] <IchGucksLive> huhu
[12:59:32] <nubcake> na, alles klar?
[12:59:40] <IchGucksLive> regen
[12:59:47] <nubcake> joa hier auch
[12:59:55] <nubcake> und ne schöne fette erkältung..
[13:01:00] <IchGucksLive> pcw_home: thanks on 10.04 there has been a grafik util that showed the folder with hiest disk use
[13:01:07] <IchGucksLive> is this also ion 12.04
[13:01:09] <nubcake> aber noch viel ägerlicher ist, dass ich zzt. viel zu wenig zeit hab' um meinen schaltschrank weiter zu bauen :(
[13:01:30] <IchGucksLive> hab gestern 10stk montiert
[13:01:42] <IchGucksLive> das geht ratz fatz
[13:02:08] <nubcake> mit dem richtigen werkzeug schon
[13:02:16] <IchGucksLive> akkuschrauber
[13:02:23] <IchGucksLive> schälbohrer
[13:02:23] <nubcake> nen display-ausschnitt?
[13:02:35] <IchGucksLive> nein
[13:02:37] <nubcake> dafür haben wir in der firma ne stanze ^^
[13:02:59] <nubcake> für m16-m25 nehm ich auch den kegelsenker oder schälbohrer
[13:08:37] <IchGucksLive> pcw_home: baobab is the name of the game ;-)
[13:38:33] <IchGucksLive> im off cleard to 33Gb of space
[13:38:37] <IchGucksLive> Gn8
[14:04:34] <andypugh> This is a succesful-looking kickstarter. 2 days in and already 100x oversubscribed. (It’s a card game, not CNC in any way at all) https://www.kickstarter.com/projects/elanlee/bears-vs-babies-a-card-game/
[14:07:53] <andypugh> Talking about Kickstarter, I just looked at the PocketNC and see that it running LinuxCNC / Machinekit. Which is a bit of a surprise, much as I agree it is the only sensible choice.
[14:23:10] <nubcake> andypugh: it can't be cool at all if it's not cnc :D
[14:23:39] <nubcake> is PocketNC any good when it comes to working with stuff like steel?
[14:24:03] <andypugh> They don’t claim to be able to machine steel. They say “up to the hardess of aluminium”
[14:24:24] <andypugh> And I don’t care how long their little V8 engine block took, it’s impressive.
[14:24:24] <nubcake> oh ok, didn't remember that ^^
[14:24:43] <nubcake> it is, but it still is close to $5k isn't it?
[14:28:28] <andypugh> It was $3300 for early backrs
[14:28:44] <MacGalempsy> can anyone tell me how to determine machine units kn a rotary axis?
[14:29:06] <andypugh> Do you want to use degrees or radians?
[14:29:58] <MacGalempsy> i guess i mixed up. i
[14:30:07] <andypugh> There is no built-on conversion, so actually the numbers are just numbers. You can choose any units you want.
[14:31:00] <nubcake> halfway through translating the chinese VFD-manual to something close to english :/
[14:32:05] <andypugh> So, if it was just an ungeared single-stepping stepper motor, 200 steps would be one full rev. A scale of .5555555 would give you a motor calibrated in degrees, and a scale of 31.83 would give you a table graduated in radians.
[14:36:20] <SpeedEvil> Does the rotary axis never go >1 turn? because otherwise, you'd probably want more digits than .83
[14:40:02] <Nick-Shop> <andypugh> not getting anywhere with pwmgen.03.enable. What would be a valid line for that?
[14:40:42] <MacGalempsy> it is a dc servo, so im just getting to the point of saving then go hook it up to test
[14:40:49] <andypugh> It’s a spindle speed?
[14:41:16] <MacGalempsy> not sure what that means
[14:41:28] <MacGalempsy> oh. not me
[14:41:30] <MacGalempsy> nm
[14:41:44] <Nick-Shop> pwm enale so the spindle will move at all
[14:41:51] <FloppyDisk525> I saw the pocketnc at maker faire a few years back and was asking what the 'OS' was.. .
[14:41:54] <andypugh> Nick-Shop: Something like “net spindle-on motion.spindle.is-on hm2_5i23.0.pwmgen.03.enable” ?
[14:42:15] <FloppyDisk525> The guy wouldn't say anything, but I knew it was lcnc (somehow, read on it) and finally he said, yes, it was...
[14:42:29] <FloppyDisk525> Anyway, it's a cool little thing for small stuff...
[14:42:54] <MacGalempsy> one last question. if i just changed the ini from inch to mm. do the acc and veloc need to be updated?
[14:43:04] <Nick-Shop> I'll go see if there's something like that in the file.
[14:43:08] <andypugh> MacGalempsy: Yes
[14:43:29] <MacGalempsy> multiply by 25.4?
[14:43:54] <andypugh> And 25.4^2 for accel, I believe.
[14:44:52] <andypugh> No, wait. That’s for converting times (another thread in another place). 25.4 is right for both velocity and accel.
[14:44:53] <MacGalempsy> ok
[14:45:26] <andypugh> MacGalempsy: Did you get that correction?
[14:51:14] <MacGalempsy> working my way down the file
[14:51:56] <andypugh> MacGalempsy: But did you see me correct my erroneous statement about the accel scale?
[14:52:33] <MacGalempsy> you think is acc*25.4^2 or (acc×25.4)^2
[14:52:42] <andypugh> Neither
[14:53:00] <andypugh> Just acc * 25.4
[14:53:24] <MacGalempsy> ok. it seemed really high
[14:56:04] <andypugh> Yes. I got the 25.4^2 thing from something on the mailing list about making a super-fast sim-config to preduct run-times.
[14:56:17] <andypugh> But that was making time 1000x faster
[14:56:31] <Nick-Shop> <andypugh>says motion.spindle.is-on pin does not exist - do I need a setp statement?
[14:57:23] <andypugh> Sorry. My memory for hal pin names is not 100% accurate
[14:57:24] <andypugh> http://linuxcnc.org/docs/2.7/html/man/man9/motion.9.html
[14:57:37] <andypugh> You want motion.spindle-on
[15:00:07] <Nick-Shop> Thanks - I go and pull some more hair out :-)
[15:05:19] <MacGalempsy> time to plug it in and see what happens
[15:22:22] <MacGalempsy> alright. its spinning. time to tune
[15:29:38] <zhivko> Hello guys... maybe stupid question - is there a way to somehow pass string to insta comp ?
[15:29:54] <zhivko> Hello guys... maybe stupid question - is there a way to somehow pass string to inst comp ?
[15:31:35] <andypugh> A custom component, you mean?
[15:34:06] <andypugh> zhivko: Can you give more details?
[15:36:42] <zhivko> yes
[15:36:44] <zhivko> custom comp
[15:37:04] <andypugh> OK, then you can pass a string in of you want.
[15:37:22] <zhivko> I have this udpComp ample that I want to receive data from a device through UDP packet
[15:37:33] <zhivko> I have this udpComp example that I want to receive data from a device through UDP packet
[15:37:56] <zhivko> And I want to pass IP as string that coms from hal file
[15:37:57] <zhivko> And I want to pass IP as string that comes from hal file
[15:38:11] <rene-dev> zhivko I really dont think what you are doing is a good idea, why not hook up the serial to linuxcnc directly?
[15:38:29] <zhivko> because I have more such sensors...
[15:38:45] <andypugh> UDP in realtime might be a problem
[15:38:45] <rene-dev> how many?
[15:38:48] <zhivko> And then I would probably need 485 instead rs232 that I have available
[15:38:54] <zhivko> 2 of them
[15:39:11] <rene-dev> andypugh udp is not, wifi and the esp is the problem :D
[15:39:53] <zhivko> latest esp support PHY connector...
[15:40:00] <rene-dev> why not just use 2 serial ports?
[15:40:19] <zhivko> so esp is not necessary wifi
[15:40:56] <MacGalempsy> damn. no encoder feedback
[15:41:27] <zhivko> I have beaglebone with singlel serial port... and I want to leave it for debugging if necessary
[15:41:44] <andypugh> zhivko: You can either do it with an RTAPI_MP_ARRAY_STRING in the C-code of the comp, like this: https://github.com/LinuxCNC/linuxcnc/blob/af15a4d90e1d51d5309db65fe1c9511e486df411/src/hal/components/carousel.comp#L100
[15:42:03] <zhivko> you can check some picture of my project on: https://github.com/zhivko/PipeCutter
[15:42:18] <MacGalempsy> anything i can check about an encoder before removing the back off the machine?
[15:43:23] <rene-dev> uuh, nice :D this is what I am working on, in case you ever want to scale things up https://github.com/rene-dev/stmbl
[15:43:38] <andypugh> zhivko: Or there is an option to define a “modparam” in the header of the comp. But the only examples I can see use “modparam dummy” just to add the documentation, rather than to use the modparam directly. (modparam seems to be undocumented anyway_
[15:43:50] <zhivko> andypugh: thanks for sample - which is string you pass in this example ?
[15:44:59] <zhivko> renedev: so this is servo driver?
[15:45:32] <andypugh> You end up with an array of strings called “encoding” and it is parsed in line 263. extra_arg gives you the index of the current instance of the comp.
[15:46:33] <rene-dev> zhivko yes, with many many nice features even lacking in commercial servo amps
[15:49:10] <zhivko> andypugh: what do you do in hal to pass string "encoding"? I miss this line as part of docs in source of comp?
[15:50:15] <andypugh> loadrt udpComp encoding=myfunnystring
[15:50:45] <andypugh> Or, in your case: loadrt udpComp ip=
[15:50:59] <andypugh> And call the modparam “ip”
[15:52:29] <Nick-Shop> <andypugh> put line in net motion.spindle-on => hm2_5i23.0.pwmgen.03.enable
[15:52:31] <Nick-Shop> got this error Signal name 'motion.spindle-on' must not be the same as a pin. Did you omit the signal name
[15:52:32] <Nick-Shop> I know I missed something simple - What? I'm going nuts with these files
[15:53:29] <andypugh> You missed out the signal name
[15:54:10] <andypugh> Which can be anything: net tarquin-is-a-silly-name motion.spindle-on => hm2_5i23.0.pwmgen.03.enable
[16:02:19] <zhivko> andy: ah OK will try this
[16:11:56] <zhivko> AndyPugh: I would need ordinary string instead RTAPI_MP_ARRAY_STRING - is this available? maybe RTAPI_MP_STRING ?
[16:12:33] <zhivko> AndyPugh: I would load it like: loadrt udpComp count=1 ip= port=1234
[16:13:00] <zhivko> So I need ordinary String (not array) instead of RTAPI_MP_ARRAY_STRING
[16:13:50] <andypugh> zhivko: You are certain that there will only ever be one instance of the comp?
[16:14:33] <andypugh> You need the array in ths case loadrt udpComp count=2 ip=, port=1234,5678
[16:14:38] <zhivko> ehh.. sorry my mistake - there will be at least 2
[16:15:20] <andypugh> zhivko: The (sparse) docs: http://linuxcnc.org/docs/2.7/html/man/man3/RTAPI_MP_ARRAY_INT.3rtapi.html
[16:17:45] <nubcake> night everyone
[16:18:45] <Deejay> gn8
[17:15:58] <Nick-Shop> <andypugh> put this line in and axis came up no errors - just no voltage output at aout3 and gnd
[17:15:59] <Nick-Shop> net spindle-tryout motion.spindle-on => hm2_5i23.0.pwmgen.03.enable
[17:16:26] <andypugh> Is motion.spindle-on going true?
[17:16:46] <andypugh> (halmeter)
[17:17:07] <andypugh> Are you ginving an M3 or M4 command?
[17:18:35] <Nick-Shop> yes - using spindle motion on manual control
[17:19:00] <Nick-Shop> I will do m3 s300 now
[17:19:38] <andypugh> So, with halmeter, what do you see for the various pwmgem.3.pins?
[17:20:17] <andypugh> In fact, better still, what does: hacmd show pin *pwmgen.03*
[17:20:20] <andypugh> give you?
[17:20:35] <pcw_mesa> what bitfile are you using?
[17:20:41] <andypugh> (that’s “halcmd”)
[17:21:13] <andypugh> Good question PCW. Are the resolvers working?
[17:21:25] <Nick-Shop> giving -6.6v reverse voltage and way high it seems
[17:22:18] <Nick-Shop> i have resolver movement turning spindle by hand
[17:22:34] <andypugh> OK, so probably the right bitfile then
[17:23:22] <andypugh> What do you get with M4 S300 if M3 S300 is -6.6 ?
[17:25:32] <Nick-Shop> goes + S200 way high if 3000 rpm is 10v
[17:26:18] <andypugh> What do you mean by “way high”
[17:27:20] <andypugh> Are you measuring a voltage at the output, or are you quoting some other numbers?
[17:27:55] <Nick-Shop> if 3000 rpm is 10v - 200 rpm should be decimal range
[17:28:21] <Nick-Shop> and polarity is reversed
[17:28:42] <andypugh> What is the scale?
[17:29:07] <Nick-Shop> that's prob -1 scale should go to 1
[17:29:19] <andypugh> And can you confirm if you are, or are not, getting a voltage output now?
[17:29:53] <Nick-Shop> 0.003333
[17:30:13] <andypugh> So what is it that is “way high” ?
[17:30:38] <andypugh> (wanders off to bash head against wall)
[17:31:23] <Nick-Shop> the 6.6 v is m3s200 in mdi - I better test the amp with a battery in the +-10 connections- be back
[17:32:16] <Cromaglious_> I've given all my NiMH dewalt 18v stuff away and switched to LiIon "20v" DeWalt
[17:32:30] <Cromaglious_> ack... old conversation
[17:34:35] <andypugh> Nick-Shop: So. this 6.6V is the output of the analogue out. That is now working?
[17:41:13] <Nick-Shop> yes when I reverse m3 and m4 - the polarity of aout3 reverses
[17:41:52] <andypugh> Do you want it to?
[17:42:49] <andypugh> The reason I mention this is because as well as motion.spindle-speed-out there is motion.spindle-speed-out-abs and then -rps versions of both scaled in revs-per-second.
[17:43:22] <andypugh> (which means you can often not bother with many of the scales and abs components)
[17:44:08] <andypugh> I would rather expect hm2_5i23.0.pwmgen.03.scale to be 3000 for a 3000rpm spindle
[17:48:44] <Nick-Shop> I will try the 3000 scale later I have this voltage at the amp connections , so I better be looking for other problems at the amp itself
[17:51:58] <Nick-Shop> like my inhibits don't seem to be grounded
[18:01:52] <Nick-Shop> have scale.0.gain 3000 should resolver.0.scale -1 stay at -1?
[18:03:38] <andypugh> probably neigher should be changed.
[18:03:47] <andypugh> What does scale.0 do?
[18:04:01] <Nick-Shop> turned power on and the spndle started to drift --yea
[18:04:24] <andypugh> I would expect resolver.0.scale to be adjusted to read axis position accurately
[18:04:40] <Nick-Shop> don't have a clue - was in the file I got
[18:05:09] <andypugh> And I would be expecting to adjust hm2….pwmgen.03.scale to get the spindle speed right.
[18:05:25] <andypugh> I have no idea what half the scales and such i nyour file are for.
[18:05:34] <Nick-Shop> this scale 0 is in the spindle section
[18:05:44] <andypugh> But what does it do?
[18:06:32] <andypugh> You should be able to connect motion.spindle-speed-out-abs directly to hm2…pwmgen.03.value
[18:06:56] <andypugh> (without the abs if its a bipolar drive)
[18:07:05] <Nick-Shop> don't now yet -just got the spindle to move --have to balance the amp to slow the drift down
[18:08:13] <Nick-Shop> It's a HI-Ak drive - don't know what a bipolar drive is
[18:09:20] <andypugh> Does the drive run in reverse if you reverse the voltage?
[18:09:52] <andypugh> You probably want to connect the amp-enable to spindle-on through HAL too.
[18:10:38] <Nick-Shop> yes on the reverse voltage direction
[18:13:09] <Nick-Shop> right now the spindle isdrifing foward - when I hit the =dir in manual control - it goes in rev
[18:14:51] <Nick-Shop> one hit on the speed + makes it go quite fast so the scale of 3000 is off
[18:16:17] <Nick-Shop> found out how to control font size the hard way
[18:17:20] <JT-i3> font size of what?
[18:22:23] <Nick-Shop> chatzilla screen
[18:23:13] <Nick-Shop> dinner bell - later
[19:10:13] <Cromaglious_> ok 2 K40's in the garage
[19:10:35] <Cromaglious_> one working maybe and the other missing a tube
[20:13:08] <MacGalempsy> well crap.I still cannot read the encoder on the a axis
[20:13:15] <MacGalempsy> it is getting 5v
[20:14:17] <MacGalempsy> when the encoder hits an a pulse, do the lines put out 5v or just go conductive?
[20:24:03] <jdh> what kind of encoder
[20:25:52] <MacGalempsy> it is a 5000 count rotary encoder
[20:26:15] <jdh> there should be an output spec for it
[20:26:48] <MacGalempsy> I just went through all the connections, but cannot find definite indicators of the wire colors of A A' B B' I I'
[20:27:16] <MacGalempsy> waitinf for the wifes tc show to finish so she can run the button while I watch the meter
[20:30:11] <sync> MacGalempsy: try a pullup to 5V
[20:39:45] <dioz> "honey come press a button for me"
[20:51:12] <MacGalempsy> pretty much. I did not get a signal between any of the pairs
[20:52:14] <gregcnc> no indication of a part number?
[20:52:25] <MacGalempsy> no it just says drc
[20:52:45] <MacGalempsy> not even when pulling the plastic cover off the actual encoder.
[20:53:37] <MacGalempsy> I could have sworn the last time I messed around with it, the encoder was registering
[20:55:21] <MacGalempsy> tomorrow I will pull it apart and bench test the encoder. I think it may have gotten manhanded too much when I changed out the rubber conduit.
[20:57:56] <MacGalempsy> I dont think linuxcnc requires an encoder enable does it?
[20:58:26] <gregcnc> there is some info on the web for DRC encoders
[21:00:48] <MacGalempsy> the old hdd had all the encoder info on there
[21:01:12] <MacGalempsy> lost when it went tko. however, my notes indicate tk71
[21:01:28] <MacGalempsy> it looks like tk91
[21:30:46] <MacGalempsy> well, the wiring looks correct, but still no workee...
[22:20:02] <pink_vampire> https://www.youtube.com/watch?v=zXCGyItsgQs
[22:20:37] <pink_vampire> archivist: - for you