The Time function block is used for 24 hour time functions.
The Direct Time function block has a 'from' (start) and a 'to' (end) time set by the programmer.

According to the above example:
Power will flow through the function between 4 A.M. and 1 P.M. .
Indirect Clock functions are linked to registers. Values may be placed into the linked register by your application, or may be entered via the controller keypad.
The Indirect Time function is linked to two consecutive registers.
The values are read as hexadecimal (BCD). According to the figure shown below:
Between the hours of 7:30 and 11:59 P.M., the FB's output will be logic "1" (ON).
At all other times, the FB's output will be logic "0" (OFF).

Place an Indirect Time clock function in the Ladder.

Create HMI Displays that include keyboard-entry variables.
This type of variable accepts a number entered via the controller keyboard, and stores the number in a linked register.

To select the days using the controller's keyboard, the operator uses:
The number keys.
The <Enter> key to confirm the entry.