user manual

IRU-2xx4/3xx4 Rev. A2, 11/08
16
Automation Products Group, Inc.
APG...Providing tailored solutions for measurement applications
Tel: 1/888/525-7300 • Fax: 1/435/753-7490 • www.apgsensors.com • sales@apgsensors.com
AVERAGE
Average: The sensor will average the number of samples set in the Average
Parameter. Each qualified sample is placed into a buffer and averaged with the
previous samples to generate a steady output. A qualified sample is one that falls
within the boundaries set in the Out of Range Span Parameter.
To Read the number of samples being averaged in a sensor, use the command
structure:
Send Receive
AAh Start Byte 66h Start Byte
01h, Sensor Number 01h Sensor Number
0Fh Command 0Fh Command
00h Data (not used) ##h Average (High Byte)
00h Data (not used) ##h NA (Low Byte)
55h End Byte ##h NA
99h Stop Byte
To change the average to 7 in the sensor, use the command structure;
Send
AAh Start Byte
01h, Sensor Number
10h Command
07h Data Number of samples to average
00h Data (not used)
55h End Byte