Delta DVP-ES2/EX2/SS2/SA2/SX2/SE manual Mnemonic Operands Function 199, Icf

Models: DVP-ES2/EX2/SS2/SA2/SX2/SE

1 702
Download 702 pages 56.54 Kb
Page 566
Image 566

DVP - ES2/EX2/SS2/SA2/SX2 Operation Manual - Programming

API

 

Mnemonic

Operands

Function

 

 

 

 

 

 

199

 

D

ICF

 

Immediately change frequency

 

 

 

 

 

 

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

DVSPO: 13 steps

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

S1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

*

 

 

 

 

 

 

 

 

 

 

 

S2

 

 

 

 

*

*

 

 

 

 

 

 

 

 

 

 

*

 

 

 

 

 

 

 

 

 

 

 

D

 

*

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

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: Target frequency to be changed

S2: Gap time and gap frequency

D: Pulse output

 

 

device (Y0, Y2)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Explanations:

1.Max frequency for S1: 100kHz. When ICF instruction executes, frequecy changing will start immediately with ramp-up/down process.

2.ICF instruction has to be executed after the execution of DVSPO or DPLSY instructions. When the instruction is used together with DVSPO, operands S1, S2, D of DICF has to be assigned the same device with S1, S3, D of DVSPO. When the instruction is used with DPLSY, operands S1 and D has to be assigned the same device with S1 and D of DPLSY.

3.If ICF instruction is used with DPLSY instruction, operand S2 is invalid.

4.When ICF instruction is used with DVSPO instruction, parameter setting of S2 functions the same as S3 in DVSPO instruction, specifying the gap time and gap frequency of ramp-up/down process.

5.D pulse output device supports only Y0 and Y2.

6.The instruction is suggested to be applied in interrupt subroutines for obtaining the better response time and eexecution results

7.For associated flags and registers, please refer to Points to note of API 198 DVSPO instruction.

Function Explanations:

1.If users change the target frequency by using DVSPO instruction, the actual changing timing will be delayed due to the program scan time and the gap time as below.

3 - 450

Page 566
Image 566
Delta DVP-ES2/EX2/SS2/SA2/SX2/SE manual Mnemonic Operands Function 199, Icf, Immediately change frequency