Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched.
Close
Hi,
I want to write the prepared values for multiple variables in Controller (HFX) using python script.
I have been using the command "onlineapp.write_prepared_values()" for it. It is working fine when in simulation but it gives me an error when using for actual hardware controller.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Archana121 hat geschrieben:
Hi,
I want to write the prepared values for multiple variables in Controller (HFX) using python script.
I have been using the command "onlineapp.write_prepared_values()" for it. It is working fine when in simulation but it gives me an error when using for actual hardware controller.
A few more details would be helpful otherwise we can only speculate what the problem is.
What error? What version of CODESYS do you use? If possible the python script or the relevant part of it would be also helpful.
BR
Martin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I want to write the prepared values for multiple variables in Controller (HFX) using python script.
I have been using the command "onlineapp.write_prepared_values()" for it. It is working fine when in simulation but it gives me an error when using for actual hardware controller.
Hi Archana121.
A few more details would be helpful otherwise we can only speculate what the problem is.
What error? What version of CODESYS do you use? If possible the python script or the relevant part of it would be also helpful.
BR
Martin