Timer Instructions Overview Instructions: Use the Page Up and Page Down keys to navigate through this presentation. When you are done viewing the presentation,

Slides:



Advertisements
Similar presentations
Timer Instructions Overview Instructions: Use the Page Up and Page Down keys to navigate through this presentation. When you are done viewing the presentation,
Advertisements

Programming Examples Rung Examples:
Dc input modules can either be sources or sinks for dc current. This depends on the transistor used in the input card and the polarity of the dc supply.
Copyright © 2005 Rockwell Automation, Inc. All rights reserved. 1 Micro Logix 1100 RSLogix 500 LAB#2 Timing, Counting & Comparing.
02/24/97 1 Rockwell Automation Hands-On Seminar Series.
PLC Timer Instructions
ECT 464 Lecture 5 Modes and Memory. Do the thing you fear and the death of fear is certain. Be strong and courageous. Do not be afraid or terrified because.
Ladder Logic PLC Programs are made up of combinations of AND; OR; NAND; NOR; and other gates, along with timers, inputs, outputs, counters, comparators,
Switchgears Control Using SCADA System Based on PLC
5/20/2015IENG 475: Computer-Controlled Manufacturing Systems 1 IENG Lecture 14 Ladder Logic Programming of PLCs.
FUNCTION OF OUTPUT CONTROLLER AND APPLICATION
Programmable Logic Controllers
Chapter 19 Fundamental PLC Programming
Lecture 6: PLC: Timers and Counters
Logic Functions OR Operation
Timers.
1 Starting & Stopping Motors Pico Pico LAB#4. 2 Program a series of three basic ladder logic rungs. These basic rungs are the most common rungs found.
Programmable Logic Controllers
Programmable Logic Controllers
Copyright © 2002 Delmar Thomson Learning Chapter 15 Timer and Counter Instructions.
Program Control Instructions:
MicroLogix Packaged Controllers Programmable Controller Basics Memory & Data.
Programming PLCs using LADDER Logic
Counter The CTU CTD instruction counts upward & Down wards over a range Each time the rung goes from false- to-true. We can make an Up-Down counter by.
Chapter 4 TIMER OPERATION
CoE3DJ4 Digital Systems Design Chapter 4: Timer operation.
Memory Layout and SLC500™ System Addresses. Processor Memory Division An SLC 500 processor's memory is divided into two storage areas. Like two drawers.
Chapter 8.
PLC Counter Instructions
Senior Project Presentation: Designers: Shreya Prasad & Heather Smith Advisor: Dr. Vinod Prasad May 6th, 2003 Internal Hardware Design of a Microcontroller.
Timer Timer is a device, which counts the input at regular interval (δT) using clock pulses at its input. The counts increment on each pulse and store.
Counters. Counter Applications Counters count events such as the number of: Parts passing a certain point on a conveyor system Good parts/bad parts manufactured.
Timers and Counters by Dr. Amin Danial Asham. References  Programmable Controllers-Theory and Implementation, 2nd Edition, L.A. Bryan and E.A. Bryan.
LADDER PROGRAMMING LANGUAGE by Dr. Amin Danial Asham.
HORNERAPGHORNERAPG HORNERAPGHORNERAPG 20 Years of Innovation Operator Control Station Workshop Operator Control Station “All in One” Integrated.
Sequencers SQO,SQC,SQL.
Ladder Concept.
HORNERAPGHORNERAPG HORNERAPGHORNERAPG 20 Years of Innovation Operator Control Station Workshop Operator Control Station “All in One” Integrated.
1 68HC11 Timer. 2 68HC11 Timer Subsystem Several timing functions: Basic timing Basic timing Real time interrupts Real time interrupts Output compare.
TIMERS Used to carry out tasks which involve time delay and time counting. A timer circuit is specified by stating the interval to be timed and the conditions.
Timers. Mechanical Timing Relay Time delay relays are simply control relays with a time delay built in. Their purpose is to control an event based on.
PLC APPLICATIONS MODULE 3 Time sequence processes.
Programmable Logic Controller
S7-200 PLC training courses
PLC APPLICATIONS MODULE 3 Time sequence processes.
1 Introduction to PLCs: Programming Counters ELMT Basic Programmable Logic Controllers Chapter 0x_W Source: www Based on Ch 8 of Frank D. Petruzella.
Chapter 7.
9 CHAPTER PLC Counter Instructions. 9 CHAPTER PLC Counter Instructions.
Chapter 10 © 2011, The McGraw-Hill Companies, Inc.
PLC Timers MECH 1500 Two classes of timers: Retentive Non-Retentive.
Instructor: Alexander Stoytchev
Chapter 12 © 2011, The McGraw-Hill Companies, Inc.
Programming Timers.
MicroEconomix 1500 RSLogix 500 LAB#2
MECH 1500 Pulse Timer Energizes contacts immediately when enabled and begins timing. De-energizes contacts after the preset time value has elapsed De-energizing.
GE Timers and Isolation of the PLC System
Introduction to Ladder Diagram
Timer Instructions Overview
Motion Axis Output Cam Instruction
IENG 475: Computer-Controlled Manufacturing Systems
Lesson 19: PLC Programming Techniques
Programmable Controller Basics Files And Programs
Program Control Instructions.
Timer and Counter Instructions
Programmable Logic Controllers (PLCs)
Retentive On Delay Timers
IENG 475: Computer-Controlled Manufacturing Systems Ladder Logic
Ladder programming Counter Instruction S7 300
Presentation transcript:

Timer Instructions Overview Instructions: Use the Page Up and Page Down keys to navigate through this presentation. When you are done viewing the presentation, close this window.

Timer Applications zDelay motors from starting at the same time zKeep track of downtime zOpen a valve for a given time (e.g.,10 seconds) zMeasure the cycle time of a process

Practical Examples zKeep track of total time required to make a batch of a product zTurn mixing motor off 2 minutes after the switch is closed zHold clamp on for 25 seconds after glue is applied zOpen a valve 27 seconds after a switch is turned on. If interrupted, the valve should close and the time be reset to 0.

Categories of Timer Instructions zTON (Timer on delay) Timer remains true for a preset time interval zTOF (Timer off delay) Timer remains false for a preset time interval zRTO (Retentive timer on delay) Timer remains on for a preset time interval

Parts of a Timer Instruction zWord 0: Control word yEnable bit(.EN) -- is set when the rung is true yTimer Done Bit (.DN)-- changes state when accumulated value reaches a preset value yTimer Timing bit (.TT)-- is set while the timer is incrementing its accumulated value

Parts of a Timer Instruction (cont.) zWord 1: Preset Value (.PRE) ythe value the timer must reach before the controller sets the DN bit. When ACC = PRE, the DN bit is set. PRE can be used to control an output device. zWord 2: Accumulated Value (.ACC) ythe time elapsed since the timer was last reset. When ACC is enabled, the timer updates it continually.

Parameters to Enter zAccumulated value (.ACC) zPreset value (.PRE) zTime base - the duration of each time base unit Duration of timer = (preset value - accumulator value) * time base

TON Instruction

TON stands for... zTIMER DELAY ON zTime delay period is from the instant the rung goes TRUE until the DN bit is turned on

TON can be used to... zCreate a short pulse at the beginning of a longer input condition; zDelay the start of a function for a defined period of time from the start of some other function

TON Ladder Diagram

TON operation zWhen the rung goes TRUE, the EN and TT bits go on. zWhen the accumulated value (ACC) reaches the preset value (PRE), yTT bit goes off yEN bit stays on yDN bit turns on

TON operation (cont.) zWhen the rung goes from TRUE to FALSE and the accumulated value (ACC) is less than the preset value (PRE) yEN and TT bits turn off yAccumulated value is reset to 000 zTimer reset instructions can be used to clear ACC

TON EN bit zIs set when rung conditions are TRUE zRemains set until rung conditions go FALSE

TON TT bit zIs set when yrung conditions are TRUE AND yACC < PRE zRemains set until yrung conditions go FALSE

TON DN bit zIs set when ACC = PRE zRemains set until rung conditions go FALSE

Worked Out Problems zTurn on L1 if sw1 is closed for 12 seconds. zWhen sw1 is closed, turn on motors 10, 11, and 12. Turn off motors 10, 11, and 12 at five-second intervals when sw1 is opened.

TOF Instruction

TOF stands for... zTIMER DELAY OFF zTime delay period is from the instant the rung goes TRUE to FALSE until the DN bit is turned off

TOF can be used to... zCreate longer output functions derived from short input functions; zGenerate a short pulse at the end of a long input function

TOF Timer Instruction zTOF instruction begins to count time base intervals when the rung makes a true-to-false transition. zAs long as rung conditions remain false, the timer increments its accumulated value (ACC) each scan until it reaches the preset value (PRE). zThe controller resets the accumulated value when rung conditions go true regardless of whether the timer has timed out Sheng-Jen (“Tony”) Hsieh, Texas A&M University

Using the TOF Status Bits Sheng-Jen (“Tony”) Hsieh, Texas A&M University zWhere, the bit is set means set to 1

TOF Ladder Diagram

TOF operation zWhen the rung goes TRUE, the EN and DN bits go on. zWhen the accumulated value (ACC) reaches the preset value (PRE), yDN bit goes off yAC is reset to 000

TOF operation (cont.) zWhen the rung goes from TRUE to FALSE and the accumulated value (ACC) is less than the preset value (PRE) yDN bit stays on yTimer begins to accumulate time for the delay period yTT bit goes on and stays on for preset time, then resets zTimer reset instructions cannot be used to clear ACC

TOF EN bit zIs set when rung conditions are TRUE zRemains set until rung conditions go FALSE

TOF TT bit zIs set when yrung conditions are TRUE to FALSE AND yAC < PR zRemains set until yrung conditions go TRUE again

TOF DN bit zIs set when rung conditions are TRUE zWhen rung conditions go from TRUE to FALSE and ACC < PRE zRemains set until yACC = PRE

RTO Instruction

RTO stands for... zRETENTIVE TIMER DELAY ON zSimilar to TON zTime delay period is from the instant the rung goes TRUE until the DN bit is turned on (like TON)

RTO can be used for... zMaintenance functions; zDiagnostic programs

RTO Timer Instruction zUse the RTO instruction to turn an output on or off after its timer has been on for a preset time interval. zThe RTO instruction is a retentive instruction that lets the timer stop and start without resetting the accumulated value (ACC). Sheng-Jen (“Tony”) Hsieh, Texas A&M University

Using the RTO Status Bits Sheng-Jen (“Tony”) Hsieh, Texas A&M University zTo reset the ACC value and status bits, you must program a reset (RES) instruction with the same address

Timer: RTO

RTO operation z(Like TON) When the rung goes TRUE, the EN and TT bits go on. z(Like TON) When the accumulated value (ACC) reaches the preset value (PRE), yTT bit goes off yEN bit stays on yDN bit turns on

RTO operation (cont.) zWhen the rung goes from TRUE to FALSE and the accumulated value (AC) is less than the preset value (PR) yEN and TT bits turn off yAccumulated value is NOT reset zTimer reset instructions must be used to clear AC

RTO EN bit z(like TON) Is set when rung conditions are TRUE z(like TON) Remains set until rung conditions go FALSE

RTO TT bit z(like TON) Is set when yrung conditions are TRUE AND yAC < PR z(like TON) Remains set until yrung conditions go FALSE OR ywhen the DN bit is set

RTO DN bit z(like TON) Is set when AC => PR zRemains set until the appropriate RES instruction is enabled

Close this window and then select items 4, 5, 6 TON, TOF, and RTO Simulation.