MSG

Converts an integer, real, boolean, or time variable to a string variable.
lrso_msg1
Arguments
IN
DINT - BOOL - REAL - TIME
A non-string value
Q
MESSAGE
''false' or 'true' if IN is a boolean value
decimal representation if IN is an integer or real
Example
(* FBD example with "Convert to Message" blocks *)
lrso_msg2
(* ST Equivalence: *)
bres := MSG (TRUE); (* bres is 'TRUE' *)
ares := MSG (125); (* ares is '125' *)
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal