SLOT_CONFIG_READ

../_images/9bf62e5df1c5fa800a3313903fac1698

Function Block SLOT_CONFIG_READ reads configuration data from flash of a Communication Module in form of KEY/VALUE pairs. One line consists of a pair of key values and is located within the section. The configuration data stored in the Flash are like an “ini” file in their construction, like for example the sdcard.ini on the SD Memory Card of the AC500. Example for a line with an IP address in the section Common:

[Common]

IP_ADR=192.168.0.1

The procedure should be performed in three steps:

  1. Initialization (ACT = FLASH_DATA_INIT) of the configuration data with a FALSE/TRUE edge at input EN.

  2. Reading (ACT = FLASH_DATA_READ) of the individual values (SECTION, KEY_SEARCH, INDEX) with a FALSE/TRUE edge at input EN.

  3. Cancel (ACT = FLASH_DATA_SKIP) the reading with a FALSE/TRUE edge at input EN.

Available as of PLC runtime system V1.3.0
Included in library SysInt_AC500_V10.lib
Type Function Block with historical values