FUNCTION_BLOCK FB_REPLACE_S

Upon the occurrence of an event at the REQ input, an instance of this FB type sets the OUT value to the result of replacing the bytes in positions {P..P+L-1} of IN1 with the value of IN2 , and then issues an event at the CNF output.