Help with switching msg.payload based on serial buffer input

I am currently simulating devices via node red for codesys and receiving serial buffers. I would like to change the msg.payload based on the different buffer inputs. I am having trouble with the syntax. Please see the photos for a better understanding.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.