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> <strong>Operation</strong> <strong>Manual</strong> - Programming<br />

API Mnemonic Operands Function<br />

Variable speed pulse<br />

198 D VSPO<br />

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 DVSPO: 17 steps<br />

S 1 *<br />

S 2 * * *<br />

S 3 * * *<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 : Target frequency of output S 2 : Target number of pulses S 3 : Gap time and gap<br />

frequency D: Pulse output device (Y0, Y2)<br />

Explanations:<br />

1. Max frequency for S 1 : 100kHz. Target frequency can be modified during the execution of<br />

instruction. When S 1 is modified, VSPO will ramp up/down to the target frequency according<br />

to the ramp-up gap time and gap frequency set in S 3.<br />

2. S 2 target number of pulses is valid only when the instruction is executed first time. S 2 can<br />

NOT be modified during the execution of instruction. S 2 can be a negative value, however, if<br />

the output direction is not specified in D1220/D1221, PLC will take this value as a positive<br />

value. When target number of pulses are specified with 0, PLC will perform continuous<br />

output.<br />

3. S 3 occupies 2 consecutive 16-bit devices. S 3 +0 stores the gap frequency S 3 +1 stores the gap<br />

time. Parameter setting can be modified during the execution of instruction. Set range for<br />

S 3 +0: 1Hz ~ 32767Hz; set range for S 3 +0: 1ms ~ 80ms. If set value exceeds the available<br />

range, PLC will take the upper or lower bound value.<br />

4. D pulse output device supports only Y0 and Y2. If Y1 and Y3 is required for output direction<br />

control, D1220 or D1221 has tobe set as K1(Pulse/Dir).<br />

5. Parameters set in S 3 can only be modified while modifying the value in S 1. When target<br />

frequency is set as 0, PLC will ramp down to stop according to parameters set in S 3 . When<br />

the output is stopped, PLC will enable the flags indicating pause status (Y0: M1538, Y2:<br />

M1540). If target frequency other than 0 is specified again, pulse output will ramp up to target<br />

frequency and operates untill target number of pulses are completed.<br />

3-446

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

Saved successfully!

Ooh no, something went wrong!