beautypg.com

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

Page 162

background image

Page 157

2-12 Position Data Operation Commands

PPUT (Assign Axis Data)

Chapter 4. Programming

PGET (Read Axis Data)

[Function]

Reads the position data for the designated axis to variable 199. (Opposite of PPUT) When executing this

command, if the data being read is xxx.xx, the data will not be entered in variable 199 (command is not ex-
ecuted).

[Example]

PGET

2

3

Read data at position no. 3 for axis no. 2 to variable 199.

50.00

Store coordinates obtained from computation results in variable 199.

[Function]

Assigns the coordinates in variable 199 to the designated axis position data.

[Example]

PPUT

2

3

Assign the coordinates in variable 199 to position no. 3 for axis no. 2.

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 P U T

A x is n o .

P o s itio n n o .
V a r ia b le n o .

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 G E T

A x is n o .

P o s itio n n o .
V a r ia b le n o .

Variable 199 (Exclusive Variable)

Position No. Axis 1 Axis 2 Axis 3 Axis 4 Axis 5 Axis 6 Axis 7 Axis 8

1

2

3

4

This manual is related to the following products: