beautypg.com

2 composition of application instruction, 5 categories & use of application instructions – Delta Electronics Programmable Logic Controller DVP-PLC User Manual

Page 198

background image

5 Categories & Use of Application Instructions

DVP-PLC Application Manual

5-6

5.2 Composition of Application Instruction

ƒ

An application instruction has two parts: the instruction and operands.

Instruction: The function of the instruction

Operands: Devices for processing the operations of the instruction

The instruction part of an application instruction usually occupies 1 step, and one operand occupies 2 or 4 steps

depending on the instruction is a 16-bit or 32-bit one.

ƒ

Format of an application instruction:

1

2

3

4

5

6

7

8

9

11

12

13

10

API

41

P

DECO

Mn emo nic

S

D

n

Operan ds

F un cti on

Decode

Co ntrol lers

ES /EX /SS

SA /SX /SC

EH /S V

Prog ram Ste ps

DECO, DECOP: 7 steps

Bi t Devic es

Word De vices

X

Y

M

S

K H

Kn X Kn Y KnM KnS

T

D

C

E F

Typ e

OP

S
D

n

*

*

*

*

* *

* * *

*

*

*

*

*

**

*

*

* *

* *

E S

E S

E S

S S

E X

S A S X S C E H S V

E X S S S A S X S C E H S V

E X S S

S X

S A

S C E H S V

PUL SE

16 -b it

32 -bit

API No.

Indication of if there is a 16-bit or 32-bit instruction. If there is a 32-bit instruction, the column will be marked

with “D”.

Mnemonic of the application instruction

Indication of if there is a pulse execution type instruction. If there is a pulse instruction, the column will be

marked with “P”.

Operands

Function of the application instruction

DVP-PLC applicable to the application instruction. ES includes ES/EX/SS, SA includes SA/SX/SC, EH

includes EH/EH2/SV.

Steps occupied by the 16-bit/32-bit/pulse execution instruction

DVP-PLC applicable to the pulse/16-bit/32-bit instruction

Column marked with * and in grey refers to E, F index register modification is applicable.

Column marked with * is the device applicable for the operand

Device name

Device type

ƒ

Input of application instruction:

Some application instructions are only composed of the instruction part (mnemonic), e.g. EI, DI, WDT…. Most

application instructions are composed of the instruction part and many operands.