Restoring the online configuration

If parameters of the CANopen OD are changed online for the EAP device, the current state of the CANopen OD is archived on the hard drive as soon as TwinCAT is switched back to the Stop/Config mode. When restarting TwinCAT in Run mode, the created archive is usually irrelevant, because the configuration made offline is simply restarted. All changes configured online are discarded.

If the online configuration is to be restored on restarting TwinCAT, then the option Recover Online Configuration must be switched on for this EAP device in TwinCAT (see following illustration) and the project must then be reactivated. In this case, when starting the controller, the offline configuration is initially loaded followed by the archive from the hard disk, so that the online configuration is active at the end of the start procedure.

Restoring the online configuration 1:

It is not possible to change the configuration of the TwinCAT EAP device in TwinCAT if the option Recover Online Configuration is set. To do this the option must first be deactivated again. The sole purpose of this blocking mechanism is to protect the offline configuration against being changed by the user, even though this change would have no effect when activating the controller since the online configuration is restored.

Recover online configuration

The archived CANopen Object Dictionary is coupled to the instance of the EAP device in TwinCAT. As soon as this instance is deleted in TwinCAT and a new instance is created instead, the previously archived OD can no longer be restored for this instance.