Video summary
Belajar PLC - Siemens S7-1200 & TIA Portal Dasar Lengkap | Wiring, LD, NO NC, Interlock, Timer
Main summary
Key takeaways
Video summary (technological concepts, features, and tutorials)
This video is a beginner guide to Siemens PLCs (S7-1200) using TIA Portal, covering:
- Hardware overview and key features
- Wiring basics
- Basic Ladder Logic (LD) programming
- Interlock / latch logic (latch/unlatch / set-reset)
- Timers: TON, TOF, TP, and an accumulating/resume-like timer variant
The presenter notes that PLC learning is conceptually similar across brands, while software/hardware details differ.
1) Learning scope & context
- The creator explains that PLC programming concepts are mostly consistent across brands.
- This series specifically uses Siemens as the reference platform for learning.
- Future emphasis includes:
- More Siemens S7-1200 variants
- Additional PLC concepts in later parts
2) Siemens S7-1200 hardware overview (example CPU: CPU 1212C AC/DC/relay)
Key blocks/features explained
CPU operation / program execution
- After downloading, the program is stored in CPU memory.
- The CPU continuously:
- Monitors inputs
- Updates outputs based on logic
Communication
- Built-in Profinet over Ethernet
- Mentions network configuration
- References optional modules for other protocols (e.g., Profibus)
Power
- Example input voltage: 120/200…220 VAC (AC input)
- The PLC includes an internal power supply converting AC to 24V DC
- Therefore, external 24VDC wiring may not be required
- Caution: don’t feed 24V into the “wrong” input type on the AC model
I/O count (for the specific model example)
- Example mentioned: 8 digital inputs, 2 analog inputs, 6 relay outputs
Digital input wiring concept
- Digital inputs require 24V DC
- Notes that inputs are “active” when the DC is present
- Mentions current limit (about ~6 mA per input)
Relay outputs
- Relay-based outputs (relay/coil) are contrasted with transistor outputs.
- Relay outputs can switch AC or DC loads
- Example: wiring a 220VAC lamp to relay output terminals
Other physical features covered
- LED indicators (input/output status)
- Memory card slot (to save/record values)
- Status indicators (RUN/STOP, error/maintenance)
- Profinet/LAN connector using RJ45 Ethernet
- MAC address mention
3) Wiring tutorial (practical examples)
Digital inputs using push buttons
- Use the PLC input group common/reference (mentions connecting to M / common)
- Apply 24V DC to activate input 0
- Removing 24V deactivates the input
Analog input using a potentiometer
- Analog input range described as 0–10V DC
- Potentiometer wiring:
- 0V left → 10V right
- ~5V in the middle position
- Conversion to digital:
- Mentions 10-bit resolution
- Also references a “2 × 10-bit” concept for analog channels
Digital relay outputs to an indicator lamp
- Relay terminals switch the load power
- Example:
- Connect a 220VAC lamp to relay output terminals intended for AC
- Use 24V DC on other terminals as needed
Ethernet cable connection
- Uses Ethernet to:
- Program/download to the PLC
- Communicate for monitoring
4) TIA Portal tutorial: project setup
Demonstrated steps and UI items
- Opens TIA Portal v15
- Creates/opens a Project and configures initial setup/welcome tour
- Adds the controller/device
- Selects CPU 1212C with relay outputs
- Mentions project structure including:
- Device configuration
- Network/topology
- Hardware catalog (modules)
- Program blocks
IP and connection checks
- Configures Ethernet IP (example: 192.168.0.110)
- Ensures PC and PLC are on the same network segment
- Uses Ping to verify connectivity
- Downloads/compiles and goes online to monitor logic execution
5) Ladder Logic (LD) basics: contacts and coils (ENO/NEG, NO/NC)
Ladder symbols covered
- Normally Open (NO/EN) contact behavior
- Normally Closed (NC/NEG) contact behavior
- Coils for output activation
Conceptual explanation
- If NO contact condition is not satisfied:
- Circuit is open → coil is off
- If NO contact condition is satisfied:
- Current flows → coil energizes
- NC behaves in the opposite conditions
Mini-program example
- When Input 0 is ON → Output Q0.0 turns ON
- Emphasizes “professional” addressing by defining tags/addresses first
- Example style: I0.0, Q0.0 (and later memory bits)
6) Interlock / latch logic (Set/Reset) using memory bits
Why interlock is needed
- Pushbuttons are momentary.
- Logic is required to keep output ON after release until a stop condition occurs.
Two methods demonstrated
-
Interlock using NO/NC + memory bit (M)
- Uses an internal memory bit (example M0.0) as a “virtual latch”
- Start condition sets/maintains the latch
- Stop condition clears the latch using NC logic
-
Siemens Set/Reset instructions
- Set (S) latches the output ON after start
- Reset (R) turns it OFF after stop
Monitoring behavior
- Output stays ON after start button release.
- Output turns OFF only when the reset/stop condition is activated.
- Tested by going online and observing output/indicator states.
7) Timers tutorial in TIA Portal
The video teaches how to use timer blocks and combine them with latch logic.
TON (Timer ON / “on-delay”)
- When input is ON:
- Output Q becomes 1 after the preset time
- When input goes OFF:
- Behavior returns to OFF (as explained in the video)
- Example preset time: ~7 seconds
- Uses parameters such as:
- PT (preset time)
- Output Q
Combining TON with interlock
- Demonstrates logic where:
- Start/latch enables Timer1
- Timer1 output triggers Timer2 after a delay
- Timer2 may drive a later normally-closed logic path to “cut off” a stage
- Example described:
- Timer1 delay (~7s) → enables Timer2 delay (~10s) → then affects downstream logic
TOF (Timer OFF / “off-delay”)
- Output turns ON immediately when input is ON
- When input turns OFF:
- Output remains ON until the preset off-delay (PT) elapses
- Example preset time: ~7 seconds
TP / TONR-like accumulating / resume behavior
- Teaches an accumulating concept:
- If input turns OFF before preset time is reached:
- accumulated time is preserved
- When input turns ON again:
- timing resumes from the saved value instead of starting over
- If input turns OFF before preset time is reached:
- Uses memory/internal elements to simulate stop/reset behavior (no physical reset button in the example)
- Example preset time: ~10 seconds
- Video emphasizes practicing:
- TON, TOF, and the accumulating timer concept
- Combining them with other logic elements
Main speakers / sources
- Primary speaker: the YouTube channel creator (unidentified in subtitles; email/contact mentioned: Raffi Rivaldi)
- Source referenced: Siemens documentation/UI concepts for S7-1200 and TIA Portal v15, plus implied references for:
- Ladder Diagram (LD)
- Set/Reset instructions
- Timer block behavior