MC-Basic:element.CURRENTTIME/zh-hans
语言: | [[::MC-Basic:element.CURRENTTIME|English]] • [[::MC-Basic:element.CURRENTTIME/zh-hans|中文(简体)]] |
---|
缩写
element.Ctime
格式
?<element>Ctime
适用版本
从版本4.5.25起或更高
描述
Returns the total time of the currently executing motion. Values:
-1 = No motion active
-2 = Not applicable (PrfType = 0 or 1)
> 0 = Current 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. |
类型
Long
取值范围
-2…MaxInt
单位
milliseconds
默认
使用范围
Task, terminal
限制
Read-only
例子
Axis
?A1.currenttime
Group
?G1.currenttime