· Module 06

Manual or Automatic? Give Your Machine Both Modes | PLC 06

Dr. Redmond R. Shamshiri
Assistant Professor of Robotics · University of Southern Denmark (SDU)

Study Manual or Automatic? Give Your Machine Both Modes | PLC 06. Use the accompanying model, numerical example and practical task to connect the topic to a measurable engineering result. Notes are original supplemental material, not a transcript.

Lecture video: https://www.youtube.com/watch?v=0oPTjQxDjZM

Learning Objectives

  • Explain the role of plc scan, latching and interlocks in the engineering system.
  • Calculate the worked quantity with consistent units.
  • Design a measurement that can reveal an implementation failure.

Study guide

Original companion notes. These notes support the topic of this lesson. They are not a transcript or a claim about the exact contents, hardware settings or examples in the video.

Lesson focus: Manual or Automatic? Give Your Machine Both Modes | PLC 06

Create an I/O map and a state-transition table before connecting any actuator.

PLC scan, latching and interlocks

A conventional cyclic PLC reads inputs, executes logic and updates outputs. A momentary Start needs a stored run request; a Stop or fault must dominate the request. The physical safety circuit and drive safety function remain independent of ordinary application logic.

Model, units and assumptions

\[Run_{k+1}=Enable_k\land StopOK_k\land\neg Fault_k\land(Start_k\lor Run_k)\]

Boolean values equal one only when their condition is satisfied. StopOK is a healthy, permitted run condition, not an assumption that a network message can provide a safety function. After power restoration the initial Run state is false.

Worked engineering example

If Run is true and Start is released, Run stays true only while Enable and StopOK remain true and Fault remains false. If StopOK becomes false in the same scan as Start becomes true, the output is false because stop has priority.

Practical task and evidence

Apply the following procedure to the topic of this lesson: Manual or Automatic? Give Your Machine Both Modes | PLC 06.

  • Write a truth table covering Start, StopOK, Fault and the previous Run state.
  • Simulate a stuck Start input and loss of permissive conditions.
  • Verify restart prevention and fault reset behavior without connecting an energized actuator.

Submit: a diagram or interface table, a short timestamped dataset, the calculation with units, and a paragraph explaining the largest observed limitation.

Check your understanding

Question. Previous Run = 1, Start = 1, Enable = 1, StopOK = 0, Fault = 0. What is the next Run?

Show worked answer

Run = 0. The stop condition dominates the start request.

Extension. Change one assumption in the model and explain which measurement would reveal that it no longer holds.

Summary

PLC scan, latching and interlocks: keep units, assumptions and timing explicit. Check the numerical model against an independent observation before using it in a larger system.

Practical PLC & HMI Automation: Build a Mini Factory · Dr. Redmond R. Shamshiri · University of Southern Denmark (SDU)