You are currently viewing the content available in Vietnam. If you are looking for information for another region, please select the correct country from the top-left dropdown in the page and 'Navigate to Browse FAQs' in the Support menu.
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.