Downloading to a simulated PLC (S7-PLCSIM) in TIA Portal means running the program on a computer with no real hardware, to debug logic offline, prove interlocks and simulate I/O. The essentials are to configure the project and the simulated CPU correctly and establish a connection, then follow the download procedure — while keeping clearly in mind what simulation can and cannot do.
Simulation suits verifying sequential logic, timing, arithmetic and some communication protocols, and lets you get a program running and test the interlocks without any hardware. It is not the same as a real machine, though: the I/O is simulated with no real load, and the scan cadence, fault behaviour and diagnostics differ from the real hardware, while functions involving motion control, high-speed counting and hard real-time synchronisation often cannot be fully simulated. A pass in simulation therefore does not guarantee a pass on site.
Start the simulation from the project, which creates a virtual CPU; then in the download dialog select the simulated PLC as the target interface and confirm the choice of PC network adapter and virtual adapter. If the simulated target does not appear in the download dialog, the simulator is usually not running or the interface selection is wrong; settle that first rather than clicking download repeatedly in a "no device found" state.
You can download the whole project or just the program blocks, or the hardware configuration alone. After changing the hardware configuration (adding a module, changing an address, say) a full download is usually needed, otherwise the structure of the simulated CPU will not match the project. When only the program logic has changed, downloading the program blocks is faster and will not disturb a hardware setup already proved correct. Make sure the project compiles before downloading; a compile error aborts the download part way through.
Once the simulated CPU exists, watch variables in a watch table or status table, toggle inputs on the simulation panel to mimic field signals and watch outputs on the indicator lamps, and set an input point manually to check the program's response. The simulation panel usually also allows forcing and holding of inputs and outputs, which makes it easy to build edge conditions. Note that what the panel displays is a simulated value, not the actual level on a real terminal.
A download that reports the interface is unavailable usually means the simulator is not running or a firewall is blocking it. If the program will not run after the connection is made, check whether the CPU is in run mode. Time-related functions behaving oddly is usually because simulation does not provide a real-time clock or the precise timing of hardware interrupts. Deal with these at the configuration level first, rather than bending the program to suit the simulator.
| Capability | Simulated PLC | Real PLC | What to watch |
|---|---|---|---|
| Sequential and interlock checks | Supported | Supported | The main use of simulation |
| Digital I/O | Simulated on the panel | Connected to real signals | No real levels in simulation |
| Analog handling | You can enter values | Real ranges wired in | Range and accuracy not comparable |
| Communication | Some protocols supported | All supported | Go by the manual's support list |
| High-speed counting | Generally inaccurate | Counted in hardware | Do not calibrate frequency in simulation |
| Motion control | Usually unsupported | Supported | Needs real-machine verification |
| Real-time clock | Emulated or absent | Hardware clock | Time logic must be retested on real hardware |
| Diagnostics and faults | Different from reality | Real module diagnostics | Diagnostic code needs real-machine checks |
| Scan cadence | Tied to the PC's performance | Set by the hardware | Be careful with cadence-sensitive programs |
The value of simulation is to solve in the office what can be solved there, cutting on-site commissioning time. Anything strongly tied to real hardware behaviour, such as module diagnostics, determinism and load driving, must still be verified on the machine. Keep simulation results and real-machine results recorded separately, so that a simulation conclusion is never treated directly as a site conclusion.
PLC program structure and language conventions follow GB/T 15969.3 (identical to IEC 61131-3); the safety requirements for equipment operation, electrical connection, protection and earthing follow GB 5226.1 and the equivalent international standard IEC 60204-1. The functions and limits supported by the simulation software are as stated in the manufacturer's manual, and must not be used as the basis for accepting the real machine.
Before downloading to a real PLC, make sure the machine is in a safe state with no risk of a mechanism moving, and take a backup of the program. Simulation conclusions do not replace on-site verification: before commissioning, retest the critical functions and confirm the safety circuits on the real machine.