Chapter 22 String manipulation instructions
608 Rockwell Automation Publication 2080-RM001D-EN-E - February 2015
MLEN yields the length of strings.
Arguments
Parameter Parameter Type Data Type Description
EN Input BOOL Function enable.
When EN = TRUE, yield length of strings.
When EN = FALSE, no operation.
IN Input STRING Any string.
MLEN Output DINT Number of characters in the IN string.
ENO Output BOOL Enable out.
MLEN function language examples
Function block diagram
Ladder diagram