beautypg.com

2 details, 1 reference program examples, Basic instructions – KEYENCE Visual KV Series User Manual

Page 350

background image

8.2 Details

3-326

8

Chapter 8 Programming Examples

8.2

Details

8.2.1

Reference Program Examples

Basic Instructions

Applications of TMR, TMH, and TMS Instructions

➮ Refer to p. 3-67 to p. 3-71.

One-shot circuit
When input relay 0000 turns ON, output relay 0500 turns ON and remains ON for a
specified time.

Timing diagram

Ladder diagram

Coding

Off-delay circuit
When input relay 0000 turns ON, output relay 0500 turns ON. 0500 turns OFF in a
specified time after 0000 turns OFF.

Timing diagram

Ladder diagram

Coding

0500

0000

2s

2s

0000

#00020

T000

T000

00500

0500

2-s timer

0500

0000

2s

0000

#00020

T000

0500

00000

0500

2-s timer

T000

Line No.

Instruction

Operand

0000

LD

0000

0001

OR

0500

0002

TMR

000#00020

0003

ANB

T000

0004

OUT

0500

Line No.

Instruction

Operand

0000

LD

0000

0001

OR

0500

0002

ANB

T000

0003

OUT

0500

0004

ANB

0000

0005

TMR

000 #00020

KVNKA Chap 08.p65

08.3.11, 0:12 PM

326