Difference between revisions of "EtherCAT:EC SET CYCLETIME"

From SoftMC-Wiki
Jump to: navigation, search
m
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Axystems:Template:EtherCAT-Function
+
{{Languages|EtherCAT:EC_SET_CYCLETIME}}
 +
{{Template:EtherCAT-Advanced_Function
  
 
|DESCRIPTION=
 
|DESCRIPTION=
 
Set EtherCAT cycle time to ALL the drives. Cycle time units are MICRO seconds [uSec].<br/>
 
Set EtherCAT cycle time to ALL the drives. Cycle time units are MICRO seconds [uSec].<br/>
 +
This subroutine is called from EC_SETUP.PRG. The user shouldn't invoke this subroutine.
 +
Global variable used: EC_BUS_CYCLETIME
  
 
|INPUT=
 
|INPUT=
Cycle time in MICRO seconds [uSec]
+
None
  
 
|OUTPUT=
 
|OUTPUT=
Line 14: Line 17:
  
 
|DECLARATION=
 
|DECLARATION=
public sub EC_SET_CYCLETIME(byval user_cycletime as long) '[usec]
+
public sub EC_SET_CYCLETIME
  
 
|LIMITATIONS=
 
|LIMITATIONS=
Line 20: Line 23:
  
 
|SYNTAX=
 
|SYNTAX=
call EC_SET_CYCLETIME(<user cycle time>)
+
call EC_SET_CYCLETIME
  
 
|EXAMPLE=
 
|EXAMPLE=
call EC_SET_CYCLETIME(4000)
+
call EC_SET_CYCLETIME
  
 +
|SEE ALSO=
 +
* [[EtherCAT:EC_SET_BUS_CYCLETIME|EC_SET_BUS_CYCLETIME]]
 +
* [[EtherCAT:EC_GET_BUS_CYCLETIME|EC_GET_BUS_CYCLETIME]]
  
 
}}
 
}}

Latest revision as of 09:15, 7 May 2017

Language: English  • 中文(简体)‎

Set EtherCAT cycle time to ALL the drives. Cycle time units are MICRO seconds [uSec].
This subroutine is called from EC_SETUP.PRG. The user shouldn't invoke this subroutine. Global variable used: EC_BUS_CYCLETIME

Input

None

Output

None

Return Value

Void

Declaration

public sub EC_SET_CYCLETIME

Syntax

call EC_SET_CYCLETIME

Limitations

user_cycletime must be greater than 0, and in MICRO SECONDS

Examples

call EC_SET_CYCLETIME

See Also