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

Writing prepared values using python script

Archana121
2017-04-03
2017-04-03
  • Archana121 - 2017-04-03

    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.

     
  • mkeller - 2017-04-03

    Hi Archana121.

    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

     

Log in to post a comment.