3.5 KiB
User Guide
This Project has three main Components:- Taking Measurements
- Analyse the Data
- Results and Documentation
Taking a measurement
For all measurments working with the standard TCMC Lib the notbook Measurements offers a simple interface. My TwinCat project for that can be found here.Requierments:
- TwinCat Project setup acording to ESS dokumentation
- All libraryies installed (requirents.txt)
- Static paths on top of every file set
- Correct AMS-net Id for PLC set in metrology_functions (line52)
- Using the microscope X02DA-PG-USB:cam1
- The X-Axis needs to be linked to the reference Axis 2
pip install -r requirements.txt
If another microscope is used which can use the same epics interface, the ID can be changed in the AD.py file
Location of static Paths:
- Y_Axis_Meas (line 31,36,39,55)
- myutility (line 58)
- metrology_functions (line 13-16)
Scripts/Y_Axis_Meas.py
Meaurement types suprted by the Notebook:
- Image Test
- Static short term
- Static long term
- Repetability
- Repability motors of
Y-Axis Measurements
The used file to execute the measurement is the Y_AxisMeas.pyFor the Y-Axis a new interface over ADS was needed. To minimize the required time for Testing the Y-Axis was developed with as little cohesion to the other measurement scripts as possible. On the beckhof side no TCMC/ESS lib was used. The interface consists of functions of the Beckhof Motion Liba linked to variables and some custom functions for communicating states. The communication was done with the ADS protocol writing/reading from GVLs. The project can be found under: https://gitea.psi.ch/berti_r/Coupling_ADS.git
Requirements:
- Custom TwinCat Project
- All libraries installed (requirents.txt)
- Static paths adjusted in Y_Axis_Meas.py
- Correct AMS-net Id for PLC set in metrology_functions (line52)
- Using the microscope X02DA-PG-USB:cam1
- Vertical Axis are linked to reference Axis 1 and 4
pip install -r requirements.txt
#!/bin/bash
# Install package directly from GitHub
pip install https://gitea.psi.ch/berti_r/Motion_lib/raw/branch/main/dist/mfl-0.0.3.tar.gz
Analyzing new Data
For analyzing new data the notebook Measurements Analysis offers some functionalities. The temperature measurement needs to be added manually. In generally the newest measurement is selected by default. If no "conf_YearMoDa.json" is generated automatically with the measurement it must be copied from another measurement and the name needs to be adjusted. Especially important is the pixel size variable.
Results
Overall result of the measurements can be found in the Results notebook. Intermediate results are Documented in MessberichtXXXXXX notebooks where also a quick overview of the controller tuning process can be found.