text: <s>[INST] Powerflex 40 run and speed reference control I want the following functionality with a PF40 drive. There is an external HOA switch and an external relay. When the HOA switch is in HAND, the relay is energized.When the HOA switch is in AUTO, the relay is controlled by separate process controller.I can just connect a NO contact from the relay to digital input 2 and a jumper to digital input 1. Then the drive will get a valid run command in HAND or in AUTO if the relay is energized. That is pretty straighforward. I am a little uncertain about the speed reference.In HAND, I want the HIM keypad to be the speed reference, but not the run reference. That should still be DI2.In AUTO, I want analog input 1 to be the speed reference (0-10vdc). DI2 will still be the run reference. I think I can do this by setting PO42 to 3, and a digital input to 2, auto mode, and turning that input on with a contact on my HOA switch.When the DI set to 2 is on, the drive will follow the analog input and when it is off the drive will follow the HIM speed reference. Is this correct? [/INST] Yes, it is correct, your needs are described in the following page, taken from the User Manual: Just a clarification: this is for PF400, the PF40 has not this settings available.... :smileysurprised: - fuzzy logic \\n </s>