This is probably a dumb question, but I'm using a string display. One of my tags has an integer value. How do I display it as a string with the expression editor?
If {::[New_Shortcut]L23:0} < 1 Then "Blank" Else {::[New_Shortcut]L23:40}
I got it to work by creating an HMI tag as a string and linking the plc tag to that HMI tag.
If {::[New_Shortcut]L23:0} < 1 Then "Blank" Else Value
My question is why does that automatically convert the integer into a string but the expression editor doesn't convert the plc value into a string?
If {::[New_Shortcut]L23:0} < 1 Then "Blank" Else {::[New_Shortcut]L23:40}
I got it to work by creating an HMI tag as a string and linking the plc tag to that HMI tag.
If {::[New_Shortcut]L23:0} < 1 Then "Blank" Else Value
My question is why does that automatically convert the integer into a string but the expression editor doesn't convert the plc value into a string?