Documentation
FieldTalk Modbus Slave Library for .NET
RegisterConverterToInt16 Method (String, Int32, Boolean) |
Convert an ASCII string into an array of 16-bit Modbus registers
Namespace: FieldTalk.Modbus.Slave
Assembly: FieldTalk.Modbus.Slave (in FieldTalk.Modbus.Slave.dll) Version: 2.11.0-eval+eb1ecbe71c969eff5d7c05d58da16dade0474678
Parameters
- s
- Type: SystemString
ASCII string - wordLimit
- Type: SystemInt32
Max size of allocated registers for string. Max is 125. - fill
- Type: SystemBoolean
Flag if array should be filled to wordLimit with 0 characters
Return Value
Type: Int16Array containing the register values