92
7 FUNCTIONS
7.6 CC-Link IE Field Network Communication Function
■
ISDU
Read/write the IO-Link device parameters.
Use indexes, subindexes, and control data for the read and write operations. Specify data values relevant to the connected
IO-Link device.
The control data content is as follows.
• An error will occur if the control data value is set out of the valid range. (
• Execute the RIWT instruction before executing the RIRD instruction when reading parameters. For setting
data of the RIWT instruction, specify the data size (4 bytes), index, subindex, and control data (01H).
Execute the RIWT instruction and then the RIRD instruction to read parameters. For setting data of the
RIRD instruction, specify the data size (4 bytes + response data size).
■
Event data
Read event data that has occurred on the IO-Link devices.
If an event occurs on the connected IO-Link device, the corresponding bit of Channel n event flag (RX38 to RX3F) turns off
and on.
When all the events that have occurred are read, Channel n event flag (RX38 to RX3F) turns on and off.
For content of an event read, refer to the manual of the IO-Link device used.
Event data is not writable. An error occurs in the RIWT instruction if the write is attempted.
Item
Description
Access code
30H
Attribute code
05H
Address code
00H to 07H (corresponding to channel numbers 1 to 8)
Data size
4 to 236 bytes
Data
• First byte: Index (lower) (Default: 00H)
• Second byte: Index (upper) (Default: 00H)
• Third byte: Subindex (Default: 00H)
• Fourth byte: Control data (Default: 00H)
• 5th to 236th byte: Request/response data (Default: 00H)
• Parameter read: 01H
• Parameter write (request/response data is odd number of bytes): 80H
• Parameter write (request/response data is even number of bytes): 00H
Item
Description
Access code
31H
Attribute code
05H
Address code
00H to 07H (corresponding to channel numbers 1 to 8)
Data size
4 bytes
Data
• First byte: Event identifier
• Second byte: Use prohibited (fixed to 0)
• Third byte: Event code (lower)
• Fourth byte: Event code (upper)
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: ......