6 POSITIONING CONTROL

(3) Operation timing

Operation timing for position follow-up control is shown below.

V

t

Positioning address (D4000)

0

100

0

PLC ready flag (M2000)

All axes servo ON command (M2042)

All axes servo ON accept flag (M2049)

Axis 3 servo ready (M2455)

Start command (X0)

Servo program start

Axis 3 start accept flag (M2003)

Axis 3 positioning start completion (M2440)

Axis 3 positioning completion (M2441)

Axis 3 command in-position (M2443)

Stop command (X1)

Axis 3 stop command (M3240)

(4) Servo program

Servo program No.100 for position follow-up control is shown below.

 

<K 100>

 

 

 

 

 

Position follow-up control

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PFSTART

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Axis

3,

D 4000

 

 

Axis used . . . . . . . . . . .

Axis 3

 

Speed

 

 

20000

 

 

Positioning address . . .

D4000

 

 

 

 

 

 

 

Speed . . . . . . . . . . . . .

20000

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(Note): Example of the Motion SFC program for positioning control is shown next page.

6 - 161