6 POSITIONING CONTROL

(4) Servo program

Servo program No.55 for speed control with fixed position stop is shown below.

<K 55>

 

 

 

 

 

 

 

 

PVF

 

 

 

 

Axis

1,

 

120.00000

Speed

 

 

 

30000.000

Accel./decle. time

20

Fixed position stop

M100

command

 

Speed control with fixed position stop

Axis used . . . . . . . . .

. . . . Axis 1

Stop position. . . . . . .

120.00000

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

30000.000

Accel./decel. time . . . . . .

. . . . . . 20

Fixed position stop . . . . .

. . . . M100

command

 

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

(5) Motion SFC program

Motion SFC program for which executes the servo program is shown below.

Speed control with fixed position stop

Speed control with fixed position stop

[F10]

SET M2042

Turn on all axes servo ON command.

 

[G10]

 

Wait until PX000, Axis 1 servo ready turn on.

 

PX000*M2415

 

 

 

 

[K55]

PVF

 

 

 

 

Axis

1,

120.00000 degree

 

 

 

Speed

 

30000.000 degree/min

 

Accel./decle. time

20 ms

 

Fixed position stop

M100

 

command

 

 

 

[G20]

!PX000

 

[F20]

 

SET M100

 

[G30]

 

!M2001

 

[F30]

 

RST M100

 

 

 

Fixed position stop with speed control start

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

Axis 1

Stop position . . . . . . . . . . . . .

120.00000

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

30000.000

Accel./decel. time . . . . . . . . . . . .

20

Fixed position stop command . . .

M100

Wait until PX000 turn off after speed control with fixed position stop start.

Turn on fixed position stop command.

Wait until Axis 1 start accept flag turn off.

Turn off fixed position stop command.

END

(Note): Example of the above Motion SFC program is started using the automatic start or PLC program.

6 - 169