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

How to control proportional valve?

Anonymous
2017-12-28
2018-01-02
  • Anonymous - 2017-12-28

    Originally created by: Ed_lv

    Hello Guys,

    Total beginner here trying to learn the software and hoping to get some help.

    I'm trying to create a basic simulation in SFC. How do I control the flow settings(LOW and HIGH) for the proportional valve? I tried to assign an INT Data type and give it a value of 1 and 2, but I'm not quite sure how to do it. I can't assign INT to the action for some reason (I'm guessing only BOOL data type can be assigned to it). Hope this makes sense and any help is greatly appreciated.

    Thanks

     
  • josepmariarams - 2017-12-30

    I supose that you can say to the transition, to action you can assign the code that you want (via an action f.ex.)

    In a transition you can put intVar=1. It eorks

    Enviat des del meu HUAWEI LYO-L21 usant Tapatalk

     
  • Anonymous - 2018-01-02

    Originally created by: Ed_lv

    Josep M. Rams hat geschrieben:
    I supose that you can say to the transition, to action you can assign the code that you want (via an action f.ex.)
    In a transition you can put intVar=1. It eorks
    Enviat des del meu HUAWEI LYO-L21 usant Tapatalk

    Thank you very much for the reply! I will give this a go!

     

Log in to post a comment.