MLMotionCycleTime

PLCopen motion icon Pipe Network motion icon

 FunctionClosed 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

Ok BOOL If high, successful completion.
CycleTime LREAL PLCClosed "Programmable Logic Controller" A Programmable Logic Controller, PLC, or Programmable Controller is a digital computer used for automation of industrial processes, such as control of machinery on factory assembly lines. Used to synchronize the flow of inputs from (physical) sensors and events with the flow of outputs to actuators and events cycle period in seconds.

Example

Structured Text

//Read EtherCATClosed ***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

Go back to the top of the page[Top]