So, I have a CTD with current value being displayed on a display (modbus). I want to be able to change this value in the display and then load it into the CTD whenever needed. How would I go about doing this?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2016-10-06
Originally created by: scott_cunningham
I think the clearest way would be to use a separate variable for the desired starting value. If you try your solution, then your AmountDisp value is updated (written to) every PLC scan. Most likely the user entered value is being overwritten before the LOAD input can be set true.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
So, I have a CTD with current value being displayed on a display (modbus). I want to be able to change this value in the display and then load it into the CTD whenever needed. How would I go about doing this?
Originally created by: scott_cunningham
I think the clearest way would be to use a separate variable for the desired starting value. If you try your solution, then your AmountDisp value is updated (written to) every PLC scan. Most likely the user entered value is being overwritten before the LOAD input can be set true.