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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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

281~<br />

286<br />

Type<br />

FAND※<br />

Floating Point Contact Type<br />

Comparison AND※<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<br />

S 1 * * *<br />

S 2 * * *<br />

Operands:<br />

S 1 : Source device 1 S 2 : Source device 2<br />

FAND※: 9 steps<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 />

Explanations:<br />

1. This instruction compares the content in S 1 and S 2 . Take “FAND =” for example, if the result is<br />

“=”, the continuity of the instruction is enabled. If the result is “≠”, the continuity of the<br />

instruction is disabled.<br />

2. The user can specify the floating point value directly into operands S 1 and S 2 (e.g. F1.2) or<br />

store the floating point value in D registers for further operation.<br />

3. FAND※ instruction is used for serial connection with contacts.<br />

API No. 32-bit instruction Continuity condition Discontinuity condition<br />

281 FAND= S 1 =S 2 S 1 ≠S 2<br />

282 FAND> S 1 >S 2 S 1 ≦S 2<br />

283 FAND< S 1 = S 1 ≧S 2 S 1

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

Saved successfully!

Ooh no, something went wrong!