Assuming you mean Ethernet/IP and the robot is a scanner, you need to know the connection size in bytes in both directions, and assembly instances of the adapter (input, output, configuration). The information should be provided in the adapter documentation, or discovered manually from the EDS file.
Thank you