| FieldTalk™ Modbus Master .NET Library |
|
MbusMasterFunctions.readExceptionStatus Method
Modbus function 7 (07 hex), Read Exception Status.
[Visual Basic]
Public Function readExceptionStatus( _
ByVal
slaveAddr As
Integer, _
ByRef
statusByte As
Byte _
) As
Integer
[C#]
public
int readExceptionStatus(
int slaveAddr,
ref
byte statusByte);
Parameters
-
slaveAddr
- Modbus address of slave device or unit identifier (Range: 1 - 255)
-
statusByte
- Slave status byte. The meaning of this status byte is slave specific and ies from device to device.
Return Value
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
MbusMasterFunctions Class | FieldTalk Namespace