Difference between revisions of "MC-Basic:pls.HWIOtime"

From SoftMC-Wiki
Jump to: navigation, search
m
Line 6: Line 6:
 
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
 
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
 
|TYPE= long
 
|TYPE= long
|RANGE= 0 ... Sercos buffer X PLS motion buffer (=40)
+
|RANGE=  
 +
<index>: 0 ... Sercos buffer X PLS motion buffer (=40)
 +
<pls>.HWIOtime[<index>]: 0 to maxLong
 
|UNITS=  microseconds
 
|UNITS=  microseconds
|DEFAULT=
+
|DEFAULT= -1 (buffer empty)
 
|SCOPE= Terminal/Task
 
|SCOPE= Terminal/Task
 
|LIMITATIONS= Read-Only
 
|LIMITATIONS= Read-Only

Revision as of 07:36, 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>]: 0 to maxLong

Units

microseconds

Default

-1 (buffer empty)

Scope

Terminal/Task

Limitations

Read-Only

Examples

?P1.HWIOtime[1]

See Also

PLSdelaytime
PLS Timinig Issues