This Article provides details on how to obtain the required instances and correspondent sizes information for the EtherNet/IP scanner.
APPLICABLE PRODUCTS
AB7553, AB7668, AB7669, AB7670, AB7503, AB7524, AB7699, AB7957, AB7671, AB7672, AB7677, AB7678, AB7680, AB7673, AB7674, AB7675, AB7676, AB7679,
PRE-REQUISITES
Access to the IO device user guide
A PC, if using EtherNet/IP tool
IN THIS ARTICLE
Intro and overview
Setting up the EIP scanner from the webpage requires the EtherNet/IP adapter devices Assembly object (0x04) input and output instances to be entered. The scanner uses this to setup the connection for the IO data object (0x03). The scanner is configured for exact matching, meaning the assembly instance sizes need to be set correctly or the connection will fault.
Get Assembly Instance
The user guide for the IO device should include details on the EtherNet/IP IO assembly instances. Some devices my allow you to read the instances from a GUI, you may need to navigate though its menu to find the correct info.
Originator > Target (Originator to target) = Output
Target > Originator (Target to Originator) = Input
Get Assembly Size
The size for the data object is typically in the user guide along with the instance but can very depending on the configuration. If you are unable to locate the Size you may be able to read the size from the size attribute (0x04). This assumes the size attribute is supported by the object.
This can be done with a get data request with a EIP tool such a EIPscan or an external EtherNet/IP Scanner tool.
The request will be with Service code 0x0E (get data) to object class 0x04 Attribute 4. Set the instance for the one you need to check. Keep in mind the data bytes are swapped. A response of AABB can be converted to decimal as BBAA. In the following example the response has CC 01 which converts to 460.
Data can also be read directly if the size is not supported. If the tool is used the 4 bytes of header data will need to be taken into account.
This response has 2 bytes of data.
ADDITIONAL RESOURCES
How can I find out the Connection Points / Assembly Instances from the EDS File?
https://www.molex.com/mx_upload/superfamily/iccc/EtherNet_IPTool.html