![]() |
Typedefs | |
typedef void(* | MLPIPOUFNCPTR) (void *) |
typedef struct MlpiApplicationTaskInfo | MlpiApplicationTaskInfo |
typedef struct MlpiApplicationInfo | MlpiApplicationInfo |
typedef struct MlpiApplicationOpState | MlpiApplicationOpState |
typedef struct MlpiLogicArrayRange | MlpiLogicArrayRange |
typedef struct MlpiLogicSymbolInformation | MlpiLogicSymbolInformation |
typedef struct MlpiLogicUserTypeInformation | MlpiLogicUserTypeInformation |
Enumerations |
List of used types, enumerations, structures and more...
#define MLPI_LOGIC_MAX_DIMENSION_OF_ARRAY ( 3) |
Maximum dimension of an array.
Definition at line 484 of file mlpiLogicLib.h.
#define MLPI_APPLICATION_MAX_LENGTH_OF_POU_NAME ( 81) |
Maximum length of name of a POU.
Definition at line 486 of file mlpiLogicLib.h.
#define MLPI_APPLICATION_MAX_LENGTH_OF_TASK_NAME (260) |
Maximum length of name of a task.
Definition at line 487 of file mlpiLogicLib.h.
#define MLPI_APPLICATION_MAX_LENGTH_OF_INFO (260) |
Maximum length of info element of application.
Definition at line 488 of file mlpiLogicLib.h.
#define MLPI_APPLICATION_OP_STATE_NONE (0x00000000) |
Operation states of an application: Unspecified state (init state)
Definition at line 490 of file mlpiLogicLib.h.
#define MLPI_APPLICATION_OP_STATE_PROGRAM_LOADED (0x00000001) |
Operation states of an application: Application is completely loaded.
Definition at line 491 of file mlpiLogicLib.h.
#define MLPI_APPLICATION_OP_STATE_DOWNLOAD (0x00000002) |
Operation states of an application: Application download in progress.
Definition at line 492 of file mlpiLogicLib.h.
#define MLPI_APPLICATION_OP_STATE_ONLINE_CHANGE (0x00000004) |
Operation states of an application: Application online-change in progress.
Definition at line 493 of file mlpiLogicLib.h.
#define MLPI_APPLICATION_OP_STATE_STORE_BOOTPROJECT (0x00000008) |
Operation states of an application: Store bootproject in progress.
Definition at line 494 of file mlpiLogicLib.h.
#define MLPI_APPLICATION_OP_STATE_FORCE_ACTIVE (0x00000010) |
Operation states of an application: Force values is active on the application.
Definition at line 495 of file mlpiLogicLib.h.
#define MLPI_APPLICATION_OP_STATE_EXCEPTION (0x00000020) |
Operation states of an application: Application is in exception state (an exception occurred in this application)
Definition at line 496 of file mlpiLogicLib.h.
#define MLPI_APPLICATION_OP_STATE_RUN_AFTER_DOWNLOAD (0x00000040) |
Operation states of an application: Download code at the end of download is in progress (initialization of the application)
Definition at line 497 of file mlpiLogicLib.h.
#define MLPI_APPLICATION_OP_STATE_STORE_BOOTPROJECT_ONLY (0x00000080) |
Operation states of an application: Only the boot project is stored at download.
Definition at line 498 of file mlpiLogicLib.h.
#define MLPI_APPLICATION_OP_STATE_EXIT (0x00000100) |
Operation states of an application: Application exit is still executed (application is no longer active)
Definition at line 499 of file mlpiLogicLib.h.
#define MLPI_APPLICATION_OP_STATE_DELETE (0x00000200) |
Operation states of an application: Application is deleted (object is available, but the content is deleted)
Definition at line 500 of file mlpiLogicLib.h.
#define MLPI_APPLICATION_OP_STATE_RESET (0x00000400) |
Operation states of an application: Application reset is in progress.
Definition at line 501 of file mlpiLogicLib.h.
#define MLPI_APPLICATION_OP_STATE_RETAIN_MISMATCH (0x00000800) |
Operation states of an application: Retain mismatch occurred during loading the boot project (retain data does not match the application)
Definition at line 502 of file mlpiLogicLib.h.
#define MLPI_APPLICATION_OP_STATE_BOOTPROJECT_VALID (0x00001000) |
Operation states of an application: Boot project available (boot project matched running application in RAM)
Definition at line 503 of file mlpiLogicLib.h.
#define MLPI_APPLICATION_OP_STATE_LOAD_BOOTPROJECT (0x00002000) |
Operation states of an application: Loading of the boot project in progress.
Definition at line 504 of file mlpiLogicLib.h.
#define MLPI_APPLICATION_OP_STATE_FLOW_ACTIVE (0x00004000) |
Operation states of an application: Flow control active.
Definition at line 505 of file mlpiLogicLib.h.
#define MLPI_APPLICATION_OP_STATE_RUN_IN_FLASH (0x00008000) |
Operation states of an application: Application is running in flash.
Definition at line 506 of file mlpiLogicLib.h.
typedef void(* MLPIPOUFNCPTR) (void *) |
MLPI POU function pointer 'void function(void*);'.
Definition at line 652 of file mlpiLogicLib.h.
MlpiApplicationTaskInfo |
This structure defines the information about an IEC task using mlpiLogicGetTaskInfoOfApplication.
Elements of struct MlpiApplicationTaskInfo
Type | Element | Description. |
---|---|---|
WCHAR16[] | name | name of the IEC task. |
ULONG | priority | priority of the IEC task. |
BOOL8 | watchdog | state of watchdog enabling. |
ULONG | watchdogTime | watchdog time. |
ULONG | cycleTime | cycletime of the IEC task. |
ULONG | averageCycleTime | average cycletime of the IEC task. |
ULONG | maxCycleTime | maximum cycletime of the IEC task. |
ULONG | minCycleTime | minimum cycletime of the IEC task. |
ULONG | cycleCount | actual cycleCount of the IEC task. |
MlpiApplicationInfo |
This structure defines the information about the application using mlpiLogicGetInfoOfApplication.
Elements of struct MlpiApplicationInfo
Type | Element | Description |
---|---|---|
WCHAR16[] | name | name of project. |
WCHAR16[] | author | author of application. |
WCHAR16[] | version | version of application (e.g. "1.0.0.0"). |
WCHAR16[] | description | description of application. |
WCHAR16[] | profile | profile of application. |
MlpiDateAndTime | dateTime | date and time of last modification (e.g. "2010-12-31 12:00:00") (UTC). |
MlpiApplicationOpState |
This structure defines the operation states of an application using mlpiLogicGetOperationStateOfApplication.
Elements of struct MlpiApplicationOpState
Type | Element | Description |
---|---|---|
BOOL8 | none | Unspecified state (init state). |
BOOL8 | loaded | Application is completely loaded. |
BOOL8 | downloadActive | Application download in progress. |
BOOL8 | onlineChangeActive | Application online-change in progress. |
BOOL8 | storeBootprojectActive | Storing of bootproject in progress. |
BOOL8 | forceVariablesActive | Force values is active on the application. |
BOOL8 | exception | Application is in exception state (an exception occurred in this application). |
BOOL8 | initializeActive | Download code at the end of download is in progress (initialization of the application). |
BOOL8 | storeBootprojectOnlyActive | Only the bootproject is stored at download. |
BOOL8 | exitActive | Application exit is still executed (application is no longer active). |
BOOL8 | deleted | Application is deleted (object is available, but the content is deleted). |
BOOL8 | resetActive | Application reset is in progress. |
BOOL8 | retainMismatch | Retain mismatch occurred during loading of the boot project (retain data does not match the application). |
BOOL8 | bootprojectValid | Boot project available (boot project matched running application in RAM). |
BOOL8 | loadBootprojectActive | Loading of boot project in progress. |
BOOL8 | flowControlActive | Flow control active. |
BOOL8 | runInFlash | Application is running in flash. |
MlpiLogicArrayRange |
This structure defines the range of an array dimension.
Elements of struct MlpiLogicArrayRange
Type | Element | Description |
---|---|---|
ULONG | minimum | Minimum range value of array. |
ULONG | maximum | Maximum range value of array. |
MlpiLogicSymbolInformation |
This structure defines the information about a symbol using mlpiLogicGetInformationOfSymbol.
Elements of struct MlpiLogicSymbolInformation
Type | Element | Description |
---|---|---|
MlpiLogicType | type | Type of symbol. |
MlpiLogicType | subType | Type of symbol if 'type' equal MLPI_LOGIC_TYPE_ARRAY. |
ULONG | dataSize | Size of symbol (bytes). |
ULONG | numElements | Number of elements. |
ULONG | dimension | Dimension of array if 'type' equal MLPI_LOGIC_TYPE_ARRAY. |
MlpiLogicArrayRange | range | Range of a dimension of array if 'type' equal MLPI_LOGIC_TYPE_ARRAY. |
MlpiLogicSymbolAccessRights | accessRights | Access rights to symbol. |
MlpiLogicUserTypeInformation |
This structure defines the information about a type of a symbol using mlpiLogicGetInformationOfUserType.
Elements of struct MlpiLogicSymbolInformation
Type | Element | Description |
---|---|---|
WCHAR16 | name | Name of user type variable. |
MlpiLogicSymbolInformation | info | Information about user type variable. |
enum MlpiApplicationState |
This enumeration defines the state of an application using mlpiLogicGetStateOfApplication.
Definition at line 513 of file mlpiLogicLib.h.
This enumeration defines the different reset possibilities of an application using mlpiLogicResetApplication.
Definition at line 524 of file mlpiLogicLib.h.
enum MlpiApplicationEvent |
This enumeration defines the event of an application using by mlpiLogicWaitForEventOfApplication.
Definition at line 533 of file mlpiLogicLib.h.
This enumeration defines the memory areas 'Ix' (Input), 'Qx' (Output) and 'Mx' (Marker) of an application.
Definition at line 555 of file mlpiLogicLib.h.
This enumeration defines an operation which can be enabled or disabled by mlpiLogicSetCapabilityOfOperation. The current capability can be read by mlpiLogicGetCapabilityOfOperation . The capability will be set globally for all applications.
Definition at line 566 of file mlpiLogicLib.h.
This enumeration defines the possible capability to execute an operation.
Enumerator | |
---|---|
MLPI_LOGIC_CAP_OPERATION_ENABLE |
Enable capability to execute an operation (default). |
MLPI_LOGIC_CAP_OPERATION_DISABLE |
Disable capability to execute an operation. |
Definition at line 579 of file mlpiLogicLib.h.
This enumeration defines the access rights to a variable using mlpiLogicGetAccessRightsOfSymbol.
Definition at line 587 of file mlpiLogicLib.h.
enum MlpiLogicType |
This enumeration defines the different symbol types of the logic using mlpiLogicGetTypeOfSymbol.
Definition at line 597 of file mlpiLogicLib.h.