How to do an if with "function"

Hello, my Output is "S7CpuStatusRun" and i want to make an if or something, that is changing the "S7CpuStatusRun" to just "Run" but i dont know how to do that because i have no idea how an if should work like this or what i could use instead of an if

I really hope someone knows the answer, that would really help me

Use a change node. See the documentation: working with messages

You probably want to use a switch node as well to "test" if the received message is 'S7CpuStatusRun' and then use the change node.

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