beautypg.com

Melsec series, Appendix-13, Melsec series initialization of the dm – KEYENCE DV-90 User Manual

Page 249: Control of the read trigger

background image

Appendix-13

E DV-90-IM

App

endix

7 PLC Program Examples

MELSEC Series

Initialization of the DM

•Set the “Data write head address” as D100.

•Set the “Data write process” as “1: Sequence process-

ing”

Initialize each DM.

* DM0010 is valid only in “Sequence processing”.

•When using “Verify Active”, set the active record

number at startup.

•Set “1: Work start” in “Work Start Notice Flag”.

Control of the read trigger

Controls the read trigger from Input X0.

END

ENDH

MOV K100

D1

MOV

K1

D8

MOV

K0

D6

MOV

K0

D7

MOV

K0

D9

MOV

K0

D14

MOV

K0

D17

MOV

K1

D10

MOV

K1

D12

MOV

K1

D0

MOV

K1

D6

MOV

K0

D6

Continue to the next page