How can we help you today?

Migration from Premium to M580 range : MOVE of Arrays with common registers issue

With Premium range, the copy/paste was done from the last byte to the first.

Example of a code to move an array of 10 words from %MW300 to %MW302 with premium

If MoveArrayTest then

Reset(MoveArrayTest);

%MW302 :10 :=%MW300 :10 ;

%MW300 :=0 ;

%MW301 :=0 ;

End_if;

This same code will not work on M580 range as the copy/paste is executed from the first byte to the last !

When you migrate from a Premium application, please make sure you do not have such codes inside as the result will not be the same in a M580 CPU.

For instance you can use a temporary array which has no common registers with the arrays you want to move , or you can use unlocated arrays.

Schneider Electric Philippines

Explore more
Range:
Users group

Discuss this topic with experts

Visit our community and get advice from experts and peers on this topic and more
Explore more
Range:
  • Products Documentation
  • Software Downloads
  • Product Selector
  • Product Substitution and Replacement
  • Help and Contact Center
  • Find our Offices
  • Get a Quote
  • Where to buy
  • Schneider Electric Community
  • Careers
  • Company Profile
  • Report a misconduct
  • Accessibility
  • Newsroom
  • Investors
  • EcoStruxure
  • Job Search
  • Blog
  • Privacy Policy
  • Cookie Notice
  • Terms of use
  • Change your cookie settings