Sign in to follow this  
Followers 0
saruans

Add array somachine

2 posts in this topic

Hello,

Maybe somebody give to me advice, how simple add data of array from bufferrr[1] to bufferrr[24]. I try this, but it is long code

 

array.jpg

Share this post


Link to post
Share on other sites

You can insert multiple inputs as shown (Check attachment) in FBD.

Else, you could write a FOR loop to sum the array elements in ST language.

 

Thanks.

Array_Add.jpg

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