MIME 4450 Lec 8 9 24 26
Watch on YouTube →
Overview
The lecture explains how to translate process requirements into Siemens PLC logic, contrasting Chapter 5 combinational AND/OR/NOT logic with Chapter 6 memory circuits, seal-in logic, set/reset methods, and one-shots. It also covers practical setup for Siemens TIA Portal V20 and Automation License Manager, the assigned exercises, and field-oriented design principles such as readable tags, safe circuit conventions, cautious use of retentive coils, and debugging against real equipment.
Key takeaways
- Siemens TIA Portal V20 provides a 21-day trial, while the course computer has roughly 75–80 one-year Professional licenses available for transfer through Automation License Manager.
- Chapter 5 problems are solved by identifying the desired output and translating its AND, OR, and NOT conditions into Boolean, ladder, or function block logic.
- A high/low-level pump controller is a memory circuit: the high switch starts pumping, and the low switch stops it, with a seal-in path maintaining the run state between thresholds.
- Leading-edge one-shots can prevent lingering or overlapping start signals from repeatedly affecting a seal circuit, and they can trigger one-time initialization actions.
- Prefer non-retentive machine logic unless power-cycle persistence is required; retentive coils can restore an unwanted state after restart and complicate fault recovery.
- PLC troubleshooting must include the physical system—switch wiring, sensors, motors, and conveyors—not only the program’s displayed bits.
Chapters
- Students need Siemens TIA Portal V20, which provides a 21-day trial after installation.
- A Siemens account may be required for the online download; a DVD reader in room 1100 is offered as an alternative.
- The lecture presents several installation paths so students can start using the software.
- The classroom computer holds roughly 75–80 one-year Professional licenses.
- Students will use Siemens Automation License Manager to transfer licenses to their own computers one at a time.
- The transfer requires the software to be installed first; the 21-day trial provides a temporary period to complete setup.
- The assignment is due the following Tuesday, October 1, and contains 10 exercises.
- It includes Chapter 5 problems 1–6 and Chapter 6 problems 12, 14, 15, and 17.
- The course site’s Projects area contains the assignment and notes, including a link to the Siemens download page.
- Chapter 5 focuses on combinational AND, OR, and NOT logic; Chapter 6 introduces memory and sequential behavior.
- For a logic problem, identify the required output first, then determine which conditions must combine to produce it.
- Inputs may describe physical devices such as motors or solenoids, or simply represent information needed by the logic.
- The lecture maps AND and OR conditions to ladder logic and explains that a NOT condition corresponds to normally closed logic.
- In Siemens OB1, variables should be defined as global memory tags rather than local tags for the examples being taught.
- Global memory tags receive M-bit addresses automatically, such as M0.0 and M0.1; avoid accidentally assigning the same bit to multiple variables.
- EET 4450 Labs 2–5 cover setup and introductory PLC programming procedures.
- The course’s Rubik’s project Labs 1–6 include videos on the same programming topics.
- The Chapter 5 material and additional course notes provide references for students who need more worked examples.
- Chapter 5 Exercise 1 is explained in the text; students should read the worked example rather than repeat it from scratch.
- Exercise 2 addresses a selector switch wired normally closed when the design expected normally open; the program logic must compensate for the inverted input.
- For later exercises, express conditions such as “X and Y, or Z” in ladder, function block diagram, and Boolean form where requested.
- An elevator’s fifth-floor button illustrates memory: a brief button press remains registered until the elevator reaches the selected floor.
- A wastewater tank uses high- and low-level switches to start pumping when full and stop at the low level, without an operator holding a button.
- A seal-in circuit uses the output’s own contact to keep the pump running between the start and stop conditions.
- A seal circuit is a common U.S. convention; Siemens PLCs can also implement memory with set and reset instructions.
- Set/reset logic separates the condition that turns a bit on from the condition that turns it off.
- Both approaches can work; the preferred form should match the conventions familiar to the electricians who will maintain the system.
- Variable names can be concise or descriptive; comments can carry longer explanations while keeping ladder diagrams readable.
- PLC code should be understandable enough that maintenance electricians can handle routine changes such as adjusting timers.
- When a program fails, verify physical switches, wiring, and equipment behavior as well as software bits; a correct-looking ladder diagram cannot fix a miswired sensor or undersized motor.
- A one-shot, also called an edge trigger, produces a pulse for one PLC scan when a signal changes state.
- Applying a leading-edge one-shot to the start condition of a problematic seal circuit can help when overlapping or lingering signals cause unexpected behavior.
- One-shots are also useful for initialization because they trigger setup actions once rather than continuously.
- Siemens provides OB100 for startup initialization, and the lecture also references the first-pass (FP) instruction for first-scan behavior.
- The ladder coil is conventionally placed on the right, leaving contacts and logic conditions to its left.
- Putting the coil on the left can create confusing behavior if a real-world wire shorts to grounded conduit, so maintain the familiar layout even if the PLC accepts alternatives.
- Allen-Bradley latch/unlatch instructions and equivalent retentive coils can preserve a bit through a power cycle.
- For ordinary machine operation, non-retentive logic often returns to a clean state after power is cycled, simplifying recovery from a fault.
- Retentive behavior is appropriate when the process requires it, but a latched state can make a machine appear to have “a mind of its own.”
- An alarm latch can intentionally preserve a brief fault as a “tattletale” indication; a reset button clears it only if the alarm condition has ended.
- When one conveyor’s run status is controlled by another program, an internal “please run” request can remember an operator’s command until a photoeye clears.
- Mutually interlocked “fill bin one” and “fill bin two” memory bits prevent both bins from filling at once.
- The selected bin state can control conveyor direction—left for bin one, right for bin two—while the memory logic coordinates the rest of the process.
- The lecture’s central design sequence is to solve the memory states first, then derive the physical outputs from those states.
Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Wm_T Evans.