Difference between revisions of "AXY:MC-Basic:axis.TOTALTIME"
m (Text replace - "mliseconds" to "milliseconds") |
m (Itay moved page MC-Basic:axis.TOTALTIME to AXY:MC-Basic:axis.TOTALTIME) |
||
(8 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
+ | <!-- {{Languages|MC-Basic:axis.TOTALTIME}} | ||
{{MC-Basic | {{MC-Basic | ||
|SHORT FORM= | |SHORT FORM= | ||
Line 7: | Line 8: | ||
|AVAILABILITY= | |AVAILABILITY= | ||
− | Versions 4.5.25 and higher | + | Versions Since Version 4.5.25 and higher |
|DESCRIPTION= | |DESCRIPTION= | ||
− | Returns the total time of the currently executing | + | Returns the total time of the motion currently being executing. |
− | + | Values: | |
− | - | + | -1 – No motion active |
− | 0 | + | -2 – Not applicable (PrfType = 0 or 1) |
+ | |||
+ | 0 – Cannot happen as there are no motions of zero duration | ||
+ | |||
+ | > 0 – Total time of running motion | ||
− | |||
{{Note| Note that in case of blending the '''TotalTime/CurrentTime''' of the first motion of the blending pair is returned! Once the blending ceased (only the second motion is executing, i.e. the first movement finished) the time values of the second motion are returned.}} | {{Note| Note that in case of blending the '''TotalTime/CurrentTime''' of the first motion of the blending pair is returned! Once the blending ceased (only the second motion is executing, i.e. the first movement finished) the time values of the second motion are returned.}} | ||
+ | |||
|TYPE= | |TYPE= | ||
Line 26: | Line 31: | ||
|RANGE= | |RANGE= | ||
− | -2 | + | -2 to MaxInt |
|UNITS= | |UNITS= | ||
− | milliseconds | + | milliseconds (ms) |
|DEFAULT= | |DEFAULT= | ||
Line 35: | Line 40: | ||
|SCOPE= | |SCOPE= | ||
− | Task, | + | Task, Terminal |
|LIMITATIONS= | |LIMITATIONS= | ||
− | Read | + | Read only |
|EXAMPLE= | |EXAMPLE= | ||
Line 47: | Line 52: | ||
}} | }} | ||
+ | --> |