
adccommunitymod (AutomationDirect) asked a question.
Created Date: January 04,2012
Created By: BrianG
**** 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.****
I'm more familiar with AB timers so the timers in my DL250-1 are a bit confusing. I'm using a TMRA with a preset of 1200 (12 seconds, correct?). The timer starts when a photo-eye is broken and stops when a second eye is broken. Typical actual time is between 4 and 8 seconds. I will output the actual time (xx.x) to a C-More panel. As I understand the steps required I must: 1. Use LD to place the accumulated time from Timer T10 (using TA10) 2. Use the BCD box to convert the time in the accumulator 3. OUT to a V location (V2012 in my case). 4. In the C-More panel set the tag for the numeric display to V2012 When I do this I get a number that does not have a decimal (yes, I have the panel object set for a single decimal) and is not even close to the correct time. What is my error?
Created Date: January 04,2012
Created by: bcarlton
I'm using a TMRA with a preset of 1200 (12 seconds, correct?)
The TMRA has a timebase of 1/10th second so 1200 would be 120 seconds.
1. Use LD to place the accumulated time from Timer T10 (using TA10)
OK, but since this is an accumulating timer its accumulated value can go up to 99999999. It will span to TA11 so be sure not to use that timer. If you wish to LD the full value you may want to use LDD.
2. Use the BCD box to convert the time in the accumulator
No, this value is already a BCD value
3. OUT to a V location (V2012 in my case).
This is fine, but to save the full value, if you used LDD above, then use OUTD which will output to V2012 and V2013.
4. In the C-More panel set the tag for the numeric display to V2012
Unless the number may be large than 9999 in which case you will have to define your tag as BCD int 32
Created Date: January 04,2012
Created by: Do-more PE
Or just use a BCD Int 32 tag in the Cmore pointing to V10 which is the accumulated time for Timer T10. On the Numeric Display set the Decimal places to one to get it to display properly.
Created Date: January 04,2012
Created by: BrianG
I'm more familiar with AB timers so the timers in my DL250-1 are a bit confusing.
I'm using a TMRA with a preset of 1200 (12 seconds, correct?). The timer starts when a photo-eye is broken and stops when a second eye is broken. Typical actual time is between 4 and 8 seconds.
I will output the actual time (xx.x) to a C-More panel.
As I understand the steps required I must:
1. Use LD to place the accumulated time from Timer T10 (using TA10)
2. Use the BCD box to convert the time in the accumulator
3. OUT to a V location (V2012 in my case).
4. In the C-More panel set the tag for the numeric display to V2012
When I do this I get a number that does not have a decimal (yes, I have the panel object set for a single decimal) and is not even close to the correct time.
What is my error?