...
netXStudio_ECSV5_simpleConfig_V2.1.0.0\netX 90 - EtherCAT Slave - simpleConfig V2.1.0.0\Components\cifXApplicationDemoECS\Sources
2. netX90 Use Case A
Activate FoE parameter evaluation in Set Configuration Packet:
ptConfigReq->tData.tBasicCfg.ulComponentInitialization |= ECAT_SET_CONFIG_DEVICEINFO | ECAT_SET_CONFIG_FOE;
ECAT_SET_CONFIG_FOE_T* ptFoE;
ptFoE=&ptConfigReq->tData.tComponentsCfg.tFoECfg;
ptFoE->ulTimeout= 1000;
Before an update can be done, the netX90 needs to be flashed with a maintenance firmware (MFW) and the *.mwc file.
...
For Use Case A the MFW V1.2.0.0 (File MFW-netX90_flash.mxf) is or later can be used.
Insalled on netX the firmware ECS V5.1.0.4
...
Now create FWUPDATE.ZIP. The name of the zip file must be exactly FWUPDATE.ZIP .
Open the FWUPDATE.ZIP and take cate that the folder inside is VAR0\XIP\ and not FWUPDATE\VAR0\XIP\
More information can be found here: Firmware update. For example the settings for the zip archive.
...
6. ESI file
Add FoE to ESI file:
Copy the updated ESI file to TwinCAT3 folder C:\TwinCAT\3.1\Config\Io\EtherCAT
7. TwinCAT
Start TwinCat. Change the device state to PREOP and select "Download...":
Do not forget to add .ZipZIP:
Wait for download:
Till this message openes:
Go to CoEClick OK and wait for download process to be finished. You can see the progress status at the right bottom of Twincat.
After the download finished successfully, go to CoE-Online. Try to write object 4000:01, the update reset command (AppECS_StartUpdateReq) will be trigged.
After a click on "OK", the netx netX will reset and update to the new firmware.
...