Documentation
FieldTalk Modbus Slave Library for .NET
RegisterConverterToInt16 Method (Single, Int16, Int32) |
Copies a 32-bit floating point value into an array of 16-bit register values
Namespace: FieldTalk.Modbus.Slave
Assembly: FieldTalk.Modbus.Slave (in FieldTalk.Modbus.Slave.dll) Version: 2.11.0-eval+eb1ecbe71c969eff5d7c05d58da16dade0474678
Parameters
- floatVal
- Type: SystemSingle
Value to be converted - regArr
- Type: SystemInt16
Register array to receive the values - startIndex
- Type: SystemInt32
Copy operation will occupy 2 array elements starting at startIndex