Perspective: Motor component animation problem

Hi,

I'm new to Ignition, using edge designer 8.1.43

I'm trying to make a simple motor animation binding a string opc-ua tag to the motor "state" property. So the texts will be "running", "stopped" and "faulted". When I test it associating just a memory string tag, the object works pretty well, but using my OPC-UA tag, with the same results comming: "running", "stopped" and "faulted", the motor object doesn´t change the state.

Running (capital R) != running (what the component expects).

You can use an expression binding to lower the incoming string from the tag, or use a map transform, or fix the tag to use running.

Or don't use strings in your logic. They are computationally expensive in contrast to numbers or booleans. Only use strings in UIs, and make them translation friendly. (You never know when you'll end up with simultaneous users with different languages.)

2 Likes