• Not Answered

Integer value to states

Hello,

I have four integers passing from a third-party PLC via VIMII with zero through nine values. Each value corresponds to a state. These integers are for indication only. In DeltaV 11.3.1, I created a named set called "RMODE" containing names associated with their respective values and a control module with the integer wired to the CALC function block. The latter block contains logic that specifies a particular state of the Named Set via the CALC block output based on the integer value. Below is the sample logic:

IF
'IN1.CV '= 0
THEN
'OUT1.CV' := 'RMODE:Offline';
ELSE
IF
'IN1.CV' = 1
THEN
'OUT1.CV' := 'RMODE:Standby';
ENDIF ;
ENDIF;

My site uses the PCSD based modules and graphics, while I am deviating from the accepted practice using the above approach. Now, the questions are:

Does PCSD offer a module capable of converting Integers to States as well as the appropriate Graphic Dynamo? If not, which graphic object would let me reference/display the created named set given that the above logic will change states of that named set?