Re: [Emc-users] Force homed signal

2021-08-30 Thread Leonardo Marsaglia
I meant to say FED no feeded. Some verbs I forgot LOL.

El lun, 30 ago 2021 a las 22:25, Leonardo Marsaglia ()
escribió:

> Hi Marius,
>
> Are you driving your A axis with steppers or servos? What are you using as
> the physical home switch?
>
> You can always fool the homing sequence at least into some extent. I
> wanted to use servos in open loop but that was incompatible with homing
> with index. So I bypassed the home switch for the final detection, and then
> feeded the index pulse of the servos making LCNC believe it was the home
> switch. May be you can implement something like that.
>
> El lun, 30 ago 2021 a las 9:23, Marius ()
> escribió:
>
>> Hi
>>
>> I am trying to create my own homing sequence on the A axis in Gmoccapy.
>> Is there a way to set the "homed" signal to true once I have done my
>> sequence?
>>
>> Regards
>>
>> Marius
>>
>>
>>
>> ___
>> 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] Force homed signal

2021-08-30 Thread Leonardo Marsaglia
Hi Marius,

Are you driving your A axis with steppers or servos? What are you using as
the physical home switch?

You can always fool the homing sequence at least into some extent. I wanted
to use servos in open loop but that was incompatible with homing with
index. So I bypassed the home switch for the final detection, and then
feeded the index pulse of the servos making LCNC believe it was the home
switch. May be you can implement something like that.

El lun, 30 ago 2021 a las 9:23, Marius () escribió:

> Hi
>
> I am trying to create my own homing sequence on the A axis in Gmoccapy.
> Is there a way to set the "homed" signal to true once I have done my
> sequence?
>
> Regards
>
> Marius
>
>
>
> ___
> 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] Force homed signal

2021-08-30 Thread Dmitry Yurtaev
On Mon, Aug 30, 2021 at 3:23 PM Marius  wrote:

> I am trying to create my own homing sequence on the A axis in Gmoccapy.
> Is there a way to set the "homed" signal to true once I have done my
> sequence?

i don't think so, i have added "set-homed" pins to joints for that
purpose a few years ago to my own branch... but haven't submitted any
patches so far

/dmitry


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


[Emc-users] Python3

2021-08-30 Thread Rene Hopf via Emc-users

Hi,

few weeks ago master changed to python3.

This usually doesn't require any config changes, unless you use custom 
scripts or glade screens.


I added some hints to the documentation: 
https://github.com/LinuxCNC/linuxcnc/commit/e74e8f60968aad9e6872069655df1de7166286a5


If you had to do anything else, please let me know.

Rene



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


Re: [Emc-users] torque mode tuning yaskawa servo drives

2021-08-30 Thread Les Newell
I'm running Yaskawa SGDA drives on my Hurco and velocity control did not 
work well. To convert from velocity to torque I just reconfigured the 
drives and changed the LinuxCNC PID settings. There was no change to the 
HAL configuration apart from the PID values.


Compared to velocity control you need to play around with the PID tuning 
a lot more. Halscope is pretty much essential then just keep playing 
with parameters while running a simple program that keeps moving back 
and forth at rapid speed. After a while you start to get a feel for how 
each affects the machine. Concentrate on P, I and D first. Once you have 
those set up feed forward can help improve transient response.


Les

On 30/08/2021 03:57, andrew beck wrote:

hey everyone

i am trying to tune my yaskawa sigma 1 series servo drive at the moment and
thinking about using torque mode for tuning.

currently the process is auto tune drives to a rigidity setting and then
control drives with velocity reference in linuxcnc.  I am not getting the
most amazing control and any P value over 8 means the drive starts
vibrating.  i have tried a range of rigidity settings in servo drive

i have never set up linuxcnc to control torque mode and just wondering if
what the correct way is?  is it the same as velocity control in terms of
the pid loops and hal layer?  or is there another whole level of stuff i
need to do

and i saw that i needed to speed up the servo thread a bit to get better
performance if using torque mode

anyway let me know your experiences

regards

Andrew

___
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] torque mode tuning yaskawa servo drives

2021-08-30 Thread Todd Zuercher
Here is the like to a zip file.
https://forum.linuxcnc.org/media/kunena/attachments/3190/2PID.zip

It is a bit of a complex config with a number of little hal quirks.  It is for 
a cnc router with two spindles and two parallel Z-axis.  The two Z axis are set 
up as a Z and W, and much of the complexity of the config comes from a 
workaround to allow the W axis to be slaved to the Z axis (using custom 
M-codes) and have both move together using single Z-axis commands (so that the 
new tool planner look ahead will run on it.)  It uses a Mesa 5i25/7i77 combo to 
send analog torque commands to some Technics servo drives.  

It will also help in a torque command set up to have a good computer capable of 
running a very fast servo-thread with low latency.  (Not sure if the newer 
realtime kernels are capable of this.  I'm running Wheezy on this machine.)

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

-Original Message-
From: Todd Zuercher  
Sent: Monday, August 30, 2021 8:28 AM
To: Enhanced Machine Controller (EMC) 
Subject: Re: [Emc-users] torque mode tuning yaskawa servo drives

[EXTERNAL EMAIL] Be sure links are safe.

You can do it with one or two PID loops.  Personally, with my machine, I found 
it significantly easier to tune with two loops and work better over a broader 
range of conditions.  But others may have had better luck with one loop.  I've 
posted copies of my config in the forums before.  I'll have to dig up the link 
and post it here.

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

-Original Message-
From: andrew beck 
Sent: Monday, August 30, 2021 1:40 AM
To: Enhanced Machine Controller (EMC) 
Subject: Re: [Emc-users] torque mode tuning yaskawa servo drives

[EXTERNAL EMAIL] Be sure links are safe.

just a quick follow up to make this question more general for everyone

i really just want a working config from someone that has the torque mode servo 
stuff in linuxcnc working.  i am getting confused if i need two nested PID 
loops or if i can just use the default velocity control setup

On Mon, Aug 30, 2021 at 2:57 PM andrew beck 
wrote:

> hey everyone
>
> i am trying to tune my yaskawa sigma 1 series servo drive at the 
> moment and thinking about using torque mode for tuning.
>
> currently the process is auto tune drives to a rigidity setting and 
> then control drives with velocity reference in linuxcnc.  I am not 
> getting the most amazing control and any P value over 8 means the 
> drive starts vibrating.  i have tried a range of rigidity settings in 
> servo drive
>
> i have never set up linuxcnc to control torque mode and just wondering 
> if what the correct way is?  is it the same as velocity control in 
> terms of the pid loops and hal layer?  or is there another whole level 
> of stuff i need to do
>
> and i saw that i needed to speed up the servo thread a bit to get 
> better performance if using torque mode
>
> anyway let me know your experiences
>
> regards
>
> Andrew
>

___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Femc-usersdata=04%7C01%7Ctoddz%40pgrahamdunn.com%7Cc851967083f74ca0d3c608d96bb1a3c8%7C5758544c573f47cebee96c3e0806fb43%7C0%7C0%7C637659232961912543%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=5xe3FBRZEFIXz1aH4x%2B8lMd%2FyyKxZRlmQqm7MBmMhQU%3Dreserved=0


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Femc-usersdata=04%7C01%7Ctoddz%40pgrahamdunn.com%7Cc851967083f74ca0d3c608d96bb1a3c8%7C5758544c573f47cebee96c3e0806fb43%7C0%7C0%7C637659232961912543%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=5xe3FBRZEFIXz1aH4x%2B8lMd%2FyyKxZRlmQqm7MBmMhQU%3Dreserved=0


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


Re: [Emc-users] torque mode tuning yaskawa servo drives

2021-08-30 Thread Todd Zuercher
You can do it with one or two PID loops.  Personally, with my machine, I found 
it significantly easier to tune with two loops and work better over a broader 
range of conditions.  But others may have had better luck with one loop.  I've 
posted copies of my config in the forums before.  I'll have to dig up the link 
and post it here.

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

-Original Message-
From: andrew beck  
Sent: Monday, August 30, 2021 1:40 AM
To: Enhanced Machine Controller (EMC) 
Subject: Re: [Emc-users] torque mode tuning yaskawa servo drives

[EXTERNAL EMAIL] Be sure links are safe.

just a quick follow up to make this question more general for everyone

i really just want a working config from someone that has the torque mode servo 
stuff in linuxcnc working.  i am getting confused if i need two nested PID 
loops or if i can just use the default velocity control setup

On Mon, Aug 30, 2021 at 2:57 PM andrew beck 
wrote:

> hey everyone
>
> i am trying to tune my yaskawa sigma 1 series servo drive at the 
> moment and thinking about using torque mode for tuning.
>
> currently the process is auto tune drives to a rigidity setting and 
> then control drives with velocity reference in linuxcnc.  I am not 
> getting the most amazing control and any P value over 8 means the 
> drive starts vibrating.  i have tried a range of rigidity settings in 
> servo drive
>
> i have never set up linuxcnc to control torque mode and just wondering 
> if what the correct way is?  is it the same as velocity control in 
> terms of the pid loops and hal layer?  or is there another whole level 
> of stuff i need to do
>
> and i saw that i needed to speed up the servo thread a bit to get 
> better performance if using torque mode
>
> anyway let me know your experiences
>
> regards
>
> Andrew
>

___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Femc-usersdata=04%7C01%7Ctoddz%40pgrahamdunn.com%7Cf2a69a7e71d845d8b57b08d96b7a69d6%7C5758544c573f47cebee96c3e0806fb43%7C0%7C0%7C637658995768242951%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=%2BzBZerFEpxlzX%2BE03043V5kbGJK3SLiaudCAJwTMMSc%3Dreserved=0


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


[Emc-users] Force homed signal

2021-08-30 Thread Marius

Hi

I am trying to create my own homing sequence on the A axis in Gmoccapy. 
Is there a way to set the "homed" signal to true once I have done my 
sequence?


Regards

Marius



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