6 POSITIONING CONTROL

(3) Motion SFC program

Motion SFC program for which executes JOG operation is shown below.

JOG operation-individual start

JOG operation-individual start

[F10]

SET M2042

 

[G10] M2415*M2435

P1

Turn on all axes servo ON command.

Wait until Axis 1 servo ready and Axis 2 servo ready turn on.

[F20]

D640L=K100000

 

 

D642L=K100000

 

 

 

 

 

 

 

[F30]

SET M3202=PX003 * !M3203

 

RST M3202=!PX003

 

SET M3203=PX004 * !M3202

 

RST M3203=!PX004

 

SET M3222=PX005 * !M3223

 

RST M3222=!PX005

 

SET M3223=PX006 * !M3222

 

RST M3223=!PX006

 

 

 

 

 

 

 

P1

 

 

 

Transfer the JOG operation speed to D640L and D642L.

Axis 1, Axis 2 forward/reverse JOG operation Axis 1 forward JOG start command SET/RST

Axis 1 reverse JOG start command SET/RST

Axis 2 forward JOG start command SET/RST

Axis 2 reverse JOG start command SET/RST

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

6 - 178