user manual

IRU-2xx4/3xx4 Rev. A2, 11/08
18
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
OUT OF RANGE COUNT
Out Range Count : indicates the number of consecutive samples outside the
Out of Range Span that would need to be detected before the sensor recognizes
them as legitimate samples. For example, with the Out of Range Span set at
300mm, the sensor detecting a distance at 1,520mm and the OUT OF RANGE
COUNT set to 10, and a target entered the detection area of the sensor at a
distance less than 1,220mm or greater than 1,820mm, the target would need to be
present long enough for the sensor to receive 10 samples before the sensor would
recognize the target. If the target were in the detection area of the sensor for only
9 samples, the sensor would retain the 1,520mm distance reading.
To Read the Out of Range Count in a sensor, use the command structure:
Send Receive
AAh Start Byte 66h Start Byte
01h, Sensor Number 01h Sensor Number
13h Command 13h Command
00h Data (not used) ##h Out of range (High Byte)
00h Data (not used) ##h NA (Low Byte)
55h End Byte ##h NA
99h Stop Byte
To change the Out of Range Count to 10 in the sensor, use the command
structure;
Send
AAh Start Byte
01h, Sensor Number
14h Command
0Ah Data 10 decimal = A hex
00h Data (not used)
55h End Byte