SHR-100 (calibration용 sample) X pattern 표면 검수용 code
PowerScript
SHR-100 표면 검수 시 사용하는 code입니다. 그 중 X pattern 이미지 측정 코드입니다.
main
0 files
SHR-100 (calibration용 sample)…..js
SHR-100 (calibration용 sample)…..js
2283 bytes
//File path can be changed.
visionLoc="D:/SpmData/vision capture/"
//mount sample on the right position.
//capture 1st line
spm.vision.capture(visionLoc+'X_1.png')
spm.xystage.move(480, 0,1,1)
spm.sleep(100)
spm.vision.capture(visionLoc+'X_2.png')
spm.xystage.move(480, 0,1,1)
spm.sleep(100)
spm.vision.capture(visionLoc+'X_3.png')
spm.xystage.move(480, 0,1,1)
spm.sleep(100)
spm.vision.capture(visionLoc+'X_4.png')
spm.xystage.move(480, 0,1,1)
spm.sleep(100)
spm.vision.capture(visionLoc+'X_5.png')
spm.xystage.move(480, 0,1,1)
spm.sleep(100)
spm.vision.capture(visionLoc+'X_6.png')
spm.xystage.move(480, 0,1,1)
spm.sleep(100)
spm.vision.capture(visionLoc+'X_7.png')
spm.xystage.move(480, 0,1,1)
spm.sleep(100)
spm.vision.capture(visionLoc+'X_8.png')
spm.xystage.move(-3360, -360,1,1)
spm.sleep(100)
//capture 2nd line
spm.vision.capture(visionLoc+'X_9.png')
spm.xystage.move(480, 0,1,1)
spm.sleep(100)
spm.vision.capture(visionLoc+'X_10.png')
spm.xystage.move(480, 0,1,1)
spm.sleep(100)
spm.vision.capture(visionLoc+'X_11.png')
spm.xystage.move(480, 0,1,1)
spm.sleep(100)
spm.vision.capture(visionLoc+'X_12.png')
spm.xystage.move(480, 0,1,1)
spm.sleep(100)
spm.vision.capture(visionLoc+'X_13.png')
spm.xystage.move(480, 0,1,1)
spm.sleep(100)
spm.vision.capture(visionLoc+'X_14.png')
spm.xystage.move(480, 0,1,1)
spm.sleep(100)
spm.vision.capture(visionLoc+'X_15.png')
spm.xystage.move(480, 0,1,1)
spm.sleep(100)
spm.vision.capture(visionLoc+'X_16.png')
spm.xystage.move(-3360, -360,1,1)
spm.sleep(100)
//capture 3rd line
spm.vision.capture(visionLoc+'X_17.png')
spm.xystage.move(480, 0,1,1)
spm.sleep(100)
spm.vision.capture(visionLoc+'X_18.png')
spm.xystage.move(480, 0,1,1)
spm.sleep(100)
spm.vision.capture(visionLoc+'X_19.png')
spm.xystage.move(480, 0,1,1)
spm.sleep(100)
spm.vision.capture(visionLoc+'X_20.png')
spm.xystage.move(480, 0,1,1)
spm.sleep(100)
spm.vision.capture(visionLoc+'X_21.png')
spm.xystage.move(480, 0,1,1)
spm.sleep(100)
spm.vision.capture(visionLoc+'X_22.png')
spm.xystage.move(480, 0,1,1)
spm.sleep(100)
spm.vision.capture(visionLoc+'X_23.png')
spm.xystage.move(480, 0,1,1)
spm.sleep(100)
spm.vision.capture(visionLoc+'X_24.png')
spm.xystage.move(-3360, -500,1,1)
Comments (0)
No comments yet. Be the first to comment!
Snippet Information
Author:
Youngseo.Park
Language: PowerScript
Created:
Oct 28, 2025
Updated:
0 minutes ago
Views: 33
Stars: 2