\setlength{\unitlength}{0.009375in}%
\begin{picture}(480,501)(20,319)
\thicklines
\put( 60,540){\oval( 40, 40)[tl]}
\put( 60,540){\oval( 40, 40)[bl]}
\put(220,540){\oval( 40, 40)[br]}
\put(220,540){\oval( 40, 40)[tr]}
\put( 40,720){\framebox(200,40){}}
\put(145,820){\vector( 0,-1){ 60}}
\put(140,720){\vector( 0,-1){ 40}}
\put(140,681){\line(-5,-2){100}}
\put( 40,641){\line( 5,-2){100}}
\put(140,601){\line( 5, 2){100}}
\put(240,641){\line(-5, 2){100}}
\put(140,600){\vector( 0,-1){ 40}}
\put( 60,560){\line( 1, 0){160}}
\put(220,560){\line(-1, 0){  5}}
\put( 60,520){\line( 1, 0){155}}
\put(215,520){\line( 1, 0){  5}}
\put(140,520){\vector( 0,-1){ 40}}
\put( 40,420){\framebox(200,60){}}
\put(140,420){\line( 0,-1){ 20}}
\put(380,439){\line( 5, 2){100}}
\put(480,479){\line(-5, 2){100}}
\put(380,519){\line(-5,-2){100}}
\put(280,479){\line( 5,-2){100}}
\put(280,340){\framebox(200,40){}}
\put(380,380){\line( 0, 1){ 60}}
\put(235,360){\vector( 1, 0){ 45}}
\put(380,520){\line( 0, 1){220}}
\put(380,740){\vector(-1, 0){140}}
\put(240,640){\line( 1, 0){ 60}}
\put(300,640){\vector( 0, 1){100}}
\put(141,399){\line(-5,-2){100}}
\put( 41,359){\line( 0, 1){  0}}
\put( 41,359){\line( 5,-2){100}}
\put(141,319){\line( 5, 2){100}}
\put(241,359){\line(-5, 2){100}}
\put( 40,360){\line(-1, 0){ 20}}
\put( 20,360){\line( 0, 1){100}}
\put( 20,460){\vector( 1, 0){ 20}}
\put(480,480){\line( 1, 0){ 20}}
\put(500,480){\line( 0,-1){120}}
\put(500,360){\vector(-1, 0){ 20}}
\put( 50,765){\makebox(0,0)[lb]{\smash{Start}}}
\put( 95,640){\makebox(0,0)[lb]{\smash{Inhibit  = TRUE?}}}
\put( 75,545){\makebox(0,0)[lb]{\smash{Load the displacement}}}
\put(100,525){\makebox(0,0)[lb]{\smash{into the  counter}}}
\put( 50,460){\makebox(0,0)[lb]{\smash{Decrement the the displacement}}}
\put( 95,430){\makebox(0,0)[lb]{\smash{LEG =  TRUE}}}
\put( 80,355){\makebox(0,0)[lb]{\smash{Is displacement Zero?}}}
\put(340,475){\makebox(0,0)[lb]{\smash{Sync = TRUE?}}}
\put(290,385){\makebox(0,0)[lb]{\smash{Sync}}}
\put(250,650){\makebox(0,0)[lb]{\smash{yes}}}
\put(245,365){\makebox(0,0)[lb]{\smash{Yes}}}
\put( 45,485){\makebox(0,0)[lb]{\smash{Count}}}
\put(500,490){\makebox(0,0)[lb]{\smash{No}}}
\end{picture}
