![background image](http://html1.mh-extra.com/html/omron/nj501-1300/nj501-1300_user-manual_742205052.webp)
2 Motion Control Configuration and Principles
2-8
NJ-series CPU Unit Motion Control User’s Manual (W507)
If high speed motion control is not required and/or your user program is too large, place motion control
instructions in a priority-16 periodic task.
z
Timing of Processing
Motion control processing (MC) for the motion control instructions (FB) that are executed in the
same task period as the priority-16 periodic task are performed at the same time. Therefore, pro-
cessing for multiple axes can be simultaneously executed or stopped.
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) in the priority-16 periodic task.
The output variables of the motion control instructions are refreshed at this point.
3
Command Generation
Motion control instructions (FB) are executed in the task period of the priority-16 periodic task
according to the motion control instructions (FB) that were executed. Motion processing is per-
formed during motion control processing (MC) in the next primary periodic task after the peri-
odic 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.
Using Motion Control Instructions in a Priority-16 Periodic Task
Primary period
Execution of motion control instructions
Servo
Execution command
Priority-16
periodic task
Task period (primary period × 3)
Primary
periodic task
Slave A
IN
UPG
FB
UPG
IO
MC
UPG
IO
MC
UPG
IO
MC
UPG
IO
MC
UPG
IO
MC
Primary period
Execution of motion control instructions
Servo
Execution command
Priority-16
periodic task
Task period (primary period × 3)
Primary
periodic task
FB
IN
UPG
UPG
IO
MC
UPG
IO
MC
UPG
IO
MC
UPG
IO
MC
UPG
IO
MC
Slave A
Содержание NJ501-1300
Страница 12: ...Sections in this Manual 10 NJ series CPU Unit Motion Control User s Manual W507...
Страница 18: ...16 NJ series CPU Unit Motion Control User s Manual W507 CONTENTS...
Страница 22: ...Read and Understand this Manual 20 NJ series CPU Unit Motion Control User s Manual W507...
Страница 34: ...Revision History 32 NJ series CPU Unit Motion Control User s Manual W507...
Страница 44: ...1 Introduction to the Motion Control Function Module 1 10 NJ series CPU Unit Motion Control User s Manual W507...
Страница 58: ...2 Motion Control Configuration and Principles 2 14 NJ series CPU Unit Motion Control User s Manual W507...
Страница 86: ...3 Configuring Axes and Axes Groups 3 28 NJ series CPU Unit Motion Control User s Manual W507...
Страница 98: ...4 Checking Wiring from the Sysmac Studio 4 12 NJ series CPU Unit Motion Control User s Manual W507...
Страница 122: ...5 Motion Control Parameters 5 24 NJ series CPU Unit Motion Control User s Manual W507...
Страница 158: ...6 Motion Control Programming 6 36 NJ series CPU Unit Motion Control User s Manual W507...
Страница 166: ...7 Manual Operation 7 8 NJ series CPU Unit Motion Control User s Manual W507...
Страница 182: ...8 Homing 8 16 NJ series CPU Unit Motion Control User s Manual W507...
Страница 346: ...10 Sample Programming 10 92 NJ series CPU Unit Motion Control User s Manual W507...
Страница 422: ...Appendices A 18 NJ series CPU Unit Motion Control User s Manual W507...
Страница 423: ...Index 1 NJ series CPU Unit Motion Control User s Manual W507 I Index...
Страница 430: ...Index 8 NJ series CPU Unit Motion Control User s Manual W507 Index...