Back-up and Restore Slave Configurations
1 minute read
Synapticon Somanet Drives
To upload the configuration from connected Somanet slaves first log in to the master controller through ssh.
At the command line, first list the connected slave devices:
Then use the correct slave id to upload the configuration file from the slave:
ethercat -p [ID] foe_read config.csv > config-backup-[ID].csv
[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 case
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
0x64616f6c hex is actually “load” in ASCII (note that the byte order of the drive is reversed so you are actually sending “daol”.