Re: [Emc-users] A thank you, and an unrelated question thats been asked lots of times.

2015-11-24 Thread Gene Heskett
On Tuesday 24 November 2015 11:49:33 Jon Elson wrote:

> On 11/24/2015 05:25 AM, Gene Heskett wrote:
> > On Tuesday 24 November 2015 00:21:15 Jon Elson wrote:
> >> On 11/23/2015 10:23 PM, Gene Heskett wrote:
> >>> But can someone take a look at the screenshot attached, and tell
> >>> me how to get rid of the nuisance error its showing?  Preferably
> >>> for good?
> >>
> >> Put an M02 at the end of your program?
> >>
> >> Jon
> >
> > EOF is EOF to me.  Can it not be to LinuxCNC?
>
> As somebody else mentioned, some software may not process
> the last line of a file unless it ENDS with a line end
> character (not sure if default is LF or CR).  I have seen
> this with other software.
>
> > M2 does function nicely to stop execution at that point, I've used
> > it to step thru a program looking for an error many times.  So it
> > does have a use, just not as an EOF marker.  IMO of course.
>
> And, maybe, it is all because of the editor you use to
> create the G-code.  Linux-c++ tries to adapt to the cr/lf
> format of the file, but may get it wrong in some cases.  You
> can check the line end scheme in particular files with
> od -c  | more
>
> and see what exact hidden characters are there.
>
> Jon
>
Nothing but \n's Jon.  Including the last character.

And I am getting discouraged, even at 2.5 ipm, 2k revs, and about a 60 
thou per pass cut, I just buried the broken off, 2nd 1/32" mill in this, 
so far down and flush my needle point tweezers have nothing to get a 
grip on.  I thought about drilling a small hole beside it, and found I 
do not have a drill chuck on the premises that will grip that small a 
drill.

I have a pin vise that might, out in the other, now cold building.  If I 
can find it.

Good, black Gaboon Ebony has gone up, I had to pay $99 for a piece a bit 
bigger than the one I started with a year back.  Not as thick, but wider 
& a few inches longer.  But I'm $1300 into this project, I may as well 
finish it out the best I can do. :)
 
Thanks Jon.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 

--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551=/4140
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] calling Todd Z

2015-11-24 Thread Todd Zuercher
Thanks, I figured that much out.

make just finished with these errors
make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-122-rtai'
/home/digital4/linuxcnc-uvw/src/emc/tp/blendmath6.c: In function ‘calcMinBound’:
/home/digital4/linuxcnc-uvw/src/emc/tp/blendmath6.c:301: error: ‘INFINITY’ 
undeclared (first use in this function)
/home/digital4/linuxcnc-uvw/src/emc/tp/blendmath6.c:301: error: (Each 
undeclared identifier is reported only once
/home/digital4/linuxcnc-uvw/src/emc/tp/blendmath6.c:301: error: for each 
function it appears in.)
make[2]: *** [/home/digital4/linuxcnc-uvw/src/emc/tp/blendmath6.o] Error 1
make[1]: *** [_module_/home/digital4/linuxcnc-uvw/src] Error 2
make: *** [modules] Error 2

Then when I tried to start Linuxcnc I got this.
LINUXCNC - 2.7.2
Machine configuration directory is 
'/home/digital4/linuxcnc/configs/Digital_4_ZZ'
Machine configuration file is 'Digital_4w.ini'
Starting LinuxCNC...
module_helper is not setuid root
Realtime system did not load
Shutting down and cleaning up LinuxCNC...
Running HAL shutdown script
RTAPI: ERROR: could not open shared memory (errno=2)
/home/digital4/linuxcnc-uvw/scripts/linuxcnc: line 542: 16736 Segmentation 
fault  $HALCMD -f $SHUTDOWN
RTAPI: ERROR: could not open shared memory (errno=2)
/home/digital4/linuxcnc-uvw/scripts/linuxcnc: line 542: 16742 Segmentation 
fault  $HALCMD stop
RTAPI: ERROR: could not open shared memory (errno=2)
/home/digital4/linuxcnc-uvw/scripts/linuxcnc: line 542: 16743 Segmentation 
fault  $HALCMD unload all
RTAPI: ERROR: could not open shared memory (errno=2)
RTAPI: ERROR: could not open shared memory (errno=2)
RTAPI: ERROR: could not open shared memory (errno=2)
RTAPI: ERROR: could not open shared memory (errno=2)
RTAPI: ERROR: could not open shared memory (errno=2)
RTAPI: ERROR: could not open shared memory (errno=2)
RTAPI: ERROR: could not open shared memory (errno=2)
RTAPI: ERROR: could not open shared memory (errno=2)
RTAPI: ERROR: could not open shared memory (errno=2)
RTAPI: ERROR: could not open shared memory (errno=2)
module_helper is not setuid root
module_helper is not setuid root
module_helper is not setuid root
module_helper is not setuid root
module_helper is not setuid root
module_helper is not setuid root
module_helper is not setuid root
LinuxCNC terminated with an error.  You can find more information in the log:
/home/digital4/linuxcnc_debug.txt
and
/home/digital4/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal



- Original Message -
From: "sam sokolik" 
To: "Enhanced Machine Controller (EMC)" 
Sent: Tuesday, November 24, 2015 2:55:37 PM
Subject: Re: [Emc-users] calling Todd Z

git remote add github-robE
https://github.com/robEllenberg/linuxcnc-mirror.git

should be all on 1 line.

sam



On 11/24/2015 01:51 PM, sam sokolik wrote:
> git remote add github-robE
> https://github.com/robEllenberg/linuxcnc-mirror.git


--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551=/4140
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551=/4140
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] calling Todd Z

2015-11-24 Thread Robert Ellenberg
Todd,

I'll troubleshoot the build tonight, it looks like a symbol is missing in
the RT build that's available in the sim build.

Rob

On Tue, Nov 24, 2015, 4:09 PM Todd Zuercher  wrote:

> I think I forgot to do the sudo make setuid.
> did that now, and this is what it spits out.
>
> LINUXCNC - 2.7.2
> Machine configuration directory is
> '/home/digital4/linuxcnc/configs/Digital_4_ZZ'
> Machine configuration file is 'Digital_4w.ini'
> Starting LinuxCNC...
> insmod: can't read '/home/digital4/linuxcnc-uvw/rtlib/rtapi.ko': No such
> file or directory
> Realtime system did not load
> Shutting down and cleaning up LinuxCNC...
> Running HAL shutdown script
> /home/digital4/linuxcnc-uvw/bin/linuxcnc_module_helper: Invalid usage with
> args: remove hal_lib
>
> Usage: /home/digital4/linuxcnc-uvw/bin/linuxcnc_module_helper insert
> /path/to/module.ext [param1=value1 ...]
>
> where module is one of:
> rtai_math
> rtai_sem
> rtai_shm
> rtai_fifos
> rtai_up
> rtai_lxrt
> rtai_hal
> rtai_sched
> rtai_smi
> rtai
> rt_mem_mgr
> adeos
>
> the path starts with one of:
> /lib/modules
> /usr/realtime-2.6.32-122-rtai
>
> and the extension is one of:
> .ko
>
> or the module is in the directory /home/digital4/linuxcnc-uvw/rtlib
>
> OR
>
> /home/digital4/linuxcnc-uvw/bin/linuxcnc_module_helper remove module
>
> where module is one of the modules listed above.
>
> /home/digital4/linuxcnc-uvw/bin/linuxcnc_module_helper: Invalid usage with
> args: remove rtapi
>
> Usage: /home/digital4/linuxcnc-uvw/bin/linuxcnc_module_helper insert
> /path/to/module.ext [param1=value1 ...]
>
> where module is one of:
> rtai_math
> rtai_sem
> rtai_shm
> rtai_fifos
> rtai_up
> rtai_lxrt
> rtai_hal
> rtai_sched
> rtai_smi
> rtai
> rt_mem_mgr
> adeos
>
> the path starts with one of:
> /lib/modules
> /usr/realtime-2.6.32-122-rtai
>
> and the extension is one of:
> .ko
>
> or the module is in the directory /home/digital4/linuxcnc-uvw/rtlib
>
> OR
>
> /home/digital4/linuxcnc-uvw/bin/linuxcnc_module_helper remove module
>
> where module is one of the modules listed above.
>
> LinuxCNC terminated with an error.  You can find more information in the
> log:
> /home/digital4/linuxcnc_debug.txt
> and
> /home/digital4/linuxcnc_print.txt
> as well as in the output of the shell command 'dmesg' and in the terminal
>
>
> --
> Go from Idea to Many App Stores Faster with Intel(R) XDK
> Give your users amazing mobile app experiences with Intel(R) XDK.
> Use one codebase in this all-in-one HTML5 development environment.
> Design, debug & build mobile apps & 2D/3D high-impact games for multiple
> OSs.
> http://pubads.g.doubleclick.net/gampad/clk?id=254741551=/4140
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551=/4140
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] calling Todd Z

2015-11-24 Thread sam sokolik
git remote add github-robE
https://github.com/robEllenberg/linuxcnc-mirror.git

should be all on 1 line.

sam



On 11/24/2015 01:51 PM, sam sokolik wrote:
> git remote add github-robE
> https://github.com/robEllenberg/linuxcnc-mirror.git


--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551=/4140
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Trouble with 4th axis

2015-11-24 Thread Todd Zuercher
What happens if you change your encoder scale from: 
ENCODER_SCALE = -5000 
to: 
ENCODER_SCALE = 5000

If this makes it behave better (but maybe backwards) you may want to switch the 
wiring of your encoder feed back to switch direction.

- Original Message -
From: r...@superiorroll.com
To: "Emc Users" 
Sent: Tuesday, November 24, 2015 2:23:54 PM
Subject: [Emc-users] Trouble with 4th axis

Hello guys, working on my 4th axis, and I am starting to feel quite
lost, 
 
 I was figuring that this would be the easier of all the other work I
have done with this stuff, due to working with a brand spanking new
servo and drive, but has turned into a nightmare for me.
 
 I have the axis running, I can control it with my hand-wheel MPG, it
homes ( if that's what you want to call it ) and and after tuning the
servo to the drive, I don't think there would be any tuning involved on
the linuxcnc side, if the Following Error was even understandable.
 
 For starters, when I start up linuxcnc, and I press the "home all"
button, the rotary goes through the motions of the following homing
sequence in the link using inserted values on the image

 http://postimg.org/image/yxzcdwldx/
 
 
 And does set the "0" position, but then it takes off at max velocity,
and stops at some random value ( 1255, 159, 1800 ) always in the
positive direction, and not repeatable, and then says that it is homed (
No clue ).
 
 As for the following error, pretty much it is telling me that whatever
the DRO is displaying, it is telling me that the following error is the
inverse of the display, if it says that I am at 259.354 degrees, I will
have a following error of -259.354.  I tried to make a few G01
commands, and it does begin movement if I give it a position to go to,
but it does not stop at the dimension programmed, and in the DTG column,
it is just displaying whatever the "actual" position is not a distance
to go.


Here are my config details from my hal file and my ini,
http://pastebin.com/WT8fMkvY
 
 Any thoughts of help will be greatly appreciated 
 -- 
 
 Thanks
 
 
 Rick Lair
 Superior Roll & Turning LLC
 399 East Center Street
 Petersburg MI, 49270
 PH: 734-279-1831
 FAX: 734-279-1166
 www.superiorroll.com

--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551=/4140
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551=/4140
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] calling Todd Z

2015-11-24 Thread Todd Zuercher
I think I forgot to do the sudo make setuid.
did that now, and this is what it spits out.

LINUXCNC - 2.7.2
Machine configuration directory is 
'/home/digital4/linuxcnc/configs/Digital_4_ZZ'
Machine configuration file is 'Digital_4w.ini'
Starting LinuxCNC...
insmod: can't read '/home/digital4/linuxcnc-uvw/rtlib/rtapi.ko': No such file 
or directory
Realtime system did not load
Shutting down and cleaning up LinuxCNC...
Running HAL shutdown script
/home/digital4/linuxcnc-uvw/bin/linuxcnc_module_helper: Invalid usage with 
args: remove hal_lib

Usage: /home/digital4/linuxcnc-uvw/bin/linuxcnc_module_helper insert 
/path/to/module.ext [param1=value1 ...]

where module is one of:
rtai_math
rtai_sem
rtai_shm
rtai_fifos
rtai_up
rtai_lxrt
rtai_hal
rtai_sched
rtai_smi
rtai
rt_mem_mgr
adeos

the path starts with one of:
/lib/modules
/usr/realtime-2.6.32-122-rtai

and the extension is one of:
.ko

or the module is in the directory /home/digital4/linuxcnc-uvw/rtlib

OR

/home/digital4/linuxcnc-uvw/bin/linuxcnc_module_helper remove module

where module is one of the modules listed above.

/home/digital4/linuxcnc-uvw/bin/linuxcnc_module_helper: Invalid usage with 
args: remove rtapi

Usage: /home/digital4/linuxcnc-uvw/bin/linuxcnc_module_helper insert 
/path/to/module.ext [param1=value1 ...]

where module is one of:
rtai_math
rtai_sem
rtai_shm
rtai_fifos
rtai_up
rtai_lxrt
rtai_hal
rtai_sched
rtai_smi
rtai
rt_mem_mgr
adeos

the path starts with one of:
/lib/modules
/usr/realtime-2.6.32-122-rtai

and the extension is one of:
.ko

or the module is in the directory /home/digital4/linuxcnc-uvw/rtlib

OR

/home/digital4/linuxcnc-uvw/bin/linuxcnc_module_helper remove module

where module is one of the modules listed above.

LinuxCNC terminated with an error.  You can find more information in the log:
/home/digital4/linuxcnc_debug.txt
and
/home/digital4/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal

--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551=/4140
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] calling Todd Z

2015-11-24 Thread sam sokolik
This is how I do it in my home directory.


git clone git://git.linuxcnc.org/git/linuxcnc.git linuxcnc-uvw
cd linuxcnc-uvw
git remote add github-robE
https://github.com/robEllenberg/linuxcnc-mirror.git
git fetch github-robE
git checkout github-robE/feature/uvw-blending-dev
cd src
./autogen.sh
./configure  (assuming rtai..)
make
sudo make setuid
cd ..
. ./scripts/rip-environment
linuxcnc






On 11/24/2015 01:33 PM, Todd Zuercher wrote:
> I'd love to test it.  But I need some help, and instructions how to install 
> it.
>
> - Original Message -
> From: "sam sokolik" 
> To: "Enhanced Machine Controller (EMC)" 
> Sent: Monday, November 23, 2015 4:50:30 PM
> Subject: [Emc-users] calling Todd Z
>
> Rob has been in his zone again..  He has expanded circular arc blending
> into uvw axises. 
>
> https://github.com/robEllenberg/linuxcnc-mirror/tree/feature/uvw-blending-dev
>
> we were wondering if you could run it and see if you find any issues. 
> Rob and I have hammered on it a bit.  so far so good.
>
> sam
>
> ps - still falls back to parabolic (1 segment look ahead) for abc
> axis.   Rob says
>
> 'There are a few obstacles to rotary axis blending still. The biggest
> one is that the units for linear axes and angular axes are different, so
> tolerances, arc radius, and similar properties are ambiguous. I have
> some ideas to work through, though, so it may be doable.'
>
>
> --
> Go from Idea to Many App Stores Faster with Intel(R) XDK
> Give your users amazing mobile app experiences with Intel(R) XDK.
> Use one codebase in this all-in-one HTML5 development environment.
> Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
> http://pubads.g.doubleclick.net/gampad/clk?id=254741551=/4140
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
> --
> Go from Idea to Many App Stores Faster with Intel(R) XDK
> Give your users amazing mobile app experiences with Intel(R) XDK.
> Use one codebase in this all-in-one HTML5 development environment.
> Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
> http://pubads.g.doubleclick.net/gampad/clk?id=254741551=/4140
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>



--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551=/4140
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] calling Todd Z

2015-11-24 Thread Robert Ellenberg
Ok, i just pushed a fix for that build error, and now it seems to compile
and run on my RTAI VM.  Also, I pushed the branch to the main linuxcnc
repository for the buildbot to chew on.

-Rob

On Tue, Nov 24, 2015 at 4:16 PM, Robert Ellenberg  wrote:

> Todd,
>
> I'll troubleshoot the build tonight, it looks like a symbol is missing in
> the RT build that's available in the sim build.
>
> Rob
>
> On Tue, Nov 24, 2015, 4:09 PM Todd Zuercher 
> wrote:
>
>> I think I forgot to do the sudo make setuid.
>> did that now, and this is what it spits out.
>>
>> LINUXCNC - 2.7.2
>> Machine configuration directory is
>> '/home/digital4/linuxcnc/configs/Digital_4_ZZ'
>> Machine configuration file is 'Digital_4w.ini'
>> Starting LinuxCNC...
>> insmod: can't read '/home/digital4/linuxcnc-uvw/rtlib/rtapi.ko': No such
>> file or directory
>> Realtime system did not load
>> Shutting down and cleaning up LinuxCNC...
>> Running HAL shutdown script
>> /home/digital4/linuxcnc-uvw/bin/linuxcnc_module_helper: Invalid usage
>> with args: remove hal_lib
>>
>> Usage: /home/digital4/linuxcnc-uvw/bin/linuxcnc_module_helper insert
>> /path/to/module.ext [param1=value1 ...]
>>
>> where module is one of:
>> rtai_math
>> rtai_sem
>> rtai_shm
>> rtai_fifos
>> rtai_up
>> rtai_lxrt
>> rtai_hal
>> rtai_sched
>> rtai_smi
>> rtai
>> rt_mem_mgr
>> adeos
>>
>> the path starts with one of:
>> /lib/modules
>> /usr/realtime-2.6.32-122-rtai
>>
>> and the extension is one of:
>> .ko
>>
>> or the module is in the directory /home/digital4/linuxcnc-uvw/rtlib
>>
>> OR
>>
>> /home/digital4/linuxcnc-uvw/bin/linuxcnc_module_helper remove module
>>
>> where module is one of the modules listed above.
>>
>> /home/digital4/linuxcnc-uvw/bin/linuxcnc_module_helper: Invalid usage
>> with args: remove rtapi
>>
>> Usage: /home/digital4/linuxcnc-uvw/bin/linuxcnc_module_helper insert
>> /path/to/module.ext [param1=value1 ...]
>>
>> where module is one of:
>> rtai_math
>> rtai_sem
>> rtai_shm
>> rtai_fifos
>> rtai_up
>> rtai_lxrt
>> rtai_hal
>> rtai_sched
>> rtai_smi
>> rtai
>> rt_mem_mgr
>> adeos
>>
>> the path starts with one of:
>> /lib/modules
>> /usr/realtime-2.6.32-122-rtai
>>
>> and the extension is one of:
>> .ko
>>
>> or the module is in the directory /home/digital4/linuxcnc-uvw/rtlib
>>
>> OR
>>
>> /home/digital4/linuxcnc-uvw/bin/linuxcnc_module_helper remove module
>>
>> where module is one of the modules listed above.
>>
>> LinuxCNC terminated with an error.  You can find more information in the
>> log:
>> /home/digital4/linuxcnc_debug.txt
>> and
>> /home/digital4/linuxcnc_print.txt
>> as well as in the output of the shell command 'dmesg' and in the terminal
>>
>>
>> --
>> Go from Idea to Many App Stores Faster with Intel(R) XDK
>> Give your users amazing mobile app experiences with Intel(R) XDK.
>> Use one codebase in this all-in-one HTML5 development environment.
>> Design, debug & build mobile apps & 2D/3D high-impact games for multiple
>> OSs.
>> http://pubads.g.doubleclick.net/gampad/clk?id=254741551=/4140
>> ___
>> Emc-users mailing list
>> Emc-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-users
>>
>
--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551=/4140
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] calling Todd Z

2015-11-24 Thread Sebastian Kuzminsky
On 11/24/2015 09:39 PM, Robert Ellenberg wrote:
> Ok, i just pushed a fix for that build error, and now it seems to compile
> and run on my RTAI VM.  Also, I pushed the branch to the main linuxcnc
> repository for the buildbot to chew on.

Awesome, thanks!


-- 
Sebastian Kuzminsky

--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551=/4140
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] A thank you, and an unrelated question thats been asked lots of times.

2015-11-24 Thread Jon Elson
On 11/24/2015 05:25 AM, Gene Heskett wrote:
> On Tuesday 24 November 2015 00:21:15 Jon Elson wrote:
>
>> On 11/23/2015 10:23 PM, Gene Heskett wrote:
>>> But can someone take a look at the screenshot attached, and tell me
>>> how to get rid of the nuisance error its showing?  Preferably for
>>> good?
>> Put an M02 at the end of your program?
>>
>> Jon
>
> EOF is EOF to me.  Can it not be to LinuxCNC?
As somebody else mentioned, some software may not process 
the last line of a file unless it ENDS with a line end
character (not sure if default is LF or CR).  I have seen 
this with other software.
>
> M2 does function nicely to stop execution at that point, I've used it to
> step thru a program looking for an error many times.  So it does have a
> use, just not as an EOF marker.  IMO of course.
>
>
And, maybe, it is all because of the editor you use to 
create the G-code.  Linux-c++ tries to adapt to the cr/lf 
format of the file, but may get it wrong in some cases.  You 
can check the line end scheme in particular files with
od -c  | more

and see what exact hidden characters are there.

Jon

--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551=/4140
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Trouble with 4th axis

2015-11-24 Thread rick
Hello guys, working on my 4th axis, and I am starting to feel quite
lost, 
 
 I was figuring that this would be the easier of all the other work I
have done with this stuff, due to working with a brand spanking new
servo and drive, but has turned into a nightmare for me.
 
 I have the axis running, I can control it with my hand-wheel MPG, it
homes ( if that's what you want to call it ) and and after tuning the
servo to the drive, I don't think there would be any tuning involved on
the linuxcnc side, if the Following Error was even understandable.
 
 For starters, when I start up linuxcnc, and I press the "home all"
button, the rotary goes through the motions of the following homing
sequence in the link using inserted values on the image

 http://postimg.org/image/yxzcdwldx/
 
 
 And does set the "0" position, but then it takes off at max velocity,
and stops at some random value ( 1255, 159, 1800 ) always in the
positive direction, and not repeatable, and then says that it is homed (
No clue ).
 
 As for the following error, pretty much it is telling me that whatever
the DRO is displaying, it is telling me that the following error is the
inverse of the display, if it says that I am at 259.354 degrees, I will
have a following error of -259.354.  I tried to make a few G01
commands, and it does begin movement if I give it a position to go to,
but it does not stop at the dimension programmed, and in the DTG column,
it is just displaying whatever the "actual" position is not a distance
to go.


Here are my config details from my hal file and my ini,
http://pastebin.com/WT8fMkvY
 
 Any thoughts of help will be greatly appreciated 
 -- 
 
 Thanks
 
 
 Rick Lair
 Superior Roll & Turning LLC
 399 East Center Street
 Petersburg MI, 49270
 PH: 734-279-1831
 FAX: 734-279-1166
 www.superiorroll.com

--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551=/4140
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] calling Todd Z

2015-11-24 Thread Todd Zuercher
I'd love to test it.  But I need some help, and instructions how to install it.

- Original Message -
From: "sam sokolik" 
To: "Enhanced Machine Controller (EMC)" 
Sent: Monday, November 23, 2015 4:50:30 PM
Subject: [Emc-users] calling Todd Z

Rob has been in his zone again..  He has expanded circular arc blending
into uvw axises. 

https://github.com/robEllenberg/linuxcnc-mirror/tree/feature/uvw-blending-dev

we were wondering if you could run it and see if you find any issues. 
Rob and I have hammered on it a bit.  so far so good.

sam

ps - still falls back to parabolic (1 segment look ahead) for abc
axis.   Rob says

'There are a few obstacles to rotary axis blending still. The biggest
one is that the units for linear axes and angular axes are different, so
tolerances, arc radius, and similar properties are ambiguous. I have
some ideas to work through, though, so it may be doable.'


--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551=/4140
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551=/4140
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] A thank you, and an unrelated question thats been asked lots of times.

2015-11-24 Thread Gene Heskett
On Tuesday 24 November 2015 00:21:15 Jon Elson wrote:

> On 11/23/2015 10:23 PM, Gene Heskett wrote:
> > But can someone take a look at the screenshot attached, and tell me
> > how to get rid of the nuisance error its showing?  Preferably for
> > good?
>
> Put an M02 at the end of your program?
>
> Jon

M2 M02, mox nics (I can't spell the German source words, wet ram has 
faded) Jon, its there, see the editor window to the left in that screen 
snapshot.  No change there in the editor followed by a reload gets rid 
of what is to me a useless error report. All it is, is an extra mouse 
click to get rid of it before you can proceed. Begining the file with 
a % as the first line, or just a comment containing the name & copyright 
also makes no difference.  Nothing makes it go away.

EOF is EOF to me.  Can it not be to LinuxCNC?

M2 does function nicely to stop execution at that point, I've used it to 
step thru a program looking for an error many times.  So it does have a 
use, just not as an EOF marker.  IMO of course.

I have this ebony_button.ngc code looking like it should work, but now I 
need to make a jig to hold the workpiece so I can treat it like a step 
and repeat.  The larger square button in the upper boxes fingers I need 
at least 132 of, 3 at a time from a 2" wide slice of ebony, leaving some 
scrap on one edge. I think I'll need another piece, $60, as I only have 
a hair less than an inch thick from the first 2x2x12 piece.  I need a 
laser cutter, its cut is thinner than a 1/2" wood slicer from Highland 
Hdwe in Hotlanta, which is around .032 with care.  And yet to be ordered 
is $240 worth of lid-stay hinges from Rockler.

The lack of density of the ebony surprised me. I believe it would float 
in water, till it got soaked at least.  It slurps up finish like a 
sponge on the first coat.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 

--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551=/4140
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] A thank you, and an unrelated question thats been asked lots of times.

2015-11-24 Thread Gene Heskett
On Tuesday 24 November 2015 03:52:57 Marcus Bowman wrote:

> On 24 Nov 2015, at 04:23, Gene Heskett wrote:
> > Greetings everybody;
> >
> > First, I want to thank whoever finally rigged it so a ESC key
> > actually gets it out of a forever loop! It has worked flawlessly
> > everytime I needed it today.
> >
> > kudo's & a knock on my doorbell will get you a hand cooler.
> >
> > But can someone take a look at the screenshot attached, and tell me
> > how to get rid of the nuisance error its showing?  Preferably for
> > good?
>
> This might be too simple, but... I have been caught out before by
> ending the last line (preferably the M02 or M30) and not pressing the
> Return key. The file is then seen as unclosed. Going back and adding a
> blank line and pressing Return fixed it. Worth a try.
>
> Marcus

Send Marcus a basket of flowers and a 6 pack of his favorite suds, it 
works.  Thank you Marcus.


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 

--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551=/4140
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] A thank you, and an unrelated question thats been asked lots of times.

2015-11-24 Thread Gene Heskett
On Tuesday 24 November 2015 04:19:01 Philipp Burch wrote:

> Hi!
>
> On 24.11.2015 09:52, Marcus Bowman wrote:
> > ...
> >
> >
> > This might be too simple, but... I have been caught out before by
> > ending the last line (preferably the M02 or M30) and not pressing
> > the Return key. The file is then seen as unclosed. Going back and
> > adding a blank line and pressing Return fixed it. Worth a try.
>
> Geany can also do this automatically:
> Edit -> Preferences -> Files -> Ensure new line at file end
>
That was already set.  ??

Thanks Philipp

> Regards,
> Philipp


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 

--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551=/4140
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users