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 South Africa

