Host Engineering Forum

General Category => Do-more CPUs and Do-more Designer Software => Topic started by: PLC4SKI on November 18, 2021, 07:44:04 PM

Title: Do-More BRX Ethernet IP EDS File from RFID Tracking Hardware
Post by: PLC4SKI on November 18, 2021, 07:44:04 PM
Hello,

Working on a neat application to setup the BRX to communicate over Ethernet IP to a ifm DTE102 
RFID Reader over Ethernet IP in order to read the UID of tags passing by on a conveyor.

Having issue with decoding the EDS file from the Manufacturer of the ifm DTE102 and not clear from their documentation on the CIP structure for reading the UID of the tags.

I was able to setup the BRX Ethernet IP Communications to get the MAC address of the ifm DTE102 following the example on page
28 of the manual https://www.ifm.com/mounting/706357uk.pdf (https://www.ifm.com/mounting/706357uk.pdf) using the EIPMSG Instruction Class:0xF6  Instance:0x1  Attribute:3

( From Page 28 of Manual )
4. Reading the MAC address via the EtherNet/IP Ethernet link object
The Ethernet link object, 0xF6, instance 2, attribute 3 returns the MAC address of the device with a length
of 6 Bytes.
Example: 00 02 01 40 02 5E

Attached is the EDS file from the manufacturer ( had to change the extension to .txt for posting on the forum )

Any guidance greatly appreciated,

God Bless !








Title: Re: Do-More BRX Ethernet IP EDS File from RFID Tracking Hardware
Post by: MAEdwards on November 22, 2021, 11:23:45 AM
Based on the EDS and Manual...

Use the following information to WRITE Data to the DTE102:

Use the following information to READ Data from the DTE102:

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)

Assembly Instance 101 (0x65)

To get the UID, I believe you need the following:
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.