Need to write logic in DeltaV to split a 16-20 characters to a 2 characters each String . Is this possible ??

Hi All,

Hope you are doing well..

I have a requirement where I have to split a string value (with 15-20 characters) into 2 ASCII characters each and then convert it into a 16-bit unsinged interger value and send it through Modbus.

Is there any way to do this..

I have already configured logic in DeltaV for converting the 16-bit data from Modbus to 2 characters in DeltaV and concatenating these 2 character strings (From various 16-bit registers) to get the final string value needed. This is done based on the explanation provided by Ralf Baginski in the forum below 

 DeltaV/Modbus .CSV string Server to Client data upload 

Thanks to Ralf for providing this solution Slight smile

Now I need to do the reverse for sending the string value in the form of various 16 bit data from DCS . Need your kind help on this..

Thanks for your time 

1 Reply

  • Hi,
    this task is unfortunately not so easy to achieve.
    Due to the lack of DeltaV string handling concatenation of a string works, no splitting commands are provided.
    What I can provide is a possibility to use DeltaV Operate for this if you still use it.
    I don‘t know if this can be done with DeltaV Live.
    Create a Task in DeltaV Operate which is fired if your received String change.
    Within VBA you have all string manipulating features you need to split the string in letters and write them back to separate parameters.
    You can then assign this schedule to as much workstations as you need to have redundant availability.
    Regards
    Ralf