![]() ![]() ![]() ![]() ![]() ![]() |
||
![]() |
||
![]() ![]() ![]() ![]() This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc. |
||
![]() |
![]() |
#1 |
Member
![]() ![]() Join Date: Jan 2007
Location: Ontario
Posts: 31
|
TOYOPUC Timers & Counters
I am trying to learn TOYOPUC now. But having trouble to use timers and counters the same way as in RSLogix. Trying to turn on some outputs when timer or counter counts up to a certain value. Does anyone know how to do it? In RSLogix is ".acc".
|
![]() |
![]() |
#2 |
Member
![]() ![]() Join Date: Sep 2003
Location: Detroit Area
Posts: 550
|
OK, I'm not positive about this because I don't have any PLC programs on this machine. I do have PCWin and the manuals though.
I believe that you can view the accumulator status of the timer by just looking at the value in the timer's (T/C) address. Because the timer's accumulator value will be changing very rapidly, I would first try to do this by checking that it is within some range of values by using the W>N and W<N (Word compare greater than, word compare less than) instructions. Do you have the programming manual for the processor you are working on? |
![]() |
![]() |
#3 |
Member
![]() ![]() Join Date: Jan 2007
Location: Ontario
Posts: 31
|
Thank you jinbo3123 for the reply. Yes I am using PCWin and I have a few manuals. But I couldn't find in the manuals and Help function how to use accumulator value of timer or counter. I can see value change in monitoring mode. I RSLogix, I can quote 'Txxx.acc' as the accumulator value of the timer. What is the expression in PCWin?
Thx, |
![]() |
![]() |
#4 |
Member
![]() ![]() Join Date: Jan 2007
Location: Ontario
Posts: 6
|
Toyopuc timers
To access the accumulated timer value you just read the N-Register of the same numeric address....
e.g. - T000 would have its accumulator in N000, T1FF in N1FF, etc. Toyopuc is not exactly common outside of Toyota, glad to help people learn it :P |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Indirect addressing timers and counters (SLC) | alphageek | LIVE PLC Questions And Answers | 8 | July 10th, 2005 01:21 AM |
s7 300 timers and counters | sparkysliderz | LIVE PLC Questions And Answers | 11 | June 13th, 2005 08:18 AM |
reseting counters and timers in rs 5000 | darrenj | LIVE PLC Questions And Answers | 4 | February 23rd, 2005 06:29 PM |
Using Timers & Counters in WinCC | Rusty_K | LIVE PLC Questions And Answers | 0 | April 26th, 2004 12:06 PM |
counters and Timers of Allen Bradley Program | ronpittc | LIVE PLC Questions And Answers | 15 | July 4th, 2003 03:12 AM |