Searching for target systems

Before you can work with the devices, you must connect your local computer to the target device. Then you can search for the devices with the help of the IP address or the host name.

The local PC and the target devices must be connected to the same network or directly to each other via an Ethernet cable. In TwinCAT a search can be performed for all devices in this way and project planning subsequently carried out.

Prerequisites for this step:

  • TwinCAT 2 must be in Config mode.
  • IP address or host name of the device. The host name is composed of CX- and the last 3 bytes of the MAC address. The MAC address is located on the side of the device.

Search for the devices as follows:

1. Click on File > New in the menu at the top.
2. Click on Choose Target System in the toolbar at the top.
Searching for target systems 1:
3. Click on Search (Ethernet).
Searching for target systems 2:
4. Type the host name or the IP address of the device into the Enter Host Name / IP box and press [Enter].
Searching for target systems 3:
5. Mark the device found and click on Add Route.
Searching for target systems 4:
The Logon Information window appears.
6. Enter the user name and password for the CX in the User Name and Password fields and click OK.
Searching for target systems 5:
The following information is set as standard in CX devices:
User name: Administrator Password: 1
7. If you do not wish to search for any further devices, click on Close to close the Add Route Dialog.
The new device is displayed in the Choose Target System window.
8. Mark the device that you wish to set as the target system and click on OK.
Searching for target systems 6:
  • You have successfully searched for a device in TwinCAT and inserted the device as the target system. The new target system is displayed in the bottom right-hand corner together with the host name and IP address (AMS Net ID).
    Searching for target systems 7:
    Using this procedure you can search for all available devices and also switch between the target systems at any time. Next, you can append the device to the tree view in TwinCAT.