Omron NY532-5400 Reference Manual page 1036

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

Advertisement

2 Instruction Descriptions
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 value 01 is written to the one-byte SwitchPoint Logic Output 1 (Index: 61/Subindex: 1) of the photo-
electric sensor (E3Z) connected to port 1 on the NX-ILM400. The written data is stored in SwitchPoint.
The node address of the NX-ECC203 is 10.
LD
Internal
Vari-
ables
Trigger
WriteCondition
DevicePort
DeviceObject
SwitchPoint
IOL_WriteObj_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.
2-984
NX-series
IO-Link Master Unit
NX-ILM400
Variable
BOOL
BOOL
_sDEVICE_PORT
_sIOLOBJ_ACCESS
USINT
IOL_WriteObj
Variable
Constant
Data type
Initial value
FALSE
FALSE
(Index:=0, Sub-
index:=0)
USINT#01
Initial value
ARRAY[1..512] OF BOOL
Set the device variable
which specifies NX-ILM400
as the initial value of the
structure member NxUnit.
NY-series Instructions Reference Manual (W560)
Comment
Execution condition
Data writing execution condi-
tion
Specification for the IO-Link
device object
Write data
Comment
Message Communications
*1
Enabled Slave Table

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents