FX XY Stage Accuracy 평가 시 사용되는 코드
PowerScript
FX XY Stage Accuracy 평가 시 사용되는 코드입니다. (X방향 평가용)
main
0 files
FX XY Stage …..js
FX XY Stage …..js
651 bytes
step=120;
backlash_step=100
iter=20
repeat=3
if (step>0) {
de_backlash=backlash_step;
}
else {
de_backlash=-backlash_step;
}
spm.xystage.move(-de_backlash,0)
spm.sleep(200)
spm.xystage.move(de_backlash,0)
for (j=0; j<repeat; j++) {
path = 'C:/Park Systems/SmartScan/vision/accuracy/xy_x_stage_ruler_w_f_' +j+'/'
for (i=1; i<iter+1; i++){
if (i<10){
spm.vision.capture(path+'0'+i+'.png');
}
else {
spm.vision.capture(path+i+'.png');
}
spm.sleep(200)
spm.xystage.move(step,0)
}
spm.sleep(200)
spm.xystage.move(-step*(iter+1),0) //de_backlash
spm.sleep(200)
spm.xystage.move(step,0)
}
Comments (0)
No comments yet. Be the first to comment!
Snippet Information
Author:
Youngseo.Park
Language: PowerScript
Created:
Oct 29, 2025
Updated:
0 minutes ago
Views: 34
Stars: 2