Checking theta position after zerosetting

When the instrument is waken up, it goes through a initializing sequence. It drives the mechanism through the homeswitch, sets the encoder to zero and then drives a certain offset value that is know in software. The current system has quite a bit om mechanical backlash in the worm/wheel drive. It is around 40 microns. Between two fibres there is an offset of 135 microns. This needs further investigation to see whether we can improove this.

sequence: 

Check orthoganality theta axis after initialize.

It is very important that the theta rotation is orthogonal with the X- and Y-axis of the robot. This is best measured with a straight ruler in the gripper jaws. It is best to put the instrument on the manipulator (trolley that can be moved) so the instrument can be put horizontal, this to eliminate gravity working on the ruler.

Now to change the value in the software you have to do the following: You have to copy the af2def file to a new file. This way it is possible to change parameters in this file without corrupting the original af2defs file. Once your fully happy with the changes you can copy this file to the af2defs file.

Now the new file, which is identical to the af2defs file, is ready to be modified. For this you can use different editors in this manual we describe vi.

This opens the editor. Now you can make changes to different parameters. The parameters have to be updated, that means that the current value will be remarked out and the new one will be made active. 

vi commands

To change any values in the af2 params.dat file 

Once you are happy with the changes you have to make sure that the previous value is remarked out. Therefore you have to take away the # in the beginning of the line. Look for examples on the previous lines.

Now before you change the  updated file to the af2defs.h  file you should make a backup file just in case?!

copy-r af2defs af2defs20020816.h     (the last file is now the backup file with the original values in it)

Now change the af2defs.new to af2defs.h       copy-r af2defs.new af2defs.h

Now rebuild the control software using the command    make

watch the make build the software. If there's any failures it is almost certainly a syntax error in your edits of af2defs.h

Reboot the VME and wake the instrument it should have been changed now.
 
 
 

back      

 Last updated 12 january 2003 by Michiel van der Hoeven