17.03.2014 Views

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

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

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

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>DVP</strong>-<strong>ES2</strong>/<strong>EX2</strong>/<strong>SS2</strong>/<strong>SA2</strong>/<strong>SX2</strong> <strong>Operation</strong> <strong>Manual</strong> - Programming<br />

API Mnemonic Operands Function<br />

199 D ICF Immediately change frequency<br />

Controllers<br />

<strong>ES2</strong>/<strong>EX2</strong> <strong>SS2</strong> <strong>SA2</strong><br />

SE<br />

<strong>SX2</strong><br />

Type<br />

Bit Devices Word devices Program Steps<br />

OP X Y M S K H KnX KnY KnM KnS T C D E F<br />

S 1 *<br />

S 2 * * *<br />

D *<br />

DVSPO: 13 steps<br />

PULSE 16-bit 32-bit<br />

<strong>ES2</strong>/<strong>EX2</strong> <strong>SS2</strong> <strong>SA2</strong><br />

<strong>SA2</strong><br />

<strong>SA2</strong><br />

<strong>SX2</strong> <strong>ES2</strong>/<strong>EX2</strong> <strong>SS2</strong> <strong>SX2</strong> <strong>ES2</strong>/<strong>EX2</strong> <strong>SS2</strong><br />

SE SE SE <strong>SX2</strong><br />

Operands:<br />

S 1 : Target frequency to be changed S 2 : Gap time and gap frequency D: Pulse output<br />

device (Y0, Y2)<br />

Explanations:<br />

1. Max frequency for S 1 : 100kHz. When ICF instruction executes, frequecy changing will start<br />

immediately with ramp-up/down process.<br />

2. ICF instruction has to be executed after the execution of DVSPO or DPLSY instructions.<br />

When the instruction is used together with DVSPO, operands S 1 , S 2 , D of DICF has to be<br />

assigned the same device with S 1 , S 3 , D of DVSPO. When the instruction is used with DPLSY,<br />

operands S 1 and D has to be assigned the same device with S 1 and D of DPLSY.<br />

3. If ICF instruction is used with DPLSY instruction, operand S 2 is invalid.<br />

4. When ICF instruction is used with DVSPO instruction, parameter setting of S 2 functions the<br />

same as S 3 in DVSPO instruction, specifying the gap time and gap frequency of<br />

ramp-up/down process.<br />

5. D pulse output device supports only Y0 and Y2.<br />

6. The instruction is suggested to be applied in interrupt subroutines for obtaining the better<br />

response time and eexecution results<br />

7. For associated flags and registers, please refer to Points to note of API 198 DVSPO<br />

instruction.<br />

Function Explanations:<br />

1. If users change the target frequency by using DVSPO instruction, the actual changing timing<br />

will be delayed due to the program scan time and the gap time as below.<br />

3-450

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!