• Not Answered

How to convert an Integer to String in DeltaV

Hello Experts,

We have one requirement where the Detector gives output to DeltaV as an Input in an Integer (ASCII Code). Further we need to convert this Integer value to String to read in to the DeltaV.

Also there is a requirement to send the output to Detector from DeltaV in string.

In short:

Detector sends Integer (ASCII Code) to DeltaV as an Input and

From DeltaV need to send a string to detector in Integer data type.

Thanks in Advance!

1 Reply

  • Hi,
    I use dynamic references for this purpose.
    Create parameters type string and name it like "ASCII_65" with value "A".
    Then set the dynamic reference to "ASCII_" + 'INPUT_VALUE.CV"

    For the output use the same chematic with parameters like "ASCII_A" with value 65.
    Do this for all characters you expect to receive/send.