Back-up and Restore Slave Configurations
How to make a Backup and restore configurations for EtherCAT slaves.
less than a minute
Synapticon Somanet Drives
Log into the system from the console using a screen or keyboard or through ssh as described in Remote Access & File Transfer.
Determine Slave ID’s
-
At the command line, first list the connected slave devices:
ethercat slaves
-
Use the correct slave id to upload the configuration file from the slave:
ethercat -p [ID] foe_read config.csv > config-backup-[ID].csv
Where
[ID]
is the slave id. The ethercat command outputs the contents of the file on stdout so this is redirected to a file, in this caseconfig-backup-[ID].csv
.
Restore Backup
-
To restore a backup type:
ethercat -p [ID] foe_write -o config.csv config-backup-[ID].csv
-
Once the file is copied to the drive the drive needs to be told to reload its configuration from the file:
ethercat download -p [ID] -t uint32 0x1011 0x1 0x64616f6c
Note
The value 0x64616f6c hex
is actually ‘‘load’’ in ASCII
.
Note
The byte order of the drive is reversed so you are actually sending ‘‘daol’’.