Input DescriptionΒΆ

EN   BOOL \    (enable)

Processing of the Function Block is controlled via the input EN.

EN = FALSE/TRUE edge:

The reading/searching procedure is triggered. If an entry is found, it is indicated at the outputs KEY and VALUE.

EN = TRUE:

The Function Block is not processed, i. e. it no longer changes its outputs.

SECTION   STRING(20) \    (section)

Section, within to search/read. A section has always to be specified, except for the initialization step.

KEY_SEARCH   STRING(20) \    (key \ to search \ for)

If it is searched for the value of a known key, this must be specified at the input KEY_SEARCH. The key is searched within the section which is specified at the input SECTION. In this case, the input INDEX is ignored.

INDEX   INT \    (index \ of the line to read)

The INDEX input is only evaluated, if the KEY_SEARCH input is 0.

With the INDEX input, a specified line of the configuration data within the section, specified at input SECTION, is output.

If INDEX is unequal to 0, exactly this line number is output, if it exists.

If INDEX equals 0 and if there is no value at input KEY_SEARCH, the lines of the section (specified at input SECTION) are output sequentially.

In the latter case each time the next line is read with every FALSE/TRUE edge at input EN as long as the output EOS changes to TRUE and thus terminating the section.

ACT   FLASH_DATA_ACT_TYPE \    (actual)

With the ACT input, the Function Block can be set to initialize, read the configuration data or to cancel the Function Block operation. The input can be set to following values:

FLASH_DATA_INIT:

With this input, the Function Block is initialized for processing of configuration data. The configuration data is copied from the Flash to the RAM, where it can be processed until a re-write into the Flash is performed via the SAVE input. If ACT=FLASH_DATA_INIT, all the other inputs are ignored. If the initialization process is performed, all the previous changes are discarded and the original configuration data is copied from the Flash.

FLASH_DATA_READ:

Read data from RAMdisk with the ACT = FLASH_DATA_READ.

FLASH_DATA_SKIP:

Skip current changes in RAMdisk by using FLASH_DATA_SKIP at the input ACT.