had rising and falling_edge the wrong way round... It refers to the command output: rising_edge means negative demand to positive demand
works, but controller needs to be stopped by hand,,...