CODESYS: Using TON (timer on-delay) function blocks in Ladder Logic

Опубликовано: 11 Октябрь 2024
на канале: Tohid Alizadeh
45,421
151

If you want to watch the videos in order, download the up-to-date version of the road map from the pinned comment of the corresponding video:    • CODESYS: A road map for watching the ...  
-------------------------------------------------------------------------------------------------------------------------------------
In this video, you will see how to use a TON (on-delay timer) function block in CODESYS, with Ladder Logic Diagram as the programming language. TON or on-delay timers are used to create a delay after they receive a True pulse at their input. The TON function block has two inputs and two outputs. The inputs are EN (enable) and PT (Preset time), and the outputs are Q (the main boolean output) and EL (Elapsed time). As soon as the EN input has a False to True transition, the timing starts and when PT time has passed the Q output becomes true and remains true. Whenever the EN input becomes False, the Q output becomes False, immediately.