Applications of sft instruction – KEYENCE Visual KV Series User Manual

Page 107

Advertising
background image

2.4 Instruction Details

1

2

3-83

Chapter 2 Instructions

Operands

*

Note that of I/O Nos. 7000 to 9915, those that are not assigned to expansion or remote I/O
unit ports can be used for internal utility relays.

Key operation

Applications of SFT instruction

Alternating circuit
Every time input relay No. 0000 turns ON, 0500 turns alternately ON and OFF.

Coding

Timing diagram

Reference: Alternating circuit can be configured without SFT instruction.
The following circuit does the same operation as the circuit above.

➮ "DIFU instruction" (p. 3-78)

Coding

1000

0000

2003

1000

0500

SFT

D

1000

CLK

1000

RES

Line No.

Instruction

Operand

0000

LDB

1000

0001

LD

0000

0002

LD

2003

0003

SFT

1000 1000

0004

LD

1000

0005

OUT

0500

ON
OFF

ON

ON

ON

ON

ON

0000

0500

Line No.

Instruction

Operand

0000

LD

0000

0001

DIFU

1000

0002

LD

1000

0003

ANB

0500

0004

LDB

1000

0005

AND

0500

0006

ORL

0007

OUT

0500

SFT

FUN

O R

9

ORL

3

Operand

(Relay No.)

Operand

(Relay No.)

ENT

R-SRCH

ENT

R-SRCH

0000

1000
DIFU

1000

1000

0500

0500

0500

Visual KV

KV-300

KV-10/16

KV-24/40/80

1000 to 1915

1000 to 1915

1000 to 1915

1000 to 1915

3000 to 6915

3000 to 6915

3000 to 6915

*7000 to 9915

KVNKA Chap 02_4aP.p65

08.3.11, 11:58 AM

83

Advertising