FieldTalk Modbus Master Library for .NET
FieldTalk Modbus Master Library for .NET
Namespaces
FieldTalk.Modbus.Master
RegisterConverter Class
RegisterConverter Methods
ToInt16 Method
ToInt16 Method (Int32)
ToInt16 Method (Single)
ToInt16 Method (UInt16)
ToInt16 Method (UInt32)
ToInt16 Method (Int32, Int16[], Int32)
ToInt16 Method (Single, Int16[], Int32)
ToInt16 Method (String, Int32, Boolean)
ToInt16 Method (UInt32, Int16[], Int32)

# RegisterConverter ToInt16 Method

Overload List

| Name | Description
--- | --- | ---
| ToInt16(Int32) | Cast a signed 32-bit value to a tuple of 16-bit register values
| ToInt16(Single) | Cast an 32-bit floating point value to a tuple of 16-bit register values
| ToInt16(UInt16) | Cast an unsigned 16-bit value to a 16-bit register value
| ToInt16(UInt32) | Cast an unsigned 32-bit value to a tuple of 16-bit register values
| ToInt16(Int32, Int16 , Int32) | Copies a signed 32-bit integer value into an array of 16-bit register values
| ToInt16(Single, Int16 , Int32) | Copies a 32-bit floating point value into an array of 16-bit register values
| ToInt16(String, Int32, Boolean) | Convert an ASCII string into an array of 16-bit Modbus registers
| ToInt16(UInt32, Int16 , Int32) | Copies an unsigned 32-bit integer value into an array of 16-bit register values

Top
See Also

#### Reference

RegisterConverter Class
FieldTalk.Modbus.Master Namespace
FieldTalk Modbus Master Library for .NET
Library version 2.15.2