Industry Automation and Control Forum
This forum is addressing industrial automation design & engineering, operations, asset performance, cyber security and digital transformation for Plants & Machines.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-02-20 07:53 AM
When migrating from Quantum to M580 one issue is the alignment of REAL variables. Quantum allows REALs to be located on any address, where M580 forces it to be on an even address, i.e. %MW0 versus %MW1. It was not convenient to readdress all the variables, so I created a data structure with an Integer at the beginning to get around the Build error:
Then I located the structure to the misaligned variables:
and then modified the code:
Everything appears to work. The data alignment seems to be a Build issue, not a hardware one. Is there a problem with faking out the Builder and using 32-bit values on a odd address?
Could not readdress original variables since the plant was online, and the data was being used by the SCADA HMI, Local HMI and peer-to-peer communication. It would require a plant shutdown to correct all these at once.
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: 2021-02-22 12:02 AM
Why don't you use Unity M580 Application Converter (UMAC)? UMAC will handle the (mis-)alignment for you.
Migrating from Quantum to M580 will always require a plant shutdown when you exchange the Quantum CPU for M580.
UMAC can be found on exchange shop. You will need the standard version (licensed) to handle the alignment.
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: 2021-02-22 12:02 AM
Why don't you use Unity M580 Application Converter (UMAC)? UMAC will handle the (mis-)alignment for you.
Migrating from Quantum to M580 will always require a plant shutdown when you exchange the Quantum CPU for M580.
UMAC can be found on exchange shop. You will need the standard version (licensed) to handle the alignment.
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: 2021-02-27 09:09 AM
Thank you for the info on UMAC. I used it on a test program and it added the necessary PUSH/PULL instructions to align the data.
I did discover an issue with the simulator though. The data alignment on the simulator is different than on a real CPU. The real CPU appears to pad addresses to assure alignment whereas the simulator does not.
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: 2021-02-28 11:57 PM
Hello Ed,
Please read the following FAQ which explains this:
https://www.se.com/ww/en/faqs/FA328449/
br
Rene Roozee
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.