Siemens PLC Programming | Sensor, Push Button & LED Hardware Wiring Tutorial Inputs Outputs S7-1200

PLC Programming involves understanding and in certain cases troubleshooting the wiring of the hardware connected to the system. In this tutorial, we’ll explore how to wire two inputs and one output into an S7-1200 Siemens PLC and how to actuate them from within TIA Portal. The main topics of the tutorial include understanding the datasheet, wiring a sensor, a push-button, and an LED into the PLC, writing a program to control the IO, and using Forces to toggle the input and output bits.


This is a companion discussion topic for the original entry at https://www.solisplc.com/tutorials/siemens-plc-programming-sensor-push-button-led-hardware-wiring-tutorial-inputs-outputs-s7-1200