SHR-100 (Cabliration용 sample) 표면 검수용 code
PowerScript
2D Pattern sample 표면 검수 및 이미지 촬영 시 활용됩니다.
main
0 files
SHR-100 (Cabliration용 sample)…..js
SHR-100 (Cabliration용 sample)…..js
2230 bytes
//File path can be changed.
visionLoc="D:/SpmData/vision capture/"
//capture 7th line
spm.vision.capture(visionLoc+'2D_1.png')
spm.xystage.move(480, 0,1,1)
spm.sleep(100)
spm.vision.capture(visionLoc+'2D_2.png')
spm.xystage.move(480, 0,1,1)
spm.sleep(100)
spm.vision.capture(visionLoc+'2D_3.png')
spm.xystage.move(480, 0,1,1)
spm.sleep(100)
spm.vision.capture(visionLoc+'2D_4.png')
spm.xystage.move(480, 0,1,1)
spm.sleep(100)
spm.vision.capture(visionLoc+'2D_5.png')
spm.xystage.move(480, 0,1,1)
spm.sleep(100)
spm.vision.capture(visionLoc+'2D_6.png')
spm.xystage.move(480, 0,1,1)
spm.sleep(100)
spm.vision.capture(visionLoc+'2D_7.png')
spm.xystage.move(480, 0,1,1)
spm.sleep(100)
spm.vision.capture(visionLoc+'2D_8.png')
spm.xystage.move(-3360, -360,1,1)
spm.sleep(100)
//capture 8th line
spm.vision.capture(visionLoc+'2D_9.png')
spm.xystage.move(480, 0,1,1)
spm.sleep(100)
spm.vision.capture(visionLoc+'2D_10.png')
spm.xystage.move(480, 0,1,1)
spm.sleep(100)
spm.vision.capture(visionLoc+'2D_11.png')
spm.xystage.move(480, 0,1,1)
spm.sleep(100)
spm.vision.capture(visionLoc+'2D_12.png')
spm.xystage.move(480, 0,1,1)
spm.sleep(100)
spm.vision.capture(visionLoc+'2D_13.png')
spm.xystage.move(480, 0,1,1)
spm.sleep(100)
spm.vision.capture(visionLoc+'2D_14.png')
spm.xystage.move(480, 0,1,1)
spm.sleep(100)
spm.vision.capture(visionLoc+'2D_15.png')
spm.xystage.move(480, 0,1,1)
spm.sleep(100)
spm.vision.capture(visionLoc+'2D_16.png')
spm.xystage.move(-3360, -360,1,1)
spm.sleep(100)
//capture 9th line
spm.vision.capture(visionLoc+'2D_17.png')
spm.xystage.move(480, 0,1,1)
spm.sleep(100)
spm.vision.capture(visionLoc+'2D_18.png')
spm.xystage.move(480, 0,1,1)
spm.sleep(100)
spm.vision.capture(visionLoc+'2D_19.png')
spm.xystage.move(480, 0,1,1)
spm.sleep(100)
spm.vision.capture(visionLoc+'2D_20.png')
spm.xystage.move(480, 0,1,1)
spm.sleep(100)
spm.vision.capture(visionLoc+'2D_21.png')
spm.xystage.move(480, 0,1,1)
spm.sleep(100)
spm.vision.capture(visionLoc+'2D_22.png')
spm.xystage.move(480, 0,1,1)
spm.sleep(100)
spm.vision.capture(visionLoc+'2D_23.png')
spm.xystage.move(480, 0,1,1)
spm.sleep(100)
spm.vision.capture(visionLoc+'2D_24.png')
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: 36
Stars: 2