beautypg.com

7 plc program examples, Kv series, Plc program examples – KEYENCE DV-90 User Manual

Page 247: Appendix-11, Initialization of the dm

background image

Appendix-11

E DV-90-IM

App

endix

7

PLC Program Examples

This section describes PLC program examples under the conditions as shown below.

„ Settings of the DV-90

• Verify Type

: Verify Normal/Verify Active

• DM Address

: 0000

• PLC Time Area

: ON

„ PLC Program processing

• “X + 01: Data write head address” is to be set as DM0100 (D100).
• “X + 08 Data write process” is to be set as “Sequence processing”.
• Input 0000 (X0) controls the read trigger.
• The active record is selected from Input 0001 (X1) through 0003 (X3). (Only when Verify

Active is used.)

KV Series

CR2008(2008)

#0100

DW

DM0001

#0001

DW

DM0008

#0000

DW

DM0006

#0000

DW

DM0007

#0000

DW

DM0009

#0000

DW

DM0014

#0000

DW

DM0017

#0001

DW

DM0010

#0001

DW

DM0012

Continue to the next page

Initialization of the DM

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

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

Initialize each DM.

* DM0010 is valid only in “Sequence pro-

cessing”.

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

number at startup.