Node 30 is an 8-point input/8-point output combination module.
Node 31 is a 12-point input module.
If the input status is not OK, then latch the inputs faulted indication.
If the raising edge of the fault reset signal is detected and the input status is OK, then unlatch the inputs faulted indication.
If the inputs have a fault, then overwrite the input tags with safe state values.
If the inputs have a fault, then overwrite the input tags with safe state values.
If the inputs faulted indication is true, then set the Diverse input values to their safe state (1).