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.
Udgivet til: Schneider Electric Danmark

