Share this

PLC interrupt fixed-length function usage example

2026-04-06 03:12:55 · · #1

Function and command introduction

Interruption-based length control is a motion control function suitable for situations where movement needs to be stopped at a specific position or angle. Specifically, when a motion axis is rotating, an external signal (such as a trigger point) can trigger the PLC to execute the corresponding motion. Once triggered, the motion axis will continue to travel a preset distance before stopping.

Interruption-based fixed-length motion control is suitable for various applications requiring high-precision motion control and motion synchronization.

The fixed-length interrupt is implemented through the MC_MoveFeed function block.

Function block MC_MoveFeed parameter pin description

Differences between different sports modes

The function block offers three motion mode options: absolute motion, relative motion, and constant speed motion.

(1) When in absolute mode, the axis starts at position 0. When Mode is 0, it is absolute motion. The signal source is detected within the Position range. If there is no signal source, only the first position segment is completed.

(2) When it is a relative motion mode, detect the signal source within the position range. If there is no signal source, only the first position segment is completed.

(3) When the mode is constant speed motion, the drive will run at a constant Velocity speed.

The difference between Direction and FeedDistance

When Direction is 0, it is positive; when FeedDistance is negative, it is -50 in this project.

That is, Direction: the direction of the first movement, FeedDistance: the position of the second movement, and Recordposition: the position of the first trigger signal source.

Precautions

01. Currently only bus axis is supported.

02. Probe signals requiring external drivers

03. The PLC power supply and driver wiring must be connected correctly. (Refer to the manual for details.)

04. Interruption of fixed length function: The external signal (i.e., the driver probe signal) triggers the PLC. After the trigger, the shaft maintains a certain speed during the subsequent operation until it reaches the specified target position.

-END-

Read next

CATDOLL Charlotte TPE Head

This head is made of TPE material. This link can also be used to order any other TPE head. Just include the name of the...

Articles 2026-02-22
CATDOLL 135CM Laura

CATDOLL 135CM Laura

Articles
2026-02-22
CATDOLL 139CM Sasha Silicone Doll

CATDOLL 139CM Sasha Silicone Doll

Articles
2026-02-22