IAI America XSEL-S User Manual

Page 104

Advertising
background image

6. Program Construction for Operation

98

6.2 Outline for SEL Program Construction (Basic Frame)

[Example]

• • •

SLVS 1

60

990 Indicate Vision System I/F

(Indicate GTVD Command Timeout Value =
60sec)

N 990 GOTO 91

To “Treatment for SLVS Command Error”

TAG

90

• • •

LET

10 1

Indicate Work Data Storage Position No.1
to Variable 10

(Ensure the continuous 12 position
numbers in order are available)

LET

11 202

Indicate Work Attribute Storage Top
Variable No.202 to Variable 11

(Ensure the continuous 12 variable
numbers in order are available)

LET

12 200

Indicate Work Piece Quantity Storage
Variable No.200 to Variable 12

LET

13 600

Indicate Image-Capture Trigger Port
No.600 to Variable 13

GTVD 2

10

991 Waiting for Image-Capture Trigger Port

(Flag 600) to turn on

N 991 GOTO 92

To “Treatment for GTVD Command Error”

• • •

(Treatment in accordance with received work piece quantity)

MOVL 1

Move to point above work 1

• • •

GOTO 90

Complete with no problem, back to GTVD
Command

• • •

TAG

91

“Treatment for SLVS Command Error”

• • •

(Treatment in accordance with return code (Variable 99))

• • •

TAG

92

“Treatment for GTVD Command Error”

• • •

(Treatment in accordance with return code (Variable 99))

• • •

Advertising
This manual is related to the following products: