Re: [Emc-users] Caution for users using linuxcnc master and Mesa Stepgen

2014-04-08 Thread andy pugh
On 8 April 2014 06:53, Michael Haberler  wrote:

> if I add 'stepgen_width=0' to the above line, the TableXPins (eg 026..029 
> above) vanish and become IOPorts?

No, if you do that then all the stepgen pins will disappear.
The fix is meant to be transparent, existing configs should work
completely unchanged.

-- 
atp
If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto

--
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Caution for users using linuxcnc master and Mesa Stepgen

2014-04-08 Thread Michael Haberler

Am 08.04.2014 um 10:30 schrieb andy pugh :

> On 8 April 2014 06:53, Michael Haberler  wrote:
> 
>> if I add 'stepgen_width=0' to the above line, the TableXPins (eg 026..029 
>> above) vanish and become IOPorts?
> 
> No, if you do that then all the stepgen pins will disappear.
> The fix is meant to be transparent, existing configs should work
> completely unchanged.

ok, removed the stepgen_width param (config is as before)

I just cherry-picked your patch http://goo.gl/lMqYDA since onto machinekit:

this is what I get:

Apr  8 15:30:15 cnc msgd: 0: hal_lib:14229:rt hm2_pci: loading Mesa AnyIO 
HostMot2 driver version 0.7
Apr  8 15:30:15 cnc msgd: 0: hal_lib:14229:rt HAL: initializing component 
'hm2_pci'
Apr  8 15:30:15 cnc msgd: 0: hal_lib:14229:rt RTAPI: initing module HAL_hm2_pci
Apr  8 15:30:15 cnc msgd: 0: hal_lib:14229:rt RTAPI: module 'HAL_hm2_pci' 
loaded, ID: 32774
Apr  8 15:30:15 cnc msgd: 0: hal_lib:14229:rt HAL: component 'hm2_pci' 
initialized, ID = 32774
Apr  8 15:30:15 cnc msgd: 0: hal_lib:14229:rt PCI_ID: 10B5:9030 10B5:3131
Apr  8 15:30:15 cnc msgd: 0: hal_lib:14229:rt RTAPI_PCI: DeviceID: 10B5 9030 
10B5 3131
Apr  8 15:30:15 cnc msgd: 0: hal_lib:14229:rt RTAPI_PCI: Calling driver probe 
function
Apr  8 15:30:15 cnc msgd: 0: hal_lib:14229:rt RTAPI_PCI: Enabling Device 
:05:04.0
Apr  8 15:30:15 cnc msgd: 0: hal_lib:14229:rt Resource 0: 0xe912 0xe912007f 
00040200
Apr  8 15:30:15 cnc msgd: 0: hal_lib:14229:rt Resource 1: 0xdc00 0xdc7f 00040101
Apr  8 15:30:15 cnc msgd: 0: hal_lib:14229:rt Resource 2: 0xdd00 0xddff 00040101
Apr  8 15:30:15 cnc msgd: 0: hal_lib:14229:rt Resource 3: 0xde00 0xdeff 00040101
Apr  8 15:30:15 cnc msgd: 0: hal_lib:14229:rt Resource 4: 0xe910 0xe910 
00040200
Apr  8 15:30:15 cnc msgd: 0: hal_lib:14229:rt Resource 5: 0xe911 0xe911 
00040200
Apr  8 15:30:15 cnc msgd: 0: hal_lib:14229:rt hm2_pci: discovered 5i20 at 
:05:04.0
Apr  8 15:30:15 cnc msgd: 0: hal_lib:14229:rt RTAPI_PCI: Map BAR 5
Apr  8 15:30:15 cnc msgd: 0: hal_lib:14229:rt hm2/hm2_5i20.0: parsing config 
string "firmware=hm2/5i20/SVST2_8.BIT num_encoders=2 num_pwmgens=2 
num_stepgens=6"
Apr  8 15:30:15 cnc msgd: 0: hal_lib:14229:rt hm2/hm2_5i20.0: final config:
Apr  8 15:30:15 cnc msgd: 0: hal_lib:14229:rt hm2/hm2_5i20.0: num_encoders=2
Apr  8 15:30:15 cnc msgd: 0: hal_lib:14229:rt hm2/hm2_5i20.0: num_absencs=-1
Apr  8 15:30:15 cnc msgd: 0: hal_lib:14229:rt hm2/hm2_5i20.0: 
num_resolvers=-1
Apr  8 15:30:15 cnc msgd: 0: hal_lib:14229:rt hm2/hm2_5i20.0: num_pwmgens=2
Apr  8 15:30:15 cnc msgd: 0: hal_lib:14229:rt hm2/hm2_5i20.0: 
num_3pwmgens=-1
Apr  8 15:30:15 cnc msgd: 0: hal_lib:14229:rt hm2/hm2_5i20.0: 
sserial_port_0=
Apr  8 15:30:15 cnc msgd: 0: hal_lib:14229:rt hm2/hm2_5i20.0: num_stepgens=6
Apr  8 15:30:15 cnc msgd: 0: hal_lib:14229:rt hm2/hm2_5i20.0: num_bspis=-1
Apr  8 15:30:15 cnc msgd: 0: hal_lib:14229:rt hm2/hm2_5i20.0: num_uarts=-1
Apr  8 15:30:15 cnc msgd: 0: hal_lib:14229:rt hm2/hm2_5i20.0: enable_raw=0
Apr  8 15:30:15 cnc msgd: 0: hal_lib:14229:rt hm2/hm2_5i20.0: 
firmware=hm2/5i20/SVST2_8.BIT
Apr  8 15:30:15 cnc msgd: 0: hal_lib:14229:rt hm2/hm2_5i20.0: firmware 
hm2/5i20/SVST2_8.BIT:
Apr  8 15:30:15 cnc msgd: 0: hal_lib:14229:rt hm2/hm2_5i20.0: work.ncd 
2010/12/19 11:52:20
Apr  8 15:30:15 cnc msgd: 0: hal_lib:14229:rt hm2/hm2_5i20.0: Part Name: 
2s200pq208
Apr  8 15:30:15 cnc msgd: 0: hal_lib:14229:rt hm2/hm2_5i20.0: FPGA Config: 
166980 bytes
Apr  8 15:30:15 cnc msgd: 0: hal_lib:14229:rt HAL: creating parameter 
'hm2_5i20.0.io_error'
Apr  8 15:30:15 cnc msgd: 0: hal_lib:14229:rt hm2: Firmware contains unknown 
function (gtag-255)
Apr  8 15:30:15 cnc msgd: 0: hal_lib:14229:rt hm2/hm2_5i20.0: pin 0 primary tag 
is 255 ((unknown-gtag-255)), not IOPort!
Apr  8 15:30:15 cnc msgd: 0: hal_lib:14229:rt hm2_5i20.0: board fails HM2 
registration

(not important - just will use another bitfile)
- Michael

> 
> -- 
> atp
> If you can't fix it, you don't own it.
> http://www.ifixit.com/Manifesto
> 
> --
> Put Bad Developers to Shame
> Dominate Development with Jenkins Continuous Integration
> Continuously Automate Build, Test & Deployment 
> Start a new project now. Try Jenkins in the cloud.
> http://p.sf.net/sfu/13600_Cloudbees
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users


--
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-

Re: [Emc-users] Caution for users using linuxcnc master and Mesa Stepgen

2014-04-08 Thread andy pugh
On 8 April 2014 14:34, Michael Haberler  wrote:
>
> I just cherry-picked your patch http://goo.gl/lMqYDA since onto machinekit:

> Apr  8 15:30:15 cnc msgd: 0: hal_lib:14229:rt hm2: Firmware contains unknown 
> function (gtag-255)
> Apr  8 15:30:15 cnc msgd: 0: hal_lib:14229:rt hm2/hm2_5i20.0: pin 0 primary 
> tag is 255 ((unknown-gtag-255)), not IOPort!

Does this happen without the patch? I am puzzled what in the patch
could possibly cause this.


-- 
atp
If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto

--
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Rob Ellenberg's trajectory planner combined with jog-while-paused support

2014-04-08 Thread Michael Haberler
[I posted this to the machinekit list, but since there is interest in both 
features I share it here too. -m]


There was significant interest in the basic HAL-based Jog-while-paused support 
I did a while ago; that too was never merged mainline though.

I've dusted this off and brought it forward into a combined feature branch: 
https://github.com/mhaberler/linuxcnc/commits/mk-jwp-newtp-rc1 

Instead of just testing the Ellenberg planner branch I posted recently, I would 
encourage to exercise this one - it works fine so far, and testing this would 
cover changes for both features in one go.

The demo config for Robs planner is unchanged: configs/sim/axis/rob.ini 
The demo config for Jog-while-paused is: configs/sim/axis/jog-while-pause9.ini

A sketchy documentation for Jog-while-paused is here:  
https://github.com/mhaberler/asciidoc-sandbox/wiki/Jog-while-paused-support

I'd love to hear some reports before this is merged into the machinekit baseline

- Michael






-- 
website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
https://github.com/machinekit
--- 
You received this message because you are subscribed to the Google Groups 
"Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to machinekit+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.
--
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Rob Ellenberg's trajectory planner combined with jog-while-paused support

2014-04-08 Thread Viesturs Lācis
On Apr 8, 2014 9:22 PM, "Michael Haberler"  wrote:
>
> Instead of just testing the Ellenberg planner branch I posted recently, I
would encourage to exercise this one - it works fine so far, and testing
this would cover changes for both features in one go.
>
> The demo config for Robs planner is unchanged: configs/sim/axis/rob.ini
> The demo config for Jog-while-paused is:
configs/sim/axis/jog-while-pause9.ini
>
> A sketchy documentation for Jog-while-paused is here:
https://github.com/mhaberler/asciidoc-sandbox/wiki/Jog-while-paused-support
>
> I'd love to hear some reports before this is merged into the machinekit
baseline
>

Just a small selfish question - any chance for ready-made deb package (by
buildbot)? I understand that it is not quick and easy, but I am sure that I
am not the only one that find getting the right branch and compiling from
source a bit too complicated... I could try it on my router... (BTW it
already is running the buildbot package with new TP just fine, total of few
days usage, so far I have not encountered any issues to report).

Viesturs
--
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Rob Ellenberg's trajectory planner combined with jog-while-paused support

2014-04-08 Thread Michael Haberler
Viesturs,

Am 08.04.2014 um 21:04 schrieb Viesturs Lācis 
> 
> Just a small selfish question - any chance for ready-made deb package (by
> buildbot)? I understand that it is not quick and easy, but I am sure that I
> am not the only one that find getting the right branch and compiling from
> source a bit too complicated... I could try it on my router... (BTW it
> already is running the buildbot package with new TP just fine, total of few
> days usage, so far I have not encountered any issues to report).

sorry, there are no packages available for the time being, but we'd be happy to 
have extra hands to help with that.

But then building from a git repo is very well documented and not a problem - I 
understand it might take a bit of time to get up to speed, but its a one-time 
pain.

Please see there is a goal conflict between 'rapid development' and 'packages 
available'. 

You want to have the latest and greatest: I would ask for your fairness and 
invest the time for the prerequisites. 


- Michael



> 
> Viesturs
> --
> Put Bad Developers to Shame
> Dominate Development with Jenkins Continuous Integration
> Continuously Automate Build, Test & Deployment 
> Start a new project now. Try Jenkins in the cloud.
> http://p.sf.net/sfu/13600_Cloudbees
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users


--
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] NURBS curves (G5.2)

2014-04-08 Thread Rod Fitzsimmons Frey
Hi!  Does anybody have any experience with NURBS curves?  I'm trying to
create a closed curve.  It's my understanding that with a uniform b-spline
(i.e. all weights set to 1), the curve should close if I repeat the first
two points as the last two points in the control point array.

However, the curve doesn't *quite* close, see screenshot below.  Is this
just the way the implementation is (i.e. not really good for closed curves)
or am I doing something wrong?

Here's the gcode, followed by the curve as seen in Axis.

G17
 G21
 G90
 G0
 T4 M6 G43 H1
 G0 X-48.646 Y16.467
 S22000
 (M3)
 G0 Z0
 G5.2 X-48.646 Y15.467 P1 L3
  X-58.989 Y7.625 P1
  X-62.16458728909492 Y -9.308334082365036 P1
  X-61.002682209 Y -25.264583319425583 P1
  X-10.91041243076324 Y -20.99583274126053 P1
  X-11.257930183  Y 2.5291672348976135 P1
  X-17.44374492764473 Y 16.291668206453323 P1
  X-48.646 Y15.467 P1
  X-58.989 Y7.625 P1
 G5.3
 M30




[image: Inline image 1]
<>--
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] NURBS curves (G5.2)

2014-04-08 Thread Sebastian Kuzminsky
On 4/8/14 14:51 , Rod Fitzsimmons Frey wrote:
> Answering my own question, for posterity and Google.  The solution is to
> start and end the curve deterministically on the cutting side (in this
> case, inside the closed spline).

Nice, googlers of the future will thank you  :-)

I just opened a bug with our bug tracker to add this info to our 
documentation.


-- 
Sebastian Kuzminsky

--
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Rob Ellenberg's trajectory planner combined with jog-while-paused support

2014-04-08 Thread Pete Matos
Man does this sound good to me..  Having a better trajectory planner AND
jog while paused is akin to LinuxCNC Nirvana...LOL


Pete




On Tue, Apr 8, 2014 at 3:47 PM, Michael Haberler  wrote:

> Viesturs,
>
> Am 08.04.2014 um 21:04 schrieb Viesturs Lācis 
> >
> > Just a small selfish question - any chance for ready-made deb package (by
> > buildbot)? I understand that it is not quick and easy, but I am sure
> that I
> > am not the only one that find getting the right branch and compiling from
> > source a bit too complicated... I could try it on my router... (BTW it
> > already is running the buildbot package with new TP just fine, total of
> few
> > days usage, so far I have not encountered any issues to report).
>
> sorry, there are no packages available for the time being, but we'd be
> happy to have extra hands to help with that.
>
> But then building from a git repo is very well documented and not a
> problem - I understand it might take a bit of time to get up to speed, but
> its a one-time pain.
>
> Please see there is a goal conflict between 'rapid development' and
> 'packages available'.
>
> You want to have the latest and greatest: I would ask for your fairness
> and invest the time for the prerequisites.
>
>
> - Michael
>
>
>
> >
> > Viesturs
> >
> --
> > Put Bad Developers to Shame
> > Dominate Development with Jenkins Continuous Integration
> > Continuously Automate Build, Test & Deployment
> > Start a new project now. Try Jenkins in the cloud.
> > http://p.sf.net/sfu/13600_Cloudbees
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
>
>
>
> --
> Put Bad Developers to Shame
> Dominate Development with Jenkins Continuous Integration
> Continuously Automate Build, Test & Deployment
> Start a new project now. Try Jenkins in the cloud.
> http://p.sf.net/sfu/13600_Cloudbees
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
--
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] suggestions

2014-04-08 Thread jeremy youngs
any suggestions for a plain jane no opto breabout board? maybe with a relay
or 2? thanx



jeremy youngs


>
--
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users