4 I/O Data
4-4
Specifying I/O Data in the User Pro-
gram
This section explains how to specify I/O data in the IO-Link Master Unit from the user program.
The methods that you can use to specify I/O data depend on the connection destination of the IO-Link
Master Unit.
4-4-1
Controller Communications Using EtherCAT (NX-type IO-Link
Master Unit or GX-type IO-Link Master Unit)
Use the following procedure to specify I/O data in the user program.
1
Register the IO-Link Master Unit as an EtherCAT slave in the EtherCAT Configuration Edit Tab
Page of the Sysmac Studio.
The I/O ports for the I/O data in the IO-Link Master Unit are automatically displayed in the I/O
Map.
2
Use the I/O Map of the Sysmac Studio to assign device variables to the I/O ports of the IO-Link
Master Unit.
3
Use the device variables in the user program.
Additional Information
Device variables are used to access data in slaves or Units.
A device variable accesses data through a port that acts as an interface to an external device.
This port is called an I/O port.
4-4-2
Controller Communications Using EtherNet/IP (NX-type IO-Link
Master Unit)
Regardless of the model of the NX Unit, I/O data is mapped in the I/O data block of the EtherNet/IP
Coupler Unit in the order in which the NX Unit is connected to the EtherNet/IP Coupler Unit.
Tags are assigned in this I/O data block. This lets you specify I/O data in the IO-Link Master Unit.
Refer to the NX-series EtherNet/IP Coupler Unit User's Manual (Cat. No. W536) for details.
4-4-3
Controller Communications Using NX Bus (NX-type IO-Link Mas-
ter Unit)
1
Register the IO-Link Master Unit as an NX Unit in the CPU and Expansion Racks Tab Page of
the Sysmac Studio.
2
Use the I/O Map of the Sysmac Studio to assign device variables to the I/O ports of the IO-Link
Master Unit.
4-20
NX/GX-series IO-Link System User's Manual (W570)