text: <s>[INST] PowerFlex 525 in closed loop control (PID) Summary: basic controls and frequency Hi guys, I need t control an AC with PF525 to rotate clockwise or counterclockwise to maintain a certain position given by an analog sensor (like an auto balanced system) I used a PID to control the speed 0..60Hz depending on analog sensor position. How can I drive the outputs to rotate forward and reverse according to the sensor? PS. if I use the PID to give dpeed output from -60Hz...60Hz, should it rotate according to the frequency sign? [/INST] Yes, it should. However, it gets weird if your analog signal is 4-20ma. For you to be at zero-speed, the analog signal has to be 12ma. Not difficult, just not quite intuitive. If your signal is -10v to +10v, 0V is zero-speed. In this instance, an analog voltage signal is more intuitive (and probably safer). \\n </s>