COMFault | Top

COMFault get Modbus Server communication fault signal Since R2019b Library: Modbus Server ( Dafulai Electronics) /COMFault Description This block is only useful for Modbus RTU/ASCii server and Watchdog is read-write register and watchdog type is type 1 or 2. For other situations, you cannot use this block, otherwise you will get error exception Parameters Please double click this block to open parameters dialog below: Let us explain parameters.
• | Object ID for multiple Modbus slave Simulator Hardware — In one PC, we may use multiple Modbus slave simulators, this is for identifying each one.
• | Which device? — This is useful for Modbus RTU/ASCii useful. it denotes which device we want to get COM fault.
• | Sample time — This is sample time. double data scalar type. -1 is inherited from model sample time.
Ports Input None Outport
• | "logical" data type's scalar. true means Communication Fault. false means communication is normal.