In this example, Axis 1 is used as the synchronized axis for the handwheel.
Motion Link Configuration
Add an SC3 Real Axis.

If the real axis option is not available in the ToolBox, you can import the real axis ESI file to add it.

Motion Axis Configuration
Configure the basic parameters for each axis.

Auto-Initialization + Servo ON at Power-Up
1.Use Fun187 to initialize the servo drives.
2.Use M10520 to enable (Servo ON) all servo drives. You can refer to the Ladder logic example below:

Handwheel DI Input Configuration
Currently, EtherCAT handwheel inputs can only use X8~X15.
Configure High-Speed Counters HSC4~HSC7 first:
I/O Configuration > High Speed Counter > HSC4~HSC7
Currently, HSC4~HSC7 only support A/B*4 mode. Note that A/B*4 multiplies the output pulse count by 4.
HSC4 = External Reference No. 1, HSC5 = External Reference No. 2, and so on. These numbers will be used later in the Synchronization Parameters.

Start Axis Synchronization Using Motion Flow
Add a new Motion Flow.
Insert a Sync Control block and select the axis to be synchronized with the handwheel.
Use a Wait condition to hold the flow; once the condition is met, the flow proceeds downward to disable synchronization.
In this example, when M200 = 0, synchronization is disabled and the Motion Flow ends.

Start Motion Flow Using Fun176
The example below uses Fun176 to start Motion Flow ID: 1.
In this example, setting M200 = 1 starts the Motion Flow, working together with the Wait condition inside the flow to stop synchronization when needed.

Synchronization Parameters
Synchronization Parameters > Select the “Output Axis” to be synchronized with the handwheel.
Basic Setting > Set the unit according to the unit of the output axis.
Basic Setting > Keep the default Master Cycle of 1000 mm mapped to the Slave Cycle of 1000 mm. The output axis will travel the exact same distance as the input axis.
Master Input > HSC4 = External Reference No. 1, HSC5 = External Reference No. 2, and so on.
Master Input > Set “Coordinate Conversion Setting” to “By Sync Parameter”.
The handwheel input pulses are converted into unit travel distance via the “Coordinate Conversion Setting”:

The unit travel distance is then mapped from the Master Cycle to the Slave Cycle.
Example: Suppose the handwheel inputs 32,768 pulses:


This equals a Master Input of 100 mm.


Run the PLC
- Switch the PLC DIP switch to RUN.
- Set M200 = 1 to trigger Fun176, starting Flow 1 and initiating synchronization.
- Input pulses via the handwheel.
- Axis 1 rotates in a 1:1 ratio following the handwheel.
Tip: press ← → to switch chapters, Ctrl+K to search