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 :
Publicerad för: Schneider Electric Sverige


Behöver du hjälp?
Produktväljare
Hitta snabbt och enkelt rätt produkter och tillbehör för dina ändamål.
Begär en offert
Ställ din fråga online så kontaktar vi dig.
Här köper du
Hitta enkelt närmaste Schneider Electric-distributör på din ort.
Hjälpcenter
Hitta alla supportresurser som du behöver på ett ställe.