manna

fx 3u series plc

8 posts in this topic

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

What programming software do you use ?

Ladder or structured ladder, etc ... ?

Share this post


Link to post
Share on other sites

ladder diagram and GX Works-2 software.

 

Share this post


Link to post
Share on other sites

V = 1

D0 + DV

INCP V

V = K10 (stop count and reset v)

 

Share this post


Link to post
Share on other sites

Posted (edited)

Example program from @Ron_S comment by use FOR..NEXT Loop. Use K11 because data from D0 to D10 are 11 values.

FX3U_Loop_Plus_02.thumb.jpg.020dd2b0052e

Edited by Wasan

Share this post


Link to post
Share on other sites
M8000
-||------+------------[+   D0 D1 D100]-
         |
         +------------[+ D100 D2 D100]- 
         |
         +------------[+ D100 D3 D100]- 
         |
         .
         .
         .
         |
         +------------[+ D100 D10 D100]- 

:)

Share this post


Link to post
Share on other sites

@manna For FX3U PLC there are special instructions that can find sum of value with WSUM instruction.

FX_WSUM_00.jpg.aa813bb8dd70fa6a520e453f0

FX_WSUM_01.thumb.jpg.b3be32be42e2e70355d

FX_WSUM_02.thumb.jpg.2e7982c864a58442655

1 person likes this

Share this post


Link to post
Share on other sites

thank for feed back

 

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