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.

2. Programming Concepts<br />

Function Group Enable 2-spee d output function of DDRVI instruction<br />

Number<br />

M1119<br />

Contents:<br />

When M1119 is ON, 2-speed output function of DDRVI w ill be enabled.<br />

Example: Assume that D0 (D1) is the first speed and D2(D3) is the second speed. D10(D11) is the<br />

output pulse number of the first speed and D12(D13) is the output pulse number of the second<br />

speed.<br />

M0<br />

DMOV K100000 D0<br />

M1<br />

M2<br />

M3<br />

DMOV<br />

DMOV<br />

K50000<br />

K50000<br />

D2<br />

DMOV K100000 D10<br />

D12<br />

DMOV K0 D1030<br />

M0<br />

M1<br />

DMOV K0 D1336<br />

SET<br />

M1119<br />

M0<br />

M1<br />

M1029<br />

M1102<br />

DDRVI D10 D0 Y0 Y1<br />

S0<br />

DDRVI D10 D0 Y2 Y3<br />

S1<br />

END<br />

2-69

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

Saved successfully!

Ooh no, something went wrong!