GoodheartWillcox Co Inc Use nonretentive and retentive timer ONdelay instructions to create PLC ladder logic diagrams Use move MOV instructions to create variable preset value timer instructions ID: 372210
Download Presentation The PPT/PDF document "8 PLC Timer Instructions" is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.
Slide1Slide2
8
PLC Timer InstructionsSlide3
© Goodheart-Willcox
Co., Inc.
Use non-retentive and retentive timer ON-delay instructions to create PLC ladder logic diagrams.
Use move (MOV) instructions to create variable preset value timer instructions.Use OFF-delay timers to create PLC ladder logic diagrams.
ObjectivesSlide4
© Goodheart-Willcox
Co., Inc.
Objectives
Connect timer instructions to interlock each other.
Cascade timer instructions in a PLC ladder logic diagram to increase the timer preset values.Slide5
© Goodheart-Willcox
Co., Inc.
Timers
Fixed timers
Variable timers
Single-input timers
Double-input timers
Slide6
© Goodheart-Willcox
Co., Inc.
Timer Instructions
In the relay logic diagrams, symbols are used to represent timer coils and their associated timer contacts.Slide7
© Goodheart-Willcox
Co., Inc.
Timer Instructions (Cont.)
Two types of timer instructions:
ON-delay timers
.
OFF-delay timers
. Slide8
© Goodheart-Willcox
Co., Inc.
ON-delay Timers
Start timing when timer coils are energized.
Normally open contacts close and normally closed contacts open when the timer is finished timing.
Contacts immediately revert to normal states when the timer accumulated register resets to zero.
Delay before contacts switch when timer turns on;
no
delay in switching when timer turns off. Slide9
© Goodheart-Willcox
Co., Inc.
OFF-delay Timers
Start timing when their timer coils are de-energized.
Normally open contacts close and normally closed contacts open when the timer is finished timing.
Contacts revert to their normal states when the timer accumulated register resets to zero. Slide10
© Goodheart-Willcox
Co., Inc.
Timer Instruction Formats
Coil format
:
Uses coils to display the timer instruction.
Block format
:
Uses a box shape to display the timer instruction.
More common symbol for displaying timer instructions.Slide11
© Goodheart-Willcox
Co., Inc.
PLC Timer Instruction Registers
Preset register
:
Content
is the preset value that the timer is initialized to hold.
Holds the preset number.
Accumulated register
:
Holds the time that the timer has been timing.
Status register
,
also called
flag register:
Holds the flag bits that are used by the PLC processor to monitor the status of the timer. Slide12
© Goodheart-Willcox
Co., Inc.
PLC Timer Instruction Registers (Cont.)
Timers in Allen-Bradley SLC 500 series PLC:
Data file four (T4)
reserved for timer instructions.
Timers have addresses T4:0 to T4:255.
In theory, can have up to 256 timers.
In practice, number of timers is limited by PLC memory capacity.Slide13
© Goodheart-Willcox
Co., Inc.
Timer Base Number
Multiplied by the preset number.
Defines unit of time as a fraction of a second or a second.
0.01 seconds, 0.1 seconds, and 1 second most commonly used in PLC timers.Slide14
© Goodheart-Willcox
Co., Inc.
Timing Bits
Enable bit (EN)
Timer timing bit (TT)
Done bit (DN)Slide15
© Goodheart-Willcox
Co., Inc.
PLC Timer Instruction Timers
Three different types of timers for Allen-Bradley SLC 500 series PLCs:
Non-retentive timer
ON-delay.
Retentive timer
ON-delay.
Non-retentive timer OFF-delay.Slide16
© Goodheart-Willcox
Co., Inc.
Fixed Preset Value Non-retentive Timer ON-Delay Instructions
Block diagram of an SLC 500 non-retentive timer ON-delay with address T4:0. Slide17
© Goodheart-Willcox
Co., Inc.
Variable Preset Value Non-retentive Timer ON-Delay Instructions
Move (MOV) instruction:
Used for copying the content of one register into another or for loading a number into a register.
Can be used to create a variable preset timer.Slide18
© Goodheart-Willcox
Co., Inc.
PLC Ladder Logic Diagram Using MOV and TONSlide19
© Goodheart-Willcox
Co., Inc.
Retentive Timer ON-Delay Instructions
Reset (RES) instruction
:
Used to reset a retentive timer. Slide20
© Goodheart-Willcox
Co., Inc.
Timer OFF-Delay Instructions
PLC ladder logic diagram using timer off-delay.Slide21
© Goodheart-Willcox
Co., Inc.
Interlocking Timers
Interlocked timers
:
Output
turns on and off sequentially.
Common method of flashing lights or ringing bells in Allen-Bradley SLC 500 series programmable logic control systems.Slide22
© Goodheart-Willcox
Co., Inc.
Interlocking Timers (Cont.)
PLC ladder logic diagram using two timers.Slide23
© Goodheart-Willcox
Co., Inc.
Cascading Timers
In some industrial applications:
Timers must have a large preset value.
PLC ladder diagrams that contain several timers can be created.
Cascading
links multiple timers together.Slide24
© Goodheart-Willcox
Co., Inc.
Cascading Timers (Cont.)
Timers are cascaded together such that when one timer is finished timing, the second one starts.
When the second timer is done, the third one starts, and so forth. Slide25
© Goodheart-Willcox
Co., Inc.
PLC Ladder Logic Diagram Cascading TimersSlide26
© Goodheart-Willcox
Co., Inc.
Glossary
Accumulated register: Register that holds the timer or counter accumulated value.
Block format:
Format that uses a box shape to display the timer instruction.
Cascading:
Arrangement of
timer instructions
in a ladder diagram that increases the number of counts or steps the instruction can achieve.Slide27
© Goodheart-Willcox
Co., Inc.
Glossary
Coil format: Format that uses coils to display the timer instruction.
Data file four (T4):
File that holds the timer registers.
Done bit (DN):
Bit that is set when the instruction has completed its task, such as reaching its preset value or length value.Slide28
© Goodheart-Willcox
Co., Inc.
Glossary
Double-input timer: Timer that uses one input to enable and another input to run.
Enable bit (EN):
Bit that is set when the path of a rung is complete (all inputs are in the closed state).
Fixed timer:
Timer that has a fixed preset value.Slide29
© Goodheart-Willcox
Co., Inc.
Glossary
Interlocked timers: Timers used to turn an output on and off sequentially.
Move (MOV) instruction:
Instruction that is used for copying the content of one register into another or for loading a number into a register. The move
instruction
can be used to create a variable preset timer.
Non-retentive timers:
Timers that reset when they are de-energized.Slide30
© Goodheart-Willcox
Co., Inc.
Glossary
OFF-delay timer: Timer that must be de-energized to start timing.
ON-delay timer:
Timer that must be energized to start timing.
Preset register:
Register that holds the timer or counter preset number.
Reset (RES) instruction:
Instruction that must be used to reset the retentive timer.
Slide31
© Goodheart-Willcox
Co., Inc.
Glossary
Retentive timers: Timers that hold their accumulated value when they are disabled.
Single-input timer:
Timer that has only one input for enable and run commands.
Status register:
Register that holds the status bits. Also called
flag register.Slide32
© Goodheart-Willcox
Co., Inc.
Glossary
Timer base number: Number that must be multiplied by the timer preset number to generate the preset timer value.
Timer timing bit (TT):
Bit that is energized when the timer is timing.
Variable timer:
Timer that allows its preset value to be changed.