FUNCTION_BLOCK FB_LEN_S

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