Documentation

RegisterConverterToUInt16 Method (Int16)

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

Namespace:  FieldTalk.Modbus.Master
Assembly:  FieldTalk.Modbus.Master (in FieldTalk.Modbus.Master.dll) Version: 2.15.2-eval+3d8362b4bb861c05760d48b11d303e954bb8597c
Syntax
public static ushort ToUInt16(
	short ushortVal
)

Parameters

ushortVal
Type: SystemInt16
Value to be converted

Return Value

Type: UInt16
unsigned 16-bit value
See Also