EC 121
S-DIAS ETHERCAT CONTROL MODULE
Page 60
02.07.2020
12.1 Configuration File
The configuration file is used to update S-DIAS slaves in specified slots. If the EC 121 iden-
tifies the configuration file as such, it is moved to the config folder. So that the configuration
file is used during the update process, it must be stored in the file system together with the
desired update file via FoE before the power cycle. After the update process is completed,
the configuration and update files are deleted.
The configuration file is a conventional text file in which the target devices to update can be
defined. During the update, the availability of a configuration file is checked during the
search for update files and whether it defines the modules to update. IF there are no explicit
configuration files for the update file, or no configuration file exists, all modules that match
the header of the update file are then updated.
The configuration file must have the file name “config” and the following format per entry or
line to be verified by the EC 121 as a configuration file:
DeviceID-TargetDevice-Option-ModuleSelection
Parameters
Value
Description
DeviceID
1000 … 7999
Manufacturer-specific identification number of the S-DIAS slave
TargetDevice
2
Configuration for the update file with the target FW
3
Configuration for the update file with the target CPLD
4
Configuration for the update file with the target FPGA
Option
INC
Include selection from ModuleSelection for update
EXC
Exclude selection from ModuleSelection from the update.
ModuleSelection
0xffffffff
FFFFFFFF
Possible S-DIAS slave slots displayed as 64-bit value
(
Bit 0
=
Module Slot 1
|
Bit 63 = Module Slot 64
)
The individual parameters are separated with a character (hyphen). The
DeviceID
parame-
ter indicates to which S-DIAS slave the configuration should apply and via the
TargetDevice
parameter, for which update destination the configuration is valid. The parameter Option
determines whether the selection made in the following parameter should be included or
excluded from the update.
ModuleSelection
displays the maximum configurable order of the
system in the form of a 64-bit hexadecimal value
– each bit corresponds to a slave module.