vobi123 - 2020-09-15

I would like to perform an automated firmware update for an Ethercat slave.
The Ethercat slave is an operator control panel OCP2101. I found the example File over Ethercat in the codesys store. I proceeded according to this.
Before the firmware download is carried out, the Ethercat slave should be set to boot mode.
But I have problems putting the slave in boot mode.
The SetOpMode method of the Ethercat slave always brings FALSE.
I've attached the code snippet. After this while loop, my sequencer goes to the error step.

Had anyone a similar problem with the IODrvEtherCAT library?

version Codesys: CODESYS V3.5 SP9 Patch 6
target system: NUM

 

Last edit: vobi123 2020-09-15