This simple project will demonstrate basics how to turn on and off the Siemens PLC output using C++.
Website:
https://thesourceproject.zil - require Unstoppable Domain Extension
Unstoppable Domains Extensions:
https://chrome.google.com/webstore/detail/unstoppable-extension/beelkklmblgdljamcmoffgfbdddfpnnl?hl=en
Source code:
https://drive.google.com/file/d/1y_MuUxc_q9dJ4vI7td_V93ely8JCSxyQ/view?usp=sharing - C++ Code
https://drive.google.com/file/d/1wJBeA5I4CVH7DMqMoX62XjYwGSXDTe8j/view?usp=sharing -for Siemens S7-1200 PLC, TIA 14 and above is needed or copy the PLC program.