Omron NY532-5400 Reference Manual page 1033

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

Advertisement

Use DeviceType to specify the device type. Specify _DeviceNXUnit for an NX type of IO-Link master
unit and _DeviceEcatSlave for a GX type of IO-Link master unit. The variable used to specify the device
is determined by the specified device type.
For this instruction, it is determined as follows:
To specify the NX type, use NxUnit to specify the device. In this case, EcatSlave is not used. To NxUnit,
pass the device variable that is assigned to the device to specify.
To specify the GX type, use EcatSlave to specify the device. In this case, NxUnit is not used. To Ecat-
Slave, pass the device variable that is assigned to the device to specify.
Use PortNo to set the port number to which the IO-Link device is connected.
The number of ports differs depending on the type of IO-Link master unit.
NX type: 1 to 4
GX type: 1 to 8
The data type of DeviceType is enumerated type _eDEVICE_TYPE.
The meanings of the enumerators of enumerated type _eDEVICE_TYPE are as follows:
Enumerator
_DeviceNXUnit
_DeviceEcatSlave
Use the DeviceObj input variable to specify the object parameter for the IO-Link device to which data is
written. The data type of the DeviceObj input variable is structure _sIOLOBJ_ACCESS. The specifica-
tions are as follows:
Name
DeviceObj
Index
Subindex
Use the RetryCfg input variable to set retry processing for instruction execution.
The data type of RetryCfg is structure _sIOL_RETRY_CFG. The specifications are as follows:
Name
RetryCfg
TimeOut
RetryNum
Use the WriteDat input variable to specify the data to write to the IO-Link device.
NY-series Instructions Reference Manual (W560)
Meaning
NX Unit is specified.
EtherCAT slave is specified.
Meaning
Description
IO-Link
Specification for the IO-
device object
Link device object
parameter
Index
Index
Set 0 to read from the
Subindex
entire index.
Meaning
Description
Execution
Setting for the instruc-
retry setting
tion execution retry
2.0 s when the timeout
Timeout time
time is set to 0
3 times if the number
Number of
of retries at timeout is
retries
set to 0
2 Instruction Descriptions
Data type
Valid range
_sIOLOBJ_-
---
ACCESS
Depends on
UINT
data type.
Depends on
USINT
data type.
Data type
Valid range
_sIOL_RE-
---
TRY_CFG
TIME
0 to 300 s
Depends on
UINT
data type.
2
Unit
Default
---
---
---
---
---
---
Unit
Default
---
---
---
T#2.0s
Times
3
2-981

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents