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 :
Released for: Schneider Electric Macedonia


Need help?
Get a Quote
Start your sales enquiry online and an expert will connect with you.
Where to buy?
Easily find the nearest Schneider Electric distributor in your location.
Help Centre
Find support resources for all your needs, in one place.