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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

3. Instruction Set<br />

API Mnemonic Operands Function<br />

157 D PLSV<br />

Adjustable Speed Pulse<br />

Output<br />

Controllers<br />

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

SE<br />

Type Bit Devices Word Devices Program Steps<br />

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

S * * * * * * * * * * * DPLSV: 13 steps<br />

D 1 *<br />

D 2 * * *<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: Pulse output frequency D 1 : Pulse output device (Y0, Y2) D 2 : Direction signal output<br />

Explanations:<br />

1. The instruction only supports the pulse output type: Pulse + Direction.<br />

2. S is the designated pulse output frequency. Available range: -100,000Hz ~ +100,000 Hz. “+/-”<br />

signs indicate forward/reverse output direction. The frequency can be changed during pulse<br />

output. However, if the specified output direction is diferent from the current output direction, the<br />

instruction will stop for 1 scan cycle then restart with the changed frequency.<br />

3. D 1 is the pulse output device. It can designate CH0(Y0) and CH1(Y2).<br />

4. D 2 is the direction signal output device. It can designate CH0(Y1) and CH1(Y3).<br />

5. The operation of D 2 corresponds to the “+” or “-“ of S. When S is “+”, D 2 will be OFF; when S is “-“,<br />

D 2 will be ON.<br />

6. M1305 and M1306 can change the output direction of CH0/CH1 set in D 2 . When S is “-“, D 2 will<br />

be ON, however, if M1305/M1306 is set ON before instruction executes, D 2 will be OFF during<br />

execution of instruction.<br />

7. PLSV instruction does not support settings for ramp up or ramp down. If ramp up/down process is<br />

required, please use API 67 RAMP instruction.<br />

8. If the drive contact turns off during pulse output process, pulse output will stop immediately.<br />

Program Example:<br />

When M10 = ON, Y0 will output pulses at 20kHz. Y1 = OFF indicates forward direction.<br />

M10<br />

DPLSV K20000 Y0 Y1<br />

3-369

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

Saved successfully!

Ooh no, something went wrong!