Jump to content

Recommended Posts

Posted (edited)

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...