beautypg.com

Delta Electronics Programmable Logic Controller DVP-PLC User Manual

Page 310

background image

7 Application Instructions API 50-99

D V P - P L C A P P L I C AT I O N M A N U A L

7-26

API Mnemonic

Operands

Function

57

D PLSY

Pulse Y Output

Controllers

ES/EX/SS SA/SX/SC EH/SV

Bit Devices

Word Devices

Program Steps

Type

OP

X Y M S K H

KnX

KnY KnM KnS T

C

D

E

F

S

1

*

*

*

*

*

*

*

*

*

*

*

S

2

*

*

*

*

*

*

*

*

*

*

*

D

*

PLSY: 7 steps

DPLSY: 13 steps

PULSE 16-bit 32-bit

ES EX SS SA SX SC EH SV ES EX SS SA SX SC EH SV ES EX SS SA SX SC EH SV

Operands:

S

1

: Pulse output frequency S

2

: Number of output pulses D: Pulse output device (please use transistor output

module)

Explanations:

1.

The program of ES/EX/SS series MPU can use PLSY instruction two times but cannot designate the same Y

device.

2.

Flags: M1010 ~ M1345. See remarks for more details.

3.

S

1

designates the pulse output frequency. With M1133 ~ M1135 and D1133, Y0 of SA/SX series MPU is able to

output pulses at 50KHz. See 2.11 for M1133 ~ M1135 and D1133.

Range of output frequency for all series:

MPU

ES/EX/SS

SA/SX

SC

EH

EH2/SV

Frequency range

Y0: 0 ~10KHz

Y1: 0 ~10KHz

Y0: 0 ~ 32KHz

Y1: 0 ~10KHz

Y0: 0 ~ 30KHz

Y1: 0 ~ 30KHz

Y10: 77 ~ 100KHz

Y11: 77 ~ 100KHz

Y0: 1 ~ 200KHz

Y2: 1 ~ 200KHz

Y0: 0 ~ 200KHz

Y2: 0 ~ 200KHz

Y4: 0 ~ 200KHz

Y6: 0 ~ 200KHz

4.

S

2

designates the number of output pulses. The 16-bit instruction can designate 1 ~ 32,767 pulses and the

32-bit instruction can designate 1 ~ 2,147,483,647 pulses.

Number of continuous pulses for all series:

MPU

ES/EX/SS/SA/SX/SC

SC

EH/EH2/SV

How to designate
continuous pulses

M1010 (Y0) On

M1023 (Y1) On

M1010 (Y0) On

M1023 (Y1) On

The number of output pulses designated

for Y10 and Y11 is set to K0.

The number of output

pulses designated for

Y0, Y2, Y4 and Y6 is set

to K0

5.

For EH/EH2/SV series MPU, when the number of output pulses is set to 0, there will be continuous pulse output

with no limitation on the number of pulses. For ES/EX/SS/SA/SX/SC series MPU, you have to make M1010 (Y0)

or M1023 (Y1) On to allow a continuous pulse output with no limitation on the number of pulses.

6.

For the pulse output device designated in D, EH series MPU can designate Y0 and Y2, EH2/SV series MPU can

designate Y0, Y2, Y4 and Y6, ES/EX/SS/SA/SX series MPU can designate Y0 and Y1, SC series MPU can

designate Y0, Y1, Y10 and Y11. (SC V1.2 and above series MPU supports Y10 and Y11).