APPLICATION-SPECIFIC FUNCTION:
MODIF TIME PROG: (Modifying the parameters of a time programmer)

This function is used to display and/or modify the
parameters of a TIME PROG function using a display function.
The digital type LINK TO TIME PROG input must be
connected to the LINK TO MODIF TIME PROG output of the TIME PROG function for
which the parameters are to be displayed or modified. This link is used by the
compiler to determine to which function TIME PROG function a particular MODIF
TIME PROG application-specific function is associated. If this input is
connected to a digital output other than a LINK TO MODIF TIME PROG output of a
TIME PROG function, or if it is not connected, a compilation error will be
reported.
When the digital type EVENT READ input changes from OFF
to ON, the information of the event whose number is specified on the INTEGER
type EVENT NUMBER input is copied to seven INTEGER type outputs:
- YEAR contains the year (1 to 99) for 2001 to 2099
- MONTH contains the month in the year (1 to 12)
- DAY OF THE MONTH contains the day in the month (1 to 31)
- WEEKS contains the weeks in the month (the format of the number on
this output is described in the DISPLAY function help)
- DAYS OF THE WEEK contains the days in the week (the format of the
number on this output is described in the
DISPLAY function help)
- HOUR contains the hour in the day (0 to 23)
- MINUTE contains the minute in the hour (0 to 59)
Digital type outputs associated with each of the
preceding outputs can be used to check the validity of the information present
on these outputs:
- If the YEAR VALID output is set to ON, the value present on the YEAR
output is valid.
- If the MONTH VALID output is set to ON, the value present on the
MONTH output is valid.
- If the DAY OF MONTH VALID output is set to ON, the value present on
the DAY OF MONTH output is valid.
- If the WEEKS VALID output is set to ON, the value present on the
WEEKS output is valid.
- If the DAYS OF THE WEEK VALID output is set to ON, the value present
on the DAYS OF THE WEEK output is valid.
- If the HOUR VALID output is set to ON, the value present on the HOUR
output is valid.
- If the MINUTE VALID output is set to ON, the value present on the
MINUTE output is valid.
If a validity output is set to OFF, the value of the associated output
is not valid and its value is indeterminate.
If the EVENT READ input is set to OFF, the validity outputs: YEAR VALID,
MONTH VALID, DAY OF MONTH VALID, WEEKS VALID, DAYS OF THE WEEK VALID, HOUR
VALID and MINUTE VALID are all set to OFF and the information present on the
YEAR, MONTH, DAY OF MONTH, WEEKS, DAYS OF THE WEEK, HOUR and MINUTE outputs
have no significance.
When the READ EVENT input is set to ON, the digital type WRITE EVENT
input changing from ON to OFF will save the YEAR, MONTH, DAY OF MONTH, WEEKS,
DAYS OF THE WEEK, HOUR and MINUTE values in the event whose number is specified
on the EVENT NUMBER input.
Notes:
- Depending on the event displayed and with the READ EVENT input set to
ON, not all of the validity outputs can be ON: For example, if the event
selected is started every day at a certain time, only the WEEKS, DAYS OF THE
WEEK, HOUR VALID and MINUTE VALID outputs will be ON.
- Method for modifying the DAYS OF THE WEEK. At the start, Monday "dash
furthest on the left" or "M" (on the LCD display) flashes on a black
background. If the "OK" button is pressed, Monday flashes on a white
background. It can then be added to ("M" appears) or deleted from ("-" appears)
the list of days by pressing the "+" or "-" button. Pressing "OK" a number of
times in succession scrolls through the positions of all the days of the week
which can be added to or deleted from the list. To confirm modifications made,
place the cursor on Sunday and press "OK" :Monday flashes on a black
background, which indicates that the modifications have been saved.
Parameterisation
box/Comments tab
Back to
Contents