Re: [Emc-users] smoother limit3 befor PID not after

2020-07-29 Thread Ed

On 7/29/20 9:55 AM, Jon Elson wrote:

On 07/29/2020 01:33 AM, andrew beck wrote:
Hey Jon.  I think it's all and any usbs that are write protected.  I 
have

tried several different usb sticks.  Like it's a system option.


Ah, in the file /etc/group, you can add users to various groups, to 
have access to certain things.

I'm not sure what group is responsible for USB access, but maybe plugdev?

I did find this discussion that seems to mention this exact issue :

https://unix.stackexchange.com/questions/403798/set-removable-media-usb-drive-permissions-to-a-specific-group 



Jon


One time I had problems like this, I had set hidden files as visible and 
it would not let me write to USB sticks. Set the hidden back and the 
problem went away.



Ed.




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


Re: [Emc-users] smoother limit3 befor PID not after

2020-07-29 Thread Jon Elson

On 07/29/2020 01:33 AM, andrew beck wrote:

Hey Jon.  I think it's all and any usbs that are write protected.  I have
tried several different usb sticks.  Like it's a system option.


Ah, in the file /etc/group, you can add users to various 
groups, to have access to certain things.
I'm not sure what group is responsible for USB access, but 
maybe plugdev?


I did find this discussion that seems to mention this exact 
issue :


https://unix.stackexchange.com/questions/403798/set-removable-media-usb-drive-permissions-to-a-specific-group

Jon


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


Re: [Emc-users] smoother limit3 befor PID not after

2020-07-29 Thread Todd Zuercher
This seems to be a pertinent discussion on auto mounting USB drives.
http://forums.debian.net/viewtopic.php?f=10=107470
There may be some line(s) in your fstab file that need commenting.  

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street 
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: Todd Zuercher  
Sent: Wednesday, July 29, 2020 8:18 AM
To: Enhanced Machine Controller (EMC) 
Subject: Re: [Emc-users] smoother limit3 befor PID not after

[EXTERNAL EMAIL] Be sure links are safe.

Make sure your user is part of a group that has USB write access.

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: andrew beck 
Sent: Wednesday, July 29, 2020 2:33 AM
To: Enhanced Machine Controller (EMC) 
Subject: Re: [Emc-users] smoother limit3 befor PID not after

[EXTERNAL EMAIL] Be sure links are safe.

Hey Jon.  I think it's all and any usbs that are write protected.  I have tried 
several different usb sticks.  Like it's a system option.

On Wed, Jul 29, 2020, 11:51 AM Jon Elson  wrote:

> On 07/28/2020 04:42 PM, andrew beck wrote:
> > Just a quick question fellows.  I need to send the config files to Andy.
> > Now my USB is Copy protected in Linux.  Don't know how it happened 
> > but
> how
> > to I disable it so I can copy to USB?
> >
> >
> Write protect?  Some USB memory sticks have a tiny write protect 
> switch on the side.
> IF the USB stick has a different group/user ID on a Linux file system, 
> then you could use the sudo command to change the owner.
>
> if your user name on the Linux system was  "andy", and the usual setup 
> has the group name same as user, then you would do :
>
> sudo chown andy:andy /media/x
>
> where x is the mount point of the USB stick.
> You can verify your user name and group with :
>
> ls -al ~
>
> The 3rd column is your group name, 4th column is the user name.
>
> And, of course, you can see what is on a mounted USB stick with :
>
> ls -al /media/x
>
> Jon
>
>
> ___
> 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


___
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] smoother limit3 befor PID not after

2020-07-29 Thread Todd Zuercher
Make sure your user is part of a group that has USB write access.

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street 
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: andrew beck  
Sent: Wednesday, July 29, 2020 2:33 AM
To: Enhanced Machine Controller (EMC) 
Subject: Re: [Emc-users] smoother limit3 befor PID not after

[EXTERNAL EMAIL] Be sure links are safe.

Hey Jon.  I think it's all and any usbs that are write protected.  I have tried 
several different usb sticks.  Like it's a system option.

On Wed, Jul 29, 2020, 11:51 AM Jon Elson  wrote:

> On 07/28/2020 04:42 PM, andrew beck wrote:
> > Just a quick question fellows.  I need to send the config files to Andy.
> > Now my USB is Copy protected in Linux.  Don't know how it happened 
> > but
> how
> > to I disable it so I can copy to USB?
> >
> >
> Write protect?  Some USB memory sticks have a tiny write protect 
> switch on the side.
> IF the USB stick has a different group/user ID on a Linux file system, 
> then you could use the sudo command to change the owner.
>
> if your user name on the Linux system was  "andy", and the usual setup 
> has the group name same as user, then you would do :
>
> sudo chown andy:andy /media/x
>
> where x is the mount point of the USB stick.
> You can verify your user name and group with :
>
> ls -al ~
>
> The 3rd column is your group name, 4th column is the user name.
>
> And, of course, you can see what is on a mounted USB stick with :
>
> ls -al /media/x
>
> Jon
>
>
> ___
> 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


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


Re: [Emc-users] smoother limit3 befor PID not after

2020-07-29 Thread Gene Heskett
On Wednesday 29 July 2020 02:33:11 andrew beck wrote:

> Hey Jon.  I think it's all and any usbs that are write protected.  I
> have tried several different usb sticks.  Like it's a system option.

Have you tried as root? Newer distros have restricted user access to USB 
stuff.

> On Wed, Jul 29, 2020, 11:51 AM Jon Elson  
wrote:
> > On 07/28/2020 04:42 PM, andrew beck wrote:
> > > Just a quick question fellows.  I need to send the config files to
> > > Andy. Now my USB is Copy protected in Linux.  Don't know how it
> > > happened but
> >
> > how
> >
> > > to I disable it so I can copy to USB?
> >
> > Write protect?  Some USB memory sticks have a tiny write
> > protect switch on the side.
> > IF the USB stick has a different group/user ID on a Linux
> > file system, then you could use the sudo command to change
> > the owner.
> >
> > if your user name on the Linux system was  "andy", and the
> > usual setup has the group name same as user,
> > then you would do :
> >
> > sudo chown andy:andy /media/x
> >
> > where x is the mount point of the USB stick.
> > You can verify your user name and group with :
> >
> > ls -al ~
> >
> > The 3rd column is your group name, 4th column is the user name.
> >
> > And, of course, you can see what is on a mounted USB stick
> > with :
> >
> > ls -al /media/x
> >
> > Jon
> >
> >
> > ___
> > 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


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 


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


Re: [Emc-users] smoother limit3 befor PID not after

2020-07-29 Thread andrew beck
Hey Jon.  I think it's all and any usbs that are write protected.  I have
tried several different usb sticks.  Like it's a system option.

On Wed, Jul 29, 2020, 11:51 AM Jon Elson  wrote:

> On 07/28/2020 04:42 PM, andrew beck wrote:
> > Just a quick question fellows.  I need to send the config files to Andy.
> > Now my USB is Copy protected in Linux.  Don't know how it happened but
> how
> > to I disable it so I can copy to USB?
> >
> >
> Write protect?  Some USB memory sticks have a tiny write
> protect switch on the side.
> IF the USB stick has a different group/user ID on a Linux
> file system, then you could use the sudo command to change
> the owner.
>
> if your user name on the Linux system was  "andy", and the
> usual setup has the group name same as user,
> then you would do :
>
> sudo chown andy:andy /media/x
>
> where x is the mount point of the USB stick.
> You can verify your user name and group with :
>
> ls -al ~
>
> The 3rd column is your group name, 4th column is the user name.
>
> And, of course, you can see what is on a mounted USB stick
> with :
>
> ls -al /media/x
>
> Jon
>
>
> ___
> 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] smoother limit3 befor PID not after

2020-07-28 Thread Jon Elson

On 07/28/2020 04:42 PM, andrew beck wrote:

Just a quick question fellows.  I need to send the config files to Andy.
Now my USB is Copy protected in Linux.  Don't know how it happened but how
to I disable it so I can copy to USB?


Write protect?  Some USB memory sticks have a tiny write 
protect switch on the side.
IF the USB stick has a different group/user ID on a Linux 
file system, then you could use the sudo command to change 
the owner.


if your user name on the Linux system was  "andy", and the 
usual setup has the group name same as user,

then you would do :

sudo chown andy:andy /media/x

where x is the mount point of the USB stick.
You can verify your user name and group with :

ls -al ~

The 3rd column is your group name, 4th column is the user name.

And, of course, you can see what is on a mounted USB stick 
with :


ls -al /media/x

Jon


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


Re: [Emc-users] smoother limit3 befor PID not after

2020-07-28 Thread andrew beck
Just a quick question fellows.  I need to send the config files to Andy.
Now my USB is Copy protected in Linux.  Don't know how it happened but how
to I disable it so I can copy to USB?

Regards

Andrew

On Sun, Jul 26, 2020, 6:24 AM N  wrote:

> > Hi,
> > TinyG is supposed to have S curve accel and limited jerk. It might be
> > worth looking at for approach. Should be easy since it is pretty much
> > linuxcnc but embedded.
> > Just a comment following up on an earlier post; maybe a week ago or so.
> > Just poking the bear. :-)
> >
> > Dave
>
> Forgot about the limit3 function. If instant values are fed to the PWM
> limit3 motion or actually close to limit3 function because of imperfections
> is what I would expect then measuring position. To get good following
> accuracy input signal must follow what motor actually could achieve so this
> limitation must be before positions i fed to control looop, the PID
> regulator and not after. Limiting the PWM signal will limit what motor
> could actually achieve and most probably will increase following accuracy
> then motion is not smooth. If smooth movement is needed then situation
> might be different, harder to tell.
>
>
> 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] smoother limit3 befor PID not after

2020-07-26 Thread andrew beck
Hey guys especially Andy.

So my machine is a high speed linear rail machine.  Weights 5.8 ton.  Has
16mm pitch ballscrews and 3kw servo motors.  And 1 Rpm spindle.

Andy if you want to have a play with my machine I'm happy as to assist and
try get it going if you want to play with simplified pid limiting or
anything else.  Go for it.  I have two of these machines also so one can
sit there as a test bed for awhile.

Also I have already turned down max acceleration in the ini file.  I think
it is 500mm/s2.  And max rapid is 8m/min.  It was 20 m/min with the old
controller but my x axis thrust bearing for the ballscrew is noisy so I
turned down the rapids.

Any other questions let me know.

Regards

Andrew

On Mon, Jul 27, 2020, 5:59 AM N  wrote:

> > Thanks for all the replies guys.
> >
> > My machine runs mint it's just at high speed the whole thing shakes.
>
> S limiting? You got it totally wrong, it's a German "Schnell" machine.
>
>
> 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] smoother limit3 befor PID not after

2020-07-26 Thread N
> Thanks for all the replies guys.
> 
> My machine runs mint it's just at high speed the whole thing shakes.

S limiting? You got it totally wrong, it's a German "Schnell" machine.


Nicklas Karlsson


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


Re: [Emc-users] smoother limit3 befor PID not after

2020-07-25 Thread Thaddeus Waldner
I would be interested in how the Okuma compares with your machine in dead 
weight, live weight, max feeds and max acceleration. 

Obviously some of those numbers are hard to get but Overall weight, max feed 
and acceleration are published by Okuma.

> On Jul 25, 2020, at 5:16 PM, N  wrote:
> 
> 
>> 
>> Thanks for all the replies guys.
>> 
>> My machine runs mint it's just at high speed the whole thing shakes.
>> 
>> I think my solution will be to rubber mount the whole electrical box and
>> also program in fusion360 cam for feedlimited corners if possible
>> 
>> In the future if S curve jerk limiting is done that would be amazing but by
>> the sound of it it's not that easy. ...
> 
> You tried to reduce MAX_ACCELERATION value in .ini file?
> 
> 
> ___
> 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] smoother limit3 befor PID not after

2020-07-25 Thread N
> Thanks for all the replies guys.
> 
> My machine runs mint it's just at high speed the whole thing shakes.
> 
> I think my solution will be to rubber mount the whole electrical box and
> also program in fusion360 cam for feedlimited corners if possible
> 
> In the future if S curve jerk limiting is done that would be amazing but by
> the sound of it it's not that easy. ...

You tried to reduce MAX_ACCELERATION value in .ini file?


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


Re: [Emc-users] smoother limit3 befor PID not after

2020-07-25 Thread andrew beck
Thanks for all the replies guys.

My machine runs mint it's just at high speed the whole thing shakes.

I think my solution will be to rubber mount the whole electrical box and
also program in fusion360 cam for feedlimited corners if possible

In the future if S curve jerk limiting is done that would be amazing but by
the sound of it it's not that easy.  So I won't hold out.  I'm not worried
about my ballscrews just my computer, drives, and vfd.  I don't want to
bounce them to much over the next 5 years lol.  As I do a lot of injection
molds and lots of high speed ballnose 3d machining.

Regards

Andrew

On Sun, Jul 26, 2020, 6:24 AM N  wrote:

> > Hi,
> > TinyG is supposed to have S curve accel and limited jerk. It might be
> > worth looking at for approach. Should be easy since it is pretty much
> > linuxcnc but embedded.
> > Just a comment following up on an earlier post; maybe a week ago or so.
> > Just poking the bear. :-)
> >
> > Dave
>
> Forgot about the limit3 function. If instant values are fed to the PWM
> limit3 motion or actually close to limit3 function because of imperfections
> is what I would expect then measuring position. To get good following
> accuracy input signal must follow what motor actually could achieve so this
> limitation must be before positions i fed to control looop, the PID
> regulator and not after. Limiting the PWM signal will limit what motor
> could actually achieve and most probably will increase following accuracy
> then motion is not smooth. If smooth movement is needed then situation
> might be different, harder to tell.
>
>
> 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] smoother limit3 befor PID not after

2020-07-25 Thread N
> Hi,
> TinyG is supposed to have S curve accel and limited jerk. It might be 
> worth looking at for approach. Should be easy since it is pretty much 
> linuxcnc but embedded.
> Just a comment following up on an earlier post; maybe a week ago or so.
> Just poking the bear. :-)
> 
> Dave

Forgot about the limit3 function. If instant values are fed to the PWM limit3 
motion or actually close to limit3 function because of imperfections is what I 
would expect then measuring position. To get good following accuracy input 
signal must follow what motor actually could achieve so this limitation must be 
before positions i fed to control looop, the PID regulator and not after. 
Limiting the PWM signal will limit what motor could actually achieve and most 
probably will increase following accuracy then motion is not smooth. If smooth 
movement is needed then situation might be different, harder to tell.


Nicklas Karlsson


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