Posted 19 May 2019 I want to add Example(d0+d1+d2+d3+d4+d5+d6+d7+d8+d9+d10=d100)data.have any instruction to save all data to "D100"?. Share this post Link to post Share on other sites
Posted 19 May 2019 What programming software do you use ? Ladder or structured ladder, etc ... ? Share this post Link to post Share on other sites
Posted 19 May 2019 ladder diagram and GX Works-2 software. Share this post Link to post Share on other sites
Posted 19 May 2019 V = 1 D0 + DV INCP V V = K10 (stop count and reset v) Share this post Link to post Share on other sites
Posted 19 May 2019 (edited) Example program from @Ron_S comment by use FOR..NEXT Loop. Use K11 because data from D0 to D10 are 11 values. Edited 20 May 2019 by Wasan Share this post Link to post Share on other sites
Posted 21 May 2019 M8000 -||------+------------[+ D0 D1 D100]- | +------------[+ D100 D2 D100]- | +------------[+ D100 D3 D100]- | . . . | +------------[+ D100 D10 D100]- :) Share this post Link to post Share on other sites
Posted 22 May 2019 @manna For FX3U PLC there are special instructions that can find sum of value with WSUM instruction. 1 person likes this Share this post Link to post Share on other sites