APG IRU-3000 user manual User Manual
Page 21

Rev. A2, 11/08
IRU-2xx4/3xx4
21
Automation Products Group, Inc.
APG...Providing tailored solutions for measurement applications
Tel: 1/888/525-7300 • Fax: 1/435/753-7490 • www.apgsensors.com • [email protected]
To read the End Trip Distance in sensor number 1 , use the command structure:
Send
Receive
AAh
Start Byte
66h
Start Byte
01h,
Sensor Number
01h
Sensor Number
19h
Command
19h
Command
00h
Data (not used)
##h
Distance (High Byte)
00h
Data (not used)
##h
Distance (Low Byte)
55h
End Byte
##h
NA
99h
Stop Byte
To change the Begin trip distance in sensor number 1 to 1200mm, use the
command structure;
Send
AAh
Start Byte
01h,
Sensor Number
1Ah
Command
04h
Data (high byte) 1,200 mm decimal = 4B0h
B0h
Data (low byte)
55h
End Byte
To read the Trip Type in sensor number 1 , use the command structure:
Send
Receive
AAh
Start Byte
66h
Start Byte
01h,
Sensor Number
01h
Sensor Number
1Bh
Command
1Bh
Command
00h
Data (not used)
##h
Trip Type (High Byte)
00h
Data (not used)
##h
NA (Low Byte)
55h
End Byte
##h
NA
99h
Stop Byte
To change the Trip Type in sensor number 1 to 4, use the command structure;
Send
AAh
Start Byte
01h,
Sensor Number
1Ch
Command
04h
Data
84h
NA
55h
End Byte