MLMotionCycleTime

PLCopen motion icon Pipe Network motion icon

 Function - Returns the Motion Base Cycle time in seconds.

Inputs

Input

Data Type

See Data Types.

Range

Unit

Default

Description

Enable

BOOL

FALSE, TRUE

N/A

No default

Enable execution of the function.

Outputs

Output

Data Type

See Data Types.

Range

Unit

Description

OK

BOOL

FALSE, TRUE

N/A

If TRUE, the command completed successfully.

CycleTime

LREAL

0.00025 to 0.004

Seconds

PLC cycle period in seconds.

FBD Language Example

FFLD Language Example

IL Language Example

Not available.

ST Language Example

//Read EtherCAT cycle rate in seconds
CycleTime := MLMotionCycleTime();