beautypg.com

Delta DVP-ES2 User Manual

Page 263

background image

3 . I n s t r u c t i o n S e t

3 - 1 4 7

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

instructions can be executed at the same scan time. When several pulse output instructions

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

pulse output according to the driven order of these instructions.

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

min. or max available value.

Program Example:

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

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

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

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

D1031 when PLSR is executed again.

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

X0

PLSR

K1000

D10

K3000

Y0

Pulse speed(Hz)

Target speed:1000 Hz

Time(Sec)

Ramp down time

3000ms

Ramp up time

3000ms

16-bit instruction:1~32,767

32-bit instruction:1~2,147,483,647

1

1

2

2

3

3

4

4

5

5

6

6

7

7

...

...

19

19

20 20

Output pulses

20-shifts

20-shifts

Frequency
increased/decreased

in every shift:

1000/20 Hz

Explanations on associated flags and registers:

71. Description on associated flags:

For M1029, M1030, M1102, M1103, M1078, M1079, M1104, M1105, M1538, M1539, M1540,

M1541, M1347, M1348, M1524, M1525, please refer to PLSY instruction.

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

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

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

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

This manual is related to the following products: