Re: [Emc-users] BBB Laptop Screens?

2013-09-08 Thread Paul Lacatus
On 9/8/2013 12:53 AM, Kirk Wallace wrote:
 On 09/07/2013 01:46 PM, Florian Rist wrote:
 ... forgot the easiest solution:

 There is a HDMI/LCD cape for the BBB:

 http://www.embest-tech.com/shop/product/beaglebone-hdmi-cape.html

 The panel directly connects to the cape - a adapter to change the
 pin-out might be necessary, though.

 Flo

I am also searching for a HMI solution for beagle bone running LinuxCNC 
. My idea is to use an inexpensive android tablet with a X11 server app 
that can provide a display a touch screen.  I thin that this solution is 
affordable and much more colplete than a LCD interface with a keyboard 
and mouse and more space saving .  For a small milling CNC  I think that 
is better .  The issue is that the tablets use  only wifi connection

Paul

--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Machine coordinates offset madness!!

2013-09-08 Thread Viesturs Lācis
2013/9/8 Bob Weiss bweiss0...@gmail.com

 I am trying to get my printer setup with the correct home coordinates and
 have it read 0 for x,y  z and everytime I start lcnc it shows z having
 -235.211 something and I have NO IDEA where its getting this from?


Is this the same linear delta machine you were asking about earlier?
In that case I think it is expected - the tool platform is lower than the
joints by the strut length (vertical projection of strut length, to be
precise). So, if joints are at 0, then the TCP (tool controlled point) will
be somewhere in Z0.
Just to check for that - what if you try to set joint home positions to
something like 100 or 200 instead of 0 (in INI file with HOME = and
HOME_OFFSET = variables, change both so that joint does not move from home
switch position to final home position). For more details see here:
http://www.linuxcnc.org/docs/devel/html/config/ini_config.html#_axis_lt_num_gt_section_a_id_sub_axis_section_a
I guess that you might need to adjust joint max limits as well.

-- 
Viesturs
--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] BBB Laptop Screens?

2013-09-08 Thread Andrew
2013/9/8 Paul Lacatus p...@paul-lacatus.ro

 The issue is that the tablets use  only wifi connection


Many tablets can use usb Ethernet adapters (like this
http://www.ebay.com/itm/400375887593)

Andrew
--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] BeagleBone Image Available

2013-09-08 Thread Mark Wendt
On Sat, Sep 7, 2013 at 10:58 AM, Kirk Wallace
kwall...@wallacecompany.comwrote:


 
  Excellent!  I figured it was missing libs or something like that.
 
  Mark
 ... snip

 libgl1-mesa-swx11 looks like it is the software version of OpenGL
 rendering and removes the hardware version, libgl1-mesa-glx.
 http://packages.debian.org/sid/libgl1-mesa-swx11

 It may be that libgl1-mesa-glx is not compatible with a VCN link, or
 that VNC needs to be configured for my particular setup. I'm not sure
 how to approach the problem yet, or if it resides with the host or remote.

 --
 Kirk Wallace
 http://www.wallacecompany.com/machine_shop/
 http://www.wallacecompany.com/E45/



It could also be the X server didn't recognize the hardware libs, or were
possibly a version mismatch, or the wormhole was pointing in the wrong
direction, or the fabric of the universe was beginning to tear...  ;-)

How did you make the connection between the two?  ssh -X hostname?

Mark
--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] BeagleBone Image Available

2013-09-08 Thread Mark Wendt
On Sun, Sep 8, 2013 at 10:28 AM, Kirk Wallace
kwall...@wallacecompany.comwrote:


 
  It could also be the X server didn't recognize the hardware libs, or were
  possibly a version mismatch, or the wormhole was pointing in the wrong
  direction, or the fabric of the universe was beginning to tear...  ;-)
 
  How did you make the connection between the two?  ssh -X hostname?
 
  Mark

 I installed tightvncserver on the LinuxCNC PC or BBB and invoked
 vncserver (per
 http://wiki.linuxcnc.org/cgi-bin/wiki.pl?BeagleboneDevsetup
 under
 Running headless X via VNC).
 Then used Remote Desktop Viewer on the remote PC to connect to
 ip-address-of-bb:5901.

 --
 Kirk Wallace
 http://www.wallacecompany.com/machine_shop/
 http://www.wallacecompany.com/E45/



Huh.  Must be something in tightvncserver that didn't recognize, or didn't
play well with the hardware drivers then.  Maybe an .ini setting in
tightvncserver?

Mark
--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Making a BBB interface cape - was BeagleBone Image Available

2013-09-08 Thread John Prentice (FS)
Greetings

 

-Original Message-
From: Charles Steinkuehler [mailto:char...@steinkuehler.net] 



 

There are far too many pin naming schemes for the BeagleBone, including two
new ones used by the LinuxCNC Beaglebone code.

 

Short answer:



Read the code (sorry!)

 

 

Medium answer:



The PRU code uses an integer value that equals the kernel GPIO number plus
32 (so that zero means don't twiddle *ANY* pins!).  The values are also
extended, and what would be the non-existing GPIO bank 4 means Use the PRU
direct I/O pins.

 

The hal_bb_gpio pin numbers is:

 

1xx = P8

2xx = P9

xx = connector pin number

 

 

Long Answer:



I really need to make a blog page about pin numbering.  There's some data in
Brandon Heller's post about home/limit switches:

 

 http://bb-lcnc.blogspot.com/2013/07/adding-homelimit-switches.html
http://bb-lcnc.blogspot.com/2013/07/adding-homelimit-switches.html

 

I'll try to get something posted tonight...

 

--

Charles Steinkuehler

 

Thank you for this information. 

 

After some code reading the .dts file for the BeBoPr-bridge got me to the
existing pinouts for stepping.

 

For new inputs, I need to work through Brandon's stuff on my system. The
para:

 

We'll use X-Max, the limit switch closest to the PWM outputs at the edge of
the BeBoPr.  According to the BeBoPr manual, the BeagleBone black manual
(BBB_SRM.pdf pg 80), and tracing the board traces, the X-max input switch is
pin 32 on connector 8 and gpio0.11.

 

has me puzzled. I cannot find the BeBoPr manual  anywhere on CircuitCo and
have not got one (or a Bridge) to trace tracks :-(  The .dts file suggests
Brandon's numbers are non-Bridge and X-max will be P8-9 (gpio2.5)

 

Finally a detailed question: I notice on the 'scope that the DIR lines have
random looking waveforms (around 500 Hz - but different patterns on each
axis) after a keyboard jog has stopped. An axis DIR goes quiet (at LO) after
a G-code move of the axis. Is this behaviour intentional? If not might it
hide a bug on Setup/Hold times of the DIR line - I ask as in another life I
have been bitten by the small, but very nasty to find, loss of position
errors that invalid timing can produce on some stepper drivers?

 

Best wishes

 

John Prentice

 

--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Making a BBB interface cape - was BeagleBone Image Available

2013-09-08 Thread Charles Steinkuehler
On 9/8/2013 3:42 PM, John Prentice (FS) wrote:
 
 For new inputs, I need to work through Brandon's stuff on my system. The
 para:
 
 We'll use X-Max, the limit switch closest to the PWM outputs at the edge of
 the BeBoPr.  According to the BeBoPr manual, the BeagleBone black manual
 (BBB_SRM.pdf pg 80), and tracing the board traces, the X-max input switch is
 pin 32 on connector 8 and gpio0.11.
 
 has me puzzled. I cannot find the BeBoPr manual  anywhere on CircuitCo and
 have not got one (or a Bridge) to trace tracks :-(  The .dts file suggests
 Brandon's numbers are non-Bridge and X-max will be P8-9 (gpio2.5)

There is a manual...I'll send it off-list.  There is also a pinout chart
(which is IMHO even more helpful) as part of the Bridge board github
project:

https://github.com/modmaker/BeBoPr-Bridge/blob/master/BBB-P8-P9-signals.pdf

...also, check out the wiki pages on the BeBoPr github project, there's
a lot of good info there too:

https://github.com/modmaker/BeBoPr/wiki/BeBoPr-Bridge

 Finally a detailed question: I notice on the 'scope that the DIR lines have
 random looking waveforms (around 500 Hz - but different patterns on each
 axis) after a keyboard jog has stopped. An axis DIR goes quiet (at LO) after
 a G-code move of the axis. Is this behaviour intentional? If not might it
 hide a bug on Setup/Hold times of the DIR line - I ask as in another life I
 have been bitten by the small, but very nasty to find, loss of position
 errors that invalid timing can produce on some stepper drivers?

It's not a bug, it's caused by the fact that the PRU is an actual
independent timebase and not an exact integer fraction of the servo
thread (as happens with software step-gen).

What you're seeing is the position 'hunt' around the desired set point
as the servo thread attempts to zero out the error but the real-world
effects like IRQ latency, jitter, and the fact that LinuxCNC is
calculating new servo commands based on the theoretical ideal that it
sampled the position instantly and without jitter at the start of the
servo period, and takes exactly zero time to calculate the new commanded
stepper velocity.

All the applicable setup and hold times are still being honored, the
commanded step rate is just oscillating between very small values on
either side of zero.  The 500 Hz rate comes from the servo thread, which
is running at 1 mS (the sign tends to invert each pass through the servo
thread).

Feel free to write some squelch code to get rid of this if you want, but
it's not really any different than the minor hunting that goes on with
real servo motors and encoders when at rest, so I haven't worried
about it.

-- 
Charles Steinkuehler
char...@steinkuehler.net



signature.asc
Description: OpenPGP digital signature
--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] BeagleBone Image Available

2013-09-08 Thread Steve Blackmore
On Sun, 08 Sep 2013 07:28:24 -0700, you wrote:

I installed tightvncserver on the LinuxCNC PC or BBB and invoked 
vncserver (per

Mmmhh - my experiences with tightvnc have not been good, I'd try a
different vnc program.

Steve Blackmore
--

--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users