Documentation

RegisterConverterToInt16 Method (UInt16)

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

Namespace:  FieldTalk.Modbus.Slave
Assembly:  FieldTalk.Modbus.Slave (in FieldTalk.Modbus.Slave.dll) Version: 2.11.0-eval+eb1ecbe71c969eff5d7c05d58da16dade0474678
Syntax
public static short ToInt16(
	ushort ushortVal
)

Parameters

ushortVal
Type: SystemUInt16
Value to be converted

Return Value

Type: Int16
16-bit register value
See Also