论文部分内容阅读
不同的PLC系统对多字节变量的存储有大端顺序与小端顺序两种字节顺序,在不同字节顺序的PLC系统间移植程序必须注意这一问题,需要针对性地做出改变才能保证移植的正确性。旨在通过案例来探讨正确处理多字节变量的程序在移植时的方法。
Different PLC system for multi-byte variable storage in big endian order and little endian order two kinds of byte order, in different byte order PLC system transplantation program must pay attention to this problem, need to make changes in order to Ensure the correctness of transplantation. The purpose of this article is to explore ways to correctly handle multi-byte variables when transplanting programs.