2-7
2 Motion Control Configuration and Principles
NJ-series CPU Unit Motion Control User’s Manual (W507)
2
-3 Motion
Con
tr
o
l Princip
les
2
2-3-2 Example of T
a
sk Oper
ations f
or Motion Control
Motion control instructions can be used in the primary periodic task or in a priority-16 periodic task. This
section provides examples of task operations.
If high-speed motion control is required, place the motion control instructions (FB) in the primary peri-
odic task.
1
Loading Data
The input data from the EtherCAT slaves (slave A) is loaded during the I/O refresh (IO).
2
Instruction Execution
The motion control instructions (FB) are executed based on the data that was loaded during
user program execution (UPG).
The output variables of the motion control instructions are refreshed at this point.
3
Command Generation
Motion processing according to the motion control instructions (FB) that were executed is per-
formed during motion control (MC) immediately after user program execution in the primary
periodic task. During this processing, execution commands for the Servo Drives are generated.
4
Sending Commands
The execution commands that were generated are sent to the Servo Drive during the I/O refresh
(IO) in the next period.
Additional Information
All instructions from inputs to execution command outputs to the Servo Drive are processed
quickly in this task. We recommend placing all motion control instructions in the primary periodic
task.
2-3-2
Example of Task Operations for Motion Control
Using Motion Control Instructions in the Primary Periodic Task
IN
UPG
FB
IO
MC
UPG
FB
IO
MC
Primary period
Primary period
Execution of motion control instructions
Servo
Execution command
Slave A
Primary
periodic task
Summary of Contents for NJ501-1300
Page 12: ...Sections in this Manual 10 NJ series CPU Unit Motion Control User s Manual W507...
Page 18: ...16 NJ series CPU Unit Motion Control User s Manual W507 CONTENTS...
Page 22: ...Read and Understand this Manual 20 NJ series CPU Unit Motion Control User s Manual W507...
Page 34: ...Revision History 32 NJ series CPU Unit Motion Control User s Manual W507...
Page 86: ...3 Configuring Axes and Axes Groups 3 28 NJ series CPU Unit Motion Control User s Manual W507...
Page 122: ...5 Motion Control Parameters 5 24 NJ series CPU Unit Motion Control User s Manual W507...
Page 158: ...6 Motion Control Programming 6 36 NJ series CPU Unit Motion Control User s Manual W507...
Page 166: ...7 Manual Operation 7 8 NJ series CPU Unit Motion Control User s Manual W507...
Page 182: ...8 Homing 8 16 NJ series CPU Unit Motion Control User s Manual W507...
Page 346: ...10 Sample Programming 10 92 NJ series CPU Unit Motion Control User s Manual W507...
Page 422: ...Appendices A 18 NJ series CPU Unit Motion Control User s Manual W507...
Page 423: ...Index 1 NJ series CPU Unit Motion Control User s Manual W507 I Index...
Page 430: ...Index 8 NJ series CPU Unit Motion Control User s Manual W507 Index...