Map the real hardware to the added devices

If you add the devices manually and want to apply the real hardware information to them, you can map the real hardware to the device. Mapping is not the necessary step for the manually added devices. You can use your own device settings instead of applying the real hardware information to them, but you need to make sure that your settings can work on the connected hardware properly.

The ways to map axes and I/Os are the same. In this guide, we talk about how to map axes.

  1. In the toolbar, click Scanbus.
  2. After the scan is done, the devices will be displayed in the Scan for devices dialog box. Axes are listed on the left and the I/O modules are listed on the right. Found axis are axes found on the EtherCAT network. Project axis and Project IO are the axes and I/O modules you created in the project. In the Axes area, click Add / modify to display the Add / modify axes wizard.
  3. In Axes Matching, there are a few things you can do:
  4. When you finish editing in Axis Matching, click Next.

  5. In Parameter configuration, you can edit axes' names, copy the hardware information, and change the unit the axis uses. Note that in the Unit conversion numerator column, if you select the Copy from found axis check box, the numerator of the found axis will overwrite that of the project axis. For more information about this page, see the step 3 in Automatically add devices.
  6. When you finish editing, click Finish.

  7. In the Scan for devices dialog box, check marks are displayed in the axes and I/Os table. It means the found devices and project devices are mapped successfully. We have matched the axes. Repeat the same process to match the I/O modules.
  8. NOTE:  If a red X mark is displayed, it means the found device and project device can't be mapped because their hardware information is different. To resolve this, in the Add / modify wizard, in Axes Matching or I/Os Matching, move the Project axis or Project I/O to match its counterpart. If the problem persists, check your project axis or I/O settings.

  9. The I/O modules are matched. Click Close.
  10. The devices are mapped and added to Resources. Notice that the index is changed.