CPU_CONFIG_READΒΆ

../_images/44e6be46e38a9ea50a33139000eba54e1

The Function Block reads individual values of configuration data from the Flash memory. 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 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