#BT_REMAINING_CYCLE_TIME is not a function. it is ENUM value (literal), as seen by prefix '#'
Where can i found amount of time from last brake test?
- Dzonzi
- Thread is Unresolved
-
-
God damn panic mode you have an IQ over 160. I hope i will be as good at kuka robotics as you one day.
-
well... this was normally already declared in
KRC:\R1\TP\BrakeTest\BrakeTestReq.dat
at least that was the case in KSS 8.3
i see that on KSS 8.5 the declaration of brakeTestDevName[] is missing but brakeTestMdbName[] is still there....
quick check at Xpert confirms that this has changed.
on KSS8.5 and newer one gets the values using new function:
real1=GET_BRAKETEST_TIME(#BT_REMAINING_CYCLE_TIME)
real2=GET_BRAKETEST_TIME(#BT_REMAINING_MON_TIME)
real3=GET_BRAKETEST_TIME(#BT_CONFIG_CYCLE_TIME)
so to get time since last brake test you would compute real3-real2
But result of this operation is always 44 ;/
I find out that real2 is always 2 and real3 is 46.
-
please ALWAYS state the relevant info... what KSS? what function you are talking about?
if you are talking about KSS8.3 and values of the array.. that array has 5 elements... would you be kind to take a look at remaining values too? as already shown, there are some version differences and this is not something documented soo... forgive me for having to guess what those values are. so, just check other elements of the array, it is only 5 of them, not 5000. then try to deduce what you may be looking at. this was working fine for determining time to next brake test on KSS8.3, maybe your version has the values arranged differently. i already mentioned that i don't know the meaning of each value and that this was a guess.
from SafeOperation manual it is known that:
1. 2h period is grace period for brake test. it lets you run for up to 2h before brake test is required. this is fixed value and seem to be one of the values you are observing.
2. 46h is default brake test interval, which is another value you mention.
3. and 46-2 is 44... so unless one of those two values changes, difference will also be the same. so just check those other values in that array...
if you are using KSS8.5, then values should be as selected by ENUM.
-
I think i use KSS 8.6.6. I will check it tomorrow. God damn... i didnt even know that array has 5 elements.
-
-
Ok, i got it. I will check it. Thanks
-
Nothing is assigned to those elements in that array. Im talking about KSS 8.6.6. In function GET_BRAKETEST_TIME there are only 3 value of enume type and none is what im looking for.
Create an account or sign in to comment
You need to be a member in order to leave a comment