Page 1 of 1

How to get last machine coordinate after power off and on

Posted: Tue Aug 25, 2020 6:55 am
by AmitKumar171
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.

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

Posted: Tue Aug 25, 2020 5:29 pm
by TomKerekes
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.