9 PROGRAMMING
9.3 Example of Program to Communicate with an IO-Link Device
109
9
9.3
Example of Program to Communicate with an IO-
Link Device
The following describes an example of a program that communicates with IO-Link devices by using functions of the IO-Link
module.
System configuration example
For details on system configuration, refer to the following.
Page 101 System configuration example
Initial setting description
The following table lists the initial settings of the IO-Link module.
*1 Configure settings of channels 3 to 8 as well because any parameter write setting item must not be left blank.
Configuring the parameters
Connect an engineering tool to the CPU module and set parameters.
1.
Configure the CPU module in the following way.
[Project]
[New]
Item
Description
Initial operation setting
Without initial processing
Output HOLD/CLEAR setting
CLEAR
Pin configuration setting
Channel 1 CQ setting
IO-Link mode
Channel 1 Q setting
Input
Channel 2 CQ setting
IO-Link mode
Channel 2 Q setting
Input
IO-Link parameters
(Channel 1 setting)
Process data size
16 words
Swap setting
Disable
Data storage configuration
Disable
Validation setting
Disable
IO-Link parameters
(Channel 2 setting)
Process data size
16 words
Swap setting
Disable
Data storage configuration
Disable
Validation setting
Disable
Summary of Contents for CC-Link IE Field NZ2GF12A-60IOLH8
Page 1: ...CC Link IE Field Network Waterproof Remote IO Link Module User s Manual NZ2GF12A 60IOLH8 ...
Page 2: ......
Page 30: ...28 3 PROCEDURES BEFORE OPERATION MEMO ...
Page 100: ...98 8 MODULE FUNCTION BLOCKS MEMO ...
Page 109: ...9 PROGRAMMING 9 2 Program Example of Setting Parameters Using a Dedicated Instruction 107 9 ...
Page 116: ...114 9 PROGRAMMING 9 3 Example of Program to Communicate with an IO Link Device ...
Page 118: ...116 10 MAINTENANCE AND INSPECTION MEMO ...
Page 155: ...APPX Appendix 7 Additional or Changed Functions 153 A MEMO ...
Page 157: ...I 155 MEMO ...
Page 161: ......