AdvancedHMI Software
General Category => Open Discussion => Topic started by: aquilmustafa on August 01, 2016, 04:54:55 AM
-
Hi,
I need some help. I'd like to convert Holding register data coming from Telemecanique PLC to Character format. Cause my PLC is Storing String in Holding Registers. Any help would be appreciated.
-
There is a function that is part of AdvancedHMI to help with this:
MfgControl.AdvancedHMI.Drivers.Common.CalculationsAndConversions.WordsToString
Here is an example of how to use it:
Dim v() As String = ModbusTCPCom1.Read("40001", 10)
Dim MyString as String = MfgControl.AdvancedHMI.Drivers.Common.CalculationsAndConversions.WordsToString(v)
-
Hey Archie,
Thanks a ton for the Help.