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

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

 

 

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.

Remarks

None

FBD Language Example

FFLD Language Example

IL Language Example

Not available.

ST Language Example

//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();