Difference between revisions of "EtherCAT:EC SET CYCLETIME"

From SoftMC-Wiki
Jump to: navigation, search
Line 2: Line 2:
  
 
|DESCRIPTION=
 
|DESCRIPTION=
Set EtherCAT cycle time. Cycle time units are MICRO seconds [uSec].<br/>
+
Set EtherCAT cycle time to ALL the drives. Cycle time units are MICRO seconds [uSec].<br/>
  
 
|INPUT=
 
|INPUT=
Slaves' addresses array, new cycle time in MICRO seconds [uSec]
+
Cycle time in MICRO seconds [uSec]
  
 
|OUTPUT=
 
|OUTPUT=
Line 14: Line 14:
  
 
|DECLARATION=
 
|DECLARATION=
public sub EC_SET_CYCLETIME(slave_addr[*] as long, byval user_cycletime as long) '[usec]
+
public sub EC_SET_CYCLETIME(byval user_cycletime as long) '[usec]
  
 
|LIMITATIONS=
 
|LIMITATIONS=
Line 20: Line 20:
  
 
|SYNTAX=
 
|SYNTAX=
call EC_SET_CYCLETIME(<slaves' addresses array>, <user cycle time>)
+
call EC_SET_CYCLETIME(<user cycle time>)
  
 
|EXAMPLE=
 
|EXAMPLE=
call EC_SET_CYCLETIME(EC_SLAVE_ADDRESSES, user_cycletime)
+
call EC_SET_CYCLETIME(4000)
  
  
 
}}
 
}}

Revision as of 09:12, 10 January 2013