The document discusses various types of timers and counters used in programmable logic controllers (PLCs), including on-delay timers, off-delay timers, retentive timers, up counters, down counters, and accumulator registers. It provides examples of ladder logic diagrams using timers and counters to control sequences of motors and lights. Combining timers and counters allows automation of processes by timing delays between events and counting inputs.
The document discusses timers and counters in the Atmega328 microcontroller. It describes the three timers: Timer/Counter0 is 8-bit, Timer/Counter1 is 16-bit, and Timer/Counter2 is 8-bit. Timers can be used for time delays, event counting, or PWM signal generation. Timer/Counter1 has additional features like 16-bit PWM and input capture. Modes like normal mode and CTC mode are described for Timer/Counter1. Example C code is provided to set up Timer1 for delays and interrupts. Calculations for delays using Timer1 in different modes are also demonstrated.
Timers in microcontrollers can serve three main functions: keeping time, counting events, and generating baud rates for serial communication. The 89C51 microcontroller has two timers, Timer 0 and Timer 1, which can be configured to operate in different modes like 16-bit or 8-bit auto-reload. These timers keep time based on the microcontroller's crystal oscillator frequency and increment with each machine cycle. Their values can be read from special function registers to measure time intervals or count events.
This document discusses different types of timers used in PLC ladder logic programming. It describes on delay timers (TON), off delay timers (TOFF), and retentive timers (RTO). On delay timers activate their output after a preset time when their input is activated. Off delay timers keep their output energized for a preset time after their input turns off. Retentive timers maintain their accumulated time value even during power loss. The document provides timing diagrams and examples of how to program timers in an Omron PLC.
This document discusses different types and programming of timers in PLC systems. It describes common approaches to modeling timers as relays or delay blocks. There are different types of timers including on-delay, off-delay, and pulse timers. Programming of timers varies between PLC manufacturers, with some treating timers as coils and others as delays. Examples are provided for sequencing motors using timers, cascading timers, producing an on-off cycle, and flashing a light using timers.
The document discusses the timer/counter modes of the 8051 microcontroller. It explains that timers generate time delays while counters count external events. The 8051 has a 16-bit timer/counter that can be configured as a timer or counter using a mode bit. There are four modes - Mode 0 uses TL0/TH0 as a 13-bit counter, Mode 1 uses the full 16 bits, Mode 2 uses TL0/TH1 as an 8-bit auto-reload counter, and Mode 3 splits Timer 0 into two 8-bit counters. The modes are selected using bits in the TMOD register and affect how the timer/counter registers are used for counting.
The document discusses timers in the 8051 microcontroller. It notes that the 8051 has two 16-bit timers that can be individually configured and controlled. The timers can operate in four different modes: 13-bit timer mode, 16-bit timer mode, 8-bit auto-reload mode, and split timer mode. Special function registers like TMOD, TCON, TH0/TL0 and TH1/TL1 are used to configure and control the timers. The timers can generate interrupts on overflow and be used for tasks like timing functions and baud rate generation.
Get Programmable digital timer | Programmable timer switch | Cyclic Timer- GI...PrasadPurohit1988
GIC Manufactures a variety of Industrial Electronic Timer Switches, Synchronous Timers, Cyclic Timers, Digital Timers, Programmable Timer Switches, and programmable timers at an affordable cost. http://gicindia.com/products/timers.html
this ppt only for beginner who want to understand concept of Timer counter operation of LPC2148 step by step.
hope it may help u.
always welcoming ur suggestion.
The document discusses timers and counters in the Atmega328 microcontroller. It describes the three timers: Timer/Counter0 is 8-bit, Timer/Counter1 is 16-bit, and Timer/Counter2 is 8-bit. Timers can be used for time delays, event counting, or PWM signal generation. Timer/Counter1 has additional features like 16-bit PWM and input capture. Modes like normal mode and CTC mode are described for Timer/Counter1. Example C code is provided to set up Timer1 for delays and interrupts. Calculations for delays using Timer1 in different modes are also demonstrated.
Timers in microcontrollers can serve three main functions: keeping time, counting events, and generating baud rates for serial communication. The 89C51 microcontroller has two timers, Timer 0 and Timer 1, which can be configured to operate in different modes like 16-bit or 8-bit auto-reload. These timers keep time based on the microcontroller's crystal oscillator frequency and increment with each machine cycle. Their values can be read from special function registers to measure time intervals or count events.
This document discusses different types of timers used in PLC ladder logic programming. It describes on delay timers (TON), off delay timers (TOFF), and retentive timers (RTO). On delay timers activate their output after a preset time when their input is activated. Off delay timers keep their output energized for a preset time after their input turns off. Retentive timers maintain their accumulated time value even during power loss. The document provides timing diagrams and examples of how to program timers in an Omron PLC.
This document discusses different types and programming of timers in PLC systems. It describes common approaches to modeling timers as relays or delay blocks. There are different types of timers including on-delay, off-delay, and pulse timers. Programming of timers varies between PLC manufacturers, with some treating timers as coils and others as delays. Examples are provided for sequencing motors using timers, cascading timers, producing an on-off cycle, and flashing a light using timers.
The document discusses the timer/counter modes of the 8051 microcontroller. It explains that timers generate time delays while counters count external events. The 8051 has a 16-bit timer/counter that can be configured as a timer or counter using a mode bit. There are four modes - Mode 0 uses TL0/TH0 as a 13-bit counter, Mode 1 uses the full 16 bits, Mode 2 uses TL0/TH1 as an 8-bit auto-reload counter, and Mode 3 splits Timer 0 into two 8-bit counters. The modes are selected using bits in the TMOD register and affect how the timer/counter registers are used for counting.
The document discusses timers in the 8051 microcontroller. It notes that the 8051 has two 16-bit timers that can be individually configured and controlled. The timers can operate in four different modes: 13-bit timer mode, 16-bit timer mode, 8-bit auto-reload mode, and split timer mode. Special function registers like TMOD, TCON, TH0/TL0 and TH1/TL1 are used to configure and control the timers. The timers can generate interrupts on overflow and be used for tasks like timing functions and baud rate generation.
Get Programmable digital timer | Programmable timer switch | Cyclic Timer- GI...PrasadPurohit1988
GIC Manufactures a variety of Industrial Electronic Timer Switches, Synchronous Timers, Cyclic Timers, Digital Timers, Programmable Timer Switches, and programmable timers at an affordable cost. http://gicindia.com/products/timers.html
this ppt only for beginner who want to understand concept of Timer counter operation of LPC2148 step by step.
hope it may help u.
always welcoming ur suggestion.
Timer And Counter in 8051 MicrocontrollerJay Makwana
This document describes timers and counters in the 8051 microcontroller. It discusses the two timers/counters - Timer/Counter 0 and Timer/Counter 1. It explains the registers used - the 16-bit Timer registers TH0, TL0, TH1, TL1, the 8-bit mode register TMOD, and the 8-bit control register TCON. It provides details on how to select the timer modes using TMOD and how to use the timers, including setting initial values, starting the timer, and responding when registers equal 0. Application examples for the 8051 microcontroller are also given such as in embedded systems, industrial equipment, and computer networking.
The document discusses timer/counter programming in the 8051 microcontroller. It describes that the 8051 has two timers/counters that can be used as timers to generate time delays or as counters to count external events. It explains how the timers are programmed, including the different modes of the two 16-bit registers T0 and T1. It provides examples of using the timers in modes 0, 1, and 2 to generate delays or count external pulses. It also discusses using the gate bit in the TMOD register to externally control the timers through pins P3.2 and P3.3.
The document discusses the timers and counters of the 8051 microcontroller. It describes the registers used including TMOD and TCON. TMOD is used to select the mode of operation for timers 0 and 1. TCON controls the running of the timers using TR bits and indicates overflow using TF bits. Four modes of operation are described for the timers - 13-bit, 16-bit, 8-bit auto reload, and split timer. The timers can also be used as event counters by connecting an external signal to the T0 and T1 pins and setting the appropriate bits in TMOD.
The document discusses timers in the 8051 microcontroller. It covers the following key points:
- The 8051 has two timers, T0 and T1, that can be configured as event counters or timers.
- Special function registers are used to control the timers' modes, counts, flags, and interrupts.
- Timers count up and set flags when they overflow from their maximum count to 0.
- Interrupts must be enabled for the timers and their overflow flags to trigger an interrupt service routine.
- Reading the two bytes that make up a timer's count requires care to avoid inconsistencies due to the counter changing between reads.
The document describes the timers/counters functionality of the 8051 microcontroller. It contains the following key details:
- The 8051 has two 16-bit timer/counters that can be independently programmed as timers or event counters.
- There are four special function registers (SFRs) associated with timer/counter operation: TMOD for timer mode control, TCON for timer control, and TH0/TL0 and TH1/TL1 for Timer 0 and Timer 1 values.
- The timers can be configured into four modes using the M1 and M0 bits in TMOD: 13-bit counter, 16-bit counter, 8-bit counter with auto-reload, and split operation
The document discusses timers/counters in 8051 microcontrollers. It describes their main applications as time-based functions like delays and event counting. The 8051 has two 16-bit timers/counters (Timer 0 and Timer 1) that can be configured through the TMOD and TCON registers. Timer 0 and Timer 1 can each operate in one of four modes that determine how the TH and TL registers are used to time or count events. The document provides steps for programming the timers in each of the four modes.
This document discusses the use of timers in industrial control systems. It describes how timers are used to activate or deactivate devices after a preset time interval. Timers can be implemented using electromechanical relays or solid-state timers. The document discusses different types of timers including on-delay and off-delay timers. It provides examples of ladder logic programs that use timer instructions to implement on-delay and off-delay timing functions. Allen-Bradley programming is discussed as an example. Circuits are presented to illustrate applications of timers such as start-up warning signals and sequential control systems.
The document discusses timers in 8051 microcontrollers. It describes the different modes timers can operate in, including 13-bit, 16-bit, and 8-bit auto-reload modes. It explains the timer-related special function registers TMOD, TCON, THx and TLx. It provides steps for initializing timers, programming timers in mode 1, and calculating time delays. The document is intended to provide an understanding of how to generate time delays, measure time, and count pulses using the timers in 8051 microcontrollers.
This document provides a summary of the Manual for Tokenless Block Instrument Mark II with ‘Q’ relays. Some key points:
1. The manual aims to provide understanding of the principles and working of the tokenless block instrument, which uses 'Q' relays to provide more reliable service compared to previous models.
2. The instrument uses a three-stepped DC polar pulse system for codes to achieve immunity to contact faults. It eliminates tangible authorities and minimizes operating time while maintaining absolute block working.
3. The instrument has push buttons and LED indicators to allow manual operation and monitoring by station masters. It contains 35 relays to perform functions like code transmission, reception and timing delays.
The document discusses programming timers and counters in the 8051 microcontroller. It describes the two timers/counters in the 8051, timer 0 and timer 1. It explains how to use the timers as timers or counters through settings in the TMOD register. The basic registers for the timers like TH0, TL0, TH1, TL1 are described. Programming examples are provided to illustrate how to set the timer values, start and stop the timers, and generate delays.
The document discusses timer operation on the 8051 microcontroller. It describes how timers work using divide-by-2 flip flops to divide the clock frequency. There are two 16-bit timers on the 8051 and an additional 16-bit timer on the 8052. Timers can be used for interval timing, event counting, or baud rate generation. Various timer modes and registers for controlling and accessing the timers are also described.
Timers are important electronic components used in microprocessors and microcontrollers to generate precise timing and delays. They work by counting clock signals and can be classified based on their mode of operation and maximum count. Timers are commonly implemented using flip flops and are used across many applications that require timing functions. Microcontrollers typically contain multiple timers that can be configured and programmed for applications requiring accurate timing and delays.
- The document discusses timer programming for the 8051 microcontroller.
- It describes the two timers, Timer 0 and Timer 1, which are each 16-bit timers that are accessed as two 8-bit registers - a low byte (TLx) and high byte (THx).
- The TMOD register is used to set the operating mode of the timers, with the lower 4 bits for Timer 0 and upper 4 bits for Timer 1. The modes include 16-bit, 13-bit, split timer, and 8-bit auto-reload.
The document discusses the timers of the Intel 8051 microcontroller. It describes that the 8051 has two 16-bit timers, Timer 0 and Timer 1, that are located in Special Function Registers. The timers can be configured and operated individually. They can be used to generate time intervals, count external events, and generate baud rates. The document explains how the timers work, including how they increment each machine cycle and overflow after reaching their maximum value of FFFF hexadecimal. It also covers the Timer Mode Register (TMOD) and Timer Control Register (TCON) that are used to configure the operating modes and control the timers.
The document discusses timer programming for the 8051 microcontroller. It contains the following information:
- The 8051 has two timers/counters that can be used as timers to generate time delays or as event counters.
- Timers use 1/12 of the crystal frequency as the input clock. Registers like TH0, TL0, TMOD, and TCON are used to program and control the timers.
- Timer Mode 1 is a 16-bit timer mode where the TH and TL registers increment continuously until they roll over, setting the timer flag. Programming involves initializing the registers, starting the timer, and monitoring the flag.
8051 timer counter
Introduction
TMOD Register
TCON Register
Modes of Operation
Counters
The microcontroller 8051 has two 16 bit Timer/ Counter registers namely Timer 0 (T0) and Timer 1 (T1) .
When used as a “Timer” the microcontroller is programmed to count the internal clock pulse.
When used as a “Counter” the microcontroller is programmed to count external pulses.
Maximum count rate is 1/24 of the oscillator frequency.
An improved modulation technique suitable for a three level flying capacitor ...IJECEIAES
This research paper introduces an innovative modulation technique for controlling a 3-level flying capacitor multilevel inverter (FCMLI), aiming to streamline the modulation process in contrast to conventional methods. The proposed
simplified modulation technique paves the way for more straightforward and
efficient control of multilevel inverters, enabling their widespread adoption and
integration into modern power electronic systems. Through the amalgamation of
sinusoidal pulse width modulation (SPWM) with a high-frequency square wave
pulse, this controlling technique attains energy equilibrium across the coupling
capacitor. The modulation scheme incorporates a simplified switching pattern
and a decreased count of voltage references, thereby simplifying the control
algorithm.
Timer And Counter in 8051 MicrocontrollerJay Makwana
This document describes timers and counters in the 8051 microcontroller. It discusses the two timers/counters - Timer/Counter 0 and Timer/Counter 1. It explains the registers used - the 16-bit Timer registers TH0, TL0, TH1, TL1, the 8-bit mode register TMOD, and the 8-bit control register TCON. It provides details on how to select the timer modes using TMOD and how to use the timers, including setting initial values, starting the timer, and responding when registers equal 0. Application examples for the 8051 microcontroller are also given such as in embedded systems, industrial equipment, and computer networking.
The document discusses timer/counter programming in the 8051 microcontroller. It describes that the 8051 has two timers/counters that can be used as timers to generate time delays or as counters to count external events. It explains how the timers are programmed, including the different modes of the two 16-bit registers T0 and T1. It provides examples of using the timers in modes 0, 1, and 2 to generate delays or count external pulses. It also discusses using the gate bit in the TMOD register to externally control the timers through pins P3.2 and P3.3.
The document discusses the timers and counters of the 8051 microcontroller. It describes the registers used including TMOD and TCON. TMOD is used to select the mode of operation for timers 0 and 1. TCON controls the running of the timers using TR bits and indicates overflow using TF bits. Four modes of operation are described for the timers - 13-bit, 16-bit, 8-bit auto reload, and split timer. The timers can also be used as event counters by connecting an external signal to the T0 and T1 pins and setting the appropriate bits in TMOD.
The document discusses timers in the 8051 microcontroller. It covers the following key points:
- The 8051 has two timers, T0 and T1, that can be configured as event counters or timers.
- Special function registers are used to control the timers' modes, counts, flags, and interrupts.
- Timers count up and set flags when they overflow from their maximum count to 0.
- Interrupts must be enabled for the timers and their overflow flags to trigger an interrupt service routine.
- Reading the two bytes that make up a timer's count requires care to avoid inconsistencies due to the counter changing between reads.
The document describes the timers/counters functionality of the 8051 microcontroller. It contains the following key details:
- The 8051 has two 16-bit timer/counters that can be independently programmed as timers or event counters.
- There are four special function registers (SFRs) associated with timer/counter operation: TMOD for timer mode control, TCON for timer control, and TH0/TL0 and TH1/TL1 for Timer 0 and Timer 1 values.
- The timers can be configured into four modes using the M1 and M0 bits in TMOD: 13-bit counter, 16-bit counter, 8-bit counter with auto-reload, and split operation
The document discusses timers/counters in 8051 microcontrollers. It describes their main applications as time-based functions like delays and event counting. The 8051 has two 16-bit timers/counters (Timer 0 and Timer 1) that can be configured through the TMOD and TCON registers. Timer 0 and Timer 1 can each operate in one of four modes that determine how the TH and TL registers are used to time or count events. The document provides steps for programming the timers in each of the four modes.
This document discusses the use of timers in industrial control systems. It describes how timers are used to activate or deactivate devices after a preset time interval. Timers can be implemented using electromechanical relays or solid-state timers. The document discusses different types of timers including on-delay and off-delay timers. It provides examples of ladder logic programs that use timer instructions to implement on-delay and off-delay timing functions. Allen-Bradley programming is discussed as an example. Circuits are presented to illustrate applications of timers such as start-up warning signals and sequential control systems.
The document discusses timers in 8051 microcontrollers. It describes the different modes timers can operate in, including 13-bit, 16-bit, and 8-bit auto-reload modes. It explains the timer-related special function registers TMOD, TCON, THx and TLx. It provides steps for initializing timers, programming timers in mode 1, and calculating time delays. The document is intended to provide an understanding of how to generate time delays, measure time, and count pulses using the timers in 8051 microcontrollers.
This document provides a summary of the Manual for Tokenless Block Instrument Mark II with ‘Q’ relays. Some key points:
1. The manual aims to provide understanding of the principles and working of the tokenless block instrument, which uses 'Q' relays to provide more reliable service compared to previous models.
2. The instrument uses a three-stepped DC polar pulse system for codes to achieve immunity to contact faults. It eliminates tangible authorities and minimizes operating time while maintaining absolute block working.
3. The instrument has push buttons and LED indicators to allow manual operation and monitoring by station masters. It contains 35 relays to perform functions like code transmission, reception and timing delays.
The document discusses programming timers and counters in the 8051 microcontroller. It describes the two timers/counters in the 8051, timer 0 and timer 1. It explains how to use the timers as timers or counters through settings in the TMOD register. The basic registers for the timers like TH0, TL0, TH1, TL1 are described. Programming examples are provided to illustrate how to set the timer values, start and stop the timers, and generate delays.
The document discusses timer operation on the 8051 microcontroller. It describes how timers work using divide-by-2 flip flops to divide the clock frequency. There are two 16-bit timers on the 8051 and an additional 16-bit timer on the 8052. Timers can be used for interval timing, event counting, or baud rate generation. Various timer modes and registers for controlling and accessing the timers are also described.
Timers are important electronic components used in microprocessors and microcontrollers to generate precise timing and delays. They work by counting clock signals and can be classified based on their mode of operation and maximum count. Timers are commonly implemented using flip flops and are used across many applications that require timing functions. Microcontrollers typically contain multiple timers that can be configured and programmed for applications requiring accurate timing and delays.
- The document discusses timer programming for the 8051 microcontroller.
- It describes the two timers, Timer 0 and Timer 1, which are each 16-bit timers that are accessed as two 8-bit registers - a low byte (TLx) and high byte (THx).
- The TMOD register is used to set the operating mode of the timers, with the lower 4 bits for Timer 0 and upper 4 bits for Timer 1. The modes include 16-bit, 13-bit, split timer, and 8-bit auto-reload.
The document discusses the timers of the Intel 8051 microcontroller. It describes that the 8051 has two 16-bit timers, Timer 0 and Timer 1, that are located in Special Function Registers. The timers can be configured and operated individually. They can be used to generate time intervals, count external events, and generate baud rates. The document explains how the timers work, including how they increment each machine cycle and overflow after reaching their maximum value of FFFF hexadecimal. It also covers the Timer Mode Register (TMOD) and Timer Control Register (TCON) that are used to configure the operating modes and control the timers.
The document discusses timer programming for the 8051 microcontroller. It contains the following information:
- The 8051 has two timers/counters that can be used as timers to generate time delays or as event counters.
- Timers use 1/12 of the crystal frequency as the input clock. Registers like TH0, TL0, TMOD, and TCON are used to program and control the timers.
- Timer Mode 1 is a 16-bit timer mode where the TH and TL registers increment continuously until they roll over, setting the timer flag. Programming involves initializing the registers, starting the timer, and monitoring the flag.
8051 timer counter
Introduction
TMOD Register
TCON Register
Modes of Operation
Counters
The microcontroller 8051 has two 16 bit Timer/ Counter registers namely Timer 0 (T0) and Timer 1 (T1) .
When used as a “Timer” the microcontroller is programmed to count the internal clock pulse.
When used as a “Counter” the microcontroller is programmed to count external pulses.
Maximum count rate is 1/24 of the oscillator frequency.
An improved modulation technique suitable for a three level flying capacitor ...IJECEIAES
This research paper introduces an innovative modulation technique for controlling a 3-level flying capacitor multilevel inverter (FCMLI), aiming to streamline the modulation process in contrast to conventional methods. The proposed
simplified modulation technique paves the way for more straightforward and
efficient control of multilevel inverters, enabling their widespread adoption and
integration into modern power electronic systems. Through the amalgamation of
sinusoidal pulse width modulation (SPWM) with a high-frequency square wave
pulse, this controlling technique attains energy equilibrium across the coupling
capacitor. The modulation scheme incorporates a simplified switching pattern
and a decreased count of voltage references, thereby simplifying the control
algorithm.
Batteries -Introduction – Types of Batteries – discharging and charging of battery - characteristics of battery –battery rating- various tests on battery- – Primary battery: silver button cell- Secondary battery :Ni-Cd battery-modern battery: lithium ion battery-maintenance of batteries-choices of batteries for electric vehicle applications.
Fuel Cells: Introduction- importance and classification of fuel cells - description, principle, components, applications of fuel cells: H2-O2 fuel cell, alkaline fuel cell, molten carbonate fuel cell and direct methanol fuel cells.
artificial intelligence and data science contents.pptxGauravCar
What is artificial intelligence? Artificial intelligence is the ability of a computer or computer-controlled robot to perform tasks that are commonly associated with the intellectual processes characteristic of humans, such as the ability to reason.
› ...
Artificial intelligence (AI) | Definitio
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024Sinan KOZAK
Sinan from the Delivery Hero mobile infrastructure engineering team shares a deep dive into performance acceleration with Gradle build cache optimizations. Sinan shares their journey into solving complex build-cache problems that affect Gradle builds. By understanding the challenges and solutions found in our journey, we aim to demonstrate the possibilities for faster builds. The case study reveals how overlapping outputs and cache misconfigurations led to significant increases in build times, especially as the project scaled up with numerous modules using Paparazzi tests. The journey from diagnosing to defeating cache issues offers invaluable lessons on maintaining cache integrity without sacrificing functionality.
Software Engineering and Project Management - Introduction, Modeling Concepts...Prakhyath Rai
Introduction, Modeling Concepts and Class Modeling: What is Object orientation? What is OO development? OO Themes; Evidence for usefulness of OO development; OO modeling history. Modeling
as Design technique: Modeling, abstraction, The Three models. Class Modeling: Object and Class Concept, Link and associations concepts, Generalization and Inheritance, A sample class model, Navigation of class models, and UML diagrams
Building the Analysis Models: Requirement Analysis, Analysis Model Approaches, Data modeling Concepts, Object Oriented Analysis, Scenario-Based Modeling, Flow-Oriented Modeling, class Based Modeling, Creating a Behavioral Model.
Applications of artificial Intelligence in Mechanical Engineering.pdfAtif Razi
Historically, mechanical engineering has relied heavily on human expertise and empirical methods to solve complex problems. With the introduction of computer-aided design (CAD) and finite element analysis (FEA), the field took its first steps towards digitization. These tools allowed engineers to simulate and analyze mechanical systems with greater accuracy and efficiency. However, the sheer volume of data generated by modern engineering systems and the increasing complexity of these systems have necessitated more advanced analytical tools, paving the way for AI.
AI offers the capability to process vast amounts of data, identify patterns, and make predictions with a level of speed and accuracy unattainable by traditional methods. This has profound implications for mechanical engineering, enabling more efficient design processes, predictive maintenance strategies, and optimized manufacturing operations. AI-driven tools can learn from historical data, adapt to new information, and continuously improve their performance, making them invaluable in tackling the multifaceted challenges of modern mechanical engineering.
Comparative analysis between traditional aquaponics and reconstructed aquapon...bijceesjournal
The aquaponic system of planting is a method that does not require soil usage. It is a method that only needs water, fish, lava rocks (a substitute for soil), and plants. Aquaponic systems are sustainable and environmentally friendly. Its use not only helps to plant in small spaces but also helps reduce artificial chemical use and minimizes excess water use, as aquaponics consumes 90% less water than soil-based gardening. The study applied a descriptive and experimental design to assess and compare conventional and reconstructed aquaponic methods for reproducing tomatoes. The researchers created an observation checklist to determine the significant factors of the study. The study aims to determine the significant difference between traditional aquaponics and reconstructed aquaponics systems propagating tomatoes in terms of height, weight, girth, and number of fruits. The reconstructed aquaponics system’s higher growth yield results in a much more nourished crop than the traditional aquaponics system. It is superior in its number of fruits, height, weight, and girth measurement. Moreover, the reconstructed aquaponics system is proven to eliminate all the hindrances present in the traditional aquaponics system, which are overcrowding of fish, algae growth, pest problems, contaminated water, and dead fish.
Rainfall intensity duration frequency curve statistical analysis and modeling...bijceesjournal
Using data from 41 years in Patna’ India’ the study’s goal is to analyze the trends of how often it rains on a weekly, seasonal, and annual basis (1981−2020). First, utilizing the intensity-duration-frequency (IDF) curve and the relationship by statistically analyzing rainfall’ the historical rainfall data set for Patna’ India’ during a 41 year period (1981−2020), was evaluated for its quality. Changes in the hydrologic cycle as a result of increased greenhouse gas emissions are expected to induce variations in the intensity, length, and frequency of precipitation events. One strategy to lessen vulnerability is to quantify probable changes and adapt to them. Techniques such as log-normal, normal, and Gumbel are used (EV-I). Distributions were created with durations of 1, 2, 3, 6, and 24 h and return times of 2, 5, 10, 25, and 100 years. There were also mathematical correlations discovered between rainfall and recurrence interval.
Findings: Based on findings, the Gumbel approach produced the highest intensity values, whereas the other approaches produced values that were close to each other. The data indicates that 461.9 mm of rain fell during the monsoon season’s 301st week. However, it was found that the 29th week had the greatest average rainfall, 92.6 mm. With 952.6 mm on average, the monsoon season saw the highest rainfall. Calculations revealed that the yearly rainfall averaged 1171.1 mm. Using Weibull’s method, the study was subsequently expanded to examine rainfall distribution at different recurrence intervals of 2, 5, 10, and 25 years. Rainfall and recurrence interval mathematical correlations were also developed. Further regression analysis revealed that short wave irrigation, wind direction, wind speed, pressure, relative humidity, and temperature all had a substantial influence on rainfall.
Originality and value: The results of the rainfall IDF curves can provide useful information to policymakers in making appropriate decisions in managing and minimizing floods in the study area.
cnn.pptx Convolutional neural network used for image classication
PLC 3unit.pptx
1. On delay timer,
OFF delay timer,
retentive timer instruction,
PLC counter Up and Down instructions,
Combining counter and timers,
simple application program using timer and counters ,
FBD concepts and programming
6/14/2023 1
2. Timer is an instruction that waits a set
amount of time before doing something
(control time).
6/14/2023 2
3. PLC timers are output instructions that provide
the same functions as mechanical timing
relays.
They are used to activate or deactivate a device
after a preset interval of time.
The preset time represents the time duration
for the timing circuit.
The accumulated time represents the amount
of time that has elapsed from the moment the
timing coil became energized.
6/14/2023 3
4. The advantage of PLC timers is that their
settings can be altered easily, or the number of
them used in a circuit can be increased or
decreased through the use of programming
changes rather than wiring changes.
Another advantage of the PLC timer is that its
timer accuracy and repeatability are extremely
high since it is based on solid-state
technology.
6/14/2023 4
5. On-Delay timer- simply “delays turning on”.
It is called TON
Off-Delay timer- simply “delays turning off”.
It is called TOF
Retentive or Accumulating timer- holds or
retains the current elapsed time when the
sensor turns off in mid-stream. It is called
RTO
6/14/2023 5
6. A timer consists of an internal clock, a count
value register, and an accumulator. It is used
for or some timing purpose.
Clock
Accumulator
contact
reset
output
Register
Contact
6/14/2023 6
7. Timers are output instructions that you can
condition with input instructions such as
examine if closed and examine if open.
They time intervals as determined by your
application program logic.
The on-delay timer operates such that when
the rung containing the timer is true, the
timer time-out period commences.
At the end of the timer time-out period, an
output is made active.
6/14/2023 7
10. Enable (EN) bit
The enable bit is true (has a status of 1) whenever
the timer instruction is true.
When the timer instruction is false. The enable bit
is false (has a status of 0) .
Timer-timing (TI) bit
◦ The timer-timing bit is true whenever the accumulated
value of the timer is changing, which means the timer is
timing.
◦ When the timer is not timing, the accumulated value is not
changing. so the timer-timing bit is false.
Done (ON) bit
The done bit changes state whenever the
accumulated value reaches the preset value. its state
depends on the type of timer being used.
6/14/2023 10
11. Timer number
This number must come from the timer file. In the example
shown. the timer number is T4:0. which represents timer file 4.
timer 0 in that 6le. There may be up to 1000 timers in each timer
file. Numbered from 0 through 999. The timer address must be
unique for this timer and may not be used for any other timer.
Time base
The time base (which is always expressed in seconds) may be
either 1.0 s or 0.01 s. In the example shown, the time base is 1.0
s.
Preset value
the preset value is 15. The timer preset value can range from 0
through 32,767.
Accumulated value
the accumulated value is o. The timer's accumulated value
normally is entered as 0, although it is possible to enter a value
from 0 through 32,767
6/14/2023 11
12. a series of motors can be started automatically with only
one start/stop control station.
According to the relay ladder schematic, lube-oil pump
motor starter coil M1 is energized when the start
pushbutton PB2 is momentarily actuated.
As a result,M1-1 control contact closes to seal in M1. and
the lube-oil pump motor starts.
When the lube-oil pump builds up sufficient oil pressure.
the lube-oil pressure switch PS1 closes.
This in turn energizes coil M2 to start the main drive
motor and energizes coil TD-1 to begin the time-delay
period.
After the preset time-delay period of 15 s. 1 TD-l contact
closes to energize coil M3 and start the feed motor.
6/14/2023 12
15. To write the ladder logic to control the
motors in section. The conditions are as
follows:
Motor 1 should be turned ON after 5 seconds
the main switch has been switched ON.
Motor 2 should be turned ON for 10 seconds
after Motor 1 s turned ON.
Motor 3 should be turned ON after Motor 2 is
turned OFF.
6/14/2023 15
17. The off-delay timer (TOF) operation will keep
the output energized for a time period after
the rung containing the timer has gone false.
6/14/2023 17
19. If logic continuity is lost. the timer begins
counting time-based intervals until the
accumulated time equals the programmed preset
value.
When the switch connected to input I:1.0/0 is
first closed, timed output 0 :2.0/1 is set to 1
immediately and the lamp is switched on.
If this switch is now opened. logic continuity is
lost and the timer begins counting. After 15 s,
when the accumulated time equals the preset
time.
the output is reset to 0 and the lamp switches
off. If logic continuity is gained before the timer
is timed out. The accumulated time is reset to O.
6/14/2023 19
20. when power is first applied (limit switch LS1 open). Motor
starter coil M1 is energized and the green pilot light is on.
At the same time, motor starter coil M2 is de-energized.
and the red pilot light is off.
When limit switch LS1 closes. off-delay timer coil TD1
energizes.
As a result, timed contact TD1-1 opens to de-energize
motor starter coil M1. timed contact TD1-2 closes to
energize motor starter coil M2.
instantaneous contact T01-3 opens to switch the green
light off. and instantaneous contact TOI-4 closes to switch
the red light on.
The circuit remains in this state as long as limit switch LSI
is closed.
6/14/2023 20
23. When limit switch LSI is opened , the off delay
timer coil TD1 de-energizes.
As a result, the time-delay period is started,
instantaneous contact TD1-3 closes to switch
the green light on, and instantaneous contact
TD1-4 opens to switch the red light off.
After a 5-s time-delay period, timed contact
TD1-1 closes to energize motor starter MI.
and timed contact TD1-2 opens to de-
energize motor starter M2.
6/14/2023 23
24. The process involves pumping fluid from tank A to
tank B. The operation of the process can be
described as follows:
Before starting. PSI must be closed.
When the start button is pushed. The pump starts.
The button can then be released and the pump
continues to operate.
When the stop button is pushed. The pump stops.
PS2 and PS3 must be closed 5s after the pump
starts. If either PS2 or PS3 opens. the pump will shut
off and will not be able to start again for another 14
s.
6/14/2023 24
26. A retentive timer accumulates time whenever the
device receives power, and it maintains the
current time should power be removed from the
device.
Once the device accumulates time equal to its
preset value. the contacts of the device change
state. to the device after reaching its preset value
does not affect the state of the contacts.
The retentive timer must be intentionally reset
with a separate signal for the accumulated time
to be reset and for the contacts of the device to
return to their self state.
6/14/2023 26
27. one major exception-a retentive timer reset (RES)
instruction. Unlike the TON, the RTO will hold its
accumulated value when the timer rung goes false
and will continue timing where it left off when the
timer rung goes true again. This timer must be
accompanied by a timer reset instruction to reset the
accumulated value of the timer to O.
The RES instruction is the only automatic means of
resetting the accumulated value of a retentive timer.
The RES instruction has the same address as the
timer it is to reset. Whenever the RES instruction is
true.
both the timer accumulated value and the timer done
bit (ON) are rest to O .
6/14/2023 27
28. PLC program for a retentive on-delay time along with a timing
chart for the circuit.
The timer will start to time when time pushbutton PB1 is closed.
If the pushbutton is opened 3 s, the timer accumulated value
stays at 3 s. When the time pushbutton is closed again, the timer
picks up the time at 3 S and continues timing.
When the accumulated value equals the preset value, the timer
done bit T4 :2/DN is set to 1 and the pilot light output PL is
switched on.
Because the retentive timer does not reset to 0 when the timer is
de-energized. the reset instruction RES must be used to reset
the timer.
The RES instruction given the same address (T4:2) as the RTO.
When reset pushbutton PB2 closes. RES resets the accumulated
time to 0 and the ON bit to O. turning pilot light PL off.
6/14/2023 28
31. A counter is set to some preset value and,
when this value of input pulses has been
received, it will operate its contacts.
The counter accumulated value ONLY
changes at the off to on transition of the
pulse input.
Typically counters can count from 0 to 9999,
-32,768 to +32,767 or 0 to 65535.
6/14/2023 31
32. Up-counters counts from zero up to the
preset value. These are called CTU, CNT, C, or
CTR.
Down-counters count down from the preset
value to zero. These are called CTD.
Up-down counters count up and/or down.
These are called CTUD.
6/14/2023 32
33. The count-up counter is an output
instruction whose function is to increment its
accumulated value on false-to-true
transitions of its instruction.
It can be used to count false -to-true
transitions of an input instruction and then
trigger an event after a required number of
counts or transitions.
The up-counter output instruction will
increment by 1 each time the counted event
6/14/2023 33
36. The countup enable bit is used with the
Count-up counter and is true whenever the
count-up counter instruction is true.
If the Count-up counter instruction is false,
the CU bit is false.
6/14/2023 36
37. The count-down enable bit is used with the
count-down counter and is true whenever the
count-down counter instruction is true.
If the count-down counter instruction is false.
the CD bit is false.
6/14/2023 37
38. The done bit is true whenever the
accumulated value is equal to or greater than
the preset value of the counter, for either the
count-up or the countdown counter.
6/14/2023 38
39. The overflow bit is true whenever the counter
counts past its maximum value, which is
32,767.
On the next count, the counter will wrap
around to -32,768 and will continue counting
from there toward 0 on successive false-to-
true transitions of the count up counter.
6/14/2023 39
40. The underflow bit will go true when the
counter counts below -32,768. The counter
will wrap around to +32,767 and continue
counting down toward 0 on successive false-
to-true rung transitions of the count-down
counter.
6/14/2023 40
41. The update accumulator bit is used only in
conjunction with an external HSC (high-speed
counter).
6/14/2023 41
42. The preset value (PRE) word specifies the value that the counter
must count to before it changes the state of the done bit The
preset value is the set point of the counter and ranges Internal
Use (not addressable) from -32.768 through +32,767.
The number is stored in binary form. with any negative numbers
being stored in 2's-complement binary.
The accumulated value (ACC) lword is the current count based on
the number of times the rung goes from false to true.
The accumulated value either increments with a false-to true
transition of the count-up counter instruction or decrements
with a false-to-true transition of the count-down counter
instruction.
It has the same range as the preset: -32,768 through +32 ,767.
The accumulated
value will continue to count past the preset value instead of
stopping at the preset like a timer does.
6/14/2023 42
43. This control application is designed to turn the red pilot light on
and the green pilot light off after an accumulated count of 7.
Operating pushbutton PB1 provides the off-to-on transition
pulses that are counted by the counter.
The preset value of the counter is set for 7. Each false-to-true
transition of rung 1 increases the counter's accumulated value by
1.
After 7 pulses, or counts. when the preset counter value equals
the accumulated counter value, output ON is energized.
As a result, rung 2 becomes true and energizes output 0:2/0 to
switch the red pilot light on.
At the same time, rung 3 becomes false and de-energizes output
0:2/ 1 to switch the green pilot light off.
The counter is reset by closing pushbutton PB2, which makes
rung 4 true and resets the accumulated count to zero.
Counting can resume when rung 4 goes false again.
6/14/2023 43
46. PLC parts-counting program that uses three up-
counters.
Counter C5:2 counts the total number of parts
coming off an assembly line for final packaging.
Each package must contain 10 parts. When 10
parts are detected, counter C5:1 sets bit B3/1 to
initiate the box closing sequence.
Counter C5:3 counts the total number of
packages filled in a day.
(The maximum number of packages per day is
300.)
A pushbutton is used to restart the total part and
package count from zero daily.
6/14/2023 46
48. The down-counter output instruction will
count down or decrement by 1 each time the
counted event occurs.
Each time the down count event occurs. the
accumulated value is decremented. Normally
the down-counter is used in conjunction with
the up-counter to form an up/down-counter.
6/14/2023 48
50. Assuming the preset value of the counter is 3 and the
accumulated count is O. pulsing the count-up input (PB1 )
three times will switch the output light from off to on.
This particular PLC counter keeps track of the number of
counts received above the preset value.
As a result, three additional pulses of the count-up input
(PBt) produce an accumulated value of 6 but no change in
the output.
If the count-down input (PB2) is now pulsed four times,
the accumulated count is reduced to 2 (6 - 4).
As a result, The accumulated count drops below the preset
count and the output light switches from on to off.
Pulsing the reset input (PB3) at any time will reset the
accumulated count to 0 and turn the output light off.
6/14/2023 50
52. The CTD instruction decrements its accumulated
value by 1 every time it is transitioned.
It sets its done bit when the accumulated value is
equal to or greater than the preset value.
The CTD instruction requires the RES instruction
to reset its accumulated value and status bits.
Because it resets its accumulated value to o.
the CTD instruction then counts negative when it
transitions.
If the CTD instruction were used by itself with a
positive preset value. its done bit would be
6/14/2023 52
54. An up/down-counter program that will increase the
counter's accumulated value when pushbutton PB1 is
pressed and will decrease the counter's accumulated
value when pushbutton PB2 is pressed.
Note that the same address is given to the up counter
instruction, the down-counter instruction, and the
reset instruction.
All three instructions will be looking at the same
address in the counter file.
When input A goes from false to true, one count is
added to the accumulated value.
When input B goes from false to true, one count is
subtracted from the accumulated value.
6/14/2023 54
55. The operation of the program can be summarized as
follows:
C5:21DN will he true. causing output C to be true.
When the CTU instruction is true, C5:2/CU will be
true, causing output A to be true.
When the CTD instruction is true. C5:2 /CD will be
true. causing output B to be true.
When the accumulated value is greater than or equal
to the preset value.
Input C going true will cause both counter
instructions to reset. When reset by the RES
instruction. the accumulated value will be reset to 0
and the done bit will be reset.
6/14/2023 55
57. Many PLC applications use both the counter
function and the timer function.
an automatic stacking program that requires
both a timer and counter. In this process,
conveyor Ml is used to stack metal plates
onto conveyor M2.
The photoelectric sensor provides an input
pulse to the PLC counter each time a metal
plate drops from conveyor Ml to M2.
When 15 plates have been stacked. conveyor
M2 is activated for 5 s by the PLC timer.
6/14/2023 57
59. The operation of the program can be summarized
as follows:
When the start button is pressed, conveyor Ml
begins running.
After 15 plates have been stacked, conveyor Ml
stops and conveyor M2 begins running.
After conveyor M2 has been operated for 5 s, it
stops and the sequence is repeated
automatically.
The done hit of the timer resets the timer and
the counter and provides a momentary pulse to
automatically restart Conveyor M1.
6/14/2023 59
61. The Function Block Diagram (FBD) is a graphical
language for programmable logic controller
design, that can describe the function between
input variables and output variables.
A function is described as a set of
elementary blocks.
Input and output variables are connected
to blocks by connection lines.
6/14/2023 61
62. A function block is a program instruction unit
which, when executed, yields one or more
output values. Thus, a block is represented in
the manner
6/14/2023 62
67. A signal lamp is required to be switched on if a
pump is running and the pressure is satisfactory,
or if the lamp test switch is closed.
For the inputs from the pump and the pressure
sensors we have an AND logic situation since
both are required if there is to be an output from
the lamp.
We, however, have an OR logic situation with the
test switch in that it is required to give an output
of lamp on regardless of whether there is a signal
from the AND system.
6/14/2023 67