¿Programas por secuencia? Así es como un FB por tipo de equipo te salva la ampliación — Transcript
Full transcript
- 0:00The first conveyor worked and everyone
- 0:02was happy. The problem appeared when
- 0:04they asked for another one just like it
- 0:05and the logic was scattered everywhere.
- 0:08There is a structural error that I see
- 0:10repeated in Siemens PLC programs that
- 0:12appear to work perfectly. Programming
- 0:15according to the process sequence
- 0:16instead of by equipment type. Let me
- 0:19explain. When someone new starts
- 0:20programming a line, they tend to think
- 0:22in terms of verbs.
- 0:23Start conveyor one, wait for sensor,
- 0:25start conveyor two, activate piston,
- 0:27retract piston, start conveyor three,
- 0:29and they build a giant FC or several
- 0:32chained FCs that execute that script
- 0:34from top to bottom. It works during
- 0:36commissioning. It even looks nice
- 0:38because the technician sees the program
- 0:40and understands the factory by reading
- 0:42from top to bottom. The problem appears
- 0:446 months later.
- 0:45When the client asks for a second
- 0:47conveyor just like the first one or when
- 0:49maintenance calls you because motor 3
- 0:51has stalled and they only want to know
- 0:53about that motor, start, stop,
- 0:54availability, and running hours.
- 0:57And that is where the sequence-based
- 0:59structure falls apart, because all the
- 1:01motor logic is scattered in four
- 1:03different places in the program, mixed
- 1:05in with the previous and next conveyors
- 1:07. I always structure by equipment type,
- 1:09not by sequence. One FB for a motor, one
- 1:12for a valve, one for a compressor. Each
- 1:14one is applied with its own instance DB
- 1:16. The sequence, the order in which they
- 1:19activate one another, I solve separately
- 1:21in a coordination block that simply
- 1:23calls those FBs and manages the
- 1:24transition conditions for each one.
- 1:27This is what I gain with this change:
- 1:29when the client asks for the second
- 1:30conveyor, I don't rewrite anything, I
- 1:32just call another instance of the same
- 1:34motor FB with its own DB; when
- 1:35maintenance asks about motor 3, I open a
- 1:37single DB and everything related to it
- 1:39is there, without having to trace three
- 1:41different segments of the program; and a
- 1:43programming error in the motor logic,
- 1:44for example, a poorly calculated
- 1:46anti-short-cycling, I correct once in
- 1:48the FB and it is corrected in all the
- 1:49motors of the installation at once.
- 1:52With the sequence structure, you would
- 1:54have that same error copied and pasted
- 1:56as many times as you have motors.
- 1:58And correcting it means going equipment
- 2:00by equipment praying not to miss any.
- 2:03With three or four pieces of equipment
- 2:05of the same type, you can already tell
- 2:06who programmed thinking about that day's
- 2:08process and who programmed thinking that
- 2:09someone will have to touch this in 2
- 2:11years.
- 2:12If you want to learn how to program
- 2:14Siemens PLCs and HMIs, click the link in
- 2:16my profile. Yeah.
About this transcript
This page contains the full transcript of ¿Programas por secuencia? Así es como un FB por tipo de equipo te salva la ampliación by Programación Multidisciplinar, generated from the public captions YouTube serves with the video. The transcript has 452 words across 71 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.
What you can do with it
Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to choose a caption track available on the video.
Free YouTube transcript tool
YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, caption language selection, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.