How to get last machine coordinate after power off and on

Moderators: TomKerekes, dynomotion

Post Reply
AmitKumar171
Posts: 134
Joined: Tue Feb 20, 2018 7:35 am
Location: India

How to get last machine coordinate after power off and on

Post by AmitKumar171 » Tue Aug 25, 2020 6:55 am

HI tom,

I am using Kflop+KANALOG for my Machine.

I am using Leadshine AC servo motors and driver as below.

http://www.leadshine.com/UploadFile/Dow ... 200603.pdf

and i have a 400w motor for above drivers that is having 17 bit absolute encoder.

I want to save last position of encoder in terms of machine coordinates in kflop.

As whenever i am doing init command my encoder coordinates (blue) and machine coordinates (orange) becomes zero.

But i want to retain the old position of the motor before init.

OR something similar to close loop control using KFLOP+KANALOG analog output control servo. ?

init program should not zero all axis, init program should give current absolute encoder position. ?

i want help in above problem.

Waiting for your kind reply.
Thank You

AMIT KUMAR

User avatar
TomKerekes
Posts: 2677
Joined: Mon Dec 04, 2017 1:49 am

Re: How to get last machine coordinate after power off and on

Post by TomKerekes » Tue Aug 25, 2020 5:29 pm

Hi Amit,
As whenever i am doing init command my encoder coordinates (blue) and machine coordinates (orange) becomes zero.
Then don't Zero the Axis in the Init Program. Post your init c program for us to check.
Regards,

Tom Kerekes
Dynomotion, Inc.

Post Reply