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
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...