Posted 4 May 2005 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
Posted 4 May 2005 figured it out fellas thanx kothy Share this post Link to post Share on other sites
Posted 4 May 2005 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