Difference between revisions of "MC-Basic:pls.HWIOtime"
m (Miborich moved page Axystems:MC-Basic:pls.HWIOtime to MC-Basic:pls.HWIOtime: Global renaming of Axystems: namespace into (Main):) |
|||
Line 25: | Line 25: | ||
|SEE ALSO= | |SEE ALSO= | ||
− | [[ | + | [[MC-Basic:pls.PLSdelaytime| PLSdelaytime]]<br> |
[[Axystems:PLS Timing Issues| PLS Timinig Issues]] | [[Axystems:PLS Timing Issues| PLS Timinig Issues]] | ||
}} | }} |
Revision as of 08:53, 22 May 2014
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
lDummy = HW_PLS_DEBUG_LVL_SET(2,0,0)
?P1.HWIOtime[1]