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

From SoftMC-Wiki
Jump to: navigation, search
Line 9: Line 9:
 
<index>: 0 ... Sercos buffer X PLS motion buffer (=40)
 
<index>: 0 ... Sercos buffer X PLS motion buffer (=40)
  
<pls>.PLSdelaytime[<index>]: -1, 0 to cycleTime-5
+
<pls>.PLSdelaytime[<index>]: -1, 0 to maxLong
  
 
|UNITS= microseconds
 
|UNITS= microseconds

Revision as of 07:44, 16 May 2012

Returns the current state of the PLS 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>.PLSdelaytime[<index>]

Availability

4.7.8

Type

long

Range

<index>: 0 ... Sercos buffer X PLS motion buffer (=40)

<pls>.PLSdelaytime[<index>]: -1, 0 to maxLong

Units

microseconds

Default

-1 (no pls in the sample)

Scope

Terminal/Task

Limitations

Read-Only

Examples

?P1.PLSdelaytime [1]

See Also

HWIOtime
PLS Timinig Issues