AdvancedHMI Software

General Category => Open Discussion => Topic started by: razm on March 19, 2025, 07:20:41 AM

Title: Running project on a different PC
Post by: razm on March 19, 2025, 07:20:41 AM
I have a project with the Siemens driver.
After build, when I run the project from my PC it works fine but if I try to run it from another PC, I don't have communication with the Siemens PLC (modbus, for example, is working fine on the other PC).
What is missing?
Title: Re: Running project on a different PC
Post by: bachphi on March 19, 2025, 10:02:34 AM
Copy the entire 'Debug' folder, not just individual files.
Verify the connection between PC#2 and the PLC.
Ensure that the .NET runtime is installed on PC#2.
Title: Re: Running project on a different PC
Post by: razm on March 19, 2025, 10:37:12 AM
I copied the entire debug folder
There is communication with the PLC over port 102
.NET runtime 4.8 is running.

I also ran wireshark and it doesn't seem to try to connect with the PLC.I also don't get timeout errors.
Title: Re: Running project on a different PC
Post by: bachphi on March 19, 2025, 11:18:46 AM
Can you take a screenshot of the folder's contents?
Title: Re: Running project on a different PC
Post by: razm on March 19, 2025, 02:54:48 PM
Here
Title: Re: Running project on a different PC
Post by: bachphi on March 19, 2025, 03:47:52 PM
You are msissing 1 dll file
Title: Re: Running project on a different PC
Post by: razm on March 19, 2025, 04:16:41 PM
Which?