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
Syntaxpublic int readExceptionStatus(
int slaveAddr,
out byte statusByte
)
Public Function readExceptionStatus (
slaveAddr As Integer,
<OutAttribute> ByRef statusByte As Byte
) As Integer
public:
int readExceptionStatus(
int slaveAddr,
[OutAttribute] unsigned char% 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 |
|---|
| No broadcast supported |
See Also