Machine Automation Forum
A forum addressing machine automation solutions for the complete machine lifecycle. Including offers like Machine Advisor, Modicon PLC/PacDrive, Lexium or Preventa. Discuss and share knowledge on offers relating to cloud-based service platforms, machine localization and monitoring, industrial operations control, motion products as well as safety function!
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-08-01 05:23 PM
Hi,
I have observed the following when using the SHL operator, below is in simulation
And on hardware (M172PDG18R)
Notice that uiTemp8, uiTemp9 differ. In both simulation and hardware, they are local variables within a program, and they are of UINT type.
I am using EcoStruxure Machine Expert v1.6.0, and the M172PDG18R is using bios version 668.14.
What is going on here?
Thanks.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-08-02 03:01 AM
Hi,
it's a problem generated by the space allocated for the constant 1.
The workaround is specify the type to be assigned to the constant:
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-08-01 11:29 PM
Hi,
intresting , looks like a big little ensign issue. We need to check.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-08-02 03:01 AM
Hi,
it's a problem generated by the space allocated for the constant 1.
The workaround is specify the type to be assigned to the constant:
Link copied. Please paste this link to share this article on your social media post.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.