Long awaited video on how to use the Rpi GPIO to control aspects of the PLC.
Intro to controlling Raspberry Pi's GPIO using python:
Raspberry Pi - Tutorials - GPIOZero - Controlling LEDS Using Rpi GPIO
Using the snap7zero and gpiozero to control the S7-1200 PLC with the Raspberry Pi:
Rasberry Pi - Tutorials - S7-1200 & Snap7 Python - Controlling the PLC Using Rpi GPIO