ST_TcPfw_ClockTimerItf

This structure must be declared in the global variables of the application. The structure contains the interfaces for setting the timer.

In this structure the day of the week is selected as well as the time; when the timer is active and when it is inactive.

Syntax

TYPE ST_TcPfw_ClockTimerItf:
(* location PfwLib_Common.PRO *)
(* last modification: 08.07.2008 *)
STRUCT
(*
see cnv_ClockTimerItf_TcPfw for format information
*)
    Q  : ARRAY[cnPfwClockTimerCamFirst..cnPfwClockTimerCamLast] OF BOOL:=FALSE;

    Day: ARRAY[1..7,cnPfwClockTimerCamFirst..cnPfwClockTimerCamLast] OF ST_TcPfw_ClockTimerCam;
END_STRUCT
END_TYPE

Parameter

Name

Type

Description

Q

ARRAY OF BOOL

Is a one-dimensional array in which the number of outputs per timer is specified. This allows a zone to assume up to 9 different operating states per day.

Day

ARRAY OF ST_TcPfw_ClockTimerCam

Is a two-dimensional array in which the first number indicates the day of the week (1=Monday, 2=Tuesday, ..., 7=Sunday) and the second number indicates the number of the timer.