Chapter 7 Usage of Various Functions

6) Speed control operation (POSVEL)

POSVEL

Speed control operation

Instruction

 

 

 

 

Available device

 

M

P

K

L

F

T

C

 

S

 

 

 

 

 

 

 

 

 

 

 

 

S

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

n1

 

 

 

 

 

 

 

 

 

 

 

SV

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

No. of

 

Flag

 

 

 

 

 

 

 

D

#D

integer

steps

Error

Zero

Carry

(F110)

(F111)

(F112)

 

 

 

 

 

 

 

 

 

7/9

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Flag set

Error

Error flag turns on when designating area is over

(F110)

and the instruction isn’t executed

 

 

Designation

SCh. for speed control(0~1)

n1

Operation direction(0:Forward, 1:Reverse)

SV

Speed (5 ~ 100,000pps)

POSVEL S n1 SV

(1)Functions

When input condition turns on(Rising edge), Corresponding Ch. Starts speed control by designated direction and speed.

(2)Example program

When input condition(M0000) turns on, Ch. 0 starts speed control by designated direction(M0001) and 10kpps.

Speed can be changed by POSSOR instruction.

Operation stops after deceleration by POSCTR instruction.

7-96

Page 180
Image 180
LG Electronics 120S user manual Speed control operation Posvel, Speed control operation Instruction Available device