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

Page 63

Advertising
background image

61

[Function]

Reads the current coordinates of the axis designated in operand 1 and writes it to the position
designated in Operand 2.

[Example]

PRED

11

10

Read the current coordinates of axis 1 and axis 2 designated in operand 1 into
position 10.

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

r

o

p

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

D

E

R

P

n

r

e

t

t

a

p

s

i

x

A

.

o

N

n

o

i

t

i

s

o

P

12. SEL Language

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

r

o

p

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

T

S

T

P

n

r

e

t

t

a

p

s

i

x

A

.

o

N

n

o

it

i

s

o

P

d

e

r

i

u

q

e

R

PTST (Check Position Data)

[Function]

Checks to see whether there is valid data in the designated axis pattern and position number. If there is no
data, the post flag or output port turns ON. Post section turns ON only when all the axes specified by the
axis pattern are XX.XXX. ("0" is considered as data.)

[Example]

PTST 11

11

600

If there is no data in position 11 of axis 1 and 2, flag 600 turns ON.

PRED (Read Coordinates)

Advertising