Setting the absolute position via C0098/000 (9300 ServoPLC, ECS)

Question:
How can the system variables MCTRL_dnPos_p be set and stored in a non-volatile way?

Answer:
Via code C0098/000 the system variable MCTRL_dnPos_p can be set to any value between –2147483648 [Incr.] and +2147483647 [Incr.]. Even after mains connection the set position on the system variable MCTRL_dnPos_p does not get lost, when the following prerequisites are fulfilled:

  • Use of an absolute feedback system as position feedback (resolver, single turn absolute value encoder, multi-turn absolute value encoder).
  • In the unpowered state, the position feedback system is not allowed to be moved by more than half the range of the position encoder compared to the position when the supply of power was switched off.
  • By means of examples the attached document describes the functionality of the generation of MCTRL_dnPos_p and the recovery of MCTRL_dnPos_p after mains connection. Special cases like sensor overflow during the power off phase are also considered.

    Important note:
    With the download of this automation building block you accept its conditions of use (Doc ID 201009054).


    URL for linking this AKB article: https://www.lenze.com/en-de/go/akb/200508844/1/

    Weitere Information

    Kontaktformular