8-5
8 Example of Operations for EtherCAT Communications
NJ/NX-series CPU Unit Built-in EtherCAT Port User’s Manual (W505)
8-1 Example of Operations for EtherCAT Communications
8
8-1-4 Programming
Programming
When the operation start button is pressed, the Pwr_On variable changes to TRUE and axis control
is enabled. (See rung 0.)
When the homing button is pressed, the Hm1_On variable changes to TRUE and homing is per-
formed. (See rung 1.)
Assigning Programs to Tasks
Use Task Settings to assign programs to tasks and set the program execution order.
• Assign programs to tasks and set the program execution order from Program Assignment Set-
tings.
You can use the Simulator to check the program and task execution times with offline debugging.
Turn ON the following power supplies.
• Slave unit power supply (The PWR indicator on the slave will light when the power supply turns ON.)
• Slave I/O power supply
• Controller power supply
Compare and merge the network configuration that was set on the Sysmac Studio and the actual con-
figuration.
Download the network configuration information and the user program that were created on the Sys-
mac Studio to the Controller.
Note Use the synchronization operation of the Sysmac Studio to download the data.
8-1-4 Programming
8-1-5 Offline Debugging
8-1-6 Turning the Power ON
8-1-7 Online Debugging
8-1-8 Downloading the Network Configuration Information and the
User Program