Patko Posted August 3 Report Share Posted August 3 Version software: 1.33.236 Hello, I communicate with the frequency converter and the PLC via modbus. I have an absolute sensor connected directly to a frequency converter. I read the parameters from the frequency converter. I need to read the value of the current revolutions (rev). I can read this using two parameters: PAR543 - HighWord Actual Position PAR544 - Actual LowWord position It is a word ( int16 ) value. How do I combine them into a double word so that it shows me a real value, comparable to the revolutions shown in the frequency converter. Thank you Quote Link to comment Share on other sites More sharing options...
ORSO2001 Posted August 3 Report Share Posted August 3 ciao considering that you have to have a variable like UINT32 or INT32 called "revolutions" ...i think that the faster way is ... revolutions = PAR543 * 65536...then revolutions = revolutions + PAR544 ... so use the FB "multiplication" then the FB "addition". Quote Link to comment Share on other sites More sharing options...
Patko Posted August 4 Author Report Share Posted August 4 it works this way too. Thank you Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.