it seems like there is some confusion all around.
I've got a string struct
Does this contain the ASCII representation of a number?
If it is a number do you want an HMI
then read it from a screen
to be the final destination of this information?
It seems like you were suggesting using STR2INT (SSx -> Dx) but said
does not seem to be what I'm looking for
. Why? Did it not work?
PUBLISH doesn't appear to take string inputs
Why are you talking about strings at this point? Wouldn't you PUBLISH (Dx -> MHRx).
Then the 'screen' would use the Modbus protocol to read MHRx and display its value.