giogio3223 Junior

Joined: 08 Jun 2014 Posts: 12
|
Posted: 12/11/2021 13:09 Post subject: Timer management |
|
|
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] |
|