TIME PROG (DAILY, WEEKLY AND YEARLY TIME
PROGRAMMER)

This function, which does not have an input, is used to
switch the OUTPUT from OFF to ON or from ON to OFF when the controller clock
reaches a given moment in time which corresponds to one of the settings made in
the event function parameters. This function can be used to define a maximum of
50 events.
The events, i.e. the moments at which the output changes
from OFF to ON or from ON to OFF, are configured in the Parameters/Summary
tabs in the parameterisation box.
To configure a new event:
- Create an event number which does not already exist in the
Current cycle box by pressing the New button.
- Next, select the time to which the OUTPUT must be assigned (enter the
data in the hours and minutes boxes)
- Finally, select the behaviour of the OUTPUT when the event occurs. If
ON is checked, if the OUTPUT is set to ON when the event occurs it will remain
ON and if the OUTPUT is set to OFF it will change to ON. Conversely, if OFF is
checked, if the OUTPUT is set to OFF when the event occurs it will remain OFF
and if the OUTPUT is set to ON it will change to OFF.
- If the user does not modify any of the fields the event described
above will take place every day at the time indicated.
The time at which the events may take place can be
modified as follows.
- To launch an event once per year select Yearly then enter the
number of a Month and the number of a Day in the two boxes
available for this purpose.
- To launch an event once per month on a particular day, select
Monthly then enter the number of a Day in the corresponding box.
Please note that if the 29th, 30th or 31st of the month is selected, the event
will not necessarily take place every month.
- To launch an event on a given day in a given year, select Date
then enter the last two digits of the year (Yr), the number of the
Month and that of the Day in the corresponding boxes.
- To launch an event during a given week in a month and/or on a given
day of the week, select Periodic:
- Next, select Daily and/or Weekly. In the first case, the
event will be launched during certain weeks of the month. In the second case,
the event will be launched on certain days during the week.
- Finally, select one or more days of the week and select one or
more weeks of the month. The event will be triggered during certain weeks of each month on the specified day(s).
To summarise all the events created and their launch conditions,
select the Summary tab and browse the list of events parameterised.
The Clear button is used to delete a specific event by clicking
on it in the list in the Summary tab.
The Clear button is used to delete a selected event by its
number in the Current cycle box in the Parameters tab.
The Number button is used to assign a new number (not yet used)
to a specific event by clicking on it in the list in the Summary
tab.
To modify the properties of an event, simply
select its number in the Current cycle box and follow the steps
described above.
When the user program is executed in simulation mode, the simulator's
own clock is taken into account. When simulation mode is launched, this clock
is initialised at the time/date of the clock on the PC on which the CLSM2
software is running. This clock will continue to be incremented normally and
will not be modified by the simulation parameters selected. This clock can
however be modified using the read/write date and time command or by selecting
the OTHER option in the CLOCK command, which can be accessed by pressing the
buttons on the front panel. This enables the programs containing TIME PROG
functions to be identified during simulation.
Important notes:
- These parameters cannot be modified in the parameterisation window in
Simulation and Monitoring modes. However, all values can be modified in the
Front panel window or by using the buttons to access the PARAMETER menu and
then selecting the number of the TIME PROG block and the number of the event to
be modified. In this case it is not possible to create a new event.
- If, during a simulation session, the user modifies the date/time
parameters directly in the Windows control panel, the date/time value of the
internal CLSM2 simulator clock will differ from the value assigned in Windows.
Simply check and adjust the value of the simulator clock, for example using the
read/write date and time function in the Controller menu.
- The second TIME PROG output, LINK TO MODIF TIME PROG, can only be
used if it is connected to the input of the application-specific function MODIF
TIME PROG.
- The weeks specified weekly do not correspond to calendar weeks, in other words, running from Monday to Sunday, but are defined rather according to the number of days. This means that the first seven days in a month make up week 1.
Parameterisation
box/Comments tab
Back to Contents