3. Instruction Set

API

 

Mnemonic

Operands

Function

 

 

 

 

 

 

62

 

D

ABSD

 

Absolute Drum

 

 

Sequencer

 

 

 

 

 

Controllers

ES2/EX2 SS2 SA2 SX2

SE

Type

 

Bit Devices

 

 

 

 

 

Word devices

 

 

 

 

 

 

Program Steps

 

OP

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

X

Y

M

S

K

 

H

KnX

KnY

KnM

KnS

T

C

D

E

 

F

ABSD: 9 steps

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

S1

 

 

 

 

 

 

 

 

*

*

*

 

*

 

*

 

*

*

 

 

 

DABSD: 17 steps

 

 

S2

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

*

 

*

*

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

D

 

 

*

*

*

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

n

 

 

 

 

 

*

 

*

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

16-bit

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PULSE

 

 

 

 

 

 

32-bit

 

 

 

 

 

 

 

 

 

 

 

 

ES2/EX2

SS2

SA2

SX2

ES2/EX2

SS2

SA2

SX2

ES2/EX2

SS2

SA2

SX2

 

 

 

 

 

 

 

 

 

 

SE

SE

SE

Operands:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

S1: Start device of the data table

 

S2: No. of counter D: Start device for indicating comparison

result n: Groups of data to be compared (n: 1~64)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Explanations:

105.ABSD instruction creates various output wave forms according to the current value of the counter designated by S2. Usually, the instruction is applied for absolute cam control.

106.S2 of DABSD instruction can designate high speed counters. However, when the present value in the high speed counter is compared with the target value, the result cannot output immediately owing to the scan time. If an immediate output is required, please use DHSZ instruction that is exclusively for high speed counters.

107.When operand S1 uses KnX, KnY, KnM, KnS patterns, Kn should be K4 for 16-bit instruction and K8 for 32-bit instruction.

Program Example:

108.Before the execution of ABSD instruction, use MOV instruction to write all the set values into D100 ~ D107 in advance. The even-number D is for lower bound value and the odd-number D is for upper bound value.

109.When X10 = ON, the present value in counter C10 will be compared with the four groups of lower and upper bound values in D100 ~ D107. The comparison results will be stored in M10 ~ M13.

110.When X10 = OFF, the original ON/OFF status of M10 ~ M13 will be retained.

X20

ABSD D100 C10 M10 K4

C10 X21

RST C10

X21

CNT C10 K400

3 - 1 6 1

Page 277
Image 277
Delta DVP-ES2/EX2/SS2/SA2/SX2/SE manual Mnemonic Operands Function, Absd