beautypg.com

Sel language – IAI America DS-S-C1 User Manual

Page 57

background image

55

[Function]

Executes programs paused by the SLPG command assigned in operand 1.
Once the startup is succesful, output turns ON.

[Function]

Pauses self task, and begins execution again by WUPG command of another program.

[Example1] SLPG

Pauses self task.

n

o

i

s

n

a

p

x

E

n

o

it

i

d

n

o

c

)

R

O

·

D

N

A

(

t

u

p

n

I

n

o

it

i

d

n

o

c

)

g

a

l

F

·

O

/I

(

d

n

a

m

m

o

C

t

s

o

P

)

g

a

l

F

·

t

u

p

t

u

O

(

d

n

a

m

m

o

C

1

d

n

a

r

e

p

O

2

d

n

a

r

e

p

O

l

a

n

o

it

p

O

l

a

n

o

it

p

O

G

P

L

S

n

o

i

s

n

a

p

x

E

n

o

it

i

d

n

o

c

)

R

O

·

D

N

A

(

t

u

p

n

I

n

o

it

i

d

n

o

c

)

g

a

l

F

·

O

/I

(

d

n

a

m

m

o

C

t

s

o

P

)

g

a

l

F

·

t

u

p

t

u

O

(

d

n

a

m

m

o

C

1

d

n

a

r

e

p

O

2

d

n

a

r

e

p

O

l

a

n

o

it

p

O

l

a

n

o

it

p

O

G

P

U

W

.

o

N

m

a

r

g

o

r

P

P

C

[Example 1]

ABPG

10

Stop program No. 10.

[Example 2]

LET

1

10

Assign 10 to variable 1.

ABPG

*1

Stop variable 1 (content 10) program.

12. SEL Language

SLPG (Task Pause)

* Commands not yet publicly available can not be used.

ABPG (Stop Other Program)

n

o

i

s

n

a

p

x

E

n

o

i

t

i

d

n

o

c

)

R

O

·

D

N

A

(

t

u

p

n

I

n

o

i

t

i

d

n

o

c

)

g

a

l

F

·

O

/

I

(

d

n

a

m

m

o

C

t

s

o

P

)

g

a

l

F

·

t

u

p

t

u

O

(

d

n

a

m

m

o

C

1

d

n

a

r

e

p

O

2

d

n

a

r

e

p

O

l

a

n

o

i

t

p

O

l

a

n

o

i

t

p

O

G

P

B

A

.

o

N

m

a

r

g

o

r

P

P

C

[Function]

Forces the other program being executed in operand 1 to end.
When that progran (task) is forced to end, the port and flag in the post section is output.

Note:

The ABPG command stops the program once the command being executed is completed.

[Example 1]

WUPG 1

Execute program No. 1.

[Example 2]

LET

1

10

Assign 10 to variable 1.

WUPG *1

Execute variable1 (content 10) program.

WUPG (Startup Other Task)

* Commands not yet publicly available can not be used.