There is a single virtual cable created by com0com.
One end of that cable is a virtual COM port connected to the UPS simulator,
and the other end is another virtual COM port connected to PCSS.
ou can think of com0com like a single virtual serial cable.
That cable has two ends:
End A → Virtual COM Port 1 (connected to UPS Simulator) End B → Virtual COM Port 2 (connected to PCSS) It is just like plugging a real RS‑232 serial cable between:
But completely virtual.
🔌 Visual Diagram (Realistic)
With com0com (development setup)
[ Microlink UPS Simulator ]
|
COM5
|
===========================
| Virtual Cable |
===========================
|
COM6
|
[ PCSS ]
✔ COM5 and COM6 are paired
✔ Data written to COM5 appears on COM6
✔ Data written to COM6 appears on COM5
Exactly like a physical serial cable:
[ UPS ] ---- serial cable ---- [ PCSS ]
🧠 How com0com actually works (technically but simple)
It creates two virtual COM ports. Example: Windows assigns them user‑friendly names like: These two ports behave like two ends of a real cable. Any software that writes to COM5 → PCSS receives it on COM6. Any software that writes to COM6 → Simulator receives it on COM5. There is no magic — just virtual wiring.