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

API Mnemonic Operands Function<br />

15 BMOV P Block Move<br />

Controllers<br />

<strong>ES2</strong>/<strong>EX2</strong> <strong>SS2</strong> <strong>SA2</strong><br />

SE <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 BMOV, BMOVP: 7 steps<br />

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

D * * * * * *<br />

n * * * * *<br />

PULSE 16-bit 32-bit<br />

<strong>SA2</strong><br />

<strong>SA2</strong><br />

<strong>SA2</strong><br />

<strong>ES2</strong>/<strong>EX2</strong> <strong>SS2</strong> <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<br />

SE<br />

SE<br />

Operands:<br />

S: Start of source devices D: Start of destination devices n: Number of data to be moved<br />

Explanations:<br />

1. The program copies a specified block of devices to another destination. Contents in n<br />

registers starting from S will be moved to n registers starting from D. If n exceeds the actual<br />

number of available source devices, only the devices that fall within the valid range will be<br />

used<br />

2. Range of n: 1 ~ 512.<br />

Program example 1:<br />

When X20 = ON, the contents in registers D0 ~ D3 will be moved to the 4 registers D20 ~ D23<br />

X20<br />

BMOV<br />

D0<br />

D20 K4 D0<br />

D1<br />

D2<br />

D3<br />

D20<br />

D21<br />

D22<br />

D23<br />

n=4<br />

<strong>SX2</strong><br />

3-68

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

Saved successfully!

Ooh no, something went wrong!