6POSITIONING CONTROL

(e)PLC program

PLC program for FIN signal wait function is shown below.

PLC program

0

X0

 

 

SP.SFCS H3E1

K110

M0

D0

Motion SFC program start request

 

 

 

 

M0

 

 

11

 

 

 

 

MOVP

K1

D51

Substitutes 1 for D51 after program

 

 

 

 

 

 

 

 

 

 

start.

 

M2419

 

 

 

 

 

 

 

14

 

 

 

 

 

 

 

Reads data of D13 for Multiple CPU

 

 

 

SP.DDRD H3E1

D50

D13

D1

M2

system No.2 by turning M2419 on,

 

 

 

 

 

 

 

 

 

 

 

 

 

and stores in the data area of self

 

 

 

 

 

 

 

 

SET

M3219

CPU

 

 

 

 

 

 

 

 

M3219 is set

26

M2419

 

 

 

 

 

RST

M3219

Resets M3219 by turning M2419 off.

 

 

 

 

 

 

 

28

 

 

 

 

 

 

 

 

END

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(Note): Details of D1 is used as control.

(f)Parameter setting

The CPU shared memory setting example for FIN signal wait function is shown below.

CPU No. 1 (PLC CPU) (GX Developer)

Multiple CPU Setting (setting 1: M2400 to M2495)

Multiple CPU Setting (setting 2: M3200 to M3295)

CPU shared

CPU shared

memory setting

memory setting

CPU No. 2 (Motion CPU) (SW6RN-GSV†P)

Multiple CPU Setting (setting 1: M2400 to M2495)

Multiple CPU Setting (setting 2: M3200 to M3295)

CPU shared

CPU shared

memory setting

memory setting

6 - 153