Skip to content
LearnWatt Technologies — Learning that gives you power

Industrial Automation

Siemens PLC Programming for Beginners: Complete Guide

LearnWatt Team · · Updated

Siemens controllers run machines and process lines in factories all over the world, which is why "Siemens PLC" appears in so many automation job descriptions. If you are an EEE, ECE, EIE, Mechatronics or Mechanical student, or a diploma holder who wants to move into automation, the S7-1200 is the best place to start. This guide explains the hardware, the software and the programming basics in plain language, and finishes with a small project you can build yourself.

What is a PLC, in simple words?

A Programmable Logic Controller (PLC) is an industrial computer that reads inputs, runs a program and switches outputs, over and over, many times per second. Inputs are things like push buttons, limit switches, proximity sensors and level transmitters. Outputs are things like motor contactors, solenoid valves, indicator lamps and alarms.

That repeating loop is called the scan cycle:

  1. Read all inputs into memory (the process image).
  2. Execute the program from top to bottom.
  3. Write the results to the outputs.
  4. Repeat.

The scan cycle explains why an output only changes at the end of a scan.

Why start with the Siemens S7-1200?

The S7-1200 is Siemens' compact controller family for small and medium machines. It is a very good learning platform because:

Getting to know TIA Portal

TIA Portal (Totally Integrated Automation Portal) can look overwhelming at first, but you only need a few areas to begin:

Ladder logic basics

Ladder Logic (LAD) looks like an electrical drawing, which is why electricians and electrical engineers find it natural. Each horizontal line is a network (rung). Power flows from the left rail to the right through contacts to reach a coil.

The start/stop latch

The first program almost every PLC engineer writes is a motor start/stop circuit with a latch (seal-in):

Press Start and the motor runs; the parallel Motor_Run contact keeps it running after you release Start. Press Stop and the latch breaks. Simple, but it teaches you power flow, interlocks and the scan cycle in one rung.

Timers and counters

Real machines depend on time and counting:

In the S7-1200, timers and counters are IEC instructions that store their data in an instance data block, so give each one a clear name.

Analog signals and scaling

Sensors such as level or pressure transmitters usually send a 4–20 mA or 0–10 V signal. The PLC converts it to a raw integer value, and you use NORM_X and SCALE_X instructions to turn that number into engineering units such as 0–100% or 0–10 bar. Analog scaling is a topic interviewers love, so practise it until it feels routine.

Your first mini-project: tank level control

Try this once you are comfortable with contacts, coils and timers:

  1. A low-level switch starts the inlet pump.
  2. A high-level switch stops the pump.
  3. If the high-level switch is not reached within a set time, raise an alarm.
  4. Add a manual/auto selector and an emergency stop that overrides everything.

Build it in TIA Portal, test it in PLCSIM where supported, and write short comments for each network. This small project covers latching, interlocks, timers and alarms, the core of real automation work.

Common beginner mistakes

How to keep learning

Once you are confident with the S7-1200, the natural next steps are Siemens HMI screens and WinCC SCADA, both in the same TIA Portal environment. In our live online Siemens S7-1200 PLC Programming course, you build these programs step by step with a trainer and ask doubts in class, in English or Tamil. You can then move on to Siemens HMI and Siemens WinCC SCADA, or take the PLC + HMI package.

Not sure where to start? Book a free demo class and see how practice works on your own laptop.

Frequently asked questions

Do I need a real Siemens PLC to learn?

No. For most beginner topics you can practise in TIA Portal with the PLCSIM simulator, where your software version and licence support it. Real hardware is needed only for physical I/O wiring and commissioning.

Is Siemens PLC programming hard for Mechanical students?

Not if you start with the basics. Ladder logic is visual, and a good course teaches the electrical concepts you need, such as contactors, sensors and wiring diagrams, before moving to programming.

Which language should I learn first: Ladder or FBD?

Start with Ladder Logic because it is the most common in maintenance and machine-building jobs. Function Block Diagram (FBD) is easy to pick up once ladder logic makes sense.

How long does it take to learn S7-1200 basics?

Our S7-1200 course is 25 hours across 25 one-hour live sessions. With daily practice, most beginners are comfortable with ladder logic, timers, counters and a small project by the end.

Learn this in a live online course

Develop, simulate where supported, and troubleshoot S7-1200 PLC programs.

  • TIA Portal
  • Ladder logic
  • PLCSIM
Duration
25 hours · 25 sessions
Daily session
1 hour/day
Mode
Live Online

Book a free demo class for Siemens S7-1200 PLC Programming with TIA Portal

Ready to power up your career?

Book a free live online demo class, meet your trainer and get a clear learning roadmap — no cost, no pressure.