Indirect Month function

This example shows you how to create a project where a machine works according to a time entered by the user via the keypad.

  1. Select Indirect Clock Functions from the Clock menu of the Ladder toolbar.

  1. Select Month from the Indirect Clock Functions menu.

  2. Enter the desired Operand, Address and Symbol.

  1. To enable the user to view and modify the Indirect Clock function values, you must now create HMI Displays and Variables. Click Variables on the Standard toolbar.

  2. The Variable Editor opens. Select Time Functions for each Variable. Link the Variable to the appropriate MI. Select the appropriate Variable Information Format for the time.

  3. The Month Variable is complete.

When you download the application to the controller, the user will use the Up/Down arrow keys to scroll through the months. When the display shows the correct month, the user selects it by pressing the Enter key.

Note that in M90/91 controllers the Up key is numeric key 3, and the Down key is numeric key 6.

Known issue: In Jazz controllers, when the keypad is taken over by the Indirect Clock functions Day of Week, Day of Month, and Month, the current Up key is numeric key 3, and the Down key is numeric key 6. This will be fixed in a future release.

Related Topics

Clock Functions

Indirect Clock function example