Communication with a CX
In the following we will show you how to establish a communication with a CX. Therefore, you need the AmsServerNetId, IP-Adress and Ads-Port of your target system.

step 1: Write down the Port Address from the TwinCAT System Manager of the CX you want to connect.
step 2: Start the Config Mode.

Dialog: See this topic for further information:

step 3: Click onto the pull down menu (1) and choose between User Defined or devices from the list (e.g. CX0027E8: 5.0.39.232.1.1).
- Device from the list: All devices in the are defined in the AMS router of TwinCAT. When you select a device defined in the list, then the AmsServerNetId (2) will automatically be entered. Now you have to type in the AdsPort(3), which you have written down in step 1. This must be done, because the CX can use different addresses for the AdsPort. In our e.g. it would be the address "28928" instead of "100". Click onto Test...(4) to check your entries.
- User Defined: Select User Defined, if the device you want to connect is not entered in TwinCAT. Then you have to type in manually the AmsSerNetId(2) and AdsPort(3). When you are finished click onto Test...(4) to check your entries.

step 4: The test was successful, when you get this message. Click OK to close the message box.
step 5: Click OK to save the settings.
step 6:Go online.