EF SHR unexpected behavior
You are using Unity Pro V11 or higher and option Optimized code is selected (Project Settings / Build settings / Optimized code)
You are using M580 High End CPU, BMEP585040, BMEP586040 or BMEH586040.
In such configuration because these CPU used a new compilator managing differently data signed and data unsigned the result of the EF operation is unexpected.
A workaround exists, use the EF SHR_INT or use only UINT data type when using a SHR. A comment will be added on the Unity Pro Read_Me.
NOTA This behavior doesn’t exist with other M580 PLCs references.
You are using M580 High End CPU, BMEP585040, BMEP586040 or BMEH586040.
In such configuration because these CPU used a new compilator managing differently data signed and data unsigned the result of the EF operation is unexpected.
A workaround exists, use the EF SHR_INT or use only UINT data type when using a SHR. A comment will be added on the Unity Pro Read_Me.
NOTA This behavior doesn’t exist with other M580 PLCs references.
Released for: Schneider Electric Canada


Need help?
Product Selector
Quickly and easily find the right products and accessories for your applications.
Get a Quote
Start your sales inquiry online and en expert will connect with you.
Where to buy?
Easily find the nearest Schneider Electric distributor in your location.
Help Center
Find support resources for all your needs, in one place.