ReadRecipe method from PLC

2020-03-29
2020-04-06
  • maartengoris - 2020-03-29

    Hi,

    When choosing Read recipe from the recipe manager, it is working as expected (reading vars from PLC to selected recipe.
    But when calling the method from PLC nothing hapens, also the returned error is 0.
    Writing a recipe with method writeRecipe is working fine.

    Thanks in advance for the help!

     
  • m.prestel - 2020-04-02

    Hello @maartengoris,
    could you please provide an example project?

    Thx a lot.
    Best regards,
    Marcel

     
    πŸ‘
    1
    • maartengoris - 2020-04-02

      Hi @m.prestel,

      In attachement an example project.

      thanks!

       

      Last edit: maartengoris 2020-04-02
  • maartengoris - 2020-04-02
     

    Last edit: maartengoris 2020-04-02
  • m.prestel - 2020-04-06

    Hello @maartengoris,
    clicking the button writes the current values into the file on the device.

    The editor view will not be updated with this command.

    Best regards,
    Marcel

     
    • maartengoris - 2020-04-06

      Thanks for the info,

      i will try to load from the file then.

      Best regards ,
      Maarten

       
    • maartengoris - 2020-04-06

      Hi Marcel,

      Indeed the file is updated, i was confused because it always loaded the recipe from the editor.
      apparently if you configure a recipe in the editor view this one is always used?

      After removing this recipe it works as expected.

      Thanks for the help!

       

Log in to post a comment.