Hi yas,
Pretty new at this...
Looking for some advice on how to get string data in Red Lion HMI via Modbus.
I am bringing ascii data into the redlion via modbus using an integer array.
On the red lion side there is a function called "datatotext" which says its supposed to covert an array to text.
So far im only able to get the first data point to convert...
from description:
data int The first element in an array.
limit int The number of characters to process
string = DataToText(Data[0], 8)
Based on their example shown above, the string should equal the first 8 elements in the data array.
when using this in a program im only getting the value of the first element (0).
Any help would be appreciated.
thanks much
Pretty new at this...
Looking for some advice on how to get string data in Red Lion HMI via Modbus.
I am bringing ascii data into the redlion via modbus using an integer array.
On the red lion side there is a function called "datatotext" which says its supposed to covert an array to text.
So far im only able to get the first data point to convert...
from description:
data int The first element in an array.
limit int The number of characters to process
string = DataToText(Data[0], 8)
Based on their example shown above, the string should equal the first 8 elements in the data array.
when using this in a program im only getting the value of the first element (0).
Any help would be appreciated.
thanks much