DVP-ES2/EX2/EC5/SS2/SA2/SX2/SE&TP Operation Manual - Programming
-148
API
Mnemonic Operands Function
57 D
PLSY
Pulse Output
Type
OP
Bit Devices Word devices Program Steps
X Y M S K H KnX
KnY
KnM
KnS
T C D E F
PLSY: 7 steps
DPLSY: 13 steps
SS2
SX2
SS2
SX2
SS2
SX2
Operands:
S
1
: Pulse output frequency S
2
: Number of output pulses D: Pulse output device (Y0 ~ Y3, Y4,
Y6 available)
Explanations:
(For ES2 / EX2 / SS2 / SA2 / SE / SX2 Series PLC CPU)
1. When PLSY instruction has been executed, the specified quantity of pulses S
2
will be output
through the pulse output device D at the specified pulse output frequency S
1
2. S
1
specifies the pulse output frequency
Output frequency range of MPU
range
16-bit instruction
SS2: 0~10,000Hz
ES2/EX2/SA2/SX2/SE: 0~32,767 Hz
0~10,000Hz
32-bit instruction
SS2: 0~10,000Hz
ES2/EX2/SA2/SX2/SE: 0~100,000 Hz
0~10,000Hz
If frequency equals or smaller than 0Hz is specified, pulse output will be disabled.
If frequency bigger than max frequency is specified, PLC will output with max frequency.
3. S
2
specifies the number of output pulses.
16-bit instruction: -32,768~32,767. 32-bit instruction: -2,147,483,648~2,147,483,647.
When S
2
is specified as K0, the pulse will be output continuously regardless of the limit of pulse
number.
4. When D1220/D1221 = K0, K1, K2 or K3, the positive/negative sign of S
2
denotes pulse output
direction (Positive/negative).
5. Four pulse output modes:
Note
#
: Available for 12SE: FW V2.02 or later. When D1220 is specified as K3, D1221 is invalid.