adccommunitymod (AutomationDirect) asked a question.

TMRA values

Created Date: August 09,2011

Created By: J. Butler

**** This post has been imported from our legacy forum. Information in this post may be outdated and links contained in the post may no longer work.****

Hi All: I have an app on a DL06 that will regularly be powered down and restarted. If I have read correctly, To keep the timer current values I need to use the MOV instruction to place the values in a NON Volitile place and then Reload the values back to the TA? eg. 1. LD k2 2. LD V405 3. OUTD V2030 Then on start up check for TA = 0 then reload the TA from V2030/V2031 ? Seams like the only way to do it???? Regards Jeff


  • adccommunitymod (AutomationDirect)

    Created Date: August 09,2011

    Created by: Bob S BN

    How long of an outage??

    The built in supercap will hold the memory for a few days.

    You can add the battery to the 06 for much longer retention.

    For either option, you need to set the VMemory or Timer to be retentative in the set up menu.

    EDIT: I think making the timer "Retentative " will save the timer value, and not just the timer state, but I'm not sure, and couldn't find that in the manual. May have to give it a try, I don't have a PLC laying around to test on.

    Just a thought,

    Expand Post
  • adccommunitymod (AutomationDirect)

    Created Date: August 09,2011

    Created by: J. Butler

    I tried seting the retention ranges on both V mem and T to cover the timers but the accumulated value keeps resetting to zero on repower.

    The unit could be powered down for several days at a time and there is not much room in the enclosure for a battery backup.

    Regards

    Jeff

    Expand Post
  • adccommunitymod (AutomationDirect)

    Created Date: August 09,2011

    Created by: Bob S BN

    I tried seting the retention ranges on both V mem and T to cover the timers but the accumulated value keeps resetting to zero on repower.

    I'll take a closer look at the manual and see what I can find out.

    Perhaps others have had to do this and know how.

    The unit could be powered down for several days at a time and there is not much room in the enclosure for a battery backup.

    The back up battery I was referring to goes inside the PLC, it's made for memory retention.

    Expand Post
  • adccommunitymod (AutomationDirect)

    Created Date: August 09,2011

    Created by: Bob S BN

    Have you tried making your VMEM retentative range start at zero?

    The timer accumulators and counter accumulators are stored in the lower vmem locations.

    EDIT: See volume 1 of the manual, pages 4-27 and 4-31 for an explanation and memory map of the DL06.

    Worth a try, might just do it.

    On another note, is it possible something else in your logic is resetting the timer at power-up?

    Expand Post
  • adccommunitymod (AutomationDirect)

    Created Date: August 09,2011

    Created by: J. Butler

    Hi Bob:

    Re did the retentive memory per your suggestion and then wrote it out to the disk and PLC. This time it appears to work. :)

    Appreciate the help

    Regards

    Jeff

  • adccommunitymod (AutomationDirect)

    Created Date: August 09,2011

    Created by: Bob S BN

    Hi Bob:

    Re did the retentive memory per your suggestion and then wrote it out to the disk and PLC. This time it appears to work. :)

    Appreciate the help

    Regards

    Jeff

    Glad to hear you got it working.

    Since you 're new to these things, did you catch the part in the manual about the accumulating timers being double word instructions?

    If you have one at T0, the next one needs to start at T2.

    Also, did you find the information on the battery backup for the DL06?

    Expand Post
  • adccommunitymod (AutomationDirect)

    Created Date: August 09,2011

    Created by: J. Butler

    Hi Bob:

    I got the double word bit for the TMRA's, thanks.

    From what I read, the battery back up for the DL06 is external. This particular one is 110 VAC power so I thought it would be like a UPS for computers? The unit has a CPU battery that maintains Non Volitile mem and program stuff...

    Will have to do some more reading....

    Thanks Again

    Jeff

    Expand Post
  • adccommunitymod (AutomationDirect)

    Created Date: August 09,2011

    Created by: bcarlton

    DL06 - Battery backup. The DL06 battery is a 'coin type ' battery. The access is on top of the DL06 toward the right side. You must press the tab toward the back of the unit slightly and lift up. You will see the battery holder. The battery is inserted - smaller side in.

    Refer to page 3-8 in the online manual. No need for an external battery.

    Expand Post
  • adccommunitymod (AutomationDirect)

    Created Date: August 10,2011

    Created by: J. Butler

    Yes. That battery is working fine. Any thing in the retentive range returns on power up.

    Thanks for the help

    Regards

    Jeff:)

  • adccommunitymod (AutomationDirect)

    Created Date: August 09,2011

    Created by: J. Butler

    Hi All:

    I have an app on a DL06 that will regularly be powered down and restarted. If I have read correctly, To keep the timer current values I need to use the MOV instruction to place the values in a NON Volitile place and then Reload the values back to the TA? eg.

    1. LD k2

    2. LD V405

    3. OUTD V2030

    Then on start up check for TA = 0 then reload the TA from V2030/V2031 ?

    Seams like the only way to do it????

    Regards

    Jeff

    Expand Post