Documentation

MbusMasterFunctionsreadExceptionStatus Method

Modbus function 7 (07 hex), Read Exception Status.

Namespace:  FieldTalk.Modbus.Master
Assembly:  FieldTalk.Modbus.Master (in FieldTalk.Modbus.Master.dll) Version: 2.15.2-eval+3d8362b4bb861c05760d48b11d303e954bb8597c
Syntax
public int readExceptionStatus(
	int slaveAddr,
	out byte statusByte
)

Parameters

slaveAddr
Type: SystemInt32
Modbus address of slave device or unit identifier (Range: 1 - 255)
statusByte
Type: SystemByte
Slave status byte. The meaning of this status byte is slave specific and varies from device to device.

Return Value

Type: Int32
BusProtocolErrors.FTALK_SUCCESS on success or error code. See BusProtocolErrors for possible error codes.
Remarks
Reads the eight exception status coils within the slave device.
Note Note
No broadcast supported
See Also