beautypg.com

Application of stp and ste instructions – KEYENCE Visual KV Series User Manual

Page 140

background image

2.4 Instruction Details

3-116

2

Chapter 2 Instructions

0000

1000

T000

1001

SET

T000

1001

T000

1001

RES

0500

0501

1002

RES

STE

STE

END

ENDH

STP

1002

STP

1001

1002

SET

1000
DIFU

#00020

T000

1002

T001

T001

#00030

T001

Line No.

Instruction

Operand

0000

LD

0000

0001

DIFU

1000

0002

CON

0003

AND

1000

0004

SET

1001

0005

STP

1001

0006

LD

T000

0007

RES

1001

0008

LDB

T000

0009

OUT

0500

0010

LD

1001

0011

TMR

000 #00020

0012

LD

T000

0013

SET

1002

0014

STE

0015

STP

1002

0016

LD

T001

0017

RES

1002

0018

LDB

T001

0019

OUT

0501

0020

LD

1002

0021

TMR

001 #00030

0022

STE

0023

END

0024

ENDH

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

Application of STP and STE instructions

Process progression
When input relay 0000 turns ON, output relay 0500 turns ON for 2 seconds, then
output relay 0501 turns ON for 3 seconds automatically.

Coding

The double coils in different STP blocks operate properly.

STP / STE

FUN

FUN

LDB

4

LDB

4

ANB

5

ORL

3

Operand

(nnnn)

ENT

R-SRCH

ENT

R-SRCH

ENT

R-SRCH

ENT

R-SRCH

Visual KV

KV-300

KV-10/16

KV-24/40/80

0000 to 17915

0000 to 0009

0000 to 2915

0000 to 6915

T000 to T249

0500 to 6915

T000 to T063

T000 to T119

C000 to C249

*7000 to 9915

C000 to C063

C000 to C119

CTC0 to CTC3

T000 to T249

CTC0 to CTC3

CTC0 to CTC3

C000 to C249

CTC0 to CTC3

KVNKA Chap 02_4bP.p65

08.3.11, 0:00 PM

116