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.

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

API Mnemonic Operands Function<br />

158 D DRVI<br />

Type<br />

Relative Position<br />

Control<br />

Controllers<br />

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

SE<br />

Bit Devices Word devices Program Steps<br />

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

S 1 * * * * * * * * * * *<br />

S 2 * * * * * * * * * * *<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 1 : Number of pulses (relative positioning) S 2 : Pulse output frequency D 1 : Pulse output device<br />

D 2 : Direction signal output<br />

Explanations:<br />

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

2. S 1 is the number of pulses (relative positioning). Available range: -2,147,483,648 ~<br />

+2,147,483,647. “+/-” signs indicate forward and reverse direction.<br />

3. S 2 is the pulse output frequency. Available range: 6 ~ 100,000Hz.<br />

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

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

6. 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. D 2 will not be OFF immediately after pulse output completion and will be<br />

OFF when the drive contact is OFF.<br />

7. The set value in S 1 is the relative position of<br />

- current position (32-bit data) of CH0 (Y0, Y1) which is stored in D1031(high), D1030 (low)<br />

- current position (32-bit data) of CH1 (Y2, Y3) which is stored in D1337(high), D1336 (low).<br />

In reverse direction pulse output, value in (D1031, D1330) and (D1336, D1337) decreases.<br />

8. D1343 (D1353) is the ramp up/down time setting of CH0 (CH1). Available range: 20 ~<br />

32,767ms. Default: 100ms. PLC will take the upper/lower bound value as the set value when<br />

specified value exceeds the available range.<br />

9. D1340 (D1352) is start/end frequency setting of CH0 (CH1). Available range: 6 to 100,000Hz.<br />

PLC will take the upper/lower bound value as the set value when specified value exceeds the<br />

available range.<br />

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

3-370

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

Saved successfully!

Ooh no, something went wrong!