Chapter 7 Usage of Various Functions

3) Positioning Control Instruction(POSCTR)

POSCTR

Positioning control instruction

Instruction

 

 

 

 

Available device

 

M

P

K

L

F

T

C

 

S

 

 

 

 

 

 

 

 

 

 

 

 

S

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

n1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

No. of

 

Flag

 

D

#D

integer

steps

Error

Zero

Carry

(F110)

(F111)

(F112)

5

○ ○ ○

Flag set

Error

Error flag turns on when designating area is over

(F110)

Designation

S

Channel designation(0~1)

 

Control instruction designation

n1

0: Deceleration stop. 1:Emergency stop.

 

2: Error reset

POSCTR S n1

(1)Functions

Operates designated control operation at the rising edge of input condition.

-Deceleration stop : Stops positioning after deceleration

-Emergency stop : Stops positioning immediately without deceleration

-Error Reset : Resets occurred error and output prohibition signal.

(2)Example program

When input condition M0000 turns on, Ch.1 stops positioning after deceleration.

7-93

Page 177
Image 177
LG Electronics 120S user manual Positioning Control InstructionPOSCTR, Posctr, Control instruction designation