#linuxcnc-devel Logs
Aug 07 2018
#linuxcnc-devel Calendar
07:17 AM skunkworks: rene_dev_: I installed servoterm on 2 machines (windows and linux) and I don't get the 'launch' button
07:19 AM skunkworks: in the extensions page
07:19 AM jepler: andypugh: configure process creates Makefile.inc from Makefile.inc.in. Makefile includes Makefile.inc.
07:19 AM skunkworks: Hi jeff
07:19 AM jepler: andypugh: Makefile.modinc{,.in} are related to building out-of-tree components and are not used while building LinuxCNC itself
07:19 AM jepler: hi skunkworks
07:21 AM skunkworks: rene_dev_: huh - on linux it shows up as a 'chrome apps' in the start menu..
07:21 AM skunkworks: that works
07:28 AM skunkworks: http://electronicsam.com/images/KandT/testing/stmbl/stmbl.png
07:28 AM skunkworks: (hv isn't hooked up or motor for that matter...)
08:16 AM skunkworks: Connecting seems to be flakey...
09:24 AM skunkworks: related question - on the windows side - what driver do I need for the 'stmbl virtual com port'
09:26 AM skunkworks: on the linux side I get 'Connecting to /dev/ttyACM0'
09:27 AM skunkworks: sometimes jiggering with usb cable - plugging/unplugging I can get it to connect
09:32 AM skunkworks: hmm - seems like closing and re-starting servterm seems to make it connect more consistanty
11:10 AM hazzy-lab: skunkworks: You are a half step ahead of me, I just installed servo term a few hours ago ...
11:16 AM skunkworks: :)
11:38 AM skunkworks: hv hooked up (30v..) I should find a motor to hook up...
11:41 AM skunkworks: now I get 2 flashes (feedback error) makes sense instead of 9 (hv comm error)
12:03 PM skunkworks: interesting... It makes noise..
03:35 PM pcw_mesa: pretty decent latency on a junk off lease HP 8300 with latest Preempt-RT:
03:35 PM pcw_mesa: http://freeby.mesanet.com/8300-4.18.png
06:32 PM andypugh: I have been looking to add the hal_gpio (raspberry pi GPIO) from Machinekit to LinuxCNC.
06:32 PM andypugh: In doing so I have found an odd entry for hal_bb_vpio
06:33 PM andypugh: https://github.com/LinuxCNC/linuxcnc/blob/master/src/Makefile#L835
06:33 PM skunkworks: andypugh: the drive powers up and communicates with servoterm
06:33 PM andypugh: I don’t think that hal_bb_gpio belongs in hostmot2? https://github.com/LinuxCNC/linuxcnc/blob/master/src/Makefile#L835
06:34 PM pcw_mesa: bb=BeagleBone?
06:34 PM andypugh: skunkworks: Cool, have you made the motor go round yet?
06:34 PM andypugh: pcw_home: Yes, BeaglBone
06:34 PM skunkworks: no - just grabbed a small brushless servo with hal sensors and encoder to play with
06:34 PM andypugh: You can spin a motor pretty easily in open-loop mode
06:35 PM skunkworks: andypugh: do you know if you can run with just hal sensors?
06:35 PM andypugh: (from servoterm)
06:35 PM skunkworks: (say for a spindle?_
06:35 PM andypugh: I think so, yes.
06:35 PM skunkworks: I have not worked though all the docs yet
06:35 PM andypugh: The docs are horribly incomplete. I blame me, for starting and not finishing.
06:35 PM skunkworks: heh
06:36 PM skunkworks: the only think so far a bit odd is it doesn't like to connect all the time.
06:36 PM skunkworks: (usb)
06:39 PM andypugh: I think you can spin a motor with:
06:40 PM andypugh: hv0.pos = sim0.vel
06:40 PM andypugh: hv0.d_cmd = 0.5
06:40 PM andypugh: hv0.enable=1
06:40 PM andypugh: You might also need to set sim0.freq
06:40 PM andypugh: sim0 is a function generator.
06:41 PM andypugh: hv0 is the high-voltage drive side
06:41 PM andypugh: (just typing sim0 or hv0 will show all the pins and values)
06:42 PM andypugh: It’s like LinuxCNC HAL but with a simpler syntax and auto-linking components.
06:45 PM andypugh: skunkworks: You can try the stmbl IRC (it’s on irc.hackint.eu rather than freenode)
06:47 PM skunkworks: andypugh: oh - cool thanks
06:47 PM andypugh: rene might be still awake, though it’s late in Germany.
06:59 PM skunkworks: andypugh: there isn't a hv0.enable
06:59 PM andypugh: What is there?
06:59 PM skunkworks: it is en I bet
07:00 PM skunkworks: heh - not rotating inconsistantly..
07:00 PM skunkworks: * rotating inconsistantly
07:01 PM andypugh: Try more hv0.d_cmd
07:01 PM andypugh: (that’s the direct current command)
07:02 PM skunkworks: makes it run more smoothly about the same rpm
07:02 PM skunkworks: (about 1rpm)
07:02 PM andypugh: Yes, rpm will be the same (sim0.freq to change that, I reckon)
07:02 PM skunkworks: cool
07:03 PM skunkworks: cool
07:03 PM skunkworks: :)
07:03 PM skunkworks: well - that seems to work, now to actually figure out how to configure it.
07:03 PM skunkworks: :)
07:04 PM skunkworks: thanks
07:05 PM skunkworks: does the fan come on only when needed?
07:06 PM andypugh: Yes, I have never seen the fan come on
07:07 PM skunkworks: heat sink is geting warm
07:07 PM andypugh: What current?
07:07 PM skunkworks: is that actual current? 1=1A?
07:07 PM andypugh: SHould be
07:07 PM andypugh: Is the motor getting warm too?
07:08 PM andypugh: Be careful of that in this mode
07:08 PM skunkworks: sure - but the supply is only .5A - I should be good
07:08 PM skunkworks: :)
07:09 PM andypugh: Dont set the d_cmd higher than the supply current, that will pull the HV down too low
07:10 PM skunkworks: .5 it is ;)
07:10 PM skunkworks: very neat
07:12 PM skunkworks: andypugh: http://electronicsam.com/images/greenmachine/20180807_190414.jpg
07:13 PM andypugh: You have resisted the urge to fit the case?
07:13 PM skunkworks: so far...
07:13 PM skunkworks: :)
07:14 PM skunkworks: biab