34
10 Programming Using IO-Link
11
Right-click the @MOVE block, and
click Paste.
The block is reused for creating the
block that specifies the node location
where the IO-Link Master Unit is
mounted.
Again, right-click the @MOVE block,
and click Paste.
The block is reused for creating the
block that specifies the port No. of the
safety light curtain.
12
Change In and Out of the @MOVE
block on the second tier to each of
the following:
In: N5_Node_location_information
Out: DevicePort.NxUnit
Change In and Out of the @MOVE
block on the third tier to each of the
following:
In: USINT#10#1
Out: DevicePort.PortNo
13
Press the R key on the keyboard, and
add a ladder.
14
Right-click on the ladder, and click
Insert Input (C).
15
Click Enter Variable, and enter the following variable name.
Variable name: start
16
Right-click on the ladder at the right of the inserted input, and click Insert Function.
Additional Information
As the value to substitute in DevicePort.PortNo, specify the port No. of the IO-
Link Master Unit to which the IO-Link device is connected.