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.

3. Instruction Set<br />

API Mnemonic Operands Function<br />

287~<br />

292<br />

Type<br />

FOR※<br />

Floating Point Contact Type<br />

Comparison OR※<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 />

FOR※: 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 “FOR =” 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. FOR※ instruction is used for parallel connection with contacts.<br />

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

287 FOR= S 1 =S 2 S 1 ≠S 2<br />

288 FOR> S 1 >S 2 S 1 ≦S 2<br />

289 FOR< S 1 = S 1 ≧S 2 S 1 = D100 F1.234<br />

3-485

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

Saved successfully!

Ooh no, something went wrong!