8 Example of Operations for EtherCAT Communications
In the same way, add an axis and assign the Servo Drive with node address 4 to it.
Setting EtherCAT Master Parameters
Set the parameters for the EtherCAT master from the EtherCAT master settings.
Setting Slave Parameters
Set the slave parameters from the EtherCAT configuration slave settings.
If a communications error prevents the slaves from receiving signals from the EtherCAT master, the
slave outputs are processed according to settings in the slave.
Assigning Tasks to Slaves
Use Task Settings to assign tasks to slaves.
• Set Period/Execution Conditions for each task from Task Settings.
• Set names of the tasks that are assigned to the slaves from I/O Control Task Settings.
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.)
8-4
NJ/NX-series CPU Unit Built-in EtherCAT Port User's Manual (W505)