Skip to main content
Submitted by basil.aljamal on Fri, 04/27/2018 - 05:51

Hi all

I want t ask how to program Galil controller to store motor position in the non-volatile memory and load the last position when I do a power cycle

Comments 1

andriys on 04/27/2018 - 16:38

Hello basil.aljamal,
To do that you would have to create a variable that you would store motor position (_TPn) in, and update it regularly or before a known reset/power cycle.
Before you power cycle your controller, use BV to burn your variable in the non-volatile memory so that the variable itself will survive a power cycle.
Once you power cycled your controller, use DP to define a new motor position (ex. DPA=pos_a).
Best regards,
Andriy Stasyuk
Applications Engineer
Galil Motion Control