jonashammer0@gmail.com

what do i do with this?

3 posts in this topic

Your Result is only one INT. The instruction needs 1 for the answer, 1 for the data pointer and 64 for calculation. You'll need to make your Result (P1_Avg) an array of 66. In standard ladder programming this happens automatically. In a FB, memory must be allocated in the variable.

MrPLC_AVG.thumb.JPG.5cbf0b99e61d97cd575b

Edited by IO_Rack

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