FUNCTION_BLOCK FB_LEN

Upon the occurrence of an event at the REQ input, an instance of this FB type sets the OUT value to the number of characters in the IN string, and then issues an event at the CNF output.