S-DIAS ETHERCAT CONTROL MODULE
EC 121
02.07.2020
Page 55
11 File Handling (FoE)
The File Over EtherCAT (FoE) function is available in the S-DIAS EtherCAT Control Module
in BOOTSTRAP mode only and is used to exchange files between the EtherCAT master
and EC 121.
11.1 File system
The S-DIAS EtherCAT Control Module contains its own file system in which files are stored.
The file system is structured as follows:
There are two drives. On drive 0:/ all files exchanged via FoE are processed. Drive 1:/
serves as the storage location for a “Golden Image” of the firmware. If a firmware update of
the EC 121 fails, the golden image stored on drive 1:/ is loaded and displayed as such in
the EtherCAT master. The following files can be exchanged between the EtherCAT and the
EC 121:
Update files received via FoE are first stored in the for/ folder. As soon as a file is verified, it
is moved to the verified/ folder. Otherwise, it is deleted. After the system is restarted, the
verified/ folder is searched and updates are performed. After an update, regardless of
whether successful or failed, all files are deleted from the verified/ folder.
If the file received is an update configuration file, it is moved to the config/ folder and delet-
ed after the update process is completed. With this configuration file, you have the option to
include or exclude targeted S-DIAS slaves in defined slots during the update. Detailed in-
formation can be found in section 12.1.