Please check the attached snapshot.
I am converting an int to real and storing in rVlv01_SV and then scaling the value using LIN_TRAFO.
In the bottom Status Bar of Codesys, both RUN and SIMULATION are visible. When I enter value 100 as input to INT_TO_REAL instruction and press Ctrl-F7, the value can be seen at the input but the logic seems not to work.
I searched for help but could not find anything relevant. What could be the reason. Codesys ver3.5.11
I stopped the simulation and tried to rebuild. "Cloned Task0.task0. Priority already in use" error was shown after rebuilding. I used Build-Clean All option and rebuilt again. Now the logic started working.
But I am not still sure what caused the error in first place. If somebody knows about this error, please enlighten me.
Thanks
svn
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Please check the attached snapshot.
I am converting an int to real and storing in rVlv01_SV and then scaling the value using LIN_TRAFO.
In the bottom Status Bar of Codesys, both RUN and SIMULATION are visible. When I enter value 100 as input to INT_TO_REAL instruction and press Ctrl-F7, the value can be seen at the input but the logic seems not to work.
I searched for help but could not find anything relevant. What could be the reason. Codesys ver3.5.11
svn
I stopped the simulation and tried to rebuild. "Cloned Task0.task0. Priority already in use" error was shown after rebuilding. I used Build-Clean All option and rebuilt again. Now the logic started working.
But I am not still sure what caused the error in first place. If somebody knows about this error, please enlighten me.
Thanks
svn