Commissioning

These commissioning instructions assume that the temperature controller is fully commissioned.

In the first step it is necessary that an array of type ST_TcPfw_ClockTimerItf is created in the global variables. The array size reflects the number of weekly timers. Subsequently, the following constants are to be created:

Constant definition

Variable

Short description

Example value

Maximum values

cnPfwAppClockTimerFirst

Initial index to set the size of the array and thus the number of weekly timers.

1

1

cnPfwAppClockTimerLast

End index to set the size of the array and thus the number of weekly timers.

2

Limited by computing power and memory

cnPfwClockTimerCamFirst

Initial index to set the size of the array and thus the number of channels per weekly timer.

1

1

cnPfwClockTimerCamLas3

End index to set the size of the array and thus the number of channels per weekly timer.

3

9

Parameterization

In order to transfer the correct time to the timer, the following structure must be observed:

The structure ST_TcPfw_ClockTimerItf is divided into Q and Day, where Day is a two-dimensional array. The first index indicates the number of the day of the week (1=Monday, 2=Tuesday,3=Wednesday, 4=Thursday, 5=Friday, 6=Saturday, 7=Sunday) and the second index indicates the number of the corresponding channel. This two-dimensional array is again divided into an On-Array and an Off-Array. Both On-Array and Off-Array has three elements for:

This is used to set the switch-on and switch-off time and to set output Q accordingly.

Parameterization

A very simple application has been prepared as a sample project.

Commissioning 1: