PLC Timer Instructions

25

description

8. PLC Timer Instructions. Objectives. 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. Objectives. - PowerPoint PPT Presentation

Transcript of PLC Timer Instructions

Page 1: PLC Timer Instructions
Page 2: PLC Timer Instructions

Chapter

8PLC Timer Instructions

Page 3: PLC Timer Instructions

Permission granted to reproduce for educational use only.© 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.

Objectives

Page 4: PLC Timer Instructions

Permission granted to reproduce for educational use only.© 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.

Page 5: PLC Timer Instructions

Permission granted to reproduce for educational use only.© Goodheart-Willcox Co., Inc.

Timers

• Fixed timers• Variable timers• Single-input timers• Double-input timers

Page 6: PLC Timer Instructions

Permission granted to reproduce for educational use only.© Goodheart-Willcox Co., Inc.

Timer Instructions

• In the relay logic diagrams, symbols are used to represent timer coils and their associated timer contacts.

Page 7: PLC Timer Instructions

Permission granted to reproduce for educational use only.© Goodheart-Willcox Co., Inc.

Timer Instructions (Cont.)

• Two types of timer instructions: – ON-delay timers.– OFF-delay timers.

Page 8: PLC Timer Instructions

Permission granted to reproduce for educational use only.© 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.

Page 9: PLC Timer Instructions

Permission granted to reproduce for educational use only.© 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.

Page 10: PLC Timer Instructions

Permission granted to reproduce for educational use only.© 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.

Page 11: PLC Timer Instructions

Permission granted to reproduce for educational use only.© 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.

Page 12: PLC Timer Instructions

Permission granted to reproduce for educational use only.© 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.

Page 13: PLC Timer Instructions

Permission granted to reproduce for educational use only.© 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.

Page 14: PLC Timer Instructions

Permission granted to reproduce for educational use only.© Goodheart-Willcox Co., Inc.

Timing Bits

• Enable bit (EN)• Timer timing bit (TT)• Done bit (DN)

Page 15: PLC Timer Instructions

Permission granted to reproduce for educational use only.© 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.

Page 16: PLC Timer Instructions

Permission granted to reproduce for educational use only.© 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.

Page 17: PLC Timer Instructions

Permission granted to reproduce for educational use only.© 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.

Page 18: PLC Timer Instructions

Permission granted to reproduce for educational use only.© Goodheart-Willcox Co., Inc.

PLC Ladder Logic Diagram Using MOV and TON

Page 19: PLC Timer Instructions

Permission granted to reproduce for educational use only.© Goodheart-Willcox Co., Inc.

Retentive Timer ON-Delay Instructions

• Reset (RES) instruction:– Used to reset a retentive timer.

Page 20: PLC Timer Instructions

Permission granted to reproduce for educational use only.© Goodheart-Willcox Co., Inc.

Timer OFF-Delay Instructions

• PLC ladder logic diagram using timer off-delay.

Page 21: PLC Timer Instructions

Permission granted to reproduce for educational use only.© 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.

Page 22: PLC Timer Instructions

Permission granted to reproduce for educational use only.© Goodheart-Willcox Co., Inc.

Interlocking Timers (Cont.)

• PLC ladder logic diagram using two timers.

Page 23: PLC Timer Instructions

Permission granted to reproduce for educational use only.© 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.

Page 24: PLC Timer Instructions

Permission granted to reproduce for educational use only.© 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.

Page 25: PLC Timer Instructions

Permission granted to reproduce for educational use only.© Goodheart-Willcox Co., Inc.

PLC Ladder Logic Diagram Cascading Timers