The SM2 driver provides an S register to simulate a communication error. Using this register, all analog and digital reads return an error as if communication to the process hardware has been lost.
To use this feature, set the S register to 1.
NOTE: The SM2 driver latches data when a simulated communication error is enabled.