3. Instruction

Set

API

Mnemonic

 

 

Operands

 

 

 

Function

 

 

Controllers

 

63

 

INCD

 

 

 

 

 

 

 

Incremental drum

 

ES2/EX2 SS2 SA2 SX2

 

 

 

 

 

 

 

 

 

sequencer

 

 

SE

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Type

Bit Devices

 

 

 

Word devices

 

 

 

 

Program Steps

 

OP

 

X

Y

M

S

K

H KnX KnY KnM KnS T

C

D

E

F

INCD: 9 steps

 

S1

 

 

 

 

 

 

*

*

*

*

*

*

*

 

 

 

 

S2

 

 

*

*

*

 

 

 

 

 

 

*

 

 

 

 

 

D

 

 

 

 

 

 

 

 

 

 

 

 

 

 

n

 

 

 

 

 

*

*

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PULSE

 

 

 

 

16-bit

 

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: Number of data to be compared (n: 1~64)

 

 

 

 

 

 

 

 

 

Explanations:

113.INCD instruction creates various output wave forms according to the current value of the counter designated by S2. and S2.+1. Usually, the instruction is applied for relative cam control

114.The current value in S2 is compared with the set points specified by S1 (n consecutive devices) When value in S2 reaches the first set point, S2.+1 counts once for indicating the number of present section, associated D turns ON, and S2 is reset then counts up from 0 again. When the drive contact of INCD instruction is OFF, the content in S2. and S2.+1 will be cleared.

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

116.Operand S2 should be C0~C198 and occupies 2 consecutive counters.

117.When the comparison of n data has been completed, the execution completed flag M1029 = ON for one scan cycle.

Program Example:

118.Before the execution of INCD instruction, use MOV instruction to write all the set values into D100 ~ D104 in advance. D100 = 15, D101 = 30, D102 = 10, D103 = 40, D104 = 25.

119.The current value of counter C10 is compared against the set-point value of D100~D104. Once the current value is equal to the set-point value, C10 will be reset and count up from 0 again. Meanwhile C11 counts once for indicating the number of present section

120.When the content of C11 increase 1, M10~M14 will be ON sequentially. Please refer to the following timing diagram.

121.When the comparison of 5 data has been completed, the execution completed flag M1029 = ON for one scan cycle and C11 is reset for next comparison cycle.

3 - 1 6 3

Page 279
Image 279
Delta DVP-ES2/EX2/SS2/SA2/SX2/SE manual Mnemonic Operands Function Controllers, Bit Devices Word devices Program Steps