Based on the EDS and Manual...
Use the following information to WRITE Data to the DTE102:
- Class: 0x04
- Instance: 0x64
- Attribute: 0x03
- Service: Set_Attribute_Single 0x10
Use the following information to READ Data from the DTE102:
- Class: 0x04
- Instance: 0x65
- Attribute: 0x03
- Service: Get_Attribute_Single 0x0E
The EDS file indicates that both Assemblies Instances 100 (0x64) and 101 (0x65) are 80 bytes in size. This can be confirmed by executing a Get_Attribute_Single service to Attribute 4 of both Assembly 100 and 101. The manual appears to confirm this.
Mapping appears to be the following:
Assembly Instance 100 (0x64)
- Bytes 00-19: IO 1 Data Request
- Bytes 20-39: IO 2 Data Request
- Bytes 40-59: IO 3 Data Request
- Bytes 60-79: IO 4 Data Request
Assembly Instance 101 (0x65)
- Bytes 00-19: IO 1 Data Response
- Bytes 20-39: IO 2 Data Response
- Bytes 40-59: IO 3 Data Response
- Bytes 60-79: IO 4 Data Response
To get the UID, I believe you need the following:
- Mode: RWH_RW
- Request: Transition Byte 0 Bit 3 from 0 to 1. The rising edge should trigger the RD request.
- Response: The UID length will reside in Byte 2. The actual UID will reside in Bytes 3 through 17.
This is based on IO 1 Data. Byt offsets should be adjusted for IO 2, 3, and 4.
Please keep in mind, I do not have this IFM device, nor have I ever used it. Therefore, all suggestions are based on vendor documentation. I am unable to confirm the validity of any of this. I hope this points you in the right direction.