SLOT_CONFIG_WRITE¶
Function Block SLOT_CONFIG_WRITE writes configuration data to the flash of a Communication Module in form of KEY/VALUE pairs. 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:
Initialization (ACT = FLASH_DATA_INIT) of the configuration data with a FALSE/TRUE edge at input EN
Writing (ACT = FLASH_DATA_WRITE) of the individual values (SECTION, KEY, VALUE) with a FALSE/TRUE edge at input EN
This step is repeated for each entry until all the desired data has been written.
Transmit (ACT = FLASH_DATA_SAVE) the data into the Flash and ensuring a permanent data storage in this way.
Only after the third step has been done, the data is stored in the Flash and will be non-volatile in case of power-down.
Available as of PLC runtime system | V1.3.0 |
Included in library | SysInt_AC500_V10.lib |
Type | Function Block with historical values |