Difference between revisions of "EtherCAT:EC SET CYCLETIME"
(Created page with "{{Axystems:Template:EtherCAT-Function |DESCRIPTION= Set EtherCAT cycle time. Cycle time units are MICRO seconds [uSec].<br/> |INPUT= slaves' addresses array, user cycle time...") |
m |
||
| (6 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| − | {{ | + | {{Languages|EtherCAT:EC_SET_CYCLETIME}} |
| + | {{Template:EtherCAT-Advanced_Function | ||
|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/> |
| + | This subroutine is called from EC_SETUP.PRG. The user shouldn't invoke this subroutine. | ||
| + | Global variable used: EC_BUS_CYCLETIME | ||
|INPUT= | |INPUT= | ||
| − | + | None | |
|OUTPUT= | |OUTPUT= | ||
| Line 14: | Line 17: | ||
|DECLARATION= | |DECLARATION= | ||
| − | public sub EC_SET_CYCLETIME | + | public sub EC_SET_CYCLETIME |
| + | |||
| + | |LIMITATIONS= | ||
| + | user_cycletime must be greater than 0, and in MICRO SECONDS | ||
|SYNTAX= | |SYNTAX= | ||
| − | call EC_SET_CYCLETIME | + | call EC_SET_CYCLETIME |
|EXAMPLE= | |EXAMPLE= | ||
| − | call EC_SET_CYCLETIME | + | 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