beautypg.com

Chapter 4. programming – IAI America S-SEL-E User Manual

Page 147

background image

Page 142

[Function]

Jumps to the step designated by the tag number.

(Valid only within the same program)

[Example]

GOTO 1
Jump to the step in Tag No. 1.

TAG 1

GOTO 1

[Function]

Uses the tag number to designate the place to jump to in the GOTO command.

(Valid only within the same program)

[Example]

TAG

1
Prepares Tag 1 as the jump destination for GOTO 1.

TAG (Tag Designation)

TAG 1

GOTO 1

2-6 Turnout Commands

GOTO (Jump)

Jump

Jump

Chapter 4. Programming

E x p a n s i o n

c o n d i t i o n

( A N D · O R )

I n p u t

c o n d i t i o n

( I / O · F l a g )

C o m m a n d

P o s t

( O u t p u t p o r t · F l a g )

C o m m a n d

O p e r a n d 1

O p e r a n d 2

O p t i o n a l

O p t i o n a l

G O T O

T a g N o .

E x p a n s i o n

c o n d i t i o n

( A N D · O R )

I n p u t

c o n d i t i o n

( I / O · F l a g )

C o m m a n d

P o s t

( O u t p u t p o r t · F l a g )

C o m m a n d

O p e r a n d 1

O p e r a n d 2

T A G

T a g N o .

This manual is related to the following products: