Sign in to follow this  
Followers 0
kothy

functionblock

3 posts in this topic

Hi folks, Can anyone help me reresent the statement below in Function Block? IF <A>=B> THEN <A=C>;provided all the tag types are real this might be simple but i am tired looking into instruction help and other resource I appreciate any help ASAP. thanx Kothy.

Share this post


Link to post
Share on other sites
figured it out fellas thanx kothy

Share this post


Link to post
Share on other sites
You can use ladder diagram (sample below base on RSLogix5000) EQU Value_A Value_B MOV Value_A Value_C Or for function block: Use EQU with Source A is Value_A, Source B is Value_B, output of this EQU to connect to EnableIn of ADD (from ADD, select properties and tick EnableIn). From ADD block, Source A is Value_A, Source B is 0 and destination of ADD block is Value_C. Every time output of EQU in true condition will Enable ADD block and Value_C = Value_A + 0 Try it and Ihope works. Dave

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0