6 POSITIONING CONTROL

(4) Servo program

Servo program No.91 for speed control () is shown below.

<K 91>

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

VF

 

 

 

 

 

Speed control (

 

) (Forward rotation)

 

 

 

 

 

 

 

 

 

 

Axis

1

 

 

 

 

Axis used . . . . . . . . .

Axis 1

 

 

 

Speed

 

 

3000

 

 

Positioning speed . . .

3000

 

 

 

 

(5) Motion SFC program

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

Speed control ()

[F10]

Speed control (

 

)

 

 

 

 

 

 

SET M2042

 

[G10]

 

 

 

 

 

 

 

 

 

 

PX000*M2415

 

[K91] VF

 

 

 

 

 

 

 

 

 

 

 

 

 

Axis

1

 

 

 

 

Speed

3000PLS/s

[G20]

!PX000

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

[F20]

SET M3200

 

[G30]

!M2001

 

[F30]

RST M3200

 

Turn on all axes servo ON command.

Wait until PX000 and Axis 1 servo ready turn on.

Speed control () (Forward rotation)

Axis used . . . . . . . . . Axis 1

Positioning speed . . . 3000[PLS/s]

Wait until PX000 turns off after speed control () start.

Turn on Axis 1 stop command.

Wait until Axis 1 start accept flag turn off.

Turn off Axis 1 stop command.

END

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

6 - 92