Input Description¶
Function Block TECT_RECIPE
EN (enable)
Data type: BOOL
The Function Block is activated by a rising edge at the input EN. A FALSE keeps the Function Block deactivated. If the Function Block is activated, the values being present at the inputs are processed and the output values are delivered.
OPERATION
Data type: TECT_OPERATION_ENUM
1: READ operation.
2: WRITE operation TECT_OPERATION_ENUM.
SET_NO
Data type: WORD, Default value: 0, Range: 0 … 65535
Recipe set number. This number will be used in the recipe CSV file name. See description of FILE_PATH.
FILE_PATH
Data type: STRING[80]
There are two possibilities to define FILE_PATH, thus two methods to define the recipe file name:
Default recipe file name: define a folder for saving recipe file (followed with or without ‘\’). The recipe file will be saved under FILE_PATH with a default name TZD*.csv (* stands for SET_NO).
For example, if SET_NO = 3, FILE_PATH = SDCARD\RECIPE, then a recipe file TZD3.csv will be created (OPERATION = WRITE) or read (OPERATION = READ) under SDCARD\RECIPE.
User defined recipe file name: define folder with CSV file name. In this case SET_NO has no meaning.
For example, if FILE_PATH = SDCARD\RECIPE\myRecipe.csv, then a recipe file MYRECIPE.csv will be created (OPERATION = WRITE) or read (OPERATION = READ) under SDCARD\RECIPE.
The recipe file and the last level of the folder can be created by the Function Block, but the parent folder must already exist.
For example, if FILE_PATH = SDCARD\Level1\Level2\Level3 or FILE_PATH = SDCARD\Level1\Level2\Level3\myRecipe.csv, then SDCARD\Level1\Level2 must already exist but \Level3 can be created by the Function Block.
NUM_OF_ZONE
Data type: WORD, Default value: 1, Range: > 0.
Total number of zones in the system.
FIRST_ZONEDATA
Data type: TECT_TEMPZONE_DATA_TYPE
Monitoring of the first zone data structure of the zone group. Temperature Control Library
Note
All zones must be declared one after another without break. It is highly recommended to define an array of TECT_TEMPZONE_DATA_TYPE for the whole system.