Allocating Variables To The I/O Ports; Checking The Status Of The Io-Link Master Unit; Io-Link Process Input Data From E3Z Photoelectric Sensors, And I/O Map - Omron NX Series User Manual

Io-link system
Hide thumbs Also See for NX Series:
Table of Contents

Advertisement

9-5

Allocating Variables to the I/O Ports

Use Configurations and Setup - I/O Map on the Sysmac Studio to assign variables to the I/O ports of
the IO-Link Master Unit.
The following example uses port 1 (Photoelectric Sensor) and port 2 (Proximity Sensor) of an NX-type
IO-Link Master Unit.
Additional Information
You can use the IO-Link Master Simple Settings function to set the IO-Link Master Unit and
generate I/O ports in the I/O Map according to the process data structure of the IO-Link device.
For these I/O ports, the variables that are generated in the Create Device Variable facilitate
programming because they have data types and variable names set according to the process
data structure of the IO-Link device.
You can use the IO-Link Master Simple Settings function for an NJ/NX-series CPU Unit with
version 1.40 or later and Sysmac Studio version 1.29 or higher.
Refer to 8-2-4 IO-Link Master Simple Settings on page 8-15 for details on the IO-Link Master
Simple Settings.
9-5-1

Checking the Status of the IO-Link Master Unit

In this example, checking is performed for the following errors.
• Device Configuration Verification Error
• IO-Link Communications Error
• I/O Cable Short-circuit
• Error-level Device Event
I/O Map (Example for an NX-type IO-Link Master Unit)
I/O port
qNX-ILM400
Port1 Cmp Error
Port1 Comm Error
Port1 Short Error
Port1 Device Error
9-5-2
IO-Link Process Input Data from E3Z Photoelectric Sensors, and
I/O Map
The allocation of the IO-Link process input data and the I/O Map in the E3Z Photoelectric Sensor are
as described below.
Allocation of Process Input Data
7
Detected light level monitor output
NX/GX-series IO-Link System User's Manual (W570)
R
Data
W
type
R
BOOL
N1_Port1 Cmp Error
R
BOOL
N1_Port1 Comm Error
R
BOOL
N1_Port1 Short Error
R
BOOL
N1_Port1 Device Error
6
5
9 Example of Operations for IO-Link Systems
Variable name
PD0
4
3
Variable comment
Device Configuration Verifica-
tion Error
IO-Link Communications Error
I/O Cable Short-circuit
Error-level Device Event
2
1
9
0
9-7

Advertisement

Table of Contents
loading

This manual is also suitable for:

Gx seriesNx-ilm400Gx-ilm08c

Table of Contents