0% found this document useful (0 votes)
951 views4 pages

How To Use MAVE Instruction With FBD Programming

How to use MAVE instruction with FBDprogramming
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
951 views4 pages

How To Use MAVE Instruction With FBD Programming

How to use MAVE instruction with FBDprogramming
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Rockwell Automation

Rockwell logo
Automation
Listen
Think
Solve
Support Center
Get Support

Training & Webinars
Online Forum
vtpindia@g…
My 
logo
 
TechConnect
Customer Care

Please be advised that we are experiencing intermittent activation service outages. We are actively working
on a resolution and apologize for the inconvenience.

We are experiencing difficulties with the new Product Compatibility and Download Center (PCDC) simplified
download implementation, which concerns specific license types. We are actively working on a resolution
and apologize for the inconvenience. In the meantime, if you are experiencing issues with a software
download, please use the following link to access the prior download site:
https://download.rockwellautomation.com/webupdates/enter.aspx or refer to Knowledgebase document: Software
Download Website is not showing available software package (custhelp.com).

ID: QA17265 | Access Levels: Everyone

How to use MAVE instruction with FBD


programming
READ LATER:

Email this page

Print

To find an answer using a previous Answer ID, click here

Search Knowledgebase... SEARCH

REMOVE FAVORITE

Document ID
QA17265

Published Date
02/14/2020

Summary
How to use MAVE instruction with FBD programming

Question
How to use the Moving Average (MAVE) instruction with Function Block (FB) programming?

Environment
RSLogix / Studio 5000

Answer
The following example will create average of the last 10 samples.

Sampling is done once a second (1000 ms preset - you can change it to a value you need).

Create FBD routine


Add Timer trigger.

Next add MAVE instruction and configure as shown.

Storage array is REAL[20] data type that allows to change number of samples from 1
to 20.

In this example we are taking 10 samples for calculating an average.

Note: The WeightArray input is an optional input.

For more information abou the MAVE instruction, please refer to the Logix5000 Controllers Advanced Process
Control and Drives and Equipment Phase and Sequence Instructions Publication 1756-RM006.

Was this answer helpful?



Yes
No

RATE CONTENT

Recently Viewed
Studio 5000 and RSLogix 5000 No What does Studio 5000 Emulate
Edits OTS license mean?

 
DISCLAIMER
This knowledge base web site is intended to provide general technical information on a particular subject or
subjects and is not an exhaustive treatment of such subjects. Accordingly, the information in this web site is not
intended to constitute application, design, software or other professional engineering advice or services. Before
making any decision or taking any action, which might affect your equipment, you should consult a qualified
professional advisor.
ROCKWELL AUTOMATION DOES NOT WARRANT THE COMPLETENESS, TIMELINESS OR ACCURACY OF ANY OF THE
DATA CONTAINED IN THIS WEB SITE AND MAY MAKE CHANGES THERETO AT ANY TIME IN ITS SOLE DISCRETION
WITHOUT NOTICE. FURTHER, ALL INFORMATION CONVEYED HEREBY IS PROVIDED TO USERS "AS IS." IN NO EVENT
SHALL ROCKWELL BE LIABLE FOR ANY DAMAGES OF ANY KIND INCLUDING DIRECT, INDIRECT, INCIDENTAL,
CONSEQUENTIAL, LOSS PROFIT OR DAMAGE, EVEN IF ROCKWELL AUTOMATION HAVE BEEN ADVISED ON THE
POSSIBILITY OF SUCH DAMAGES.
ROCKWELL AUTOMATION DISCLAIMS ALL WARRANTIES WHETHER EXPRESSED OR IMPLIED IN RESPECT OF THE
INFORMATION (INCLUDING SOFTWARE) PROVIDED HEREBY, INCLUDING THE IMPLIED WARRANTIES OF FITNESS
FOR A PARTICULAR PURPOSE, MERCHANTABILITY, AND NON-INFRINGEMENT. Note that certain jurisdictions do not
countenance the exclusion of implied warranties; thus, this disclaimer may not apply to you.

www.rockwellautomation.com

Copyright © 2021 Rockwell Automation, Inc. All Rights Reserved.

  

You might also like