Test the AMS route that you have added
- Last UpdatedSep 16, 2024
- 1 minute read
After you have added the AMS route between the local computer and the target, you should test the route to make sure they can communicate with each other. To test the route:
-
On the local computer, locate and run the ADS test program (TcAdsTest.exe). The TcAdsTest window is displayed.
Note: There are three copies of TcAdsTest.exe included in the ADS software. If the software was installed at its default location, the three copies should be located at:
-
C:\TwinCAT\AdsApi\TcAdsDll\TcAdsTest.exe
-
C:\TwinCAT\AdsApi\TcAdsTest\TcAdsTest.exe
-
C:\TwinCAT\Common32\TcAdsTest.exe
All three copies function the same, so you can use any one of them.
-
-
In the TcAdsTest window, click AdsPortOpen. An alert message is displayed to inform you that the ADS port of the computer has been opened for communication.
-
In the TcAdsTest window, click Test. The Test window is displayed.
-
In the Test window, in the AmsNetId box, type the ID of the target.
-
Click Start to start the test. The number of successful operations (e.g., n Successful) should be displayed in the Output box, and the number should keep increasing as long as the test is running.
-
Click Stop to stop the test.
-
Close the Test window, and then close the TcAdsTest window.
If the test results confirm that the local computer and the target can communicate with each other, this Communication Driver should also be able to communicate with the target through the ADS software.