ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

How to Use Timers in Structured Text (TON Function Block Explained)

structured text

structured text programming

structured text tutorial

structured text plc

iec 61131-3 iec 61131

plc programming

plc tutorial

codesys

codesys tutorial

codesys structured text

codesys ton

plc ton timer

on delay timer

plc timer tutorial

automation programming

industrial automation

plc training

automation tutorial

hedgetech systems

Автор: Hedgetech Systems LLC

Загружено: 2025-08-10

Просмотров: 603

Описание: Timers are essential for delays, event scheduling, and safety checks in industrial automation — but in Structured Text, they work a little differently than ladder logic.

In this quick tutorial, I’ll show you exactly how to use the TON (On-Delay) function block in Structured Text so you can apply it in your PLC projects.
We’ll cover:

Declaring the TON as a variable

Calling it every scan

Checking .Q when the timer is complete

Chaining timers for more complex sequences

Whether you’re working in CODESYS, Siemens, Rockwell, or any IEC 61131-3 compliant environment, this method works.

🛠 Example Code (from the video)
PROGRAM PLC_PRG
VAR
xStartCondition : BOOL := FALSE; // Start signal
tonDelay : TON; // TON function block
xTimerDone : BOOL := FALSE; // Timer completion flag
END_VAR

tonDelay(IN := xStartCondition, PT := T#5S);
xTimerDone := tonDelay.Q;

If you’re learning timers in ST, check out my Circular Buffer tutorial here
➡️    • PLC Programming Tip: Circular Buffer in St...  
and my new SEL Operator tip
➡️    • CODESYS SEL Operator Explained in 41 Secon...  

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
How to Use Timers in Structured Text (TON Function Block Explained)

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

  • Информация по загрузке:

Скачать аудио

Похожие видео

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]