Siemens PLC byte swap instruction

Byte switch command is used to switch the input word IN the highest and lowest bytes
 


ENO = 0 error condition:0006 (indirect addressing error),SM4.3 (run-time)


Results of the program:
Before instruction execution VW50 the word: D6 C3
After the instruction execution VW50 word: C3 D6


Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.