Omron NY532-5400 Reference Manual page 1027

Ny-series
Hide thumbs Also See for NY532-5400:
Table of Contents

Advertisement

Sample Programming
In this sample, an IO-Link master unit (NX-ILM400) is connected to an EtherCAT Coupler Unit (NX-
ECC203).
Built-in EtherCAT port
EtherCAT Coupler Unit
NX-ECC203
The error log (Index:37/Subindex:0) of 30 bytes is read from the photoelectric sensor (E3Z) connected
to port 1 on the NX-ILM400. The read data is stored in DeviceErrorLog.
The node address of the NX-ECC203 is 10.
LD
Internal
Vari-
ables
Trigger
ReadCondition
DevicePort
DeviceObject
DeviceErrorLog
IOL_ReadObj_instance
Exter-
nal Vari-
ables
_EC_MBXSlavTbl
IO_LINK_Unit
*1 For NJ-series CPU Units, the data type is ARRAY [1..192] OF BOOL.
NY-series Instructions Reference Manual (W560)
NX-series
IO-Link Master Unit
NX-ILM400
Variable
BOOL
BOOL
_sDEVICE_PORT
_sIOLOBJ_ACCESS
ARRAY[1..30] OF
BYTE
IOL_ReadObj
Variable
Constant
Data type
Initial value
FALSE
FALSE
(Index:=0, Sub-
index:=0)
Initial value
ARRAY[1..512] OF BOOL
Set the device variable
which specifies NX-ILM400
as the initial value of the
structure member NxUnit.
2 Instruction Descriptions
Comment
Execution condition
Data reading execution con-
dition
Specification for the IO-Link
device object
Read data
Comment
Message Communications
*1
Enabled Slave Table
2
2-975

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents