DanT Posted December 8, 2015 Report Share Posted December 8, 2015 Hi; Customer has a Siemens 353 Controller and needs to communicate to it via Modbus ( we are using Serial RTU) Unistream is the Master, 353 is the slave. Communications is working properly We can read bits from the 353 like the push buttons, after adjusting the addressing by 1 ( Siemens 342 = Unitronics 341) We are having trouble with the Integer registers, they are coming back blank. Siemens 40061 - 40066 are basic clock data and we cannot read that, let alone the data that we need. Anyone with experience with this controller? a few more clues? Dant Link to comment Share on other sites More sharing options...
dan Posted December 8, 2015 Report Share Posted December 8, 2015 Hi Dan, Are you using Real numbers? We have similar issue using Real numbers. A real is a 32 bit register. In our case, the UniStream and Siemens controllers did not interpret the 4 bytes in the same order. (i.e. 8e1 is interpreted as 81e0, or the like) This results in different values. In the UniLogic software, there is a function block that will swap the bytes. This worked; however, if there are not sequenced properly, it will result in "flickering" of the value between 2 values. A similar issue can occur with Integer values as well. Please feel free to email us at support@unitronics.com for further information. -Dan Link to comment Share on other sites More sharing options...
bobnorway Posted December 9, 2015 Report Share Posted December 9, 2015 For an explanation of byte/word order take a look at : https://en.wikipedia.org/wiki/Endianness Link to comment Share on other sites More sharing options...
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