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.