MA1044 MAQ20-RTD31/-RTD41 Hardware User Manual
Page 25 of 38
17.0 Signal Average, Minimum & Maximum
Signal averaging can be set on a per-channel basis by configuring the Average Weight. Average
Weight is calculated as 2^x where x = 0 to 15 and the default value is x = 0. The running average is
then calculated as follows:
Average = A ((Sampled Value
– Average) / Average Weight)
and
manual. An excerpt from the MAQ20-RTD31 Address Map is shown below. Signal averaging
parameters are stored in registers at Addresses 120
– 125.
NOTE: When a module is registered in a system, addresses are offset by 2000 * R, where R is the
Registration Number. Refer to the
MAQ20 I/O Module Registration
section for further details.
Table 10: MAQ20-RTD31 Address Map Excerpt
– Module Configuration
Address Range 100 - 699 : Module Configuration
Start
Address
Read/
Write
Number of
Registers
Contents
Description
Data Range
Data
type
120
R/W
6
AVG Weight
Weight for AVG Calculation
0 to 15
INT16
Table 11: MAQ20-RTD31 Address Map Excerpt
– Module Data, Alarms Status, Min, Max, Average
Address Range 1000 - 1699 : Module Data
Start
Address
Read/
Write
Number of
Registers
Contents
Description
Data Range
Data
type
1000
R/W
6
Channel Data
Data for all 6 Channels
Table 14
INT16
1016
R/W
1
Alarm Status
Status of Low-Low Alarm
0 to 65,535
INT16
1017
R/W
1
Alarm Status
Status of Low Alarm
0 to 65,535
INT16
1018
R/W
1
Alarm Status
Status of High Alarm
0 to 65,535
INT16
1019
R/W
1
Alarm Status
Status of High-High Alarm
0 to 65,535
INT16
1030
R/W
6
Data Minimum
Minimum value for each of
6 Channels
Table 14
INT16
1050
R/W
6
Data Maximum
Maximum value for each
of 6 Channels
Table 14
INT16
1070
R/W
6
Data Average
Average for each of 6
Channels
Table 14
INT16
1090
R/W
8
Channel 0 Data
Last 8 readings for Ch 0
Table 14
INT16
1100
R/W
8
Channel 1 Data
Last 8 readings for Ch 1
Table 14
INT16
1110
R/W
8
Channel 2 Data
Last 8 readings for Ch 2
Table 14
INT16
1120
R/W
8
Channel 3 Data
Last 8 readings for Ch 3
Table 14
INT16
1130
R/W
8
Channel 4 Data
Last 8 readings for Ch 4
Table 14
INT16
1140
R/W
8
Channel 5 Data
Last 8 readings for Ch 5
Table 14
INT16
Example:
A MAQ20-RTD31 module with serial number 1234567-89 is installed in a system and has
been assigned a Registration Number of 4. Set the Average Weight of Channel 4 to 8,
then read the following parameters for Channel 4: Current Data, Min Data, Max Data,
Average Data and the last 8 readings.
The MAQ20-RTD31 module with s/n 1234567-89 has an address offset of 2000 * 4 = 8000