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
Enable | BOOL | Enable execution of the function |
Outputs
Example
Structured Text
//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();
Ladder Diagram
Function Block Diagram