There are two ways to reactivate a tripped DO channel, Programmed and Automatic.
The easiest thing to do is set the channel Reactivate to “Automatic”. Default is “Programmed”. In automatic it will try to reset the channel every 10 seconds.
In programmed, you need to use WRITE_CMD_MX function block.