plc.myforum.ro Forum Index plc.myforum.ro
PLCs users www.plc.myforum.ro!
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Timer management

 
Post new topic   Reply to topic    plc.myforum.ro Forum Index -> ALLEN-BRADLEY(Rockwell Automation)
View previous topic :: View next topic  
Author Message
giogio3223
Junior
Junior


Joined: 08 Jun 2014
Posts: 12

PostPosted: 12/11/2021 13:09    Post subject: Timer management Reply with quote

Buongiorno a tutti,
Ho il seguente problema ho realizzato un time che arriva fino a 234,55 minuti , adesso il cliente vuole vedere dal momento in cui parte la produzione quel time scorrere all’indietro, ma non riesco a capire come fare, ho provato vari modi ma mi conta ad esempio 234,00 - 233,100 – 234,99 e cosi via , c’č un modo per farlo ? altrimenti lo dovrei fare in modo che partisse da 0 ad arrivare a 234,55, uso rslogix 5000 ver 23.
Il plc č un L33ER

Ci potranno essere 30 timer che lavorano in contemporanea
Grazie a tutti


Goodmorning everyone,
I have the following problem I have achieved a time that reaches up to 234.55 minutes, now the customer wants to see that time scroll backwards from the moment in which production starts, but I cannot understand how to do it, I have tried various ways but I counts for example 234.00 - 233.100 - 234.99 and so on, is there a way to do it? otherwise I would have to make it start from 0 to get to 234.55, I use rslogix 5000 ver 23.
The plc is a L33ER

There may be 30 timers working simultaneously

Code:
Remaining_Minutes (INT) = (Test_Timer.PRE - Test_Timer.ACC)/60000
Remaining_Seconds (INT) = ((Test_Timer.PRE - Test_Timer.ACC) - (Remaining_Minutes * 60000))/1000


ma not work

Thank you all[/code]
Back to top
View user's profile Send private message
05zv7z7
Junior
Junior


Joined: 26 Oct 2021
Posts: 6

PostPosted: 12/11/2021 19:42    Post subject: Reply with quote

Is not quite clear what you want to do.
Please use this link about Counting up/down on RSLogix
PLC Programming Timers Counters - CTD | Count DOWN Instruction RSLogix Studio 5000
https://www.youtube.com/watch?v=n1gW1ZDbV94
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    plc.myforum.ro Forum Index -> ALLEN-BRADLEY(Rockwell Automation) All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Fa-ti si tu propriul forum GRATUIT, pe www.myforum.ro