MLMotionCycleTime
Function A function calculates a result according to the current value of its inputs. A function has no internal data and is not linked to declared instances. - Returns the Motion Base Cycle time in seconds.
Inputs
Input |
Data Type |
Range |
Unit |
Default |
Description |
---|---|---|---|---|---|
Enable |
BOOL |
|
|
|
Enable execution of the function. |
Outputs
Output |
Data Type |
Range |
Unit |
Description |
---|---|---|---|---|
OK |
BOOL |
|
|
If high, successful completion. |
CycleTime |
LREAL |
|
|
Remarks
None
FBD Language Example
FFLD Language Example
IL Language Example
Not available.
ST Language Example
//Read EtherCAT ***EtherCAT is an open, high-performance Ethernet-based fieldbus system. The development goal of EtherCAT was to apply Ethernet to automation applications which require short data update times (also called cycle times) with low communication jitter (for synchronization purposes) and low hardware costs cycle rate in seconds
CycleTime := MLMotionCycleTime();