Re: [Emc-users] G33.1 error then g-code file parsed

2023-06-23 Thread Chris Radek
I would add positioning moves (positioning all of XYZ) before the
G33.1 because otherwise the tapped hole can be anywhere - the
program is indeterminate.  This sure might mess up any attempt by
your GUI to check the program or generate a preview.

Chris

On Wed, Jun 14, 2023 at 09:14:20PM +0200, Nicklas SB Karlsson wrote:
> I put the lines below into a file:
> 
>  ?? M3 S100
>  ?? G33.1 Z-30.474 K0.8 I3.000
>  ?? M5
>  ?? M2
> 
> Then I read into Linuxcnc I get error message:
> 
>  ?? parse_file interp_error
> 
> Removing the line with G33.1 then no error message so it is something 
> with this row. Program do however execute as expected with G33.1 line 
> even though there is an error message so no real problem. Also execute 
> without an error message if run manually in MDI mode. Use origin/master 
> last commit Mon May 8 16:10:03 2023 +0200 
> 404aa407f136ce91a3e6bf911c7bda54011a74e9 Anybody else had similar problem?
> 
> 
> Nicklas Karlsson
> 
> 
> 
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
> 


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Subroutine error about duplicate O-word label

2021-09-06 Thread Chris Radek
Canned cycles work in all six planes, XY YZ ZX UV VW WU

http://linuxcnc.org/docs/2.8/html/gcode/g-code.html#gcode:g80-g89

On Mon, Sep 06, 2021 at 07:44:42AM +0100, Andy Pugh wrote:
> 
> I think that both can work, actually. Probably worth experimenting in a sim. 


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Rigid tapping with geared encoder

2021-09-06 Thread Chris Radek
Your intuition is right.  If you don't care about starting in the
same orientation each time, it doesn't matter.  

My VMC has the encoder on the motor, and it doesn't have an index at
all.  I wired the A to the Z input on the mesa card so it gets lots
of indexes and the tapping starts wherever it happens to be.

My lathes of course have real index.

On Fri, Sep 03, 2021 at 04:29:55PM +0100, andy pugh wrote:
> I have just advised someone on the forum that he needs a 1ppr index to
> rigid tap, as his encoder is mounted to the motor, not to the spindle.
> 
> But then I started wondering if this is technically correct. I have a
> feeling that single=pass rigid tapping will be fine, but mutli-pass
> won't work?
> 
> Has anyone tried this?


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Code of Conduct

2021-07-01 Thread Chris Radek
Jeff,

Cool, thanks for doing this work.

Chris

On Mon, Jun 28, 2021 at 08:25:31PM -0500, Jeff Epler wrote:
> The LinuxCNC community including this mailing list now has a written
> code of conduct. Unless it's your idea of fun to harass other people,
> this is a big non-event for you.
> 
> You can read the code of conduct here:
> https://www.linuxcnc.org/CODE_OF_CONDUCT/
> 
> Jeff


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] G43 question

2019-02-15 Thread Chris Radek
On Tue, Feb 12, 2019 at 09:38:10PM -0500, Ken Strauss wrote:
> G43 appears to only apply the Z-offset from the tool table. For example,
> running the program below displays the Z values as expected but the X values
> are identical. Would having LinuxCNC also apply the X offset cause problems?
> 
> g10 L1 P1 Z0 X0 R.25
> t1 m6
> g43 h1
> (debug,#<_X> x with X offset=0)
> (debug,#<_Z> z with Z offset=0)
> (update tool table Z and X offset)
> g10 L1 P1 Z2 X2
> g43 h1
> (debug,#<_X> x with X offset=2)
> (debug,#<_Z> z with Z offset=2)


I added M2 at the end of your program to make it run without error,
but made no other changes, and it gives the expected result in the
sim/axis configuration of LinuxCNC 2.7.14, see image.

Chris
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Success story and a question

2018-08-13 Thread Chris Radek
On Tue, Aug 07, 2018 at 08:17:03PM -0600, Brent Loschen wrote:
> 
> And now for my question.?? The old Bridgeport had a button on the front 
> panel titled "No Z" that turned off all z motion and let me "air mill" a 
> part as a sanity check of my X & Y boundaries/fixtures.??

First congratulations on your first big retrofit.  Now for the
opinions:

As for the Z inhibit: are you using AXIS in LinuxCNC?  The preview
shows where the tool is going to go, so there's little need for
running in the air.  If you are concerned about getting close to a
fixture, you can jog the cone over onto the preview line (a jog
wheel is great for this) and then see where it will be when it runs.

I think Z inhibit (and inhibit all) are on old controls because they
didn't have useful previews.  You had no idea what the code was
going to do, or even if it would run or error or go crazy.  My Boss8
would just hang (it would stop and you had to push the control's
reset button on the back) for certain gcode errors, especially with
canned cycles.  But with LinuxCNC when you load your gcode you see a
correct preview or an error message telling you what's wrong with it
and where.

So I encourage you going to LinuxCNC with an open mind and not
trying to implement everything your old control had, whether it
makes sense or not.

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] axis.tcl MAX_JOINTS

2017-07-20 Thread Chris Radek
On Thu, Jul 20, 2017 at 05:35:52PM +0200, Nicklas Karlsson wrote:
> I have problem running development version of linuxcnc, there is
> complaint about the MAX_JOINTS variable in file axis.tcl, anybody
> have any idea?

You probably have a problem with your configuration.  If you would
like help figuring it out, you should respond with the full verbatim
error message, and either an attachment or a link containing your
full config.


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] following error only while homing

2017-06-20 Thread Chris Radek
On Tue, Jun 20, 2017 at 09:27:46AM +0100, andy pugh wrote:
> 
> Now, this is perfectly normal, and with a servo / pid machine the system
> knows to ignore the f-error immediately after an encoder reset. What is
> puzzling me here is why it isn't working in this case. I think it is

pid's index-enables need to be added to the index-enable nets.

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] AC Servo ?

2017-04-08 Thread Chris Radek
On Sat, Apr 08, 2017 at 12:05:59AM -0500, hubert wrote:
>I have a Servo that has an undocumented feedback encoder.  I am 
> interested in trying to decipher it.  Is it feasible to run the servo 
> without feedback connected, and put  a digital storage scope on its 
> outputs to capture the signal?  It is an incremental encoder that has 
> quadrature and index some how encoded into a serial data stream s, /s.

If you have a matched amp with velocity input or similar, sure!  If
you have nothing, it seems really hard to get it turning a steady
speed to test.  So chuck up the motor shaft in a drill press
instead?  I've scoped tachometers that way.



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] snagged touch probe on eBay - anybody know how to interface ?

2017-03-02 Thread Chris Radek
On Wed, Mar 01, 2017 at 01:44:34PM -0500, Ken Strauss wrote:
> I recently got a Renishaw MP7 IR probe from eBay. Has there been any further
> success with reverse engineering the interface? According to the manual that
> came with my probe it is turned on/off by briefly spinning it at 500 rpm to
> actuate an internal centrifugal switch. It uses a standard 9v battery. The
> recommended interface box is an MI7 + OMM. There are reasonably priced MI7
> on eBay but the OMM listing are about $1000!

Weird - I'm pretty sure mine is a MP7, and it is turned on and off
with a signal over the IR.  I have the OMM+MI7 interface.

Of course to receive the signal, some part of it has to be alive all
the time, but it isn't sending and the battery lasts a good while.

I have never spun it.  The very idea makes me shiver.

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Running servo amplifiers in velocity mode vs. torque mode

2017-03-01 Thread Chris Radek
On Wed, Mar 01, 2017 at 07:46:24AM -0600, dragon wrote:

> better to run the servo amplifiers in velocity mode or torque mode. I

I think the benefits of velocity mode are that it better tolerates
(still gives smooth motion with) low encoder resolution and low servo
cycle update rates, and it's much easier to tune the position loop
(the part in linuxcnc/hal).

Some old CNCs had 100Hz servo cycles and fairly rough position
feedback.  If you didn't want to see stair steps on the taper you
were cutting on your lathe, you really wanted velocity mode so it
would keep moving in about the same direction between updates.

The drawback of velocity mode is the amp is much more complicated,
and you have to tune the velocity loop in the amp, and you might
even need extra parts, such as tachs, to give velocity feedback in
hardware.

Today with millisecond or faster servo cycles, and really fine
encoders, I bet you can get similar results with both setups.

If you can select with a switch, why not try tuning up an axis both
ways and see what works best?  I'd love to see your results if you
do this.

Chris

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Carousel component questions

2016-11-03 Thread Chris Radek
On Fri, Nov 04, 2016 at 09:23:00AM +0800, Jan Bos wrote:
> 
> Do I need to add a 'home' sensor or a 'pocket 1' sensor?

Yes!  You will never regret fixing hardware so it's not stupid.

I did this on my vmc's tool changer - I moved a prox to give a home
and quadrature signal instead of the stupid original configuration
that would let the original control load the wrong tool if the
contactor stuck for a smidgen of a second - it has worked perfectly
since.

When you are retrofitting do not be ashamed to make the machine work
better than it did originally :-)


--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Changing rapid traverse rate at run-time

2016-10-25 Thread Chris Radek
On Tue, Oct 25, 2016 at 11:09:04AM +0200, Alexander R??ssler wrote:
> Is there a way to change the rapid traverse rate (G0) ate run-time? 
> Preferably without touching NML...

You can choose from the Rapid Override slider (percentage) and the
Max Velocity slider (velocity cap).

If neither of these work for your application, tell us more!

--
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive. 
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Strange Z value In DRO

2016-09-26 Thread Chris Radek
On Mon, Sep 26, 2016 at 07:54:30AM -0500, Jim Craig wrote:
> 
> This is all with version 2.7.4. 

Are you sure of the version?  There are some problems in 2.7.5-2.7.6
that seem like they could be related to this behavior (fixed now in
2.7.7) but I would not expect 2.7.4 to have problems with losing
offsets.

If you could figure out how to make this happen in a sim config and
give us instructions for reproducing it, especially if that's on
2.7.7, it would be really helpful.

--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] possible bug in 2.7.6. version

2016-08-19 Thread Chris Radek
On Fri, Aug 19, 2016 at 10:21:49AM -0300, Mario - Promm wrote:

> Is that a bug or a normal condition?

It is part of a bug; Seb and I think we have a handle on it.  Thanks
for saying something.

Chris


--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] feed rate interpretation in g01

2016-08-11 Thread Chris Radek
On Thu, Aug 11, 2016 at 02:35:25PM +0100, andy pugh wrote:
> 
> For a linear move the feed-rate is in mm/min
> For a rotational move it is on degree/min
> For a combined linear/rotary move the feed rate is in mm/min with the
> rotary moves synchronised to finish at the same time as the linear
> moves.

This is exactly right but I wanted to add the link to the docs for
good measure:

http://www.linuxcnc.org/docs/html/gcode/machining-center.html#sub:feed-rate


--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. http://sdm.link/zohodev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Any Interest or Ideas for a Linuxcnc Fest 2016 ?

2016-07-20 Thread Chris Radek
On Wed, Jun 22, 2016 at 01:09:30PM -0500, Stuart Stevenson wrote:
> Gentlemen,
> I want to reiterate the date is not set in stone (unless we want it to be).
> I want to facilitate anyone's schedule so if we have conflicts let's change
> the date to resolve them.
> anytime will work for me but a week prior or a week later would be great


Jeff and I would both like to come, but we have a conflict Oct 3-14.

The following week would be much better for us, Monday the 17th (or
whenever we would start) through that following weekend, 22/23.

Would this change mess up anyone else?


--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] M codes

2016-05-27 Thread Chris Radek
On Fri, May 27, 2016 at 11:16:22PM +, Matthew Hubbard wrote:

> ??Hi allI am in the process of doing a retrofit on an old yuasa
> cnc mill. The machine has a relay board that i can interface with
> that executes m codes. For example if i ground the coil of the
> relay (momentarily) for the M3 relay, the spindle latches on, and
> if i do that for the M5 relay, the spindle latches off. My current
> understanding is that by default if I command an M3 it will hold
> the M3 signal on until i command an M5, where it turns off again.
> Can somebody point me in the right direction of how i can control
> on/off with two signals?

I would sure do this with ladder.  You can use rising-edge (the ones
that look like -|^|- ) to trigger timers that poke your relays for
the appropriate amount of time.  I bet you will end up with
interlocks, etc, that are really easy to do in ladder, and totally
possible but really tedious to do in bare hal.

Ladder has a learning curve but for any nontrivial machine (does it
have a tool changer?) it's worth your time to learn it anyway.

The other answer is probably to use a bunch of oneshot components,
but consider what happens if you turn the spindle on and then
immediately off - if they're not carefully interlocked you'll end up
poking your M3 and M5 signals at the same time (which may or may not
be ok...?)

Chris


--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Attachments/Pictures with Mailing List Posts?

2016-05-24 Thread Chris Radek
On Tue, May 24, 2016 at 11:50:32AM -0400, John Kasunich wrote:
> On Tue, May 24, 2016, at 11:41 AM, Mark Johnsen wrote:
> > Is there anyway I can get the picture?  Am the only one w/ this issue?
> 
> That message must be coming from your mail supplier.

I responded privately but this might be generally interesting:

I think it might be coming from mailman, because Mark is set up for
receiving posts bundled together in a digest, instead of individual
messages.

I think changing to individual delivery would let Mark receive the
(small) attachments we allow.

(I agree with John that it's often best to host somewhere and send a
URL to the list.)

--
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Not as useful as I thought

2016-01-22 Thread Chris Radek
On Fri, Jan 22, 2016 at 09:28:12AM -0600, John Thornton wrote:
> Can you mix and match the modules on the OPTO22 board?

Yes, however you want.


--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Not as useful as I thought

2016-01-22 Thread Chris Radek
On Fri, Jan 22, 2016 at 10:03:55AM -0500, John Kasunich wrote:
> 
> I knew this photo was out there somewhere, thanks google:
> http://fenn.freeshell.org/retrofest/dcp_0366.jpg
> 
> You can see the I/O boards on both sides of Dave Engvall's head.

I used similar in my vmc:

http://timeguy.com/cradek-files/emc/2011-07-14_21-39-26_272.jpg

Yes they just plug in to the mesa board.  I love that there is an
LED on each one, and I just wrote with pencil on the top to say what
it does.  If it won't come out of estop, I can open the door and
look at the lights and see LUBE LOW is lit, or AIR PRESSURE is not,
or whatever.


--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] View buttons and views in Axis menu gone in lathe mode

2016-01-19 Thread Chris Radek
On Tue, Jan 19, 2016 at 08:17:55PM -0500, tom-...@bgp.nu wrote:
> Is there a way to bring them back in Lathe mode?  It is a lathe I
> am using it on so want to keep that mode, but want the buttons so
> I can get the view back on the screen after touching off.

Hit `v'?


--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Resetting rotary movement count

2016-01-05 Thread Chris Radek
On Tue, Jan 05, 2016 at 10:12:15AM +, andy pugh wrote:
> 
> Re-homing the rotary would reset the absolute position.
> There are HAL pins to home each axis. (halui.joint.N.home bit in)
> You can drive a bit pin from G-code.
> So I think it could be done, but it seems like a kludge.

You can't home while gcode is running; you have to stop and switch
to manual mode.

I think dewey has found a fine answer: remove the lines from the ini
and don't worry.  If someone cares about the difference between
MAXDOUBLE and 1e99, we could sure change it.


--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Resetting rotary movement count

2016-01-04 Thread Chris Radek
On Mon, Jan 04, 2016 at 11:18:20PM +, Marcus Bowman wrote:
> 
> so the fault message indicates the G10 L20 resets the co-ordinates
> of the selected co-ordinate system, but not the absolute machine
> co-ordinates. This means I do not have a command to prevent
> rotation being cumulative and counting against the Max-Limit for
> that axis. That can't be right??

That's right.  You're setting an offset that makes A=0.

> Is there a way to reset the Max_Limit count (in other words, to do
> the equivalent of G10 L20 for the absolute machine co-ordinates.

Nope, unfortunately.

> Or have I missed something?

Just add some more nines to your MIN and MAX limits.

--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] OT: one armed bandit's arm

2015-12-31 Thread Chris Radek
On Thu, Dec 31, 2015 at 01:23:17PM +0100, Bertho Stultiens wrote:
> Hi all mechanical engineers,
> 
> I am looking for mechanical drawings of a rattling arm of a
> one-armed-bandit, aka slot machine.
> 
> The arm of those old slot machines will make that distinguished rattle
> sound while being pulled and then, at the end, the mechanism will reset.
> The arm will only reset if pulled all he way down and will latch to an
> intermediate position if not pulled down the entire angle.
> 
> A (game) project of mine would benefit from that mechanism and instill
> some melancholic feelings of the past with it.
> 
> Does anybody have drawings or know how it works? What is the mechanism
> actually called?

Bertho,

Repeating watches (watches that chime the time when you pull a
lever) have a similar mechanism, where the action of pulling winds
up a spring that is used to run the chiming machinery, and they
usually have a "go/no-go" system that guarantees you get no chiming
at all unless you pull the lever all the way (otherwise you'd get a
partial chime giving the incorrect time.)

This might give you some more options for searching...

--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Rookie question - what to get to run LinCNC easily/inexpensively

2015-10-12 Thread Chris Radek
On Mon, Oct 12, 2015 at 09:21:36AM -0400, Todd Zuercher wrote:

> Putting every new feature immediately into the general release
> might not always be wise.  Like the new traj planner 

Well it depends what you want.

The linuxcnc project provides immediate packaged builds of every
change on any branch, automatically generated by buildbot.

We also provide fully-shaken-out stable releases.

I think it's important that we do both, so our different kinds of
users can pick the scheme they like for their style of work.


--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] G33 and motion-spindle-speed-in, motion-spindle-revs (2.7.0-pre7)

2015-09-10 Thread Chris Radek
On Thu, Sep 10, 2015 at 04:24:33PM -0400, Tom Easterday wrote:
> 
> A question:  We would like to perhaps smooth the velocity input
> that the trajectory planner uses for G33 commands.  What signal
> does it use for the velocity in spindle coordinated motion?  It

Spindle-sync motion is a position mode problem, not a velocity mode
problem.  For G33 motion.spindle-revs is used.

If you want velocity mode tracking (feed per rev) that's G95, but
that will be useless for knurling because the position is
uncontrolled.

> We can???t filter motion.spindle-revs because that gets reset to
> zero but???

Nope I don't think this is going to be a good approach.

Looking at your plot, it looked like it was tracking fine - sure
your spindle speed varies a bit, but the Z was staying locked to it,
which is the whole idea.  Can you say again what problem you are
trying to solve?  Maybe I missed something.  I don't want to guess.


--
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991=/4140
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Keyboard options in 2.7.0.?

2015-09-10 Thread Chris Radek
On Thu, Sep 10, 2015 at 10:25:51PM +0200, Martin Smith wrote:
> Having Swedish keyboards I would like to change the numeric  keyboard?s
> delete key behavior from comma to dot. This option  is not  availible in
> 2.7.0 Wheezy?s keyboard preferences. Is there any way to make this change?

I was able to do this: 

Menu: Settings, Keyboard, Layout, Add, Swedish, OK, click Swedish,
Close

--
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991=/4140
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] 2.7.0 is out!

2015-09-06 Thread Chris Radek
On Sun, Sep 06, 2015 at 05:02:42PM -0700, jrmitchellj . wrote:
> Still something fishy there.
> Just checked the repository sources, and they are correct,but still pre2 is
> current.

I tested this and installing the updates that are offered worked for
me, and I get 2.7.0

Say more about exactly what you are doing?

--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] [Emc-developers] Prerelease: 2.7.0~pre7

2015-08-14 Thread Chris Radek
On Fri, Aug 14, 2015 at 02:07:24PM -0400, Tom Easterday wrote:
 I updated 2.7.0~pre6 to 2.7.0~pre7 via update manager in Wheezy
 and now I get this when trying to launch (rip).  Is there
 something else I need to do?

This makes no sense.  If you install a package with the update
manager, that does not affect a RIP build.

 Error: could not load module /home/tom/linuxcnc-dev/rtlib/rtapi.ko: No
 such file or directory

Here you are trying to run a RIP build that is not correctly built.
Nothing you do with the update manager affects this.

--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] encoder opto update

2015-07-07 Thread Chris Radek
On Tue, Jul 07, 2015 at 06:11:34AM -0400, Gene Heskett wrote:

 Eagle demands the .1 spacing too, and I was not able to turn that off 

I haven't used Eagle for a while, but I am sure you can set the
placement grid to anything you want, including off.  When placing
you can also type a coordinate (any coordinate, on or off the grid)
instead of clicking.


--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Index pulse on 5i25 with 7i76

2015-07-05 Thread Chris Radek
On Sun, Jul 05, 2015 at 12:17:32PM -0400, Tom Easterday wrote:
 
 opposite direction in the turret and I use M3, and this is the
 tool that I was using when G76 fails.  Could the spindle direction
 effect the index pulse?

When in M3, the motion.spindle-revs should increase by 1.0 for each
turn of the spindle.  When in M4, it should decrease.

--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] OT: lathe cut-off tool FS advice

2015-06-30 Thread Chris Radek
On Tue, Jun 30, 2015 at 02:01:28PM -0400, Tom Easterday wrote:
 30m/min is the spindle rotation not feed, yes?  And 0.03mm/Rev is
 the ???chipload??? or is that SFM?  Sorry, mostly deal with
 imperial.


30m/min is the surface speed (100 sfm)
.03/rev is the feed per rev (0.001 inch)

nice easy cut in steel.

--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] OT: lathe cut-off tool FS advice

2015-06-30 Thread Chris Radek
On Tue, Jun 30, 2015 at 10:53:58AM -0400, Tom Easterday wrote:
 
 Also, I believe I can do CSS but don???t really know anything
 about that yet

Using CSS+FPR while parting bar stock makes all the difference in
the world.

Parting at a fixed RPM is terrible.  Your choices are way too fast
at the beginning or way too slow at the end, or most likely, BOTH.
If someone tells you what fixed RPM and IPM to use, thank them
politely and then ignore their advice.

I have always used HSS parting tools and I shoot for a dead flat
grind on the end so the chip comes straight out.  (Some grind it at
an angle to try to leave the pip on the bar and not the part - this
has never really worked for me.)  

Make sure it's exactly on center height.

--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] lathe tool (front, back) angle question for tool table entry

2015-06-29 Thread Chris Radek
On Wed, Jun 24, 2015 at 05:03:17PM -0400, Tom Easterday wrote:
 
 Secondly, what are these angles used for in actual cutting

Nothing.  They are currently used for the display only.

--
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors 
network devices and physical  virtual servers, alerts via email  sms 
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Ooops

2015-06-20 Thread Chris Radek
On Sat, Jun 20, 2015 at 03:44:15PM -0400, Gene Heskett wrote:
 
 But, this does bring up a question?  Am I wasting my time trying to 
 install on an Athlon single core with only 384 megs of dram?

I've installed our wheezy cd on a 256 Meg P3.  I think 384M is
probably enough to run *only* linuxcnc, fairly comfortably.  I doubt
it's enough to run a web browser comfortably.

On the initial menu, be sure to pick the text mode installer.

--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] GutHub getting sneaky? Yes.

2015-06-15 Thread Chris Radek
On Sun, Jun 14, 2015 at 10:42:41PM -0400, Gene Heskett wrote:
 Copyright 2015 Maurice E. Heskett, all rights reserved.
 
 I had printed out something I had an interest in a few days ago, and when 
 I picked it up just now, I see a very disturbing to me, notice at the 
 bottom of the last page saying 
 
 CopyRight 2015 GitHub, inc.

Can you tell us how to reproduce this?


--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Suitable transformers = hens teeth

2015-06-12 Thread Chris Radek
On Fri, Jun 12, 2015 at 07:09:26PM -0400, Gene Heskett wrote:
 
 But 1kw and up isolation cans are both scarce, and north of a $100 bill 
 pricy at least on fleabay.

Check hgr, for example:

http://www.hgrinc.com/productDetail/Electrical/USED-EGS-TRANSFORMER/02150100059

I think it says PRIMARY VOLTS 120/-/277, whatever that means

Cheap and at 30lb it's pretty shippable.  They have lots to choose
from.


--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] sim build of 2.8.0-pre?

2015-06-11 Thread Chris Radek
On Thu, Jun 11, 2015 at 04:52:04PM -0400, Gene Heskett wrote:
 
 Near line 69 of
 /net/shop/home/gene/linuxcnc/nc_files/genes-encoder.ngc
 bad character 'y' used

If your gcode has Y moves in it, you must run a sim config with a Y
axis (not a lathe).

--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] 2.7~pre6 and Glade and gtk2/3

2015-05-16 Thread Chris Radek
On Sat, May 16, 2015 at 05:12:38AM -0500, John Thornton wrote:
 I had to install Glade 2 on my Wheezy machine to continue editing my G 
 code generators that I built on Ubuntu 10. And after a quick check the 
 Hal and Vcp widgets and actions are there.
 
 JT

What package name exactly is it?

--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] 2.7~pre6 and Glade and gtk2/3

2015-05-15 Thread Chris Radek
On Fri, May 15, 2015 at 02:39:19PM -0400, Tom Easterday wrote:
 I have a new install using 2.7~pre6 and want to set up a Gladevcp
 panel.  I thought I had installed all the dependencies, etc but
 when I run ???glade gvcp-panel.ui??? I get this error:
 
 ???gvcp-panelui targets Gtk+2.16 But this version of Glade is for
 GTK+3 only.

You don't say what OS you have, but on debian wheezy, adding
glade-gnome was supposed to fix editing gladevcp panels:

http://timeguy.com/gitweb?p=live-images.git;a=commitdiff;h=9edf342e11ff7c25a6898f105123713b82d9d196;hp=6c5e62976cc018957dab0c4e9a5f4ba4d6022242


--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Question on INI entrie regarding mill tool change

2015-05-12 Thread Chris Radek
On Tue, May 12, 2015 at 02:26:02PM -0600, Sebastian Kuzminsky wrote:
 
 There's TOOL_CHANGE_QUILL_UP:
 
 TOOL_CHANGE_QUILL_UP = 1 - The Z axis will be moved to machine zero 
 prior to the tool change when the value is 1. This is the same as 
 issuing a G0 G53 Z0.

Rick knows that - he has his machines set up with Z=0 at the bottom
of travel instead of the top.  He has already declined to follow my
advice to fix that :-)

I think the remaining options are to try using remap to do this, or
to change task/motion to support a new kind of tool change motion.

--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Axis GUI in 2.6.3 missing the Machine Velocity display ?

2015-05-11 Thread Chris Radek
On Wed, Oct 15, 2014 at 10:36:21PM -0400, Dave Cole wrote:
 
 The Axis Gui somewhere along the way lost the Machine Velocity display 
 apparently?
...
 
 Under View, there is a show/don't show Machine Velocity selection, but 
 it doesn't work.


This is bug #335

http://sourceforge.net/p/emc/bugs/335/


--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Question on INI entrie regarding mill tool change

2015-04-24 Thread Chris Radek
On Fri, Apr 24, 2015 at 11:07:44AM -0400, Rick Lair wrote:
 Question regarding the INI entry regarding tool change on a VMC,
 
 TOOL_CHANGE_POSITION, says that this can be combined with 
 TOOL_CHANGE_QUILL_UP, which it looks like TOOL_CHANGE_QUILL_UP will send 
 the z axis to the 0.000 position in absolute coodinates. Our machine is 
 setup so the top of the table is 0.000 and full z up (tool change 
 position) is at 25.000, how do I set the TOOL_CHANGE_QUILL_UP value to 
 be 25.000, or will it use the z value in the TOOL_CHANGE_POSITION?

You can't.  Instead you should fix your Z so 0 is the top.  That is
entirely standard and that's why QUILL_UP expects it.


--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] A funny thing with PID

2015-04-15 Thread Chris Radek
On Wed, Apr 15, 2015 at 05:17:56PM +0100, andy pugh wrote:

 Which rather puzzled me.

If you loadrt pid ... debug=1 you'll get some debugging pins that
show internal state - maybe you can see if something is weird?


--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Printing from Debian Wheezy

2015-03-13 Thread Chris Radek
On Fri, Mar 13, 2015 at 11:54:41AM -0400, Rick wrote:
 This is what it prints out on the first page,
 
 %!PS-Adobe-3.0

This is a huge clue.  Your OS setup thinks the printer knows
Postscript, but it doesn't.  

On some old printers that was an add-on, like on a SIMM that you pay
extra for.

If you figure out what your printer DOES accept, you can just select
a more appropriate driver.  Don't be afraid to lie to the OS about
what the printer really is.


--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Manual Mill Setup Question

2015-01-17 Thread Chris Radek
On Sat, Jan 17, 2015 at 11:06:20PM +, Andy Pugh wrote:
 
 In that case you would also need a mux2 controlled by the same
 signal to switch the feedback between encoder position and
 commanded position for each axis.  Though that would lose the DRO
 so perhaps it would be better to change the F-error limits. 

I think you guys are thinking of this exactly backwards.  If I
understand right, you want to move the table manually while the
spindle is running.  You've gone down the path of wanting to trick
linuxcnc into being in machine on mode even though the amps are
disabled, so you can tell it to turn on the spindle.

But the better solution is to leave linuxcnc in machine off mode,
which disables the amps and gives you a working DRO, and more
importantly, the position tracks so when you go back to machine on
you don't get a nasty position jump or any other weirdness.

So the problem remaining is that linuxcnc won't turn on the spindle
in this mode.  Right, so poke the button on the VFD that makes it
come on, or install a (real actual) switch.

Chris

--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] touch off doesn't shift loaded paths

2014-12-19 Thread Chris Radek
On Fri, Dec 19, 2014 at 07:51:30AM -0700, Sebastian Kuzminsky wrote:
 On 12/19/2014 07:23 AM, Claude Zervas wrote:
  Ah! Yes, I'm using an older version - 2.5.x
  I have to upgrade...
 
 Touch-off works in 2.5 as well.  This must be some strange issue with
 your particular configuration.  Upgrading probably won't fix it, we'll
 have to figur out what's wrong with your config and address that.

A var file that's not writable can cause this.

Sometimes people get into this situation or similar ones by running
linuxcnc with sudo, which you SHOULD NEVER do.

Claude, check permissions and ownership on your configuration files
and directory, and check your home directory and /tmp while you're
at it.

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] arc help, again

2014-12-08 Thread Chris Radek
On Mon, Dec 08, 2014 at 06:51:50AM -0800, jrmitchellj . wrote:

 I see this as a possible bug with the G43 command bringing into play
 offsets other than just the tool length.

It's absolutely by design that you can have tool offsets in all the
directions.  It is not a bug that you got the offsets you specified
in the tool table when you invoked G43.


--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Not able to use comp (command not found) .

2014-12-04 Thread Chris Radek
On Thu, Dec 04, 2014 at 06:24:44PM +0100, alex chiosso wrote:

 I was using the online documentation
 http://linuxcnc.org/docs/html/hal/comp.html#_compiling but it isn't
 updated/correct.

That is documentation for the current released version, which is
2.6.  The equivalent docs for master would be

http://linuxcnc.org/docs/devel/html/hal/comp.html


--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Screw Mapping

2014-11-18 Thread Chris Radek
On Tue, Nov 18, 2014 at 09:04:18AM -0500, Mark Wendt wrote:

 At X1, the table height is .001 lower than X0.  X2 is .003 lower
 than X0.  X3 is .002 lower.  X4 is .001 lower.  X5 is .002 lower.
 X6 is .003 lower.  X7 is .004 lower.  X8 is .002 lower.  X9 is
 .001 lower.

Not having seen how your fixtures are mounted to this table, this
may or may not be a useful suggestion, but for a similar problem I
have used feeler gauge stock, which is available in .0005
increments in these small thicknesses.  Like these:

http://www.use-enco.com/CGI/INPDFF?PMPAGE=381PARTPG=INLMK32


--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] F0

2014-10-20 Thread Chris Radek
On Fri, Oct 17, 2014 at 01:29:15PM -0700, a k wrote:

 I want really identify what kind of motion in any given moment -- is it G1
 (cutting -metal removing etc) or is it  G0 (rapid motion to the next
 starting point)

I do not understand why motion.motion-type does not work for this.
This is exactly the information it gives you.

--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] F0

2014-10-20 Thread Chris Radek
On Mon, Oct 20, 2014 at 03:33:56PM +0100, andy pugh wrote:
 On 20 October 2014 15:22, Chris Radek ch...@timeguy.com wrote:
 
  I do not understand why motion.motion-type does not work for this.
  This is exactly the information it gives you.
 
 Has that changed relative to the docs? Docs say:

I admit I used halmeter and not the docs...  I think they are

#define EMC_MOTION_TYPE_TRAVERSE 1
#define EMC_MOTION_TYPE_FEED 2
#define EMC_MOTION_TYPE_ARC 3
#define EMC_MOTION_TYPE_TOOLCHANGE 4
#define EMC_MOTION_TYPE_PROBING 5
#define EMC_MOTION_TYPE_INDEXROTARY 6


--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] F0

2014-10-20 Thread Chris Radek
On Mon, Oct 20, 2014 at 04:05:06PM +0100, andy pugh wrote:
 On 20 October 2014 15:39, Chris Radek ch...@timeguy.com wrote:
 
  I admit I used halmeter and not the docs...  I think they are
 
  #define EMC_MOTION_TYPE_TRAVERSE 1
  #define EMC_MOTION_TYPE_FEED 2
  #define EMC_MOTION_TYPE_ARC 3
  #define EMC_MOTION_TYPE_TOOLCHANGE 4
  #define EMC_MOTION_TYPE_PROBING 5
  #define EMC_MOTION_TYPE_INDEXROTARY 6
 
 gitweb grep doesn't show your defines. But if that is what you saw
 with an actual machine, then motion.motion-type looks like exactly the
 thing to use.

http://git.linuxcnc.org/gitweb?p=linuxcnc.git;a=blob;f=src/emc/nml_intf/motion_types.h;h=8d9a430a09e002cb32f76b844ddfc7e0a2bcac17;hb=9f04c26dcc6705e1a9a33d3b4185bf4b607e236c

--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Conditional code- GOTO

2014-10-03 Thread Chris Radek
On Fri, Oct 03, 2014 at 04:26:46PM -0400, Stephen Dubovsky wrote:

 If someone wants to write code using it (or has existing code)
 what difference does it make to others?  LCNC is about having more
 flexibility and freedom

Wow this is bringing out strong feelings.

The sticking point here, which I don't think is reflected in your
message, is that if we want Oxxx GOTO, someone would have to
implement it.  Nobody has stepped up who wants to do that.

If someone wants to, and it gets done in a sane way (I think the
0xxx LABEL ... 0xxx GOTO would be most consistent with the way our O
words work), let's, as they say, thoughtfully consider the patch.

But until someone wants to implement GOTO, can we all stop yelling
about it?

Chris

--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] PCD routine for ngcgui

2014-09-29 Thread Chris Radek
On Mon, Sep 29, 2014 at 02:20:47PM +0100, andy pugh wrote:
 
 Actually, after checking the docs, that will probably drill a spiral of holes.
 http://linuxcnc.org/docs/html/gcode/overview.html#_polar_coordinates
 
 I might need to be
 G0 X2
 G81 ^60 Z-0.126 L6

Since you need incremental angle, you have to be in g91 mode
(repeating drill cycles are always done in g91 mode; it's not
peculiar to polar)

g90 g0 x2 y0 z.1
g91 g81 ^60 z-.226 r0 l6 f9


--
Slashdot TV.  Videos for Nerds.  Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Spindle Synchronized Motion Problem

2014-09-29 Thread Chris Radek
On Tue, Sep 30, 2014 at 08:57:25AM +1000, David Nicholls wrote:
 
 The video can be seen at http://www.youtube.com/watch?v=8KEfMRF1yx4

I tried tapping in sim/axis/lathe (which as a simulated spindle with
inertia and everything) and it looked right.

Could you plot this in halscope, showing motion.spindle-revs,
motion.spindle-at-speed, motion.spindle-index-enable,
axis.2.joint-pos-cmd, and ideally your spindle encoder's velocity
pin too

 The GCode I'm running is G33.1 K0.7 Z-18.

I think I see a bit of an immediate reversal in Z around 0:07.5 in
your video.  I expect we're going to find the encoder isn't counting
right.  It will show up in halscope if so.

What spindle rpm is this?  Do you have backlash compensation on Z?
Posting the whole config directory would be great.

--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Offsets in Python

2014-09-20 Thread Chris Radek
On Sat, Sep 20, 2014 at 12:28:46PM -0400, Kip Shaffer wrote:
 When rotation_xy is 0 (and tool_offset is all zeros) the following is true:
 
  Work position = actual_position - g92_offset - g5x_offset
 
 However, when rotation_xy is not zero, a rotation has to be applied.  The
 question is where?

This is tricky to get right!

Tool offsets don't rotate
G5x offsets don't rotate
G92 offsets DO rotate
Don't forget wrapped rotaries
Don't forget units

The canonical code for this is what AXIS uses: see glcanon.py around
line 1265

and in fact you can see this very clearly in AXIS if you mess with
the offsets and rotation, and see what the preview does.  It
represents each offset with a labeled line from the old to the new
origin.  You can see that the g92 line rotates (within the G5x
system) but the g5x line doesn't.

You can find equivalent code in touchy's emc_interface.py around
line 300

Start with unoffset position
subtract tool length
subtract g5x offset
rotate x,y (negative direction)
subtract g92 offset
for each rotary, if it's wrapped, adjust mod 360
adjust units for presentation to user, if necessary, for xyz and uvw


--
Slashdot TV.  Video for Nerds.  Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] LinuxCNC 2.6.0 is out!

2014-07-29 Thread Chris Radek
On Mon, Jul 28, 2014 at 10:51:40PM -0600, Sebastian Kuzminsky wrote:
 Howdy folks, at long last LinuxCNC 2.6.0 is here.

This is great, thank you, and thanks to everyone who has worked on
it!

On my collet-using machine, I'm using remap of M6 to probe the
length of the new tool and write it to the tool table.

It works really well and is so much better than the 2.5 way.

Chris

--
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] LinuxCNC 2.6.0~pre5

2014-07-22 Thread Chris Radek
On Tue, Jul 22, 2014 at 02:09:18AM -0600, Sebastian Kuzminsky wrote:
 I just pushed a new pre-release to the debian archive at
 www.linuxcnc.org: 2.6.0~pre5
 
 The big news here is a new RTAI kernel for Ubuntu 12.04 Precise and
 Debian 7 Wheezy.  (Ubuntu 10.04 Lucid is not affected by this kernel
 change.)

I've been working on a live+install image of Debian Wheezy with
this RTAI kernel, linuxcnc 2.6, linuxcnc-dev, hostmot2 firmwares,
mesaflash, truetype-tracer, etc., all preinstalled.  Sources are set
up for automatic updates with new linuxcnc packages.

Like the older Ubuntu images, you can either boot live to test your
hardware, or install to the hard disk, from the same iso image.

The Debian image is a hybrid iso, which means you can use the same
iso file for a USB stick or a DVD.  (The image is bigger than a
traditional CD, so you can't install from regular CD anymore.)
Instructions for writing the image to a USB stick from Windows and
Linux are here: 

http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Hybrid_Iso

**NOTE** the Ubuntu startup disk creator and unetbootin do NOT
handle hybrid images.  Use the above instructions instead, if you
want to install from USB.  To install from DVD you can use any
traditional method to write the iso image.

Hot off the presses this morning is a new version with linuxcnc
2.6.0~pre5.

You can find it at the temporary URL

http://www.linuxcnc.org/binary.hybrid.iso

I recommend using zsync to download it:

% sudo apt-get install zsync
% zsync http://www.linuxcnc.org/binary.hybrid.iso.zsync

--
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] LinuxCNC 2.6.0~pre5

2014-07-22 Thread Chris Radek
On Tue, Jul 22, 2014 at 08:57:21PM +0100, Steve Blackmore wrote:
 On Tue, 22 Jul 2014 08:06:43 -0600, you wrote:
 
 The new trajectory planner is not in 2.6.  It's in the master branch and
 will be part of 2.7. 
 
 Why? 

The most recent bugfix in the new trajectory planner was yesterday.
It looks like rotary axes didn't work right before that.  Other
recent changes have fixed incorrect threading behavior.  It has not
seen wide use on a variety of real machines.  It is simply not ready
to be in the stable release yet.

 Time and effort wasted getting yet another 2.6 out rather than
 actually

We've previously fallen into the trap before of waiting for just
one more feature to stabilize before releasing the good work we
already have.  2.6 has some wonderful new stuff, and if you don't
need it, that's fine, but your needs are not universal.  You are
wrong that the 2.6 work is a waste of time.

Here is what I do know for sure: if the new planner is important to
you, you SHOULD BE TESTING IT to make sure it's ready for 2.7.  

Since you are obviously affected by current planner limitations,
doing testing in your environment would not only help YOU
immediately, but would help everyone have a more stable 2.7 release.
It may also help the 2.7 release come sooner.

You have easy access to this code.  It has never been easier to test
master builds, now that buildbot makes packages automatically (which
is, by the way, another thing that Seb, who you accuse of wasting
time and effort, has done for you and the project.)

Chris

--
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] New trajectory planner merged into LinuxCNC's development branch

2014-06-11 Thread Chris Radek
On Wed, Jun 11, 2014 at 07:29:27PM -0600, Sebastian Kuzminsky wrote:
 I'm pleased to announce that Robert Ellenberg's new trajectory planner
 has been merged into LinuxCNC.  It is in the master branch, aka 2.7~pre,

I spent the weekend at Sam's place and was thrilled by what I saw,
running this code on various real hardware.  Thanks, Rob and Sam,
for all your work!

Chris

--
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing  Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Quiet day, good time for a homing question?

2014-05-22 Thread Chris Radek
On Thu, May 22, 2014 at 07:26:42PM -0400, Gene Heskett wrote:
 answer my questions.
 
 However, since the wiki.linuxcnc.org site no longer has a search function, 
 and the index seems to be a will-o-the-wisp, I couldn't find it.  For new 
 bee, or even an old fart like me, that lack hurts the sites ability to 
 answer even an old bee's questions.
 
 I would hope at some point, the lack of a search function, and a 
 meaningful index can both be addressed.

There's a search box at the bottom of every page.

There's a full index link, PageIndex, at the top of every page.

Any other kind of index other than a simple list of pages has to be
generated by a human - please help if you have ideas.

--
Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free.
http://p.sf.net/sfu/SauceLabs
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Wapped Rotary motion

2014-05-21 Thread Chris Radek
On Wed, May 21, 2014 at 11:21:54PM +0200, Bas de Bruijn wrote:
 Hi,
 I'd like to have a table running in wrapped rotary motion. I've
 added WRAPPED=1 in the ini file, 

You spelled it wrong:

http://www.linuxcnc.org/docs/html/config/ini_config.html#sub:AXIS-section

--
Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free.
http://p.sf.net/sfu/SauceLabs
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] New Tajectory Planner

2014-05-13 Thread Chris Radek
On Tue, May 13, 2014 at 09:04:32PM -0400, Robert Ellenberg wrote:

 Does anyone object to merging into master now?

As far as I'm concerned, whenever you're ready.

Chris

--
Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free.
http://p.sf.net/sfu/SauceLabs
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Yahoo causes bounced messages and suspension of list subscriptions

2014-04-26 Thread Chris Radek
On Sat, Apr 26, 2014 at 06:19:09PM -0700, Greg Bernard wrote:
Hi.
I just received notice that my membership was suspended due to excessive
bounces.
I was able to successfully reinstate my membership but in the interest of
retaining it I would like to know exactly what a bounce is and how I can
avoid it in the future. The only thing I can think of is that I included a
link in my message. Could that be what triggered it?
Thanks,
Greg

Greg, pardon me for replying in public to your private message;
this affects LOTS of people.

This is nothing you've done wrong.  Unfortunately this is caused by
some yahoo madness.  It's a very big problem, and it's not clear
what the fix is (except for yahoo to undo their change.)

Worse, the change that yahoo made causes people at OTHER providers
to be unsubscribed, too.  At least comcast, yahoo, hotmail, live,
sympatico, bellsouth, msn, and outlook users are being unsubscribed
because of this.

So in short, yahoo have singlehandedly broken all the existing
mailing lists in the world.  

The sourceforge bug:
http://sourceforge.net/p/forge/site-support/7413/

Someone who figured out the problem earlier:
https://www.ietf.org/mail-archive/web/ietf/current/msg87153.html

Unsubscribing/forbidding all yahoo users is the only possible fix
today (which would save people who use other providers from damage)
but that really stinks because yahoo is so popular.

Yahoo knows they broke mailing lists; see the bottom of their
announcement:

http://yahoomail.tumblr.com/post/82426900353/yahoo-dmarc-policy-change-what-should-senders-do

I have turned off bounce processing temporarily; I hope sourceforge
(and the mailman people) can come up with something soon, or yahoo
undoes the madness.

Meanwhile, if you've been looking for a reason to stop using yahoo
mail, here's a very good one.

If you are using yahoo mail, please don't respond to this message.
Instead, please let yahoo know that you are affected, or move to
another email provider.

Chris

--
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Yahoo causes bounced messages and suspension of list subscriptions

2014-04-26 Thread Chris Radek
On Sun, Apr 27, 2014 at 03:46:09AM +0100, andy pugh wrote:
 On 27 April 2014 03:00, Chris Radek ch...@timeguy.com wrote:
 
  Unsubscribing/forbidding all yahoo users is the only possible fix
  today
 
 Is it possible to unsubscribe them all and send an email saying why?

Yes it would be possible to do that.

It looks like I could also ban yahoo users from (re)subscribing.

--
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Yahoo causes bounced messages and suspension of list subscriptions

2014-04-26 Thread Chris Radek
On Sat, Apr 26, 2014 at 10:12:53PM -0500, Charles Steinkuehler wrote:
 
 If you can, it's probably better to just ban the Yahoo users from
 posting (or put them all on moderation).

Yeah I think the only thing I could do is moderate all of them.

But I am not too anxious to do some yahoo-nuke and call it solved,
because I doubt yahoo is the last one to set p=reject.

I have no idea what to do except wait and hope the Mailman folks
come up with something (and sourceforge uses it).

I'm not the first one to notice that yahoo offers an alternative to
mailing lists:

http://lists.dmarc.org/pipermail/dmarc-discuss/2014-April/002459.html

--
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] 2.5.4 is released!

2014-04-17 Thread Chris Radek
No config changes are required when upgrading from 2.5.x to 2.5.4.

For the typical installation, the update manager will automatically
offer you this upgrade.  Otherwise, you can get the packages from
http://linuxcnc.org/dists

Many thanks to the people who have reported bugs, and especially to
the folks who worked to improve LinuxCNC for this release:

Alex Joni
Andy Pugh
Ben Jackson
Chris Morley
Chris Radek
Chris S Morley
Dewey Garrett
Francis Tisserant
Frank Tkalcevic
Jeff Epler
John Thornton
Jon Elson
Michael Haberler
Russell Brown
Sebastian Kuzminsky

Here are the changes:

  * Build: update dependencies for Debian 7
  * Docs: many fixes and updates
  * HAL: blend: fix docs to match the real behavior
  * HAL: edge: fix incorrect edge trigger at startup: Bug #346
  * HAL: ilowpass: handle encoder counter overflows properly
  * HAL: lcd: fix formatting when no format length is specified
  * HAL: new components bin2gray, gray2bin for Gray code conversion
  * HAL: new components bitwise and bitslice, for bitwise math operations
  * HAL: pcl720: fix in-not pins
  * HAL: thc: fix incorrect calculation of velocity tolerance: Bug #348
  * Hostmot2: document ability to have multiple 7i43 cards
  * Hostmot2: fix for PCI transfers on Linux 3.x kernels
  * Hostmot2: fix resolver index emulation/detection
  * Hostmot2: fix resolver total brokenness on 64-bit builds
  * Interpreter: fix crash when returning from a subroutine, to a file
that has been deleted: Bug #357
  * Interpreter: fix VW-plane (G19.1) canned cycles
  * NGCGUI: Always apply tool offset when loading a tool
  * NGCGUI: Fix qpocket stepover, ramping for mm users
  * NML: fix remote clients talking to linuxcncserver
  * Pncconf: allow setting the number of classicladder bits and words
  * Pncconf: fix configurations requesting gladevcp panels without
spindle speed displays
  * Pncconf: fix 7i43 address designation: Bug #358
  * Pncconf: fix 5i25+prob_rfx2 pin numbering problem: Bug #331
  * Pncconf: fix testing of smart-serial based spindles
  * Pncconf: place STEPGEN_MAXVEL/STEPGEN_MAXACCEL values in the ini
  * PPMC: Add new sample config showing encoder velocity estimation
  * PyVCP: in a spinbox, allow entering a value with Return: Bug #364
  * Stepconf: better defaults for axis-test distances
  * Stepconf: fix spindle-at-speed connection
  * Task: fix several problems with M61 (set currently-loaded tool)
  * Touchy: MDI support for M61 Q
  * Touchy: MDI support for multi-turn arcs
  * TP: fix a minor acceleration constraint violation in some arcs


--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Motion Mode in HAL

2014-04-15 Thread Chris Radek
On Tue, Apr 15, 2014 at 10:21:45AM +0100, andy pugh wrote:
 Does any HAL pin indicate if the current move is a G1, G2, G3 or G0 move?
 I am wondering if such a pin would be useful for things like laser
 cutters, which could cut with g1 and  move with g0, almost
 automagically.

The TP already tracks this; sending it to a hal pin is trivial (I
did this test to try it - these debug hookups are params, but same
idea):

diff --git a/src/emc/motion/control.c b/src/emc/motion/control.c
index f6e7ac7..140d73c 100644
--- a/src/emc/motion/control.c
+++ b/src/emc/motion/control.c
@@ -1796,7 +1796,7 @@ static void output_to_hal(void)
 emcmot_hal_data-debug_float_1 = emcmotStatus-spindleRevs;
 emcmot_hal_data-debug_float_2 = emcmotStatus-spindleSpeedIn;
 emcmot_hal_data-debug_float_3 = emcmotStatus-net_spindle_scale;
-emcmot_hal_data-debug_s32_0 = emcmotStatus-overrideLimitMask;
+emcmot_hal_data-debug_s32_0 = emcmotStatus-motionType;
 emcmot_hal_data-debug_s32_1 = emcmotStatus-tcqlen;

You'd just have to make a new pin in emcmot_hal_data, initialize it
in init_hal_io(), and then write it in output_to_hal().

Chris

--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Motion Mode in HAL

2014-04-15 Thread Chris Radek
On Tue, Apr 15, 2014 at 04:33:10PM +0100, andy pugh wrote:
 On 15 April 2014 15:18, Chris Radek ch...@timeguy.com wrote:
 
  +emcmot_hal_data-debug_s32_0 = emcmotStatus-motionType;
 
 That looks suspiciously easy.

Yes.

 Is the pin synchronised with motion?

Yes.

 I suspect that it would actually return the same value for G1 and G0
 (TC_LINEAR = 1) ?

Nope, it will give you these:

http://git.linuxcnc.org/gitweb?p=linuxcnc.git;a=blob;f=src/emc/nml_intf/motion_types.h

--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Motion Mode in HAL

2014-04-15 Thread Chris Radek
On Tue, Apr 15, 2014 at 05:07:35PM +0100, Dave Caroline wrote:
 Where in a blend from one gcode to the next should the state of this
 pin/s change.

They change in the middle of the blend.

--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] [ANNOUNCE] Machinekit project

2014-04-03 Thread Chris Radek
On Thu, Apr 03, 2014 at 04:26:41PM +0200, Michael Haberler wrote:
 
 We are pleased to announce the formation of the Machinekit project [1][2][3].

This is great!  I wish the very best for both ongoing projects.

Chris

--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Machinekit Gui

2014-01-23 Thread Chris Radek
On Thu, Jan 23, 2014 at 05:16:26PM +, Mark Tucker wrote:

 I think really what i want from a Gui is something that has no bells or 
 whistles,for instance graphics while i am running the machine or 
 liveplot as it is called.
 Also something that is functional for a metal cutting cnc.

Touchy was written with these goals in mind.  It is made for use on
the panel of an industrial machine.  It does not use keyboard or
mouse, and does not use any widgets that work badly on touchscreens,
such as sliders and scrollbars.

 I have worked on Cnc machines for the best part of 35years and some of 
 the screens in Linuxcnc are not really workable in that enviroment.

We have many choices because people have different preferences.  It
is a mistake for any of us to think our preferences are universal.


--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Machinekit Gui

2014-01-22 Thread Chris Radek
On Wed, Jan 22, 2014 at 11:12:07PM +, Mark Tucker wrote:

 I Really have a dislike for the Mouse Driven Axis Gui,Mouse and metal 
 cutting machines don't mix,so i was hoping to Modify Gscreen and add 
 some keyboard stuff in later.

AXIS is totally controllable by keyboard.  Mouse support is
secondary.  See the help menu for a list of the key shortcuts.


--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] LinuxCNC shows new, but runs old ngc program

2014-01-12 Thread Chris Radek
On Sun, Jan 12, 2014 at 06:45:33PM -0800, jrmitchellj . wrote:
 Yes, 2.5.3.
 I duplicated the issue again today.

Can you describe a step-by-step procedure that someone else can
follow, that will show the problem occurring?


--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] LinuxCNC on Ubuntu Precise 12.04 with RTAI

2013-12-20 Thread Chris Radek
On Fri, Dec 20, 2013 at 08:28:39AM -0700, Sebastian Kuzminsky wrote:

 Installing the rtai linux-image did the right thing on my machine
 - when i turn the computer on, grub boots into the rtai kernel by
 default.

This was also my experience on xubuntu 12.04.

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Coordinate Transform to Level Workbed

2013-12-09 Thread Chris Radek
On Sun, Dec 08, 2013 at 11:21:19AM -0600, Charles Steinkuehler wrote:

 Also, the math only
 needs to happen on the endpoints, not every mS as the machine is moving
 along the commanded path.  

This is only true in a very limited situation: if you expect the
table to be planar (what if it's a hemisphere?), and you avoid arcs
completely.  

In the general case of compensating for a non-square non-orthogonal
machine (whose geometry changes randomly from one day to the next?)
and running fully-featured gcode, it's inadequate, and a full kins
solution that runs at every servo cycle is more like the answer, but
you still have such a rabbit-hole.  

--
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] INI Tricks

2013-11-29 Thread Chris Radek
On Fri, Nov 29, 2013 at 05:27:17PM -0700, Sebastian Kuzminsky wrote:
 
 I think a #include-like directive would be both useful and easy to 
 implement, but i'm not volunteering to do it.  ;-)

I think this might be barking up the wrong tree: a tree that only
you and your fellow programmers can see.

I gently suggest considering whether concentrating on our
configurators like stepconf might be better in the long run for
fixing the root problem: that configuring is intricate and hard for
the new user.  [actually I'm not sure what root problem Charles is
trying to solve so I am guessing here -- something stepconf doesn't
currently handle perhaps?]

This line of thought fits in with Todo-2.6 items in section 8,
especially 8.2.: remove [sample configs] that can be easily
regenerated by stepconf.

Paradoxically, the more intricate you make the ini and hal languages
with the goal of ease of use, the harder it is for the gui
programs to handle (especially read and rewrite) them, the more
brittle those programs get, and the less likely we are to want to
maintain or improve them -- in effect, hurting *real* ease of use
more than helping.  In particular I'm thinking of the crazy things
the PID-tuning gui program has to go through because of how the hal
file can refer to variables in the ini file.  My unverified
institutional memory tells me this feature was the cause of at least
one regression released to users.  If you add includes, that program
has to get more twisted still, or more likely, it would just remain
broken for this new kind of config.

My 2 cents only.

Chris

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] INI Tricks

2013-11-29 Thread Chris Radek
On Sat, Nov 30, 2013 at 01:35:55AM +, andy pugh wrote:
 On 30 November 2013 01:28, Chris Radek ch...@timeguy.com wrote:
 
  Paradoxically, the more intricate you make the ini and hal languages
  with the goal of ease of use, the harder it is for the gui
  programs to handle (especially read and rewrite) them, the more
  brittle those programs get,
 
 FWIW I can't really see that the INI file is any sort of problem. The
 whole point of the INI is to put all the data in one place.

I don't understand what you're saying - is this a reply to Charles's
original question or to my quoted paragraph?  He was specifically
asking about modular ini files: #include directives that can affect
[TRAJ] and [AXIS_] sections.


--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] XHC HB04 pendant buttons and debouncing

2013-11-21 Thread Chris Radek
On Thu, Nov 21, 2013 at 08:08:57PM +, andy pugh wrote:
 On 21 November 2013 16:32, Marius Alksnys marius.alks...@gmail.com wrote:
 
  I am thinking which way to go:
  1. add debouncing to the pendant driver
  2. use additional 'debounce' components in hal
  3. Change halui behaviour to take only one input pin for start / pause /
  resume program or start / stop the spindle and use 'debounce' hal component.
  4. add debouncing to 'toggle2nist' component
 
 I prefer 4.

I prefer 2 -- debounce is already written and stable and tested by
many people, and the whole point of HAL is to string together little
blocks in useful ways -- not to keep writing the same thing over and
over.


--
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Touchy with 1024x600 resolution display?

2013-10-28 Thread Chris Radek
On Mon, Oct 28, 2013 at 11:20:23PM +0100, Thomas Kaiser wrote:
 
 Sorry for a ping again.
 
 Is it not possible to run Touchy on 1024x600?

Sure it is.  Say what problem you are having?  What doesn't fit?


--
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Fanuc 420F 6-axis robot

2013-10-27 Thread Chris Radek
On Sat, Oct 26, 2013 at 10:36:48PM -0500, Jon Elson wrote:
 LinuxCNC has a mechanism to home axes in sequence, and then move
 to a particular position offset from the index pulse location.
 So, this should allow the machine to be homed safely from most
 positions.  

This is how we set up homing on a puma-like robot at MPM:
http://www.youtube.com/watch?v=ZmNlP7bm0Nc

It's true you have to be a little careful about the initial position
before starting the homing process, but it's not at all hard to
safely home it.

--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60135991iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Arc centres in polar coordinates.

2013-10-22 Thread Chris Radek
On Tue, Oct 22, 2013 at 02:29:20PM +0100, andy pugh wrote:
 I don't think that is it possible to use G91.1 arc centres and polar
 coordinates?

You can use @^ to specify the arc endpoint, not the center

 Is there a better way to do this than to do a polar move to the hole
 centre, then G92 X0 Y0 and then do G90.1 spiral milling before
 clearing G92 to move to the next hole?

That seems like a fine way to do it, to me


--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60135991iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Following error pin

2013-10-08 Thread Chris Radek
On Tue, Oct 08, 2013 at 03:37:49PM +, Tomaz T. wrote:
 I have two motor drivers (for axis 4 and 5) which have alarm
 signal telling me that motor is off position, and would like to
 connect that in linuxcnc, so when it is active it would trigger
 following error for certain axis. Which hal pin can I use for that
 input signals to connect on to? 

I would use axis.N.amp-fault-in

This will cause the same behavior as a following error (abort,
disable the amps, and generate a fault message).

--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60134071iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Determining feed or rapid move?

2013-09-02 Thread Chris Radek
On Sun, Sep 01, 2013 at 10:56:28AM -0400, Ted Hyde wrote:

 Greets -
 Is there a boolean method of determining if LCNC (and likely with AXIS) 
 is currently performing either a feed-rate related move (G1,2,3+) or a 
 rapid move (G0 only, optionally including any M-end-related sequences)?

Not currently, but it's easy to add:  Try this, or similar 
(this is against v2.5_branch):

http://timeguy.com/cradek-files/emc/0001-Add-a-pin-giving-the-type-of-motion-rapid-line-arc.patch

--
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=58040911iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] August's IRC meeting

2013-08-20 Thread Chris Radek
The August meeting will be at 1600UTC on 2013-08-24

The agenda is here:
http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Meeting201308

General information about the meetings is here:
http://wiki.linuxcnc.org/cgi-bin/wiki.pl?MeetingsOnIRC

Like last time, I'm going to freeze the agenda on Wednesday so we
don't have last-minute additions that people don't have time to
think about.

So get your edits in, and get the discussions going about topics
that are important to you.  See you there.

Chris

--
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Keystick with 4D Machine

2013-08-10 Thread Chris Radek
On Sat, Aug 10, 2013 at 03:49:18PM -0500, Charles Steinkuehler wrote:
 
 I'm liking keystick a lot, but I can't get it to actually do much.  I
 can jog around and home X, Y, and Z, but I can't run an MDI command or a
 program because it tells me can't do that when not homed.
 
 How do I home the A axis (or any other axis besides the big 3 for that
 matter) in keystick?

Yeah, you can't.

 Is there a home all button I missed somewhere, or a way to select the
 A axis besides the obvious press the 'A' key (which doesn't work)?

Keystick development stopped before we had lathes, ABCUVW axes, home
all, home sequences, spindle override, block delete, optional stop,
coordinate system rotation, separate g5x and g92 offsets, tool
offsets other than along Z, maybe limit override?, and probably
other things that involved adding gui support that I don't think of
immediately.

It also appears to not handle looping (moving anything other than
forward monotonically in the gcode display).

Oh hey, I did actually fix it up in '10 when g5x and g92 were
separated, including adding support for tool offsets.  You can't
tell them apart in keystick, but at least you get the proper sum of
them.

It probably received every fix that it needed to keep it *compiling*
but no others.

So it has had a bit of maintenance since the '06 import but it needs
a lot more if you intend to use it and not be constantly bitten by
it.

Chris

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] 2.5.3 is released!

2013-07-24 Thread Chris Radek
No config changes are required when upgrading from 2.5.x to 2.5.3.

For the typical installation, the update manager will automatically
offer you this upgrade.  Otherwise, you can get the packages from
http://linuxcnc.org/dists

Many thanks to the people who have reported bugs, and especially to
the folks who worked to improve LinuxCNC for this release:

Andy Pugh
Chris Morley
Chris Radek
Dewey Garrett
Erkka Koski
Francis Tisserant
Janos Bujtar
Jeff Epler
John Kasunich
John Thornton
Jon Elson
K.T. Chan
Kim Kirwan
Matt Shaver
Michael Geszkiewicz
Michael Haberler
Peter Blodow
Sebastian Kuzminsky

Here are the changes:

  * AXIS: fix disable/enable of the toolbar's reload button
  * BUILD: fix linking on 32 bit x86 debian 7.1
  * Configs: use names= everywhere to make the sim configs clearer
  * Docs: Many improvements
  * HAL: clarkeinv: allow rotation of the input vector
  * HAL: sim_pin: add support for u32, s32, float types
  * HAL: abs_s32: don't unnecessarily require floating point
  * HAL: comp: fix option userinit
  * HAL: comp: improve handling of build failures and error reporting
  * HAL: twopass: improve error reporting
  * Hostmot2: fix smart serial port shutdown
  * Interpreter: Fix bug 315 part 2, O-call through named parameter
  * Kins: replace 5axiskins.c, used by a sample config
  * Kins: 5axiskins: remove misleading tool-length pin
  * Motion: allow for floating point in the base thread
  * PPMC: add encoder timestamp velocity estimation
  * PPMC: selectable encoder filter clock
  * PyVCP: fix several behaviors in the dial widget
  * Task: fix MDI-queueing problems
  * USC: new sample config for Pico USC with encoders
  * linuxcncrsh: many stability fixes
  * pncconf: fix 5i25 GPIO numbering
  * pncconf: fix default PDM rate
  * pncconf: fix open loop test
  * pncconf: fix incorrect zh_CN translation which broke millimeter mode

--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] July's IRC meeting

2013-07-22 Thread Chris Radek
The July meeting will be at 1600UTC on 2013-07-27

The agenda is here: 
http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Meeting201307

General information about the meetings is here:
http://wiki.linuxcnc.org/cgi-bin/wiki.pl?MeetingsOnIRC

I'm going to freeze the agenda on Wednesday so we don't have
last-minute additions that people don't have time to think about.

So get your edits in, and get the discussions going about topics
that are important to you.

See you there.

Chris

--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] July's IRC meeting

2013-07-22 Thread Chris Radek
On Mon, Jul 22, 2013 at 11:47:36AM -0400, John Kasunich wrote:
 By default, the tabled items from the last meeting should
 be copied to the new agenda.  Tabling an item should 
 not cause it to disappear.

I don't agree this should happen by default, since if an item is
tabled because there was not enough information or discussion about
it previously, and no more has happened since, there's little point
to bringing it up forever.  These would tend to accumulate.

But please, by all means, add anything you like to the agenda,
especially if you feel strongly about one of the things that was
tabled previously and you want to take on the task of promoting it.

--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] July's IRC meeting

2013-07-22 Thread Chris Radek
On Mon, Jul 22, 2013 at 12:58:21PM -0400, John Kasunich wrote:

 I do feel somewhat strongly that items should remain on the
 agenda until the membership explicitly either approves or
 rejects them.  I just added that to the agenda.

Good, then let me spell out my thoughts too.

In the June meeting, the person making the proposal was the one to
introduce it and explain it.  I feel it's the job of the proposer to
lead the discussion and make the persuasive arguments in the time
between meetings, and then explain and summarize that work at the
meeting.

I guess I was imagining that if the proposer was still wanting a
certain thing to happen, and the proposal is tabled one month,
that person would continue to place it on the agenda and, between
meetings, do the work to rally support.

If the proposer decides they no longer care about a thing, they can
let it drop by just doing nothing.  (This is also a way to save
face, and avoid making people tell you NO, if you decide your idea
wasn't so great, or it's the wrong time for it.)

I'm picturing an absurd situation where the proposer doesn't care
anymore, and maybe doesn't even show up to present or argue for it,
and does no work to bring people together between meetings, but the
proposal is stuck on the agenda forever.  But as you say, in that
situation, those present can just vote it down.  

But with that in mind -- I'm worried though, that if a proposer
can't show up once, the item will still be on the agenda, but the
prime person arguing for it won't be present.  Maybe it's better if
the proposer can bring it up again when ready -- simply by adding it
to the agenda.  If you're doing the work of cheerleading a proposal,
editing the agenda once a month to keep your idea active seems like
a very low bar.

I think with the system I propose, votes will mostly be yes or
tabled (meaning that AT THIS TIME there's not enough information
or consensus to conclusively say yes).  With the system you propose,
I think there will be more no votes when proposals are made that
nobody really does the community work for.

Maybe tabling is bad and we should just be unafraid to vote no
when there's not enough information or consensus to decide yes.

I may be overthinking all of this.

Chris

--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] updating linuxcnc

2013-07-21 Thread Chris Radek
On Sun, Jul 21, 2013 at 11:55:44PM +, Tomaz T. wrote:
 
 ? linuxcnc: Depends: libmodbus5 but it is not installable

You'll have to enable the base component, for example:

deb http://linuxcnc.org/ lucid base linuxcnc2.5

--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Touchy update? (Chris Radek)

2013-07-10 Thread Chris Radek
On Wed, Jul 10, 2013 at 09:05:16AM -0600, Sebastian Kuzminsky wrote:
 
 If so, then the good news is that there is no such limit: you can have 
 gcode files in many directories.

This isn't true for the touchy GUI; it has one directory where it
looks for files, and that's all.  The idea is that it's for
production setups where you'll use external methods (likely over
the network) to place programs in the control or remove them.

I write and test my gcode programs at a separate full computer using
AXIS and a simulator config, and when I'm happy with the gcode, I
copy to the mill.

If you want to test configurations and gcode files on the same
machine, but have them separate from your production configurations
and files, maybe you should log in as a different user.


--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Touchy update?

2013-07-09 Thread Chris Radek
On Tue, Jul 09, 2013 at 01:29:35PM -0500, Shannon Watson wrote:

 OSError: [Errno 2] No such file or directory: 
 '/home/swatson/linuxcnc/nc_files'

You need to create this directory.  This is where it looks for gcode
files.

When we did the rebranding from emc2 to linuxcnc, this changed.  You
might have custom configs there too; you'll want to just rename the
directory if so.

--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Jog in world mode - increments

2013-07-02 Thread Chris Radek
On Tue, Jul 02, 2013 at 08:48:26AM +, Tomaz T. wrote:
 
 Ok, here is the situation I have related to my previous question. I have MPG 
 control which works perfectly in joint mode. Now what would be the solution 
 to make it useful also in world mode, where only continuous jog is possible?

I have been told this works in the joints_axes3 branch but I have
never tried it.  If you do, please report back.

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] PID Best Practices

2013-06-27 Thread Chris Radek
On Thu, Jun 27, 2013 at 09:42:37AM -0500, Charles Steinkuehler wrote:

 I was trying some small I gains, mostly between .001 and .024.  I
 _think_ the PID thread rate is being accounted for, but if not that
 could easily explain things (I'll have to dig through the code).

The pid manpage tells you how the scaling works, and even gives an
example for Igain.

 I suspect, however, that given the slow rates my temperature moves
 around, I may have been dealing more with integrator wind-up than with
 bad gains.  

Yes I assume you have a step command in temperature, say from 0 to
180 degrees.  You'll immediately get huge error and the output will
saturate.  This saturated output is actually what you want.  But
this causes I to start accumulating and it'll wind up quite a bit
before your feedback catches up.

I doubt you want I gain at all in this situation where you expect to
have big errors.  You'll probably want P and D only; D will be the
one that you tune to prevent overshoot and oscillation.  


--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Kinematics - Help Our HackerSpace

2013-06-24 Thread Chris Radek
On Sat, Jun 22, 2013 at 07:19:52PM -0500, Bart Dring wrote:
 
 http://pumpingstationone.org/2013/06/cnc-gonzo-build-2-recap/

Interesting machine!

 We are having trouble getting it to work in EMC. When we turn on the
 machine in EMC, both carriages immediately race at full speed towards the
 home switches. 

There should be no motion until you home.  Since it comes up in
joint mode, your kinematics are not even running.  

 Using the MDI tab with G code commands we are able to get X motion at the
 pen. That is pretty simple because for X, both carriages always run at the
 same speed and direction as the pen. We can command the pen to move in Y,
 but only at very low speeds. If we try to go fast EMC gives us all sorts of
 joint speed and position errors.

As has been pointed out, you should record and report behavior a lot
more carefully if you are asking for help.

 There is a link to our kinemantics file at the link above.  (We just
 modified trivkins.c). At this point I think it has been hacked beyond our
 initial successes, to completely broken.
 
 1. For this type of machine, what do we return for kinematicsType()?

BOTH as you have done

 2. What do I want to do in kinematicsHome(). When is this function called
 and how often?

Never as far as I know

 3. Why does the machine starting running immediately.?

Not enough information to say.

 4. Can everything be done in the mykin.c file or do I need to modify other
 areas of the HAL.

I don't think you need to do anything else.  I grabbed the latest??
version of your file which says it's untested.  (It's hard to tell
which version others have tested).  I made a similar test program
that could be run outside LinuxCNC  (I absolutely recommend testing
kins standalone):

#include math.h
#include stdio.h

#define sq(x) ((x)*(x))

double c2 = 140.4225;
double x,y, j[2];

void f(void) {
double b = (j[1] - j[0]) / 2;

x = j[0] + b;
y = sqrt(c2 - sq(b));
}

void i(void) {
double b = sqrt(c2 - sq(y));

j[0] = x - b;
j[1] = x + b;
}

void p(double x, double y) {
printf(%g %g);
}


int main(void) {
x = 3, y = 4;
t();
x=4;
t();
y=5;
t();
x = -1, y = -2;
t();
x = 0, y = 0;
t();
return 0;
}


The output looks correct to me, for the expected domain:

start point: 3 4
-8.15448 14.1545
3 4

start point: 4 4
-7.15448 15.1545
4 4

start point: 4 5
-6.74349 14.7435
4 5

start point: -1 -2
-12.68 10.68
-1 2

start point: 0 0
-11.85 11.85
0 -nan


For the positive numbers, start - inverse - forward - compare
gives a match, so your inverse and forward kins match.  This is
good.  Moving the controlled point right increases both joints;
moving it up increases one and decreases the other.

As others have said, you have to be careful about invalid input
values, such as negative Y.  Notice that 0,0 is also bad and you
need to avoid it.  You will have to set your world limits carefully.
Set your machine on graph paper or similar, with the origin at one
end of the rail and move it around by hand to see where the pen can
actually reach.  Set those as your axis limits.  Wildly guessing
from your photo you'll get something like X 15..30 and Y 3..10 if
you're in inches.  Your real constraints are not rectangular, but
you'll need to inscribe a rectangle and use that.

Set up joint homing however is convenient, and note the resulting
world position once homed.  That has to be given in the ini file.
I am not really sure how you can home this safely - you'll have to
be creative and it'll probably involve a homing sequence or even
pre-positioning by hand.

I cannot guess what causes your initial runaway, but I suspect
you've got a problem with your homing procedure that leads to
invalid numbers being sent through your kins.

On a normal trivkins cartesian machine we can be fairly lazy about
homing since it only sets our axis travels and all points in world
space correspond to (matching) points in joint space.  In a machine
like yours, homing is really bootstrapping the machine and getting
the world command, joint command, and kins loaded with numbers that
make sense and correspond to each other.

You should share your whole config (tar it the directory) for better
help...  Also be sure to say what version of LinuxCNC you are using.

This is cool and I hope you get it going.

Chris

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev

Re: [Emc-users] Retrofit Candidate Advice

2013-06-24 Thread Chris Radek
On Mon, Jun 24, 2013 at 10:18:06PM -0500, Charles Steinkuehler wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Besides my 3D printing endeavors, I am involved with trying to get a
 hackerspace going here in Topeka.  Recently a CNC mill that might make
 a good LinuxCNC retrofit candidate popped up on the local craigslist:
 
 http://kansascity.craigslist.org/tls/3892182813.html
 
 Can anyone advise if this looks like it would be a good candidate for
 conversion to LinuxCNC, and what I should watch out for if I actually
 go to inspect and/or buy it?
 
 Thanks!


If you can find wiring diagrams you can determine a lot about
whether it's a good candidate for conversion.  A 1991 machine will
probably have velocity mode amps with tachs, and LED-based encoders.
So no real problem there.  I'm guessing it's 40 taper - I would
rather have a CAT spindle with retention knobs but those NST (NMTB?)
aren't rare or anything.

Mostly, good candidate means its drives and motors and encoders all
work, and it's not mechanically worn out.  If you take your
indicators with you and it's under power and operable you'll know
all that in short order.  If it's not under power and you can't
convince them to plug it in (I bet you $1 that's what you'll
encounter here) you can tell a BIT about wear by pushing and pulling
the table (compare readings in the center of travel to readings at
the ends of travel) and by turning screws by hand (you'll feel and
see any backlash).

Something about the machine looks familiar.  I think it might be the
same base model as Stuart's Dah-Lih.  If so, there are power drawbar
parts missing.  I notice there's no tool release button marked on
the panel.  I would really NOT want a manual drawbar on a CNC,
especially if the top of the head's 8 feet in the air.

(If your hackspace has 8 foot ceilings, take a tape measure with
you!)

This machine has a heavy knee and I notice there's no motor on it.
That may or may not be a big pain depending on your work and
tooling.

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Touchy without physical controls

2013-06-15 Thread Chris Radek
On Sat, Jun 15, 2013 at 01:47:15PM -0500, Charles Steinkuehler wrote:
 
 I can run the touchy simulation configuration, but I have not been
 able to get the loaded gcode to run (presumably because I can't press
 the start button that isn't there).  So do I need real hardware or am
 I missing some detail of the touchy sim setup that would give me some
 virtual buttons (maybe as a stand-alone pop-up window)?

You could make virtual buttons, but I don't think there's an
existing setup that does this.  When I've needed to run touchy in
simulation for testing something, I've used halcmd to poke the
buttons.  Even if you make virtual buttons, you won't be able to get
far without a wheel.

Do you expect people to use a mouse or a touchscreen?  I strongly
feel that touchscreen-only control is unsafe.  Mouse-only control is
safe but really awkward.

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


  1   2   3   4   5   6   7   8   9   >