This simple project will demonstrate basics how to turn on and off the Siemens PLC output.
Website:
thesourceproject.zil - require Unstoppable Domain Extension
https://bafybeihb4ogzn2qq2qbtpq3uhl447fhc72m5v5syzo7sd4a7xxgbulyxcy.ipfs.infura-ipfs.io/
Source code:
https://drive.google.com/file/d/1Vfq7FkVdm1PIWni1NTJ3Y4goVTuPMyMl/view?usp=sharing -for Python 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.