Open Core Interface - MLPI
MLPI-MotionLogicProgrammingInterface(mlpi4LabVIEW)  1.26.2
Structs, Types, ...
Collaboration diagram for Structs, Types, ...:

Typedefs

typedef enum MlpiTaskEvent MlpiTaskEvent
 
typedef enum MlpiSystemTask MlpiSystemTask
 
typedef enum MlpiTaskTriggerEvent MlpiTaskTriggerEvent
 
typedef enum MlpiTaskTriggerOption MlpiTaskTriggerOption
 
typedef enum MlpiTaskViewerState MlpiTaskViewerState
 
typedef struct MlpiTaskTriggerSetup MlpiTaskTriggerSetup
 
typedef struct MlpiTaskTrigger MlpiTaskTrigger
 

Enumerations

Variables

static const ULONG MLPI_PRIORITY_HIGH_MAX = 1
 
static const ULONG MLPI_PRIORITY_HIGH_MIN = 20
 
static const ULONG MLPI_PRIORITY_BACKGROUND = 254
 

Detailed Description

List of used types, enumerations, structures and more...

Typedef Documentation

There are different system task events in the system.

There are different system tasks.

There are different trigger events.

There are different trigger options.

There are different task viewer states.

MlpiTaskTriggerSetup

This structure defines the information needed to get or set the trigger setup.

Elements of structure MlpiTaskTriggerSetup

Type Element Description
MlpiTaskTriggerOption triggerOption Options for task trigger
BOOL8 active Option active or inactive
MlpiTaskTrigger

This structure defines the information to trigger events.

Elements of structure MlpiTaskTrigger

Type Element Description
MlpiTaskTriggerEvent triggerEvent Event which should be triggered
BOOL8 active Event active or inactive
USHORT numTriggers Number of triggers for an event

Enumeration Type Documentation

There are different system task events in the system.

Enumerator
MLPI_TASKEVENT_SERCOS_CYCLE 

This event raises every new sercos cycle after the actual values arrive.

MLPI_TASKEVENT_MOTION_CYCLE 

This event raises every new motion cycle after the actual values of all axes have been updated.

MLPI_TASKEVENT_WATCHDOG 

This event raises every time a watchdog expires.

MLPI_TASKEVENT_PLC_TASK_AFTER_READ_INPUTS 

This event raises after any plc task will reads its inputs (helpful for I/O simulation, e.g. write to inputs of task images).

MLPI_TASKEVENT_PLC_TASK_BEFORE_WRITE_OUTPUTS 

This event raises before any plc task will writes its outputs (helpful for I/O simulation, e.g. read from outputs of task images).

Definition at line 316 of file mlpiTaskLib.h.

There are different system tasks.

Enumerator
MLPI_TASK_MOTIONKERNEL 

This is the task which is doing all the motion calculation. For example all PLCOpen motion.

Definition at line 326 of file mlpiTaskLib.h.

There are different trigger events.

Enumerator
MLPI_TASK_TRIG_EVT_MOTION 

This event executes all motion cyclic tasks (e.g. MotionKernel for Interpolation, motion cyclic PLC-Tasks, tasks delaying on event 'MLPI_TASKEVENT_MOTION_CYCLE').

MLPI_TASK_TRIG_EVT_SERCOS 

This event executes all sercos cyclic tasks (e.g. sercos cyclic PLC-Tasks, tasks delaying on event 'MLPI_TASKEVENT_SERCOS_CYCLE').

Definition at line 332 of file mlpiTaskLib.h.

There are different trigger options.

Enumerator
MLPI_TASK_TRIG_OPT_NO_CYCLIC_MOTION 

This option says if the motion is decoupled from cyclic execution.

MLPI_TASK_TRIG_OPT_NO_CYCLIC_SERCOS 

This option says if the sercos is decoupled from cyclic execution.

MLPI_TASK_TRIG_OPT_IMMEDIATE_EXECUTION 

This option says if the execution of the external trigger should be executed immediately. The events are triggered immediately one after the other, not within their cycletimes.

MLPI_TASK_TRIG_OPT_NO_ERROR_REACTION 

This option says if decoupling of events should stay active in case of an error.

MLPI_TASK_TRIG_OPT_NO_WARNING 

This option says if an warning should be set as long as an event is decoupled from cyclic execution.

MLPI_TASK_TRIG_OPT_SYNCHRONOUS 

This option says if the call of the function 'mlpiTaskSetTrigger' should be synchronous.

Definition at line 339 of file mlpiTaskLib.h.

There are different task viewer states.

Enumerator
MLPI_TASK_VIEWER_STATE_STOPPED 

This state says that the task viewer is currently stopped.

MLPI_TASK_VIEWER_STATE_RUNNING 

This state says that the task viewer is currently running.

Definition at line 350 of file mlpiTaskLib.h.

Variable Documentation

const ULONG MLPI_PRIORITY_HIGH_MAX = 1
static

The highest available level for cyclic system/user tasks. Use with mlpiTaskSetCurrentPriority and NOT with taskSpawn!

Definition at line 307 of file mlpiTaskLib.h.

const ULONG MLPI_PRIORITY_HIGH_MIN = 20
static

The lowest available level for cyclic system/user tasks. Use with mlpiTaskSetCurrentPriority and NOT with taskSpawn!

Definition at line 308 of file mlpiTaskLib.h.

const ULONG MLPI_PRIORITY_BACKGROUND = 254
static

Default priority for user task. Use for tasks which are doing GUI, HMI, service, etc...

Definition at line 309 of file mlpiTaskLib.h.