The RAISECOMMFAULT statement causes a communication fault to be raised. This e.g. can be used, if the device returns some value which is not expected or that indicates that the device did not recognize the last command. The fault gets cleared once the driver successfully passed one more cycle.

For the RAISECOMMFAULT statement, use the keyword RAISECOMMFAULT followed by a quoted string containing a message to be shown with the fault.