Sonar6 (Revision B) Programming Table This is the programming table for the Sonar6 (Rev. B) module.

Sonar6 (Revision B) Programming Table

Command
Name
Action Bit Description
8 7 6 5 4 3 2 1 0
Raw_High_Get Send 0 0 0 0 0 0 s s s Return the high byte of the raw time for sonar {sss} as {hhhhhhhh}
Receive 0 h h h h h h h h
Raw_Low_Get Send 0 0 0 0 0 1 s s s Return the low byte of the raw time for sonar {sss} as {llllllll}
Receive 0 l l l l l l l l
Distance_High_Get Send 0 0 0 0 1 0 s s s Return the high byte of the distance for sonar {sss} as {hhhhhhhh}
Receive 0 h h h h h h h h
Distance_Low_Get Send 0 0 0 0 1 1 s s s Return the low byte of the distance for sonar {sss} as {llllllll}
Receive 0 l l l l l l l l
Speed_Divisor_High_Get Send 0 0 0 1 0 0 0 0 0 Return the high byte of the speed divisor as {hhhhhhhh}
Receive 0 h h h h h h h h
Speed_Divisor_Low_Get Send 0 0 0 1 0 0 0 0 1 Return the low byte of the speed divisor as {llllllll}
Receive 0 l l l l l l l l

Copyright (c) 2009 by Wayne C. Gramlich. All rights reserved.