Yaskawa servo options

More
12 Feb 2021 13:06 #198527 by andypugh
Replied by andypugh on topic Yaskawa servo options

i've been using absolute encoders with MR-J2S-B's on my home mill for 10 year now... when i turn on the machine linuxcnc always comes up already homed. so i don't have a habit to rehome it. though it won't bring a slightest problem if i do it by accident or intentionally...


My absolute encoders aren't really absolute. What I have are single-turn-absolute resolvers and a bit of HAL that uses the position.txt file to work out where the axis really is.
Sometimes that file does not get saved, and I need to reset the system.

Please Log in or Create an account to join the conversation.

More
12 Feb 2021 14:54 #198539 by dm17ry
Replied by dm17ry on topic Yaskawa servo options

Typo. Should have been "your driver".


oh, ok. well, probably. i can keep motor motor offset in the amp eeprom or card's flash and output position which is 0 at home position. but already present motor-offset fit perfectly, so i thought it's a shame not to reuse it.. but i really like that now i have joints get homed automatically when amps say they are absolute. and unhomed when amps report position loss due to motor disconnection or discharged backup battery. seems like a natural behavior to me. what's the point of an open source software then if i have to give it up? ;)

btw, in the latest J5 series mitsubishi finally came up with battery-less absolute encoders. i haven't seen any in person yet, but as far as i understand they are harvesting motor's EMF to power up encoder electronics when an unpowered motor gets rotated by an outside force. pretty neat. because usually when backup batteries discharge after a few years and users miss it - just the right time to completely forget how to re-home the machine :)

Please Log in or Create an account to join the conversation.

More
12 Feb 2021 18:07 #198555 by andypugh
Replied by andypugh on topic Yaskawa servo options

[oh, ok. well, probably. i can keep motor motor offset in the amp eeprom or card's flash and output position which is 0 at home position. but already present motor-offset fit perfectly, so i thought it's a shame not to reuse it.


Can you give a link to documentation or code?

Please Log in or Create an account to join the conversation.

More
15 Feb 2021 16:24 #198949 by dm17ry
Replied by dm17ry on topic Yaskawa servo options
linuxcnc component description: yurtaev.com/nyx24.html
2.8 fork with my patches: github.com/yur7aev/linuxcnc/tree/nyx2.8
sample linuxcnc configs: github.com/yur7aev/linuxcnc/tree/nyx2.8/configs/nyx

Please Log in or Create an account to join the conversation.

More
24 Feb 2021 12:34 #199971 by andypugh
Replied by andypugh on topic Yaskawa servo options
Sorry, I got busy and rather dropped the ball on this one.

linuxcnc component description: yurtaev.com/nyx24.html
...
"$ sudo apt install -t stretch python-gtksourceview2 # this package is missing in buster"


It is backported via LinuxCNC. If the LinuxCNC deb archive is configured then it should install from there.

2.8 fork with my patches: github.com/yur7aev/linuxcnc/tree/nyx2.8
sample linuxcnc configs: github.com/yur7aev/linuxcnc/tree/nyx2.8/configs/nyx


I am still fuzzy on whether your board and driver code will work on an otherwise unmodified LinuxCNC.

Please Log in or Create an account to join the conversation.

More
12 Jan 2022 21:10 - 12 Jan 2022 21:14 #231611 by chris@cnc
Replied by chris@cnc on topic Yaskawa servo options

linuxcnc component description: yurtaev.com/nyx24.html
2.8 fork with my patches: github.com/yur7aev/linuxcnc/tree/nyx2.8
sample linuxcnc configs: github.com/yur7aev/linuxcnc/tree/nyx2.8/configs/nyx


I have a sgd7w servo drive and mechatrolink III control card. It’s possible to communicate with your comp over ethernet?
Attachments:
Last edit: 12 Jan 2022 21:14 by chris@cnc.

Please Log in or Create an account to join the conversation.

More
06 Nov 2023 13:09 - 06 Nov 2023 13:12 #284695 by 1192342018
Replied by 1192342018 on topic Yaskawa servo options
   
Last edit: 06 Nov 2023 13:12 by 1192342018.

Please Log in or Create an account to join the conversation.

Time to create page: 0.087 seconds
Powered by Kunena Forum