Edit:-
I have attached the complete car config. It's probably not as elegant as it could be but it does what I need it to do.
. You will see that Input pin 6 has the feed from wiper park and Output 9 is the wiper motor output.
I have created 2 functions. To explain my train of thought.. Wiper.park.command is when the motor is running (wiping) and I have then pressed the keypad button again to command a stop.
Wiper.Park.Event is trying to say that, when I have commanded a park and the park place has been reached then do something.
That something is then written into Output pin 9. What I think I've written is that the motor output is True when I press the keypad button (to initiate wiping) or the wipe.park.event is false. That sounds right(ish)
I can understand what needs to be done but can't quite translate that into Motec PDM 'speak'
Thanks,
Scott