Sign in to follow this  
Followers 0
toTAZ

swap bytes in a word in CX-protocol macro

2 posts in this topic

hi i try to swap bytes in a word with protocol macro but i cannot find how can i do it. i use swap command in plc program and then use this buffer result in cx-protocol. buts its looking hard. is there any way to change byte order thanks.

Share this post


Link to post
Share on other sites
Hi, in the receive message you get the message editor, there you have the message data. If you click on the edit button you get a list to choose from: variable variable ASCII variable HEX variable reverse variable ASCII reverse variable HEX reverse I think the reverse ones just invert the bytes but I'm not sure....

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0