beautypg.com

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

Page 163

background image

Page 158

PTST (Check Position Data)

[Function]

Copies data in the designated position No. (copy data in Operand 2 to Operand 1).

[Example]

PCPY

20

10

Copy data from position 10 in Operand 2 to position 20 in Operand 1.

PCPY (Position Data Copy)

[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.

Chapter 4. Programming

E x p a n s io n

c o n d itio n

( A N D · O R )

In p u t

c o n d itio n

( I/O · F la g )

C o m m a n d

P o s t

( O u tp u t p o r t · F la 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 tio n a l

O p tio n a l

P T S T

A x is p a tte r n

P o s itio n n o .

R e q u ir e d

E x p a n s io n

c o n d itio n

( A N D · O R )

In p u t

c o n d itio n

( I/O · F la g )

C o m m a n d

P o s t

( O u tp u t p o r t · F la 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 tio n a l

O p tio n a l

P C P Y

P o s itio n n o .

P o s itio n n o .

Position No.

Axis 1

Axis 2

Axis 3

10

50.000

100.000

xx.xxx

20

50.000

100.000

xx.xxx

○○

○○

Copy

P o s it i o n N o .

A x is 1

A x is 2

A x is 3

1

2

3

1 0

5 0 . 0 0 0

1 0 0 . 0 0 0

x x . x x x

1 1

x x . x x x

x x . x x x

x x . x x x

○○

○○

This manual is related to the following products: