Function Block To Display Flowing Message On CP1H 7 Segment

The Function Block MsgTo7Seg displays flowing text on the 7segment display of CP1H PLC.

Message should be stored in the D area using ASCII hex code finishing with 2 NULL characters in the last word.
When Start input goes ON, each pair of characters will be displayed in flowing string at the specified time (timing input).
When Start input goes OFF, 7-segment will be cleared. Characters are moved one by one to the left at a given interval (Timing)