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>SX2</strong>/<strong>SS2</strong>/<strong>SA2</strong>/<strong>SX2</strong>/SE <strong>Operation</strong> <strong>Manual</strong> – Programming<br />

API Mnemonic Operands Function<br />

207 CSFO<br />

Type<br />

Catch speed and<br />

proportional output<br />

<strong>ES2</strong><br />

<strong>EX2</strong><br />

Controllers<br />

<strong>SS2</strong> <strong>SA2</strong> <strong>SX2</strong> 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<br />

S *<br />

S 1 *<br />

D *<br />

<strong>ES2</strong>/<br />

<strong>EX2</strong><br />

CSFO: 7 steps<br />

PULSE 16-bit 32-bit<br />

<strong>ES2</strong>/<br />

<strong>ES2</strong>/<br />

<strong>SS2</strong> <strong>SA2</strong> <strong>SX2</strong> SE <strong>SS2</strong> <strong>SA2</strong> <strong>SX2</strong> SE <strong>SS2</strong> <strong>SA2</strong> <strong>SX2</strong> SE<br />

<strong>EX2</strong> <strong>EX2</strong><br />

Operands:<br />

S: Source device of signal input (Only X0~X3 are available) S 1 : Sample time setting and the<br />

input speed information D: Output proportion setting and output speed information<br />

Explanations:<br />

1. When S specifies X0, PLC only uses X0 input point and its associated high speed pulse output:<br />

Y0, in this case Y1 is normal output point. When S specifies X1, PLC uses X0 (A phase) and<br />

X1 (B phase) input points and their associated output: Y0 (Pulse) / Y1 (Dir). When S specifies<br />

X2, PLC only uses X2 input point and its associated high speed pulse output: Y2, in this case<br />

Y3 is normal output point. When S specifies X3, PLC uses X2 (A phase) and X3 (B phase)<br />

input points and their associated output: Y2 (Pulse) / Y3 (Dir).<br />

2. The execution of CSFO requires hardware high speed counter function as well as the high<br />

speed output function. Therefore, when program scan proceeds to CSFO instruction with high<br />

speed counter input points (X0, X1) or (X2, X3) enabled by DCNT instruction, or high speed<br />

pulse outputs (Y0, Y1) or (Y2, Y3) enabled by other high speed output instructions, CSFO<br />

instruction will not be activated.<br />

3. If S specifies X1 / X3 with 2-phase 2 inputs, the counting mode is fixed as quadruple<br />

frequency.<br />

4. During pulse output process of Y0 or Y2, special registers (D1031, D1330 / D1337, D1336)<br />

storing the current number of output pulses will be updated when program scan proceeds to<br />

this instruction.<br />

5. S 1 occupies consecutive 4 16-bit registers. S 1 +0 specifies the sampling times, i.e. when S 1 +0<br />

specifies K1, PLC catches the speed every time when 1 pulse is outputted. Valid range for S 1<br />

+0 in 1-phase 1-input mode: K1~K100, and 2-phase 2-input mode: K2~K100. If the specified<br />

value exceeds the valid range, PLC will take the lower/upper bound value as the set value.<br />

Sample time can be changed during PLC operation, however the modified value will take<br />

effect until program scan proceeds to this instruction. S 1 +1 indicates the latest speed sampled<br />

by PLC (Read-only). Unit: 1Hz. Valid range: ±10kHz. S 1 +2 and S 1 +3 indicate the accumulated<br />

number of pulses in 32-bit data (Read-only).<br />

3-466

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

Saved successfully!

Ooh no, something went wrong!