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

Program Example 2:<br />

1. When X0 is triggered, WSFRP instruction shifts X20~X27 into data stack Y20~Y37 and<br />

Y20~Y37 also shift to the right with a group of 4 devices.<br />

2. The figure below illustrates the right shift of the devices in one scan<br />

Y27~Y20 → carry<br />

Y37~Y30 → Y27~Y20<br />

X27~X20 → Y37~Y30 completed<br />

X0<br />

When using Kn device, the specified Kn value<br />

(digit) must be the same.<br />

WSFRP K1X20 K1Y20 K4 K2<br />

3<br />

X27 X26 X25 X24<br />

X23 X22 X21 X20<br />

2 digits (8 devices)in a group<br />

shift to the right<br />

Y37 Y36 Y35 Y34 Y33 Y32 Y31 Y30 Y27 Y26 Y25 Y24 Y23 Y22 Y21 Y20<br />

Carry<br />

2<br />

1<br />

3-98

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

Saved successfully!

Ooh no, something went wrong!