Delta DVP-ES2 User Manual
Page 485
3 . I n s t r u c t i o n S e t
3 - 3 6 9
API Mnemonic
Operands
Function
157
D PLSV
Adjustable Speed Pulse
Output
Controllers
ES2/EX2 SS2 SA2
SE
SX2
Bit Devices
Word Devices
Program Steps
Type
OP
X Y M S K H KnX KnY KnM KnS T
C
D
E
F
S
*
*
*
*
*
*
*
*
*
*
*
D
1
*
D
2
*
*
*
PLSV: 7 steps
DPLSV: 13 steps
PULSE 16-bit 32-bit
ES2/EX2 SS2
SA2
SE
SX2 ES2/EX2 SS2
SA2
SE
SX2 ES2/EX2 SS2
SA2
SE
SX2
Operands:
S: Pulse output frequency D
1
: Pulse output device (Y0, Y2) D
2
: 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.
D
1
is the pulse output device. It can designate CH0(Y0) and CH1(Y2).
4.
D
2
is the direction signal output device. It can designate CH0(Y1) and CH1(Y3).
5.
The operation of D
2
corresponds to the “+” or “-“ of S. When S is “+”, D
2
will be OFF; when S is “-“,
D
2
will be ON.
6.
M1305 and M1306 can change the output direction of CH0/CH1 set in D
2
. When S is “-“, D
2
will
be ON, however, if M1305/M1306 is set ON before instruction executes, D
2
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