Guest Guest_Rod Posted October 12, 2005 Report Posted October 12, 2005 Hi all, I currently have an S7315-DP/PN setup as a profibus slave to a Kuka Robot. I have all the comms working OK but when i set an INT value in the PLC the wrong bits are set in the robot. So basically i need to swap the most significant byte with the least significant byte to get the right value in the robot. The integer value is defined in a data-block and BLKMOVE instruction to QW##. Being "not so experienced" with siemens step7, whats the easiest way to swap bytes for an integer value to write to the master profibus node??
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now