Re: [Emc-users] Linuxcnc and Arduino

2016-05-24 Thread Forum Deswysen
Thank you all, I'll do tests

Best regards,

Pierre

2016-05-22 5:09 GMT+02:00 Chris Albertson :

> On Thu, May 19, 2016 at 12:37 AM, Erik Christiansen <
> dva...@internode.on.net
> > wrote:
>
> > On 18.05.16 08:30, Chris Albertson wrote:
> > > This is a general problem that applies not just to CNC machines.  What
> > > to do if the human interface allows a human to tell a machine to do
> > > something it can't do?In this case the interface allows you to
> > > command the axis to move faster then it can.  The best design is to
> > > prevent this.  You'd need to have some kind of force feedback, a
> > > torque or brake applied to the command wheel to prevent you from
> > > turning it to fast.  Cheaper solution is a big red LED that lights up
> > > as you approach 90% of the maximum speed.  Or in place of the LED a
> > > vibrator motor to shake the wheel.
> >
> > I like the big red LED, especially together with a little mobile phone
> > vibrator motor or a complaining squawker, but what about just limiting
> > the joystick/knob output to MAX_VEL?
>
>
> If it is a joystick then yes that would work.  A joystick is a "jog"
> command that says to the machine "go left" and you can't enter a bad
> command because pushing it hard to the stop always means "go as fast as you
> can".
>
> But the user interface device we that started this discussion was a dial. A
> dial says "move a distance proportionate to how many degrees I turn the
> dial".  It is intended to by an analog of the dial that turns a lead screw
> on a manual machine.  The problem is the user can turn the dial as fast as
> he likes and the only feedback that he is turning it to fast is lag in the
> control.  In other words the "feedback" is that the machine no longer moves
> proportionate to how many degrees I turn the dial.
>
> The first is a velocity control and the second is a position control.
>
> To make a joystick always work you all you ned to do is able the hard stop
> "max speed", just like you said.
>
> The dial could too if you could limit what a user could do with it,
>
> My point was not really HOW to fix this just to point out that user
> interfaces can have theoretical issues a designer must address.  They
> either need to logically not allow invalid input (like a joystick) or the
> designer needs to specify what happens when the user makes an invalid
> input.This applies to software, toasters and cars not just CNC tools
>
>
> > Within LinuxCNC that ought to be
> > possible, maybe using a hal limit component? If it had to be done in the
> > arduino, then the limit would also not need to be hard-coded into the
> > program if means to increase/decrease the value via the user interface
> > were provided, as the result could then instead be saved in on-chip
> EEPROM.
> >
> > The latter method would permit scaling of the joystick travel to match
> > MAX_VEL, whereas the former would result in the last bit of joystick
> > travel doing nothing, which is suboptimal.
> >
> > If an operator is likely to jerk the joystick instantly to full travel,
> > then it might be an idea to limit output to e.g. 95% of MAX_VEL, so that
> > LinuxCNC can catch up despite limited MAX_ACCEL.
> >
> > Erik
> >
> >
> >
> --
> > 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
> >
>
>
>
> --
>
> Chris Albertson
> Redondo Beach, California
>
> --
> 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
>
--
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
___

Re: [Emc-users] Linuxcnc and Arduino

2016-05-21 Thread Chris Albertson
On Thu, May 19, 2016 at 12:37 AM, Erik Christiansen  wrote:

> On 18.05.16 08:30, Chris Albertson wrote:
> > This is a general problem that applies not just to CNC machines.  What
> > to do if the human interface allows a human to tell a machine to do
> > something it can't do?In this case the interface allows you to
> > command the axis to move faster then it can.  The best design is to
> > prevent this.  You'd need to have some kind of force feedback, a
> > torque or brake applied to the command wheel to prevent you from
> > turning it to fast.  Cheaper solution is a big red LED that lights up
> > as you approach 90% of the maximum speed.  Or in place of the LED a
> > vibrator motor to shake the wheel.
>
> I like the big red LED, especially together with a little mobile phone
> vibrator motor or a complaining squawker, but what about just limiting
> the joystick/knob output to MAX_VEL?


If it is a joystick then yes that would work.  A joystick is a "jog"
command that says to the machine "go left" and you can't enter a bad
command because pushing it hard to the stop always means "go as fast as you
can".

But the user interface device we that started this discussion was a dial. A
dial says "move a distance proportionate to how many degrees I turn the
dial".  It is intended to by an analog of the dial that turns a lead screw
on a manual machine.  The problem is the user can turn the dial as fast as
he likes and the only feedback that he is turning it to fast is lag in the
control.  In other words the "feedback" is that the machine no longer moves
proportionate to how many degrees I turn the dial.

The first is a velocity control and the second is a position control.

To make a joystick always work you all you ned to do is able the hard stop
"max speed", just like you said.

The dial could too if you could limit what a user could do with it,

My point was not really HOW to fix this just to point out that user
interfaces can have theoretical issues a designer must address.  They
either need to logically not allow invalid input (like a joystick) or the
designer needs to specify what happens when the user makes an invalid
input.This applies to software, toasters and cars not just CNC tools


> Within LinuxCNC that ought to be
> possible, maybe using a hal limit component? If it had to be done in the
> arduino, then the limit would also not need to be hard-coded into the
> program if means to increase/decrease the value via the user interface
> were provided, as the result could then instead be saved in on-chip EEPROM.
>
> The latter method would permit scaling of the joystick travel to match
> MAX_VEL, whereas the former would result in the last bit of joystick
> travel doing nothing, which is suboptimal.
>
> If an operator is likely to jerk the joystick instantly to full travel,
> then it might be an idea to limit output to e.g. 95% of MAX_VEL, so that
> LinuxCNC can catch up despite limited MAX_ACCEL.
>
> Erik
>
>
> --
> 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
>



-- 

Chris Albertson
Redondo Beach, California
--
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] Linuxcnc and Arduino

2016-05-19 Thread Erik Christiansen
On 18.05.16 08:30, Chris Albertson wrote:
> This is a general problem that applies not just to CNC machines.  What
> to do if the human interface allows a human to tell a machine to do
> something it can't do?In this case the interface allows you to
> command the axis to move faster then it can.  The best design is to
> prevent this.  You'd need to have some kind of force feedback, a
> torque or brake applied to the command wheel to prevent you from
> turning it to fast.  Cheaper solution is a big red LED that lights up
> as you approach 90% of the maximum speed.  Or in place of the LED a
> vibrator motor to shake the wheel.

I like the big red LED, especially together with a little mobile phone
vibrator motor or a complaining squawker, but what about just limiting
the joystick/knob output to MAX_VEL? Within LinuxCNC that ought to be
possible, maybe using a hal limit component? If it had to be done in the
arduino, then the limit would also not need to be hard-coded into the
program if means to increase/decrease the value via the user interface
were provided, as the result could then instead be saved in on-chip EEPROM.

The latter method would permit scaling of the joystick travel to match
MAX_VEL, whereas the former would result in the last bit of joystick
travel doing nothing, which is suboptimal.

If an operator is likely to jerk the joystick instantly to full travel,
then it might be an idea to limit output to e.g. 95% of MAX_VEL, so that
LinuxCNC can catch up despite limited MAX_ACCEL.

Erik

--
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] Linuxcnc and Arduino --> jog not run

2016-05-18 Thread Nicklas Karlsson
The obvious answer is user have to read manual, it is jog wheel not a run wheel!

If wheel lack break or other support for feed back then user run faster than 
speed limit the wheel could slip in software. For a control loop there is a 
similar phenomenon called wind up.


Nicklas Karlsson



On Wed, 18 May 2016 08:30:37 -0700
Chris Albertson  wrote:

> This is a general problem that applies not just to CNC machines.  What
> to do if the human interface allows a human to tell a machine to do
> something it can't do?In this case the interface allows you to
> command the axis to move faster then it can.  The best design is to
> prevent this.  You'd need to have some kind of force feedback, a
> torque or brake applied to the command wheel to prevent you from
> turning it to fast.  Cheaper solution is a big red LED that lights up
> as you approach 90% of the maximum speed.  Or in place of the LED a
> vibrator motor to shake the wheel.
> 
> In any case, I think it is always a design error if an interface
> accepts commands that cannot be executed and gives no user feedback.
> In that case the interface is broken by a design error.   Best case is
> that it is logically impossible to over drive the machine with the
> interface.   Maybe an example of this is that a control wheel can
> always be rotated at any speed but the position of the wheel is
> indicated by an LCD numeric display above the wheel that shows where
> the actual position the machine is really at. (some microwave timers
> and radio tuner dials work this way
 
> A more general idea is the concept of "correctness".  There are at
> least two levels
> 1) given correct input the computer produces correct output and
> 2) in addition to #1 above, given incorrect input the computer does
> not produce incorrect output.
> Level #1 is usually easy to implement but for most real-world systems
> you need #2 even if it is much harder to implement.
> 
> I think what you have is a level 1 correct controller.
> 
> On Tue, May 17, 2016 at 9:05 PM, Todd  Zuercher
>  wrote:
> > If the problem is that your able to turn the handwheel fast enough to 
> > exceed the maximum velocity for the axis and build up a store of pulses.  
> > Perhaps you should consider limiting the step size generated by the 
> > handwheel to one small enough that it is not possible to easily over run 
> > the max velocity of the axis.  I have seen similar behavior even in large 
> > expensive commercial machines with Fanuc controls.  Granted you have to 
> > turn the wheel really fast, faster than you can sustain for a long enough 
> > period to build up a significant overrun but it is detectable.
> >
> > - Original Message -
> > From: "Forum Deswysen" 
> > To: "Enhanced Machine Controller (EMC)" 
> > Sent: Tuesday, May 17, 2016 9:22:53 AM
> > Subject: Re: [Emc-users] Linuxcnc and Arduino
> >
> > I have a XHC - HB04 Wireless MPG during LinuxCNC HAL module.
> > If I turn the crank too fast I have a time delay ???
> >
> > It's dangerous
> >
> > 2016-05-17 11:21 GMT+02:00 Forum Deswysen :
> >
> >> Hi Andy,
> >>
> >> With a python script and the serial port :
> >>
> >> https://www.youtube.com/watch?v=flajZMff28U
> >>
> >> https://ckcnc.wordpress.com/basic-arduino-emc-howto/python-emc-module/
> >>
> >> With arduino, today I 'm testing my order for tool change turret.
> >> It works fine
> >>
> >>
> >> @+
> >>
> >> Pierre
> >>
> >> 2016-05-16 23:48 GMT+02:00 andy pugh :
> >>
> >>> On 16 May 2016 at 15:03, Forum Deswysen  wrote:
> >>> > The reaction speed is the same as a button on a Parport entry?
> >>>
> >>> That rather depends on how the Arduino connects to LinuxCNC, but the
> >>> answer is likely to be that it won't be anywhere near as fast.
> >>>
> >>>
> >>> --
> >>> atp
> >>> "A motorcycle is a bicycle with a pandemonium attachment and is
> >>> designed for the especial use of mechanical geniuses, daredevils and
> >>> lunatics."
> >>> — George Fitch, Atlanta Constitution Newspaper, 1916
> >>>
> >>>
> >>> --
> >>> 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 yo

Re: [Emc-users] Linuxcnc and Arduino

2016-05-18 Thread Chris Albertson
This is a general problem that applies not just to CNC machines.  What
to do if the human interface allows a human to tell a machine to do
something it can't do?In this case the interface allows you to
command the axis to move faster then it can.  The best design is to
prevent this.  You'd need to have some kind of force feedback, a
torque or brake applied to the command wheel to prevent you from
turning it to fast.  Cheaper solution is a big red LED that lights up
as you approach 90% of the maximum speed.  Or in place of the LED a
vibrator motor to shake the wheel.

In any case, I think it is always a design error if an interface
accepts commands that cannot be executed and gives no user feedback.
In that case the interface is broken by a design error.   Best case is
that it is logically impossible to over drive the machine with the
interface.   Maybe an example of this is that a control wheel can
always be rotated at any speed but the position of the wheel is
indicated by an LCD numeric display above the wheel that shows where
the actual position the machine is really at. (some microwave timers
and radio tuner dials work this way

A more general idea is the concept of "correctness".  There are at
least two levels
1) given correct input the computer produces correct output and
2) in addition to #1 above, given incorrect input the computer does
not produce incorrect output.
Level #1 is usually easy to implement but for most real-world systems
you need #2 even if it is much harder to implement.

I think what you have is a level 1 correct controller.

On Tue, May 17, 2016 at 9:05 PM, Todd  Zuercher
 wrote:
> If the problem is that your able to turn the handwheel fast enough to exceed 
> the maximum velocity for the axis and build up a store of pulses.  Perhaps 
> you should consider limiting the step size generated by the handwheel to one 
> small enough that it is not possible to easily over run the max velocity of 
> the axis.  I have seen similar behavior even in large expensive commercial 
> machines with Fanuc controls.  Granted you have to turn the wheel really 
> fast, faster than you can sustain for a long enough period to build up a 
> significant overrun but it is detectable.
>
> - Original Message -
> From: "Forum Deswysen" 
> To: "Enhanced Machine Controller (EMC)" 
> Sent: Tuesday, May 17, 2016 9:22:53 AM
> Subject: Re: [Emc-users] Linuxcnc and Arduino
>
> I have a XHC - HB04 Wireless MPG during LinuxCNC HAL module.
> If I turn the crank too fast I have a time delay ???
>
> It's dangerous
>
> 2016-05-17 11:21 GMT+02:00 Forum Deswysen :
>
>> Hi Andy,
>>
>> With a python script and the serial port :
>>
>> https://www.youtube.com/watch?v=flajZMff28U
>>
>> https://ckcnc.wordpress.com/basic-arduino-emc-howto/python-emc-module/
>>
>> With arduino, today I 'm testing my order for tool change turret.
>> It works fine
>>
>>
>> @+
>>
>> Pierre
>>
>> 2016-05-16 23:48 GMT+02:00 andy pugh :
>>
>>> On 16 May 2016 at 15:03, Forum Deswysen  wrote:
>>> > The reaction speed is the same as a button on a Parport entry?
>>>
>>> That rather depends on how the Arduino connects to LinuxCNC, but the
>>> answer is likely to be that it won't be anywhere near as fast.
>>>
>>>
>>> --
>>> atp
>>> "A motorcycle is a bicycle with a pandemonium attachment and is
>>> designed for the especial use of mechanical geniuses, daredevils and
>>> lunatics."
>>> — George Fitch, Atlanta Constitution Newspaper, 1916
>>>
>>>
>>> --
>>> 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
>>>
>>
>>
> --
> 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

Re: [Emc-users] Linuxcnc and Arduino

2016-05-17 Thread Nicklas Karlsson
If maximum speed is to low it take a while to catch up. I guess jog signal have 
to be limited to maximum speed.

On Wed, 18 May 2016 08:40:05 +0800
Thomas Powderly  wrote:

> is it windup?
> like a queue is filled up with commands and has to drain?
> yes, handwheels should stop when you stop turning, not later
> i saw it on pmacs, the fix was something like the charge-pump used on 
> linuxcnc
> the rotary pulses allowed the action(similar to charge-pump),
> and ending rotation killed pulse stream.
> 'immediately' as in, by end of next plc cycle. fast enuf for most, not 
> perfect
> 
> tomp
> 
> On 05/17/16 21:22, Forum Deswysen wrote:
> > I have a XHC - HB04 Wireless MPG during LinuxCNC HAL module.
> > If I turn the crank too fast I have a time delay ???
> >
> > It's dangerous
> >
> > 2016-05-17 11:21 GMT+02:00 Forum Deswysen :
> >
> >> Hi Andy,
> >>
> >> With a python script and the serial port :
> >>
> >> https://www.youtube.com/watch?v=flajZMff28U
> >>
> >> https://ckcnc.wordpress.com/basic-arduino-emc-howto/python-emc-module/
> >>
> >> With arduino, today I 'm testing my order for tool change turret.
> >> It works fine
> >>
> >>
> >> @+
> >>
> >> Pierre
> >>
> >> 2016-05-16 23:48 GMT+02:00 andy pugh :
> >>
> >>> On 16 May 2016 at 15:03, Forum Deswysen  wrote:
>  The reaction speed is the same as a button on a Parport entry?
> >>> That rather depends on how the Arduino connects to LinuxCNC, but the
> >>> answer is likely to be that it won't be anywhere near as fast.
> >>>
> >>>
> >>> --
> >>> atp
> >>> "A motorcycle is a bicycle with a pandemonium attachment and is
> >>> designed for the especial use of mechanical geniuses, daredevils and
> >>> lunatics."
> >>> — George Fitch, Atlanta Constitution Newspaper, 1916
> >>>
> >>>
> >>> --
> >>> 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
> >>>
> >>
> > --
> > 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
> 
> 
> --
> 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

--
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] Linuxcnc and Arduino

2016-05-17 Thread Danny Miller
I'm not sure what context you're saying you have for the XHC.

I have he XHC-HB04 on LinuxCNC  RT on the Linux RT kernel.

It's a VERY smooth response, but partly because my machine is very fast.

There is, however, a case for time delay if you select jogmode=normal 
and not =vnormal on a slower machine, or with greater scale on the 
handwheel.

Depends on the jogwheel speed vs the machine's acceleration and max 
velocity.  IF you set the wheel to its highest speed and spin it fast, 
you might command a router to move 50" in one quick twist of the hand 
that will take the machine 5 sec to execute.

This rarely comes up with me.  My machine is very fast and you have to 
spin the wheel unnaturally aggressively at top speed to get ahead of it, 
and it's not possible to get ahead by more than like 1 sec.

It cannot always keep the commanded position AND stop immediately when 
the handwheel stops.  That's logically impossible.

If you don't like that, you can select jogmode=vnormal and it will 
always stop when the handwheel stops.  However, you lose sync with the 
wheel.  e.g. quickly spin the wheel +2 turns forward and it may only 
register 1.5 turns before the wheel being stopped means the machine 
stops moving.  Then turn back -2 turns slowly and the machine is -0.5 
turns worth of motion from where it started, even though the handwheel 
is where it started.

I don't like this functionality myself.  And even that vnormal mode only 
means the gantry begins decelerating when you stop turning the 
handwheel.  If the machine takes 0.75 sec to come to stop from jog 
speed, it will not come to a stop until 0.75 sec after you stop the 
handwheel.

I recommend you reduce scale if you don't like it.  e.g. if you would 
never turn more than 2 turns/sec on that handwheel, and your machine's 
got a quick acceleration and 5 inches/sec jog speed, the scale should 
be  ~2.5 in/turn so you never outrun it.  With acceleration being 
significant, there's no definitive answer.

Danny


On 5/17/2016 8:22 AM, Forum Deswysen wrote:
> I have a XHC - HB04 Wireless MPG during LinuxCNC HAL module.
> If I turn the crank too fast I have a time delay ???
>
> It's dangerous
>
> 2016-05-17 11:21 GMT+02:00 Forum Deswysen :
>
>> Hi Andy,
>>
>> With a python script and the serial port :
>>
>> https://www.youtube.com/watch?v=flajZMff28U
>>
>> https://ckcnc.wordpress.com/basic-arduino-emc-howto/python-emc-module/
>>
>> With arduino, today I 'm testing my order for tool change turret.
>> It works fine
>>
>>
>> @+
>>
>> Pierre
>>
>> 2016-05-16 23:48 GMT+02:00 andy pugh :
>>
>>> On 16 May 2016 at 15:03, Forum Deswysen  wrote:
 The reaction speed is the same as a button on a Parport entry?
>>> That rather depends on how the Arduino connects to LinuxCNC, but the
>>> answer is likely to be that it won't be anywhere near as fast.
>>>
>>>
>>> --
>>> atp
>>> "A motorcycle is a bicycle with a pandemonium attachment and is
>>> designed for the especial use of mechanical geniuses, daredevils and
>>> lunatics."
>>> — George Fitch, Atlanta Constitution Newspaper, 1916
>>>
>>>
>>> --
>>> 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
>>>
>>
> --
> 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


--
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] Linuxcnc and Arduino

2016-05-17 Thread Todd Zuercher
If the problem is that your able to turn the handwheel fast enough to exceed 
the maximum velocity for the axis and build up a store of pulses.  Perhaps you 
should consider limiting the step size generated by the handwheel to one small 
enough that it is not possible to easily over run the max velocity of the axis. 
 I have seen similar behavior even in large expensive commercial machines with 
Fanuc controls.  Granted you have to turn the wheel really fast, faster than 
you can sustain for a long enough period to build up a significant overrun but 
it is detectable. 

- Original Message -
From: "Forum Deswysen" 
To: "Enhanced Machine Controller (EMC)" 
Sent: Tuesday, May 17, 2016 9:22:53 AM
Subject: Re: [Emc-users] Linuxcnc and Arduino

I have a XHC - HB04 Wireless MPG during LinuxCNC HAL module.
If I turn the crank too fast I have a time delay ???

It's dangerous

2016-05-17 11:21 GMT+02:00 Forum Deswysen :

> Hi Andy,
>
> With a python script and the serial port :
>
> https://www.youtube.com/watch?v=flajZMff28U
>
> https://ckcnc.wordpress.com/basic-arduino-emc-howto/python-emc-module/
>
> With arduino, today I 'm testing my order for tool change turret.
> It works fine
>
>
> @+
>
> Pierre
>
> 2016-05-16 23:48 GMT+02:00 andy pugh :
>
>> On 16 May 2016 at 15:03, Forum Deswysen  wrote:
>> > The reaction speed is the same as a button on a Parport entry?
>>
>> That rather depends on how the Arduino connects to LinuxCNC, but the
>> answer is likely to be that it won't be anywhere near as fast.
>>
>>
>> --
>> atp
>> "A motorcycle is a bicycle with a pandemonium attachment and is
>> designed for the especial use of mechanical geniuses, daredevils and
>> lunatics."
>> — George Fitch, Atlanta Constitution Newspaper, 1916
>>
>>
>> --
>> 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
>>
>
>
--
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

--
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] Linuxcnc and Arduino

2016-05-17 Thread Thomas Powderly
is it windup?
like a queue is filled up with commands and has to drain?
yes, handwheels should stop when you stop turning, not later
i saw it on pmacs, the fix was something like the charge-pump used on 
linuxcnc
the rotary pulses allowed the action(similar to charge-pump),
and ending rotation killed pulse stream.
'immediately' as in, by end of next plc cycle. fast enuf for most, not 
perfect

tomp

On 05/17/16 21:22, Forum Deswysen wrote:
> I have a XHC - HB04 Wireless MPG during LinuxCNC HAL module.
> If I turn the crank too fast I have a time delay ???
>
> It's dangerous
>
> 2016-05-17 11:21 GMT+02:00 Forum Deswysen :
>
>> Hi Andy,
>>
>> With a python script and the serial port :
>>
>> https://www.youtube.com/watch?v=flajZMff28U
>>
>> https://ckcnc.wordpress.com/basic-arduino-emc-howto/python-emc-module/
>>
>> With arduino, today I 'm testing my order for tool change turret.
>> It works fine
>>
>>
>> @+
>>
>> Pierre
>>
>> 2016-05-16 23:48 GMT+02:00 andy pugh :
>>
>>> On 16 May 2016 at 15:03, Forum Deswysen  wrote:
 The reaction speed is the same as a button on a Parport entry?
>>> That rather depends on how the Arduino connects to LinuxCNC, but the
>>> answer is likely to be that it won't be anywhere near as fast.
>>>
>>>
>>> --
>>> atp
>>> "A motorcycle is a bicycle with a pandemonium attachment and is
>>> designed for the especial use of mechanical geniuses, daredevils and
>>> lunatics."
>>> — George Fitch, Atlanta Constitution Newspaper, 1916
>>>
>>>
>>> --
>>> 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
>>>
>>
> --
> 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


--
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] Linuxcnc and Arduino

2016-05-17 Thread Forum Deswysen
I have a XHC - HB04 Wireless MPG during LinuxCNC HAL module.
If I turn the crank too fast I have a time delay ???

It's dangerous

2016-05-17 11:21 GMT+02:00 Forum Deswysen :

> Hi Andy,
>
> With a python script and the serial port :
>
> https://www.youtube.com/watch?v=flajZMff28U
>
> https://ckcnc.wordpress.com/basic-arduino-emc-howto/python-emc-module/
>
> With arduino, today I 'm testing my order for tool change turret.
> It works fine
>
>
> @+
>
> Pierre
>
> 2016-05-16 23:48 GMT+02:00 andy pugh :
>
>> On 16 May 2016 at 15:03, Forum Deswysen  wrote:
>> > The reaction speed is the same as a button on a Parport entry?
>>
>> That rather depends on how the Arduino connects to LinuxCNC, but the
>> answer is likely to be that it won't be anywhere near as fast.
>>
>>
>> --
>> atp
>> "A motorcycle is a bicycle with a pandemonium attachment and is
>> designed for the especial use of mechanical geniuses, daredevils and
>> lunatics."
>> — George Fitch, Atlanta Constitution Newspaper, 1916
>>
>>
>> --
>> 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
>>
>
>
--
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] Linuxcnc and Arduino

2016-05-17 Thread Forum Deswysen
Hi Andy,

With a python script and the serial port :

https://www.youtube.com/watch?v=flajZMff28U

https://ckcnc.wordpress.com/basic-arduino-emc-howto/python-emc-module/

With arduino, today I 'm testing my order for tool change turret.
It works fine


@+

Pierre

2016-05-16 23:48 GMT+02:00 andy pugh :

> On 16 May 2016 at 15:03, Forum Deswysen  wrote:
> > The reaction speed is the same as a button on a Parport entry?
>
> That rather depends on how the Arduino connects to LinuxCNC, but the
> answer is likely to be that it won't be anywhere near as fast.
>
>
> --
> atp
> "A motorcycle is a bicycle with a pandemonium attachment and is
> designed for the especial use of mechanical geniuses, daredevils and
> lunatics."
> — George Fitch, Atlanta Constitution Newspaper, 1916
>
>
> --
> 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
>
--
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] Linuxcnc and Arduino

2016-05-16 Thread andy pugh
On 16 May 2016 at 15:03, Forum Deswysen  wrote:
> The reaction speed is the same as a button on a Parport entry?

That rather depends on how the Arduino connects to LinuxCNC, but the
answer is likely to be that it won't be anywhere near as fast.


-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1916

--
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