#################################################### # tab3aux.mac # macro for setting up and handling ESRF tab3 macro # author: smilgies 1/2004 #################################################### ############# MOTOR SETUP ########################################## # where macros for gcaveB def wfe 'wm gpe gwin' def wcm '{wm cmth cmchi cmz cmzu cmzdf cmzdr p "pseudomotors: cmth cmchi cmz"}' def wmonu '{wm monu monuchi monuz monuzd monuzuf monuzur p "pseudomotors: monu monuchi monuz"}' def wmond 'wm mond mondchi mondphi montrav' def wmt '{wm mtincl mttilt monoff mtzu mtzdf mtzdr p "pseudomotors: mtincl mttilt monoff"}' def wmi '{wm mith michi miz mizu mizdf mizdr p "pseudomotors: mith michi miz"}' def wlist '{ p "wfe: where front-end" p "wcm: where collimating mirror" p "wmonu: where upstream mono" p "wmond: where downstream mono" p "wmt: where montrav table" p "wmi: where mirror" }' ##################################################################### # tab3 setup for 2 stages ##################################################################### # line 1: for collimating mirror # line 2: for bottom ML1 # line 3: for bottom ML2 travel # line 4: for bottom mirror tab3setup ColMi 0 158.75 1216.4 cmzdr cmzdf cmzu cmchi cmth cmz tab3setup ML1 6 203.2 150 monuzuf monuzur monuzd monuchi monu monuz tab3setup MTrav 0 311.15 1676.4 mtzdr mtzdf mtzu mttilt mtincl monoff tab3setup MoMi 0 177.8 1000 mizdf mizdr mizu michi mith miz ########### END OF TAB3 SETUP ################################# def tab3info '{ p "TAB3 INFO" p "* * *" p "ColMi: regular geometry" p "cmth positive: cmzu goes down" p "cmchi positive: cmzdf goes up -> deflection in +x" p "* * *" p "ML1: reflecting down and u/d are inverted" p "monu positive: monuzd goes down -> positive incident angle" p "monuchi positive: monuzuf goes down -> deflection in +x" p "* * *" p "ML2: reflecting up" p "mond positive: actuator moves down -> +incidence" p "mondchi positive: actuator moves up -> deflection in +x" p "mondphi positive: -> +rotation around normal" p "* * *" p "MTrav: regular geometry" p "mtincl positive: mtzu goes down" p "mttilt positive: mtzdf goes up -> deflection in +x" p "* * *" p "MoMi: inverted geometry - reflecting down, but regular leg arrangement" p "mith positive: mtzu goes down -> positive incidence" p "michi positive: mtzdr goes up -> deflection in +x" }' def tab3help '{ p "tab3show: show all tables and parameters" p "tab3info: show all conventions" p "wlist: show all where macros for tab3 pseudomotors" }'