6 Motion Control Programming
6-2
NJ/NX-series CPU Unit Motion Control Userās Manual (W507)
6-1 Introduction
The NJ/NX-series CPU Unit can perform both sequence control and motion control.
Write motion control instructions into the user program to perform motion control with EtherCAT slave
Servo Drives, NX-series Position Interface Units, and other devices.
Programs that contain motion control instructions are called motion control programs.
You must assign Axis Variables to EtherCAT slave Servo Drives and NX-series Position Interface Units.
If you do not assign Axis Variables, assign device variables in the same way as for a general-purpose
slave. Motion control instructions can be used in the primary periodic task, in a priority-5 periodic task,
and in a priority-16 periodic task.
With the Sysmac Studio version 1.09 or higher, you can assign device variables to the I/O ports
of slaves and Units that are assigned to the Axis Variables.
Refer to 2-4-2 Relationship between EtherCAT Master Function Module and MC Function Mod-
ule for details.
ļ¬ NX701 CPU Unit
EtherCAT
EtherCAT
EtherCAT
slaves,
Servo Drives,
encoder input
terminals,
Position
Interface Units
EtherCAT
slaves
EtherCAT
Master
Function
Module
Task period
CPU Unit
Device variables
Axis
variables
Executed.
Executed.
User program in PLC
Function Module
Instructions
other than
motion control
instructions
Motion control
instructions
Sequence
control
Motion control
MC Function Module
ā¢
Profile processing
ā¢
Synchronization
processing
Other processing