(possible duplicate topic as I accidentally sent email from non-registered account)
Very much a noob with Siemens so I am hopeful I'm making a silly mistake.
Here is my basic workflow
Create simple program in TIAPortal V18, running on Windows Server 2022 21H2
From the PLC Device, Start Simulation Server
Download to the PLCSim (v18) successfully
Start NetToPLCSim as administrator
Get the prompt about Port102 and the 'SIMATIC S7DOS Help Service' 's7oiehsx64'
Answer yes to allow it to shut down the service
Moments later TIA Portal loses comms to the PLCSim
From the PLCSim window the simulation logic is still running and ok
Try to connect back by attempting another download (see comment about noob)
At the Extended Download to a Device dialog I have PN/IE, PLCSIM, Try All interfaces selectedd but Start Search fails and I get a Failed to Establish a Connection to 192.168.1.1.
What's odd is that next to PC/PC Interface, Connection to Interface/Subnet, and 1st gateway there is a shield with the 4 Windows colors (red, Green, yellow, blue) as if there is a security or firewall issue. Clicking on the shield does nothing.
try starting Nettoplcsim first, before starting any Siemens software. This order:
After PC start, before starting any Siemens application, start Nettoplcsim with admin rights and let it capture the TCP Port 102. Let Nettoplcsim in this state, with no configuration
Start Siemens Software, start Plcsim, load program into Plcsim
Configure Nettoplcsim, and start the Nettoplcsim server
Make your tests
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
(possible duplicate topic as I accidentally sent email from non-registered account)
Very much a noob with Siemens so I am hopeful I'm making a silly mistake.
Here is my basic workflow
Create simple program in TIAPortal V18, running on Windows Server 2022 21H2
From the PLC Device, Start Simulation Server
Download to the PLCSim (v18) successfully
Start NetToPLCSim as administrator
Get the prompt about Port102 and the 'SIMATIC S7DOS Help Service' 's7oiehsx64'
Answer yes to allow it to shut down the service
Moments later TIA Portal loses comms to the PLCSim
From the PLCSim window the simulation logic is still running and ok
Try to connect back by attempting another download (see comment about noob)
At the Extended Download to a Device dialog I have PN/IE, PLCSIM, Try All interfaces selectedd but Start Search fails and I get a Failed to Establish a Connection to 192.168.1.1.
What's odd is that next to PC/PC Interface, Connection to Interface/Subnet, and 1st gateway there is a shield with the 4 Windows colors (red, Green, yellow, blue) as if there is a security or firewall issue. Clicking on the shield does nothing.
Any help appreciated
Regards,
Andy Robinson
Hi,
try starting Nettoplcsim first, before starting any Siemens software. This order:
Confirming that fixed it! Thanks so much for your assistance.