Documentation

RegisterConverterToUInt16 Method (Int16)

Cast a 16-bit register value 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 ushortVal
)

Parameters

ushortVal
Type: SystemInt16
Value to be converted

Return Value

Type: UInt16
unsigned 16-bit value
See Also