Input DescriptionΒΆ

../_images/60aca731f5e7e9560a3313901150993d

EN (enable)

Data type: BOOL

The Function Block is activated by a TRUE at the input EN. A FALSE keeps the Function Block deactivated. Is the Function Block activated, the values being present at the inputs are processed and the output values are delivered.

SLOT (slot)

Data type: BYTE

At input SLOT, that slot (card number) is specified, from which the data shall be read.

The external slots are numbered from the right to the left and begin with the number 1.

SECTION (section)

Data type: STRING[20]

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

KEY_SEARCH (key to search for)

Data type: STRING[20]

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 (index of the line to read)

Data type: INT

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 (actual)

Data type: FLASH_DATA_ACT_TYPE

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 the 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.