3. Instruction Set

API Mnemonic

Operands

Function

Controllers

157

D

PLSV

Adjustable Speed Pulse

ES2/EX2

SS2

SA2 SX2

Output

 

 

SE

 

 

 

 

 

Type

Bit Devices

 

 

 

 

Word Devices

 

 

 

 

Program Steps

OP

X

Y

M

S

K

H

KnX KnY KnM KnS

T

C

D

E

F

PLSV: 7 steps

S

 

*

 

 

*

*

*

*

*

*

*

*

*

*

*

DPLSV: 13 steps

D1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

D2

 

*

*

*

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PULSE

 

 

 

 

16-bit

 

32-bit

 

 

ES2/EX2

SS2

SA2

SX2

ES2/EX2

SS2

SA2

SX2

ES2/EX2

SS2

SA2

SX2

 

 

SE

SE

SE

Operands:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

S: Pulse output frequency

D1: Pulse output device (Y0, Y2)

D2: Direction signal output

 

 

Explanations:

1.The instruction only supports the pulse output type: Pulse + Direction.

2.S is the designated pulse output frequency. Available range: -100,000Hz ~ +100,000 Hz. “+/-” signs indicate forward/reverse output direction. The frequency can be changed during pulse output. However, if the specified output direction is diferent from the current output direction, the instruction will stop for 1 scan cycle then restart with the changed frequency.

3.D1 is the pulse output device. It can designate CH0(Y0) and CH1(Y2).

4.D2 is the direction signal output device. It can designate CH0(Y1) and CH1(Y3).

5.The operation of D2 corresponds to the “+” or “-“ of S. When S is “+”, D2 will be OFF; when S is “-“, D2 will be ON.

6.M1305 and M1306 can change the output direction of CH0/CH1 set in D2. When S is “-“, D2 will be ON, however, if M1305/M1306 is set ON before instruction executes, D2 will be OFF during execution of instruction.

7.PLSV instruction does not support settings for ramp up or ramp down. If ramp up/down process is required, please use API 67 RAMP instruction.

8.If the drive contact turns off during pulse output process, pulse output will stop immediately.

Program Example:

When M10 = ON, Y0 will output pulses at 20kHz. Y1 = OFF indicates forward direction.

M10

DPLSV K20000 Y0

Y1

3 - 3 6 9

Page 485
Image 485
Delta DVP-ES2/EX2/SS2/SA2/SX2/SE manual API Mnemonic Operands Function Controllers, Plsv