Question

Define the following timer bits: timer enable, timer timing, and timer done.

Define the following timer bits: timer enable, timer timing, and timer done.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

\1)TIMER ENABLE:
>Enable (EN) Bit: The enable bit indicates the TON instruction is enabled.
>Count time base intervals when the instruction is true.
>The Timer On Delay instruction begins to count time base intervals when rung conditions become true. As long as rung conditions remain true, the timer adjust its accumulated value (ACC) each evaluation until it reaches the preset value (PRE). The accumulated value is reset when rung conditions go false, regardless of whether the timer has timed out.
>Each Timer on Delay is made of a 3-word element
Bit 0-12 : Internal Use
Bit 13   : Done (DN) this bit is on when the Accumulation value >= Preset Value
Bit 14   : Timer Timing (TT) this bit is on when the timer is timing
Bit 15   : Enabled (EN), this bit is on when the timer is energized
**Each Timer on Delay is made of a 3-word element.
>Word 1 is the control word

Bit 0-12: Internal Use
Bit 13: Done (DN) this bit is on when the Accumulation value >= Preset Value
Bit 14: Timer Timing (TT) this bit is on when the timer is timing
Bit 15: Enabled (EN), this bit is on when the timer is energized.
>Word 2 stores the preset value.

>The programmer specifies this value. When the accumulated time reaches the preset value the controller sets the done bit. When the accumulated value becomes equal to or greater than the preset value, the done bit is set. Usually preset value is from 0 - 32,767
>If a timer-preset value is negative an error will occur.

Word 3 stores the accumulated value.

>This is the time elapsed since the timer was last reset. When enabled the timer updates this continually.
>Time Base:
Is the timing update interval, this can vary from 0 - 1 second.

2)TIMER TIMING:
>Counts time base intervals when the instruction is false.
>The Timer Off Delay instruction begins to count time base intervals when the rung makes a true to false transition. As long as rung conditions remain false, the timer increments its accumulated value (ACC each scans until it reaches the preset value (PRE). The accumulated value is reset when rung conditions go true regardless of whether the timer has timed out.
Each timer address is made of a 3-word element.
Word 1 is the control word

Bit 0-12: Internal Use
Bit 13: DN- Done
Bit 14: TT - Timer Timing
Bit 15: EN - Timer is enabled

Word 2 stores the preset value.

>Specifies the value, which the timer must reach before the controller sets the done bit. When the accumulated value becomes equal to or greater than the preset value, the done bit is se.Preset value is from 0 - 32,767
>If a timer-preset value is negative an error will occur.

Word 3 stores the accumulated value.

>This is the time elapsed since the timer was last reset. When enabled the timer updates this continually.
>Time Base
It is the timing update interval, this can vary from 0 - 1 second.

TIMER DONE:

>Counts time base intervals when the instruction is true and retains the accumulated value when the instruction goes false or when power cycle occurs.
>The Retentive Timer instruction is a retentive instruction that begins to count time base intervals when rung conditions become true.
>The Retentive Timer instruction retains its accumulated value when any of the following occurs:
--Rung conditions become false.
--Changing Processor mode from REM run /Test / program mode.
--The processor loses power while battery back up is still maintained.and a fault occurs.
"To reset the accumulated value in RTO, you must use a reset instruction (RES) with the same address."

Word 1 is the control word

Bit 0-12: Internal Use
Bit 13: DN- Done
Bit 14: TT - Timer Timing
Bit 15: EN - Timer is enabled

Word 2 stores the preset value.

>Specifies the value, which the timer must reach before the controller sets the done bit. When the accumulated value becomes equal to or greater than the preset value, the done bit is se.Preset value is from 0 - 32,767
>If a timer-preset value is negative an error will occur.

Word 3 stores the accumulated value.
>This is the time elapsed since the timer was last reset. When enabled the timer updates this continually.
>Time Base
It is the timing update interval, this can vary from 0 - 1 second.

Add a comment
Know the answer?
Add Answer to:
Define the following timer bits: timer enable, timer timing, and timer done.
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT