#### Endless running: * The P164 and P166 must be the maximun allowed value to run in endless On the FB1151 **FB_MiniMotor_PN**: ```pascal #ProfVelocity.NegativePosLimit := -2147483648; // Infinit turns // REAL_TO_DINT(#Negative_PosLimit); #ProfVelocity.PositivePosLimit := 2147483647; // Infinit turns // REAL_TO_DINT(#Positive_PosLimit); ``` ![[Pasted image 20241024120525.png]] #### User Encoder setup: *** ![[Pasted image 20241024120653.png]]