Chapter 7 Usage of Various Functions
7-99
9) Return to origin(POSORG)
Available device Flag
Instruction
M P K L F T C S D
#D integer
No. of
steps Error
(F110)
Zero
(F111)
Carry
(F112)
S ○
n1 ○
SV ○
7 ○
S Ch. for origin return(0~1)
n1 Operation direction(0:Forward, 1:Reverse)
Error
(F110)
Error flag turns on when designating area is over
and the instruction isn’t executed
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.
POSORG Return to origin
플���그 Set 영역설정