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 />

57 D PLSY Pulse Output<br />

Controllers<br />

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

SE<br />

<strong>SX2</strong><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 PLSY: 7 steps<br />

S 1 * * * * * * * * * * * DPLSY: 13 steps<br />

S 2 * * * * * * * * * * *<br />

D *<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 : Pulse output frequency S 2 : Number of output pulses D: Pulse output device (Y0 ~ Y3<br />

available)<br />

Explanations:<br />

21. When PLSY instruction has been executed, the specified quantity of pulses S 2 will be output<br />

through the pulse output device D at the specified pulse output frequency S 1<br />

22. S 1 specifies the pulse output frequency<br />

Output frequency range of MPU<br />

Output Y0, Y2 Y1, Y3<br />

<strong>SS2</strong>: 0~10,000Hz<br />

16-bit instruction<br />

0~10,000Hz<br />

range<br />

<strong>ES2</strong>/<strong>EX2</strong>/<strong>SA2</strong>/<strong>SX2</strong>/SE: 0~32,767 Hz<br />

<strong>SS2</strong>: 0~10,000Hz<br />

32-bit instruction<br />

0~10,000Hz<br />

<strong>ES2</strong>/<strong>EX2</strong>/<strong>SA2</strong>/<strong>SX2</strong>/SE: 0~100,000 Hz<br />

If frequency equals or smaller than 0Hz is specified, pulse output will be disabled.<br />

If frequency bigger than max frequency is specified, PLC will output with max frequency.<br />

23. S 2 specifies the number of output pulses.<br />

16-bit instruction: -32,768~32,767. 32-bit instruction: -2,147,483,648~2,147,483,647.<br />

When S 2 is specified as K0, the pulse will be output continuously regardless of the limit of<br />

pulse number.<br />

24. When D1220/D1221 = K1 or K2, the positive/negative sign of S 2 denotes pulse output direction<br />

(Positive/negative).<br />

3-137

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

Saved successfully!

Ooh no, something went wrong!