If started, button rising edge trigger sets stop bit, resets start bit. If stopped, button rising edge trigger sets start bit, resets stop bit.
On first run I set stop bit and reset start bit. Start bit and stop bit are connected to my stop and start outputs.
Then I changed it...I used the button input to set a "button pressed " bit, if that bit is true, I unlatched vfd start input. Unlatched the stop input, and unlatched my button pressed bit. Then next rung, I did button pressed is true, then latch start input, latch stop input and unlatch button pressed bit. Now, i can get the 525 to start, for a second. Reaches 10 HZ ( my vfd parameter A410, reset frequency. Is 40 Hz.) Vfd stops AMD shows 0 hz on display but motor is creeping til I either stop with the button on drive, or it faults out due to overvurrent. Also, after I power down and back up the vfd or after stopping using button on drive, it doesnt start again until after I redownload my project to the controller. Could that be due to rungs being out of order?
I'm not looking for anyone to do my work for me. Trust me, I've come here for help as an absolute last resort.