Hi all I am writing a program and is stuck. I am using an incremental encoder to determine angular position. I want the PI_Counter value to be saved when the control unit loses power, and at startup the PI_Counter value should be the previously saved value. I am using an Epec 3606 control unit. Pulse counter is 2-channel directional mode. An example of what I am looking for in the program: 1. Control unit switches on. PI_Counter value is 0. 2. System operates, counter value adds to 400, system loses...