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

66. There is no limitation on the times of using this instruction in the program. However, only 4<br />

instructions can be executed at the same scan time. When several pulse output instructions<br />

(PLSY, PWM, PLSR) use Y1 as the output device in the same scan cycle, PLC will execute<br />

pulse output according to the driven order of these instructions.<br />

67. Set value falls out of the available range of operands will be automatically corrected with the<br />

min. or max available value.<br />

Program Example:<br />

68. When X0 = ON, PLSR performs pulse output on Y0 with a target speed of 1000Hz, output<br />

pulse number D10 and ramp up/down time of 3000ms. Ramp up process begins to increase<br />

1000/20 Hz in every shift and every shift outputs D10/40 pulses for 3000/20 ms.<br />

69. When X0 = OFF, the output stops immediately and starts from the count value in D1030,<br />

D1031 when PLSR is executed again.<br />

70. Ramp up/down shifts for Y0, Y2: 20. Ramp up/down shifts for Y1, Y3: 10<br />

X0<br />

PLSR K1000 D10 K3000 Y0<br />

Pulse speed(Hz)<br />

Ramp up time<br />

3000ms<br />

Target speed:1000 Hz<br />

Frequency<br />

20 20<br />

increased/decreased<br />

19 19<br />

in every shift:<br />

1000/20 Hz<br />

...<br />

...<br />

7 Output pulses 7<br />

6<br />

6<br />

5<br />

20-shifts<br />

20-shifts<br />

5<br />

4<br />

4<br />

3 3<br />

16-bit instruction:1~32,767<br />

2<br />

2<br />

32-bit instruction:1~2,147,483,647<br />

1 1<br />

Ramp down time<br />

3000ms<br />

Time(Sec)<br />

Explanations on associated flags and registers:<br />

71. Description on associated flags:<br />

For M1029, M1030, M1102, M1103, M1078, M1079, M1104, M1105, M1538, M1539, M1540,<br />

M1541, M1347, M1348, M1524, M1525, please refer to PLSY instruction.<br />

M1108: Y0 pulse output pause (ramp down). ON = pause, OFF = resume<br />

M1109: Y1 pulse output pause (ramp down). ON = pause, OFF = resume<br />

M1110: Y2 pulse output pause (ramp down). ON = pause, OFF = resume<br />

M1111: Y3 pulse output pause (ramp down). ON = pause, OFF = resume<br />

3-147

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

Saved successfully!

Ooh no, something went wrong!