Difference between revisions of "MC-Basic:pls.HWIOtime"
Line 14: | Line 14: | ||
|DEFAULT= -1 (buffer empty) | |DEFAULT= -1 (buffer empty) | ||
|SCOPE= Terminal/Task | |SCOPE= Terminal/Task | ||
− | |LIMITATIONS= Read-Only | + | |LIMITATIONS= |
− | |EXAMPLE= ?P1.HWIOtime[1] | + | |
+ | Read-Only | ||
+ | |||
+ | must query HW_PLS_DEBUG_LVL_SET(2,0,0) | ||
+ | |EXAMPLE= | ||
+ | ?HW_PLS_DEBUG_LVL_SET(2,0,0) | ||
+ | |||
+ | ?P1.HWIOtime[1] | ||
+ | |||
|SEE ALSO= | |SEE ALSO= | ||
[[Axystems:MC-Basic:pls.PLSdelaytime| PLSdelaytime]]<br> | [[Axystems:MC-Basic:pls.PLSdelaytime| PLSdelaytime]]<br> |
Revision as of 07:46, 16 May 2012
Returns the current state of the hardware time buffers, if nothing assigned -1 is returned, else the time in microseconds inside the current sample when the PLS will be triggered
Syntax
<pls>.HWIOtime[<index>]
Availability
4.7.8
Type
long
Range
<index>: 0 ... Sercos buffer X PLS motion buffer (=40)
<pls>.HWIOtime[<index>]: -1, 0 to cycleTime-5
Units
microseconds
Default
-1 (buffer empty)
Scope
Terminal/Task
Limitations
Read-Only
must query HW_PLS_DEBUG_LVL_SET(2,0,0)
Examples
?HW_PLS_DEBUG_LVL_SET(2,0,0)
?P1.HWIOtime[1]