0

I have two PCs connected to each other in TwinCAT as shown in the picture.

Successful Connection enter image description here

But, I am facing an error when I try to activate the configuration. Error AdsError 1792 is shown in the picture. Error picture C++ module instance error

For further reference, The compile outputs are added below.

Code Generation Output: enter image description here

Code Publish Output enter image description here enter image description here enter image description here

Code built Output enter image description here

I was told to look in TcCOM but there was no subfolder in it. The Picture is added below. TcCOM window enter image description here

I hope this will help you understand the problem.

Talha Bashir
  • 33
  • 1
  • 7
  • Did you do the preparations according to the documentation at Beckhoff for C++ development? https://infosys.beckhoff.com/english.php?content=../content/1033/tc3_c/260640651.html&id=5276784595576205301 – Jakob Dec 12 '21 at 19:49
  • Yes, the same program runs for the TwinCAT XAE on the engineering pc. But, it gives the error whenever I try to upload and run it on TwinCAT XAR in Run time PC. – Talha Bashir Dec 13 '21 at 02:17
  • Is your Run time PC in Windows Test Mode? I see you are using a self signed testing certificate. To be able to use this kind of certificate your machine needs to be in Windows Test Mode – Mikkel Dec 13 '21 at 08:06
  • Yes, the runtime PC is in test mode as well. – Talha Bashir Dec 13 '21 at 09:06

0 Answers0