Dear All,
I want to check the bit value of all bit for the 32 bit data in DeltaV which is coming through serial connection.
as in case in 16 bit register we get the values at the OUT_D of BFI block.
In reply to stamate_mircea:
I think you need to explore the Books On Line section on expressions and familiarize yourself with the syntax of DeltaV Calc block expressions. Create a test module, which you can download to the Pro Plus and explore some of these functions for your self. The expression above should work as is. As for combining four words into one, you would Use the Shift Left and do a bitwise OR with the next 8 bit word, and this would reverse the above process. that might look like: '^/INT32_OUT.CV' := SHL('^/INT8_D.CV', 24) | SHL('^/INT8_C.CV', 16) | SHL('^/INT8_B.CV', 8) | '^/INT8_A.CV';| That is as much as I'm going to give you. Good luck.
Andre Dicaire
In reply to Nabil BOU: