Hello,
first: sorry for my English
I have a question, hope You can answer.
I would like to make a counter or a timer wich starts when my robot is on fault or hold.
Is there any option for it?
Simple R30.
Thank you for reading, have a good day!
Hello,
first: sorry for my English
I have a question, hope You can answer.
I would like to make a counter or a timer wich starts when my robot is on fault or hold.
Is there any option for it?
Simple R30.
Thank you for reading, have a good day!
Eit whats up .
Sorry for my english too. That is posible whit bglogic.
First make a conditional program, this should check the uo or di signals for fault or hold. Ok see you. From México to the world
Here is an example
1: LBL[1] ;
2: IF SO[3:Fault LED]=OFF,JMP LBL[2] ;
3: TIMER[9]=RESET ;
4: TIMER[9]=START ;
5: WAIT SO[3:Fault LED]=OFF ;
6: TIMER[9]=STOP ;
7: R[80]=TIMER[9] ;
8: LBL[2] ;
9: JMP LBL[1] ;
Just curious, what is the reason of conditional jump to LBL[1] via jump to LBL[2].
Why not directly to LBL[1]?
Hmmm good idea. Probably habit, I'm used to jumping past conditional code and continuing with the program. Maybe I was tired and just didn't notice, or ......... I don't know!!!!!