I am using a Windows PC as my Development PC (XAE) and another Windows PC as my Remote PC (XAR). I have connected them successfully. It is shown in the picture below.
But, this error appeared when I tried to Activate the configuration after connecting to the Runtime PC. This error AdsError: 1792 (0X700) appeared on both (Development PC and the Runtime PC simultaneously).
I have already done the TCP and UDP settings.
For future me and others, the comment from Hugh Wang about running the .reg file is what resolved this issue for me. We were setting up a fresh Cx5240 and having issues loading config to the processor.