beautypg.com

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

Page 165

background image

Page 160

Chapter 4. Programming

[Function]

Assigns the value in Operand 1 as the velocity for the designated position data. Variables can also be used.

This command is used to change the actual velocity.

* When a value is assigned that will result in a negative number after calculation, there is no warning at the

time you execute this command but an alarm will occur when you try to use the data.

[Example]

PVEL

100

3

Assign a value of 100mm/sec to the velocity data for position number 3.

[Function]

Checks the maximum size of the position data that can be used.

[Example]

PSIZ 1
The maximum value of the position data goes into variable 1 (variable to be assigned) in Operand 1.

PSIZ (Check Position Data Size)

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 S IZ

V a r ia b le ( to b e

a s s ig n e d )

PVEL (Assign Velocity Data)

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 .

This manual is related to the following products: