Why using SEL bloc with EcoStruxure Control Expert V15.0 (and lower) on BMEP586040 or BMEH586040 M580 PLCs lead to an exception (error code %SW124 = 0xEC10 on CPU) ?
Issue :
If "SEL" bloc is executed with an input parameter with a size of 2 or 4 bytes and using it on a BMEx586040x M580 PLC, the CPU will go in exception with error code %SW124=0xEC10 because of a alignment problem in the optimized code of the bloc function "SEL".

Product line :
EcoStruxure Control Expert software tool with version V15.0 or lower.
Environment :
BMEx586040 with x= P or H
BMEH586040S
Resolution :
The issue will be fixed in a next revision of EcoStruxure Control Expert (> V15.0)
Workaround :
Two easy workaround exist :
1 : Duplicate the SEL bloc as shown below (size not equal to 2 or 4 bytes anymore) :

2 : Use conditional MOVE bloc instead of SEL as shown below :

If "SEL" bloc is executed with an input parameter with a size of 2 or 4 bytes and using it on a BMEx586040x M580 PLC, the CPU will go in exception with error code %SW124=0xEC10 because of a alignment problem in the optimized code of the bloc function "SEL".
Product line :
EcoStruxure Control Expert software tool with version V15.0 or lower.
Environment :
BMEx586040 with x= P or H
BMEH586040S
Resolution :
The issue will be fixed in a next revision of EcoStruxure Control Expert (> V15.0)
Workaround :
Two easy workaround exist :
1 : Duplicate the SEL bloc as shown below (size not equal to 2 or 4 bytes anymore) :
2 : Use conditional MOVE bloc instead of SEL as shown below :
Publisert for: Schneider Electric Norway


Trenger du hjelp?
Produktvelger
Velg riktige produkt og kompatibelt tilbehør raskt og enkelt.
Be om tilbud
Start din salgsforespørsel online, og vi vil kontakte deg.
Hvor kan du handle?
Finn din nærmeste Schneider Electric-distributør enkelt.
Hjelpesenter
Finn alle nødvendige supportressurser samlet på ett sted.