Omron NX Series Network Connection Manual page 38

Machine automation controller, io-link connection guide
Hide thumbs Also See for NX Series:
Table of Contents

Advertisement

Enter the following function name.
17
Function name: MOVE
Click Enter Variable at In and Out in
18
the MOVE block, and enter each of
the following variable names.
In: UINT#10#81
Out:
Variable name: DeviceObject
Data type: _sIOLOBJ_ACCESS
Specify the index No. where the error code of the safety light curtain is stored.
Click DeviceObject at Out, and
19
change to the following variable
name.
Variable name: DeviceObject.Index
Right-click the MOVE block, and click Copy.
20
Right-click the MOVE block, and click
21
Paste.
The block is reused for creating the
block that specifies the Sub-Index No.
where the error code of the safety
light curtain is stored.
Change In and Out of the MOVE
22
block on the second tier to each of
the following.
In: USINT#10#0
Out: DeviceObject.Subindex
Right-click the MOVE block on the
23
second tier, and click Insert Function
Block.
Click Enter Type Name, and enter
24
the following function block name.
Function block name: IOL_ReadObj
10 Programming Using IO-Link
35

Advertisement

Table of Contents
loading

Table of Contents