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.
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.
Discuss challenges in energy and automation with 30,000+ experts and peers.
Find answers in 10,000+ support articles to help solve your product and business challenges.
Find peer based solutions to your questions. Provide answers for fellow community members!