Chapter 7 Usage of Various Functions

9) Return to origin(POSORG)

POSORG

Return to origin

 

Instruction

 

 

 

 

Available device

 

 

 

 

No. of

 

Flag

 

 

 

M

P

K

L

F

T

C

 

S

D

#D

integer

steps

Error

Zero

Carry

 

 

 

 

 

 

(F110)

(F111)

(F112)

 

S

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

n1

 

 

 

 

 

 

 

 

 

 

 

7

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

SV

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

플래그 Set

Error

Error flag turns on when designating area is over

(F110)

and the instruction isn’t executed

 

 

영역설정

SCh. for origin return(0~1)

n1

Operation direction(0:Forward, 1:Reverse)

SV

Address (5 ~ 100,000pps)

POSORG S n1 SV

(1)Functions

When input condition turns on, corresponding origin return operation starts(Rising edge trigger)

After operation, Current address is preset to designated origin address

(2)Example program

When input condition(M0000) turns on, Ch. 0 operates return to origin function by designated direction and address

After return to origin operation, position address become the value in D0002 and D0003.

7-99

Page 183
Image 183
LG Electronics 120S user manual Return to originPOSORG, Posorg, Return to origin Instruction Available device