Here i am attaching the My code to be reviewed . I don’t how move programming section For Code i written.
I have Written Code like according to algorithm Mentioned below.
Problem i am facing:
- Actuator is not stopping @ actual position
- Desired length calculation part is correct , But Actual length is being calculated correct but It not stop @ actual legth if connect actual actuator.
3)Whenever i start start not going 300 mm.
4)Reference FOr viewing code. all per meter being declared with respect to header file associated with it.
OL_loop2.rar (9.46 KB)