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

159 D DRVA<br />

Type<br />

Absolute 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 DRVA: 9 steps<br />

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

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

DDRVA: 17 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 1 : Numbers of pulses (Absolute positioning) S 2 : Pulse output frequency D 1 : Pulse output<br />

device 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 (Absolute 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. If Y output is designated, only CH0 (Y1) and CH1 (Y3)<br />

are available.<br />

6. S 1 is the target position for absolute positioning. The actual number of output pulses (S 1 –<br />

current position) will be calculated by PLC. When the result is positive, pulse output executes<br />

forward operation, i.e. D 2 = OFF; when the results is negative, pulse output executes reverse<br />

operation, i.e. D 2 = ON.<br />

7. The set value in S 1 is the absolute position from zero point. The calculated actual number of<br />

output pulses will be 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 (between start frequency and pulse output<br />

frequency) setting of CH0 (CH1). Available range: 20 ~ 32,767ms. Default: 100ms. PLC will<br />

take 20ms as the set value when specified value is below 20ms or above 32,767ms.<br />

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

PLC will take the start/end frequency as the pulse output frequency when pulse output<br />

frequency S 2 is smaller or equals the start/end frequency.<br />

3-374

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

Saved successfully!

Ooh no, something went wrong!