3-1
NJ-series CPU Unit Software User’s Manual (W501)
3
This section describes how to use I/O ports, how to create the Slave and Unit Configu-
rations, and how to assign functions.
3-1 Procedure to Create the Slave and Unit Configurations . . . . . . . . . . . . . . 3-2
3-2 Creating and Comparing the Slave and Unit Configurations . . . . . . . . . . 3-5
3-2-1 Creating the EtherCAT Slave Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-5
3-2-2 Creating the Unit Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-6
3-2-3 Verifying the Unit Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-6
3-3 I/O Ports and Device Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-8
3-3-1 I/O Ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-8
3-3-2 I/O Port Names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-9
3-3-3 Device Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-10
3-4 Allocating Variables to Units . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-13
3-4-1 Procedure to Assign Variables to Units . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-13
3-4-2 Using Variables Assigned to Units . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-14
3-5 Creating the Axes and Assigning Them to the Servo Drives/Encoder
Input Slaves . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-16
3-5-1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-16
3-5-2 Axis Variables and Axes Group Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-17
3-5-3 Creating and Using Axes and Axis Variables . . . . . . . . . . . . . . . . . . . . . . . . . 3-18
I/O Ports, Slave Configuration,
and Unit Configuration