Documentation

RegisterConverterToUInt16 Method (Int16, Int32)

Cast a 16-bit register array element to an unsigned 16-bit value

Namespace:  FieldTalk.Modbus.Slave
Assembly:  FieldTalk.Modbus.Slave (in FieldTalk.Modbus.Slave.dll) Version: 2.11.0-eval+eb1ecbe71c969eff5d7c05d58da16dade0474678
Syntax
public static ushort ToUInt16(
	short[] regArr,
	int startIndex
)

Parameters

regArr
Type: SystemInt16
Register array
startIndex
Type: SystemInt32
Index pointing to the register

Return Value

Type: UInt16
unsigned 16-bit value
See Also