Time-based RMS

The sample illustrates the implementation of a time-based RMS calculation for a signal with the function block FB_CMA_RMS.

The sample is available for download from here:

RMS_Sample.zip

Block diagram

Time-based RMS 1:

Program parameters

The table below shows a list of important parameters for the configuration of the program block for calculating the time-based RMS of a signal.

Channels

1

Buffer size

1200

Conversion to decibels

FALSE

Requirements

Development environment

Target platform

PLC libraries to include

TwinCAT v3.1.4016.12

PC or CX (x86, x64)

Tc3_CM, Tc3_CM_Base, Tc3_MultiArray