6 POSITIONING CONTROL

(6) Motion SFC program

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

1 axis constant-speed control

1 axis constant-speed control

[F10]

SET M2042

 

 

 

 

 

 

 

[G10]

 

 

 

 

 

 

 

 

PX000*M2475

 

[K500]

CPSTART1

 

 

 

 

 

 

 

Axis

4

 

 

 

Speed

 

10000PLS/s

 

INC-1

 

 

 

 

Axis

4,

 

-1000PLS

 

FOR-TIMES

 

 

 

 

K

100

 

INC-1

 

 

 

 

Axis

4,

 

2000PLS

 

INC-1

 

 

 

 

Axis

4,

 

-2000PLS

 

NEXT

 

 

 

 

INC-1

 

 

 

 

Axis

4,

 

1000PLS

 

CPEND

 

 

 

[G20]

!PX000

 

 

 

 

 

 

 

 

 

Turn on all axes servo ON command.

Wait until PX000 and Axis 4 servo ready turn on.

Start constant-speed control

 

Axis used . . .

Axis 4

 

Positioning speed . . . . . . . . . .

10000[PLS/s]

1 axis linear positioning control

 

Axis used .

. . . . . . . . . . . . . .

Axis 4

Travel value to pass point . . .

-1000[PLS/s]

Number of repetitions 100

 

1 axis linear positioning control

 

Axis used .

. . . . . . . . . . . . . .

Axis 4

Travel value to pass point . . .

2000[PLS/s]

1 axis linear positioning control

 

Axis used .

. . . . . . . . . . . . . .

Axis 4

Travel value to pass point . . .

-2000[PLS/s]

End repetition region

 

1 axis linear positioning control

 

Axis used .

. . . . . . . . . . . . . .

Axis 4

Travel value to pass point . . .

1000[PLS/s]

End constant-speed control

 

Wait until PX000 turn off after constant-speed control completion.

END

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

6 - 137