421
6
6 Positioning and Interpolation DVIT: Interrupt positioning
◆
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
S3 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
S4 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.
S1 indicates the specied number of pulses to be output. For a 16-bit instruction, the range is –32,768 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.
The number of pulses to be output is used as the position relative to the current value registers listed in the
following table.
Y0 Y1 Y2 Y3 Y4 Attribute
D8340 D8360 D8380 D8400 D8420
Current value register (PLS) (32-bit)
D8341 D8361 D8381 D8401 D8421
The numerical value of the current value register decreases in the reverse direction.
S2 indicates the pulse output frequency at the speed segment before the interrupt. For a 16-bit instruction,
the range is 10 to 32676 Hz. For a 32-bit instruction, the range is 10 to 200,000 Hz.
S3 indicates the pulse output frequency at the position segment after the interrupt. For a 16-bit instruction,
the range is 10 to 32676 Hz. For a 32-bit instruction, the range is 10 to 200,000 Hz.
D1 indicates the pulse output port which can be Y0, Y1, Y2, Y3, or Y4.
D2 indicates the running direction of the output port or the bit variable. If output is ON, it means running in
the forward direction; otherwise, it means running in the reverse direction.
S4 indicates the specied interrupt signal output port, which can be any from X0 to X7.
When the instruction ow is OFF, the pulse output is decelerated to stop, and the execution complete ag
M8029 remains unchanged. After the instruction driving point switches to OFF, when the ag is ON during
pulse output, the ag is no longer driven by the instruction. When the ow switches from OFF to ON, the
pulse output resumes. When the instruction execution is complete, the M8029 ag is set to ON.
The following gure shows a pulse output diagram.