Thanks that was helpful.
Sadly my program won't download due to system error '9'. I've emailed the code to unitronics' support team so hopefully they can help me with it.
Another question though while we're here:
In the code I uploaded I found output set and reset coils connected in series. I understand this will work for Memory BIts, but can you do that for output coils? Surely they should be connected in parallel.
Cheers