426
6
6 Positioning and InterpolationPLSN: Multi-speed pulse output
PLSN: Multi-speed pulse output
◆
Overview
This instruction is used to continuously output a specied number of output pulses at the output frequency
specied at each segment through the specied output port. The action is based on the relative position.
During running, acceleration/deceleration is supported, but the direction cannot be changed.
PLSN
S1 S2 D1 D2 S3
Multi-speed pulse
output
Applicable model:
H3U
S1 Pulse count
Specied number of pulses to be output at the rst
segment (which is S1 + 1 x n for a 16-bit instruction or
S1 + 2 x n for a 32-bit instruction, indicating the number
of pulses to be output at multiple segments)
16-bit instruction
(11 steps)
PLSN: Continuous
execution
32-bit instruction
(21 steps)
DPLSN:
Continuous
execution
S2
Output
frequency
Specied frequency of pulses to be output at the rst
segment (which is S2 + 1 x n for a 16-bit instruction or
S2 + 2 x n for a 32-bit instruction, indicating the number
of pulses to be output at multiple segments)
D1 Output port High-speed pulse output port
D2
Output
direction
Pulse running direction port or bit variable
S3
Number of
the multi-
segments
Number of the multi-segments (2 to 16)
◆
Operands
Operand
Bit Element Word Element
System·User System·User Bit Designation Indexed Address Constant
Real
Number
S1 X Y M T C S SM D R T C SD KnX KnY KnM KnS KnSM V Z Modication K H E
S2 X Y M T C S SM D R T C SD KnX KnY KnM KnS KnSM V Z Modication K H E
D1 X Y M T C S SM D R T C SD KnX KnY KnM KnS KnSM V Z Modication K H E
D2 X Y M T C S SM D R T C SD KnX KnY KnM KnS KnSM V Z Modication K H E
S3 X Y M T C S SM D R T C SD KnX KnY KnM KnS KnSM V Z Modication K H E
Note: The elements in gray background are supported.
◆
Functions and actions
This instruction is used to output a specied number of pulses at the specied frequency and in the
specied direction through the specied port; continue to output a specied number of pulses after an
interrupt signal is detected; and drive the servo actuator to move with the given offset based on the current
position. This instruction is applicable only to the PLC of the transistor output type. Wherein:
S1 indicates the specied number of pulses to be output at the rst segment. The number of pulses to
be output at other segments is stored in subsequent consecutive elements. For a 16-bit instruction, the
range is -32768 to 32,767. For a 32-bit instruction, the range is -2,147,483,648 to +2,147,483,647. The "-"
indicates the reverse direction. The pulse output direction is determined by whether the value is positive or
negative.