Open Core Interface - MLPI
MLPI-MotionLogicProgrammingInterface(mlpiCore)  1.26.2
mlpiLogicLib.h
Go to the documentation of this file.
1 #ifndef __MLPILOGICLIB_H__
2 #define __MLPILOGICLIB_H__
3 
4 // -----------------------------------------------------------------------
5 // MLPI - <mlpiLogicLib.h>
6 // -----------------------------------------------------------------------
7 // Copyright (c) 2013 Bosch Rexroth. All rights reserved.
8 // Redistribution and use in source and binary forms of this MLPI software
9 // (SW) provided to you, with or without modification, are permitted
10 // without prior approval provided that the following conditions are met:
11 //
12 // 1. Redistributions of source code of SW must retain the above copyright
13 // notice, this list of conditions and the following disclaimer.
14 //
15 // 2. Redistributions in binary form of SW must reproduce the above copyright
16 // notice, this list of conditions and the following disclaimer in the
17 // documentation and/or other materials provided with the distribution.
18 //
19 // 3. User recognizes and acknowledges that it acquires no right,
20 // title or interest in or to any of the names or trademarks used in
21 // connection with the SW ("names") by virtue of this License and waives
22 // any right to or interest in the names. User recognizes and acknowledges
23 // that names of companies or names or products of companies displayed
24 // in the documentation of SW to indicate the interoperability of products
25 // with the SW are the names of their respective owners. The use of such
26 // names in the documentation of SW does not imply any sponsorship,
27 // approval, or endorsement by such companies of this product.
28 //
29 // 4. Modified code versions, i.e. any addition to or deletion from
30 // the substance or structure of the original code of the SW running
31 // the MLPI must be plainly marked as such and must not be misrepresented
32 // as being original SW.
33 //
34 // 5. The SW may only be used in connection with a Bosch Rexroth product.
35 //
36 // THIS INFORMATION IS PROVIDED BY BOSCH REXROTH CORPORATION "AS IS"
37 // AND WITHOUT WARRANTY OF ANY KIND, EXPRESSED OR IMPLIED, INCLUDING
38 // (BUT NOTLIMITED TO) ANY IMPLIED WARRANTIES OF MERCHANTABILITY,
39 // FITNESS FOR ANY PARTICULAR PURPOSE, OR NON-INFRINGEMENT. WHILE THE
40 // INFORMATION PROVIDED IS BELIEVED TO BE ACCURATE, IT MAY INCLUDE
41 // ERRORS OR INACCURACIES.
42 // SUBJECT TO COMPULSORY STATUTORY PROVISIONS OF THE GERMAN LAW AS
43 // THE APPLICABLE LAW FOR THIS LICENSE BOSCH REXROTH CORPORATION WILL
44 // NOT BE LIABLE FOR ANY DAMAGES OF ANY KIND ARISING FROM THE USE OF
45 // THE SOFTWARE DISTRIBUTED HEREUNDER, INCLUDING BUT NOT LIMITED TO
46 // DIRECT, INDIRECT, INCIDENTAL, PUNITIVE, AND CONSEQUENTIAL DAMAGES.
47 // -----------------------------------------------------------------------
48 //
58 //
59 // -----------------------------------------------------------------------
60 
61 
109 
110 
111 
112 
113 
119 
134 
151 
188 
225 
260 
295 
296 
467 
468 
473 
474 
475 // -----------------------------------------------------------------------
476 // GLOBAL INCLUDES
477 // -----------------------------------------------------------------------
478 #include "mlpiGlobal.h"
479 
480 
481 // -----------------------------------------------------------------------
482 // GLOBAL CONSTANTS
483 // -----------------------------------------------------------------------
484 #define MLPI_LOGIC_MAX_DIMENSION_OF_ARRAY ( 3)
485 
486 #define MLPI_APPLICATION_MAX_LENGTH_OF_POU_NAME ( 81)
487 #define MLPI_APPLICATION_MAX_LENGTH_OF_TASK_NAME (260)
488 #define MLPI_APPLICATION_MAX_LENGTH_OF_INFO (260)
489 
490 #define MLPI_APPLICATION_OP_STATE_NONE (0x00000000)
491 #define MLPI_APPLICATION_OP_STATE_PROGRAM_LOADED (0x00000001)
492 #define MLPI_APPLICATION_OP_STATE_DOWNLOAD (0x00000002)
493 #define MLPI_APPLICATION_OP_STATE_ONLINE_CHANGE (0x00000004)
494 #define MLPI_APPLICATION_OP_STATE_STORE_BOOTPROJECT (0x00000008)
495 #define MLPI_APPLICATION_OP_STATE_FORCE_ACTIVE (0x00000010)
496 #define MLPI_APPLICATION_OP_STATE_EXCEPTION (0x00000020)
497 #define MLPI_APPLICATION_OP_STATE_RUN_AFTER_DOWNLOAD (0x00000040)
498 #define MLPI_APPLICATION_OP_STATE_STORE_BOOTPROJECT_ONLY (0x00000080)
499 #define MLPI_APPLICATION_OP_STATE_EXIT (0x00000100)
500 #define MLPI_APPLICATION_OP_STATE_DELETE (0x00000200)
501 #define MLPI_APPLICATION_OP_STATE_RESET (0x00000400)
502 #define MLPI_APPLICATION_OP_STATE_RETAIN_MISMATCH (0x00000800)
503 #define MLPI_APPLICATION_OP_STATE_BOOTPROJECT_VALID (0x00001000)
504 #define MLPI_APPLICATION_OP_STATE_LOAD_BOOTPROJECT (0x00002000)
505 #define MLPI_APPLICATION_OP_STATE_FLOW_ACTIVE (0x00004000)
506 #define MLPI_APPLICATION_OP_STATE_RUN_IN_FLASH (0x00008000)
507 
508 // -----------------------------------------------------------------------
509 // GLOBAL ENUMERATIONS
510 // -----------------------------------------------------------------------
514 {
521 
525 {
530 
534 {
552 
556 {
561 
567 {
576 
580 {
584 
588 {
594 
597 typedef enum MlpiLogicType
598 {
640 } MlpiLogicType;
641 
642 
643 // -----------------------------------------------------------------------
644 // GLOBAL TYPEDEFS
645 // -----------------------------------------------------------------------
646 
647 // message packing follows 8 byte natural alignment
648 #if !defined(TARGET_OS_VXWORKS)
649 #pragma pack(push,8)
650 #endif
651 
652 typedef void (*MLPIPOUFNCPTR)(void*);
653 
654 
670 typedef struct MlpiApplicationTaskInfo
671 {
673  ULONG priority;
674  BOOL8 watchdog;
675  ULONG watchdogTime;
676  ULONG cycleTime;
677  ULONG averageCycleTime;
678  ULONG maxCycleTime;
679  ULONG minCycleTime;
680  ULONG cycleCount;
682 
695 typedef struct MlpiApplicationInfo
696 {
702  MlpiDateAndTime dateTime;
704 
729 typedef struct MlpiApplicationOpState
730 {
731  BOOL8 none;
732 
733  BOOL8 loaded;
734  BOOL8 downloadActive;
735  BOOL8 onlineChangeActive;
736  BOOL8 storeBootprojectActive;
737 
738  BOOL8 forceVariablesActive;
739  BOOL8 exception;
740  BOOL8 initializeActive;
741  BOOL8 storeBootprojectOnlyActive;
742 
743  BOOL8 exitActive;
744  BOOL8 deleted;
745  BOOL8 resetActive;
746  BOOL8 retainMismatch;
747 
748  BOOL8 bootprojectValid;
749  BOOL8 loadBootprojectActive;
750  BOOL8 flowControlActive;
751  BOOL8 runInFlash;
753 
762 typedef struct MlpiLogicArrayRange
763 {
764  ULONG minimum;
765  ULONG maximum;
767 
781 typedef struct MlpiLogicSymbolInformation
782 {
783  MlpiLogicType type;
784  MlpiLogicType subType;
785  ULONG dataSize;
786  ULONG numElements;
787  ULONG dimension;
789  MlpiLogicSymbolAccessRights accessRights;
791 
800 typedef struct MlpiLogicUserTypeInformation
801 {
805 
806 #if !defined(TARGET_OS_VXWORKS)
807 #pragma pack(pop)
808 #endif
809 
811 
812 // -----------------------------------------------------------------------
813 // GLOBAL EXPORTS
814 // -----------------------------------------------------------------------
815 #ifdef MLPI_API
816  #undef MLPI_API
817 #endif
818 
819 
820 #if defined(TARGET_OS_WINNT)
821  #if defined(MLPI_EXPORTS)
822  #define MLPI_API __declspec(dllexport)
823  #elif defined(MLPI_IMPORTS)
824  #define MLPI_API __declspec(dllimport)
825  #else
826  #define MLPI_API
827  #endif
828 #else
829  #if defined(MLPI_EXPORTS)
830  #define MLPI_API __attribute__ ((visibility("default")))
831  #elif defined(MLPI_IMPORTS)
832  #define MLPI_API
833  #else
834  #define MLPI_API
835  #endif
836 #endif
837 
838 
839 #ifdef __cplusplus
840 extern "C" {
841 #endif
842 
843 
856 MLPI_API MLPIRESULT mlpiLogicGetNumberOfApplications(const MLPIHANDLE connection, ULONG* number);
857 
858 
874 MLPI_API MLPIRESULT mlpiLogicGetNameOfApplication(const MLPIHANDLE connection, const ULONG index, WCHAR16* application, const ULONG numElements);
875 
876 
956 MLPI_API MLPIRESULT mlpiLogicLoadBootApplication(const MLPIHANDLE connection, const WCHAR16 *file, const WCHAR16 *path, WCHAR16 *application, const ULONG numElements);
957 
958 
970 MLPI_API MLPIRESULT mlpiLogicStopApplication(const MLPIHANDLE connection, const WCHAR16 *application = 0);
971 
972 
984 MLPI_API MLPIRESULT mlpiLogicStartApplication(const MLPIHANDLE connection, const WCHAR16 *application = 0);
985 
986 
998 MLPI_API MLPIRESULT mlpiLogicRunSingleCycleApplication(const MLPIHANDLE connection, const WCHAR16 *application = 0);
999 
1000 
1026 MLPI_API MLPIRESULT mlpiLogicResetApplication(const MLPIHANDLE connection, const MlpiApplicationResetMode resetMode, const WCHAR16 *application = 0);
1027 
1028 
1043 MLPI_API MLPIRESULT mlpiLogicGetStateOfApplication(const MLPIHANDLE connection, const WCHAR16 *application, MlpiApplicationState* state);
1044 
1045 
1064 MLPI_API MLPIRESULT mlpiLogicGetOperationStateOfApplicationUlong(const MLPIHANDLE connection, const WCHAR16 *application, ULONG* state);
1065 
1066 
1084 MLPI_API MLPIRESULT mlpiLogicGetOperationStateOfApplication(const MLPIHANDLE connection, const WCHAR16 *application, MlpiApplicationOpState* state);
1085 
1086 
1105 MLPI_API MLPIRESULT mlpiLogicGetTaskInfoOfApplication(const MLPIHANDLE connection, const WCHAR16* application, MlpiApplicationTaskInfo *taskInfo, const ULONG numElements, ULONG *numElementsRet = 0);
1106 
1107 
1123 MLPI_API MLPIRESULT mlpiLogicGetInfoOfApplication(const MLPIHANDLE connection, const WCHAR16* application, MlpiApplicationInfo *info);
1124 
1125 
1147 MLPI_API MLPIRESULT mlpiLogicSaveRetainOfApplication(const MLPIHANDLE connection, const WCHAR16* application, const WCHAR16* path = 0);
1148 
1149 
1170 MLPI_API MLPIRESULT mlpiLogicRestoreRetainOfApplication(const MLPIHANDLE connection, const WCHAR16* application, const WCHAR16* path);
1171 
1172 
1190 MLPI_API MLPIRESULT mlpiLogicWaitForEventOfApplication(const MLPIHANDLE connection, const WCHAR16* application, const MlpiApplicationEvent event, const ULONG timeout);
1191 
1192 
1208 MLPI_API MLPIRESULT mlpiLogicGetStopAxesConfiguration(const MLPIHANDLE connection, WCHAR16* configuration, const ULONG numElements, ULONG *numElementsRet);
1209 
1210 
1236 MLPI_API MLPIRESULT mlpiLogicGetSymbolsOfApplication(const MLPIHANDLE connection, const WCHAR16 *application, PROCESSHANDLE* node, WCHAR16 *symbols, const ULONG numElements);
1237 
1238 
1255 MLPI_API MLPIRESULT mlpiLogicGetTypeOfSymbol(const MLPIHANDLE connection, const WCHAR16 *symbol, MlpiLogicType *type, MlpiLogicType *subtype=0);
1256 
1257 
1272 MLPI_API MLPIRESULT mlpiLogicGetSizeOfSymbol(const MLPIHANDLE connection, const WCHAR16 *symbol, ULONG *dataSize);
1273 
1274 
1289 MLPI_API MLPIRESULT mlpiLogicGetNumElementsOfSymbol(const MLPIHANDLE connection, const WCHAR16 *symbol, ULONG *numElements);
1290 
1291 
1306 MLPI_API MLPIRESULT mlpiLogicGetDimensionOfSymbol(const MLPIHANDLE connection, const WCHAR16 *symbol, ULONG *dimension);
1307 
1308 
1326 MLPI_API MLPIRESULT mlpiLogicGetArrayRangeOfSymbol(const MLPIHANDLE connection, const WCHAR16 *symbol, const ULONG index, MlpiLogicArrayRange *range);
1327 
1328 
1343 MLPI_API MLPIRESULT mlpiLogicGetAccessRightsOfSymbol(const MLPIHANDLE connection, const WCHAR16 *symbol, MlpiLogicSymbolAccessRights *accessrights);
1344 
1345 
1371 MLPI_API MLPIRESULT mlpiLogicGetAddressOfSymbol(const MLPIHANDLE connection, const WCHAR16 *symbol, ULONG *address);
1372 
1373 
1391 MLPI_API MLPIRESULT mlpiLogicGetInformationOfSymbol(const MLPIHANDLE connection, const WCHAR16 *symbol, MlpiLogicSymbolInformation *info);
1392 
1393 
1441 MLPI_API MLPIRESULT mlpiLogicGetInformationOfUserType(const MLPIHANDLE connection, const WCHAR16* symbol, MlpiLogicUserTypeInformation *info, const ULONG numElements, ULONG *numElementsRet = 0);
1442 
1443 
1458 
1459 
1475 
1476 
1477 #if defined (TARGET_OS_VXWORKS_KERNEL) || (TARGET_OS_WINNT)
1478 
1850 MLPI_API MLPIRESULT mlpiLogicPouExtensionRegister(const MLPIHANDLE connection, const WCHAR16* name, const MLPIPOUFNCPTR function, const ULONG signature = 0, const ULONG version = 0);
1851 
1852 
1873 MLPI_API MLPIRESULT mlpiLogicPouExtensionUnregister(const MLPIHANDLE connection, const WCHAR16* name, const MLPIPOUFNCPTR function, const ULONG signature = 0, const ULONG version = 0);
1874 
1875 
1890 MLPI_API MLPIRESULT mlpiLogicPouExtensionUnregisterAll(const MLPIHANDLE connection);
1891 
1892 #endif
1893 
1894 
1908 MLPI_API MLPIRESULT mlpiLogicReadVariableBySymbolBool8(const MLPIHANDLE connection, const WCHAR16 *symbol, BOOL8 *data);
1909 
1910 
1924 MLPI_API MLPIRESULT mlpiLogicReadVariableBySymbolChar(const MLPIHANDLE connection, const WCHAR16 *symbol, CHAR *data);
1925 
1926 
1940 MLPI_API MLPIRESULT mlpiLogicReadVariableBySymbolUchar(const MLPIHANDLE connection, const WCHAR16 *symbol, UCHAR *data);
1941 
1942 
1956 MLPI_API MLPIRESULT mlpiLogicReadVariableBySymbolShort(const MLPIHANDLE connection, const WCHAR16 *symbol, SHORT *data);
1957 
1958 
1972 MLPI_API MLPIRESULT mlpiLogicReadVariableBySymbolUshort(const MLPIHANDLE connection, const WCHAR16 *symbol, USHORT *data);
1973 
1974 
1988 MLPI_API MLPIRESULT mlpiLogicReadVariableBySymbolLong(const MLPIHANDLE connection, const WCHAR16 *symbol, LONG *data);
1989 
1990 
2005 MLPI_API MLPIRESULT mlpiLogicReadVariableBySymbolUlong(const MLPIHANDLE connection, const WCHAR16 *symbol, ULONG *data);
2006 
2007 
2021 MLPI_API MLPIRESULT mlpiLogicReadVariableBySymbolLlong(const MLPIHANDLE connection, const WCHAR16 *symbol, LLONG *data);
2022 
2023 
2037 MLPI_API MLPIRESULT mlpiLogicReadVariableBySymbolUllong(const MLPIHANDLE connection, const WCHAR16 *symbol, ULLONG *data);
2038 
2039 
2054 MLPI_API MLPIRESULT mlpiLogicReadVariableBySymbolFloat(const MLPIHANDLE connection, const WCHAR16 *symbol, FLOAT *data);
2055 
2056 
2071 MLPI_API MLPIRESULT mlpiLogicReadVariableBySymbolDouble(const MLPIHANDLE connection, const WCHAR16 *symbol, DOUBLE *data);
2072 
2073 
2129 MLPI_API MLPIRESULT mlpiLogicReadVariableBySymbolString(const MLPIHANDLE connection, const WCHAR16 *symbol, WCHAR16 *data, const ULONG numElements);
2130 
2131 
2149 MLPI_API MLPIRESULT mlpiLogicReadVariableBySymbolArrayBool8(const MLPIHANDLE connection, const WCHAR16 *symbol, BOOL8 *data, const ULONG numElements, ULONG *numElementsRet);
2150 
2151 
2169 MLPI_API MLPIRESULT mlpiLogicReadVariableBySymbolArrayChar(const MLPIHANDLE connection, const WCHAR16 *symbol, CHAR *data, const ULONG numElements, ULONG *numElementsRet);
2170 
2171 
2190 MLPI_API MLPIRESULT mlpiLogicReadVariableBySymbolArrayUchar(const MLPIHANDLE connection, const WCHAR16 *symbol, UCHAR *data, const ULONG numElements, ULONG *numElementsRet);
2191 
2192 
2210 MLPI_API MLPIRESULT mlpiLogicReadVariableBySymbolArrayShort(const MLPIHANDLE connection, const WCHAR16 *symbol, SHORT *data, const ULONG numElements, ULONG *numElementsRet);
2211 
2212 
2231 MLPI_API MLPIRESULT mlpiLogicReadVariableBySymbolArrayUshort(const MLPIHANDLE connection, const WCHAR16 *symbol, USHORT *data, const ULONG numElements, ULONG *numElementsRet);
2232 
2233 
2251 MLPI_API MLPIRESULT mlpiLogicReadVariableBySymbolArrayLong(const MLPIHANDLE connection, const WCHAR16 *symbol, LONG *data, const ULONG numElements, ULONG *numElementsRet);
2252 
2253 
2273 MLPI_API MLPIRESULT mlpiLogicReadVariableBySymbolArrayUlong(const MLPIHANDLE connection, const WCHAR16 *symbol, ULONG *data, const ULONG numElements, ULONG *numElementsRet);
2274 
2275 
2293 MLPI_API MLPIRESULT mlpiLogicReadVariableBySymbolArrayLlong(const MLPIHANDLE connection, const WCHAR16 *symbol, LLONG *data, const ULONG numElements, ULONG *numElementsRet);
2294 
2295 
2314 MLPI_API MLPIRESULT mlpiLogicReadVariableBySymbolArrayUllong(const MLPIHANDLE connection, const WCHAR16 *symbol, ULLONG *data, const ULONG numElements, ULONG *numElementsRet);
2315 
2316 
2335 MLPI_API MLPIRESULT mlpiLogicReadVariableBySymbolArrayFloat(const MLPIHANDLE connection, const WCHAR16 *symbol, FLOAT *data, const ULONG numElements, ULONG *numElementsRet);
2336 
2337 
2356 MLPI_API MLPIRESULT mlpiLogicReadVariableBySymbolArrayDouble(const MLPIHANDLE connection, const WCHAR16 *symbol, DOUBLE *data, const ULONG numElements, ULONG *numElementsRet);
2357 
2358 
2379 MLPI_API MLPIRESULT mlpiLogicReadVariableBySymbolArrayVoid(const MLPIHANDLE connection, const WCHAR16 *symbol, void *data, const ULONG dataSize, ULONG *dataSizeRet);
2380 
2381 
2395 MLPI_API MLPIRESULT mlpiLogicWriteVariableBySymbolBool8(const MLPIHANDLE connection, const WCHAR16 *symbol, const BOOL8 data);
2396 
2397 
2411 MLPI_API MLPIRESULT mlpiLogicWriteVariableBySymbolChar(const MLPIHANDLE connection, const WCHAR16 *symbol, const CHAR data);
2412 
2413 
2428 MLPI_API MLPIRESULT mlpiLogicWriteVariableBySymbolUchar(const MLPIHANDLE connection, const WCHAR16 *symbol, const UCHAR data);
2429 
2430 
2444 MLPI_API MLPIRESULT mlpiLogicWriteVariableBySymbolShort(const MLPIHANDLE connection, const WCHAR16 *symbol, const SHORT data);
2445 
2446 
2461 MLPI_API MLPIRESULT mlpiLogicWriteVariableBySymbolUshort(const MLPIHANDLE connection, const WCHAR16 *symbol, const USHORT data);
2462 
2463 
2477 MLPI_API MLPIRESULT mlpiLogicWriteVariableBySymbolLong(const MLPIHANDLE connection, const WCHAR16 *symbol, const LONG data);
2478 
2479 
2494 MLPI_API MLPIRESULT mlpiLogicWriteVariableBySymbolUlong(const MLPIHANDLE connection, const WCHAR16 *symbol, const ULONG data);
2495 
2496 
2510 MLPI_API MLPIRESULT mlpiLogicWriteVariableBySymbolLlong(const MLPIHANDLE connection, const WCHAR16 *symbol, const LLONG data);
2511 
2512 
2527 MLPI_API MLPIRESULT mlpiLogicWriteVariableBySymbolUllong(const MLPIHANDLE connection, const WCHAR16 *symbol, const ULLONG data);
2528 
2529 
2544 MLPI_API MLPIRESULT mlpiLogicWriteVariableBySymbolFloat(const MLPIHANDLE connection, const WCHAR16 *symbol, const FLOAT data);
2545 
2546 
2561 MLPI_API MLPIRESULT mlpiLogicWriteVariableBySymbolDouble(const MLPIHANDLE connection, const WCHAR16 *symbol, const DOUBLE data);
2562 
2563 
2577 MLPI_API MLPIRESULT mlpiLogicWriteVariableBySymbolString(const MLPIHANDLE connection, const WCHAR16 *symbol, const WCHAR16 *data);
2578 
2579 
2594 MLPI_API MLPIRESULT mlpiLogicWriteVariableBySymbolArrayBool8(const MLPIHANDLE connection, const WCHAR16 *symbol, const BOOL8 *data, const ULONG numElements);
2595 
2596 
2611 MLPI_API MLPIRESULT mlpiLogicWriteVariableBySymbolArrayChar(const MLPIHANDLE connection, const WCHAR16 *symbol, const CHAR *data, const ULONG numElements);
2612 
2613 
2629 MLPI_API MLPIRESULT mlpiLogicWriteVariableBySymbolArrayUchar(const MLPIHANDLE connection, const WCHAR16 *symbol, const UCHAR *data, const ULONG numElements);
2630 
2631 
2646 MLPI_API MLPIRESULT mlpiLogicWriteVariableBySymbolArrayShort(const MLPIHANDLE connection, const WCHAR16 *symbol, const SHORT *data, const ULONG numElements);
2647 
2648 
2664 MLPI_API MLPIRESULT mlpiLogicWriteVariableBySymbolArrayUshort(const MLPIHANDLE connection, const WCHAR16 *symbol, const USHORT *data, const ULONG numElements);
2665 
2666 
2681 MLPI_API MLPIRESULT mlpiLogicWriteVariableBySymbolArrayLong(const MLPIHANDLE connection, const WCHAR16 *symbol, const LONG *data, const ULONG numElements);
2682 
2683 
2699 MLPI_API MLPIRESULT mlpiLogicWriteVariableBySymbolArrayUlong(const MLPIHANDLE connection, const WCHAR16 *symbol, const ULONG *data, const ULONG numElements);
2700 
2701 
2716 MLPI_API MLPIRESULT mlpiLogicWriteVariableBySymbolArrayLlong(const MLPIHANDLE connection, const WCHAR16 *symbol, const LLONG *data, const ULONG numElements);
2717 
2718 
2734 MLPI_API MLPIRESULT mlpiLogicWriteVariableBySymbolArrayUllong(const MLPIHANDLE connection, const WCHAR16 *symbol, const ULLONG *data, const ULONG numElements);
2735 
2736 
2752 MLPI_API MLPIRESULT mlpiLogicWriteVariableBySymbolArrayFloat(const MLPIHANDLE connection, const WCHAR16 *symbol, const FLOAT *data, const ULONG numElements);
2753 
2754 
2770 MLPI_API MLPIRESULT mlpiLogicWriteVariableBySymbolArrayDouble(const MLPIHANDLE connection, const WCHAR16 *symbol, const DOUBLE *data, const ULONG numElements);
2771 
2772 
2790 MLPI_API MLPIRESULT mlpiLogicWriteVariableBySymbolArrayVoid(const MLPIHANDLE connection, const WCHAR16 *symbol, const void *data, const ULONG dataSize);
2791 
2792 
2809 MLPI_API MLPIRESULT mlpiLogicReadMemoryAreaBool8(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG bitOffset, BOOL8* data);
2810 
2811 
2829 MLPI_API MLPIRESULT mlpiLogicReadMemoryAreaChar(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, CHAR* data);
2830 
2831 
2849 MLPI_API MLPIRESULT mlpiLogicReadMemoryAreaUchar(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, UCHAR* data);
2850 
2851 
2869 MLPI_API MLPIRESULT mlpiLogicReadMemoryAreaShort(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, SHORT* data);
2870 
2871 
2889 MLPI_API MLPIRESULT mlpiLogicReadMemoryAreaUshort(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, USHORT* data);
2890 
2891 
2909 MLPI_API MLPIRESULT mlpiLogicReadMemoryAreaLong(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, LONG* data);
2910 
2911 
2929 MLPI_API MLPIRESULT mlpiLogicReadMemoryAreaUlong(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, ULONG* data);
2930 
2931 
2949 MLPI_API MLPIRESULT mlpiLogicReadMemoryAreaLlong(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, LLONG* data);
2950 
2951 
2969 MLPI_API MLPIRESULT mlpiLogicReadMemoryAreaUllong(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, ULLONG* data);
2970 
2971 
2989 MLPI_API MLPIRESULT mlpiLogicReadMemoryAreaFloat(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, FLOAT* data);
2990 
2991 
3009 MLPI_API MLPIRESULT mlpiLogicReadMemoryAreaDouble(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, DOUBLE* data);
3010 
3011 
3033 MLPI_API MLPIRESULT mlpiLogicReadMemoryAreaArrayChar(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, CHAR* data, const ULONG numElements, ULONG *numElementsRet);
3034 
3035 
3057 MLPI_API MLPIRESULT mlpiLogicReadMemoryAreaArrayUchar(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, UCHAR* data, const ULONG numElements, ULONG *numElementsRet);
3058 
3059 
3081 MLPI_API MLPIRESULT mlpiLogicReadMemoryAreaArrayShort(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, SHORT* data, const ULONG numElements, ULONG *numElementsRet);
3082 
3083 
3105 MLPI_API MLPIRESULT mlpiLogicReadMemoryAreaArrayUshort(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, USHORT* data, const ULONG numElements, ULONG *numElementsRet);
3106 
3107 
3129 MLPI_API MLPIRESULT mlpiLogicReadMemoryAreaArrayLong(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, LONG* data, const ULONG numElements, ULONG *numElementsRet);
3130 
3131 
3153 MLPI_API MLPIRESULT mlpiLogicReadMemoryAreaArrayUlong(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, ULONG* data, const ULONG numElements, ULONG *numElementsRet);
3154 
3155 
3177 MLPI_API MLPIRESULT mlpiLogicReadMemoryAreaArrayLlong(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, LLONG* data, const ULONG numElements, ULONG *numElementsRet);
3178 
3179 
3201 MLPI_API MLPIRESULT mlpiLogicReadMemoryAreaArrayUllong(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, ULLONG* data, const ULONG numElements, ULONG *numElementsRet);
3202 
3203 
3225 MLPI_API MLPIRESULT mlpiLogicReadMemoryAreaArrayFloat(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, FLOAT* data, const ULONG numElements, ULONG *numElementsRet);
3226 
3227 
3249 MLPI_API MLPIRESULT mlpiLogicReadMemoryAreaArrayDouble(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, DOUBLE* data, const ULONG numElements, ULONG *numElementsRet);
3250 
3251 
3269 MLPI_API MLPIRESULT mlpiLogicWriteMemoryAreaBool8(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG bitOffset, const BOOL8 data);
3270 
3271 
3289 MLPI_API MLPIRESULT mlpiLogicWriteMemoryAreaChar(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, const CHAR data);
3290 
3291 
3309 MLPI_API MLPIRESULT mlpiLogicWriteMemoryAreaUchar(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, const UCHAR data);
3310 
3311 
3329 MLPI_API MLPIRESULT mlpiLogicWriteMemoryAreaShort(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, const SHORT data);
3330 
3331 
3349 MLPI_API MLPIRESULT mlpiLogicWriteMemoryAreaUshort(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, const USHORT data);
3350 
3351 
3369 MLPI_API MLPIRESULT mlpiLogicWriteMemoryAreaLong(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, const LONG data);
3370 
3371 
3389 MLPI_API MLPIRESULT mlpiLogicWriteMemoryAreaUlong(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, const ULONG data);
3390 
3391 
3409 MLPI_API MLPIRESULT mlpiLogicWriteMemoryAreaLlong(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, const LLONG data);
3410 
3411 
3429 MLPI_API MLPIRESULT mlpiLogicWriteMemoryAreaUllong(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, const ULLONG data);
3430 
3431 
3449 MLPI_API MLPIRESULT mlpiLogicWriteMemoryAreaFloat(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, const FLOAT data);
3450 
3451 
3469 MLPI_API MLPIRESULT mlpiLogicWriteMemoryAreaDouble(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, const DOUBLE data);
3470 
3471 
3490 MLPI_API MLPIRESULT mlpiLogicWriteMemoryAreaArrayChar(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, const CHAR* data, const ULONG numElements);
3491 
3492 
3511 MLPI_API MLPIRESULT mlpiLogicWriteMemoryAreaArrayUchar(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, const UCHAR* data, const ULONG numElements);
3512 
3513 
3532 MLPI_API MLPIRESULT mlpiLogicWriteMemoryAreaArrayShort(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, const SHORT* data, const ULONG numElements);
3533 
3534 
3553 MLPI_API MLPIRESULT mlpiLogicWriteMemoryAreaArrayUshort(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, const USHORT* data, const ULONG numElements);
3554 
3555 
3574 MLPI_API MLPIRESULT mlpiLogicWriteMemoryAreaArrayLong(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, const LONG* data, const ULONG numElements);
3575 
3576 
3595 MLPI_API MLPIRESULT mlpiLogicWriteMemoryAreaArrayUlong(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, const ULONG* data, const ULONG numElements);
3596 
3597 
3616 MLPI_API MLPIRESULT mlpiLogicWriteMemoryAreaArrayLlong(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, const LLONG* data, const ULONG numElements);
3617 
3618 
3637 MLPI_API MLPIRESULT mlpiLogicWriteMemoryAreaArrayUllong(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, const ULLONG* data, const ULONG numElements);
3638 
3639 
3658 MLPI_API MLPIRESULT mlpiLogicWriteMemoryAreaArrayFloat(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, const FLOAT* data, const ULONG numElements);
3659 
3660 
3679 MLPI_API MLPIRESULT mlpiLogicWriteMemoryAreaArrayDouble(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, const DOUBLE* data, const ULONG numElements);
3680 
3681 
3682 
3683 #ifdef __cplusplus
3684 }
3685 #endif
3686 
3687 
3688 
3689 #endif // endof: #ifndef __MLPILOGICLIB_H__
MLPIRESULT mlpiLogicWriteVariableBySymbolUlong(const MLPIHANDLE connection, const WCHAR16 *symbol, const ULONG data)
This function writes a given 32-bit unsigned value (DWORD, UDINT, TIME, DATE, DATE_AND_TIME, ..., MlpiLogicType) to a variable by symbolic access.
2 byte user type (SHORT)
Definition: mlpiLogicLib.h:624
MLPIRESULT mlpiLogicWriteVariableBySymbolString(const MLPIHANDLE connection, const WCHAR16 *symbol, const WCHAR16 *data)
This function writes a given character string value (STRING, MlpiLogicType) to a variable by symbolic...
#define MLPI_APPLICATION_MAX_LENGTH_OF_INFO
Maximum length of info element of application.
Definition: mlpiLogicLib.h:488
MLPIRESULT mlpiLogicWriteMemoryAreaArrayUshort(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, const USHORT *data, const ULONG numElements)
This function writes an array of 16-bit unsigned data values (WORD, UINT, MlpiLogicType) to the memor...
MLPIRESULT mlpiLogicReadVariableBySymbolArrayShort(const MLPIHANDLE connection, const WCHAR16 *symbol, SHORT *data, const ULONG numElements, ULONG *numElementsRet)
This function reads an array of 16-bit signed values (INT, MlpiLogicType) from a variable by symbolic...
1 Byte character strings (use WCHAR16 string)
Definition: mlpiLogicLib.h:615
MLPIRESULT mlpiLogicGetStateOfApplication(const MLPIHANDLE connection, const WCHAR16 *application, MlpiApplicationState *state)
This function will return the state of an application.
MLPIRESULT mlpiLogicGetCapabilityOfOperation(const MLPIHANDLE connection, const MlpiLogicCapabilityOperation operation, MlpiLogicCapabilityOperationValue *value)
This function reads the current execution capability of operations MlpiLogicCapabilityOperation.
MLPIRESULT mlpiLogicWriteVariableBySymbolDouble(const MLPIHANDLE connection, const WCHAR16 *symbol, const DOUBLE data)
This function writes a given 64-bit floating point value (double precision, LREAL, MlpiLogicType) to a variable by symbolic access.
MlpiApplicationEvent
This enumeration defines the event of an application using by mlpiLogicWaitForEventOfApplication.
Definition: mlpiLogicLib.h:533
MLPIRESULT mlpiLogicReadVariableBySymbolArrayLong(const MLPIHANDLE connection, const WCHAR16 *symbol, LONG *data, const ULONG numElements, ULONG *numElementsRet)
This function reads an array of 32-bit signed values (DINT, MlpiLogicType) from a variable by symboli...
unsigned char UCHAR
1 byte unsigned integer
Definition: mlpiGlobal.h:160
MLPIRESULT mlpiLogicReadMemoryAreaArrayUshort(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, USHORT *data, const ULONG numElements, ULONG *numElementsRet)
This function reads an array of 16-bit unsigned data values (WORD, UINT, MlpiLogicType) from the memo...
MLPIRESULT mlpiLogicReadMemoryAreaChar(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, CHAR *data)
This function reads the 8-bit signed data value (SINT, MlpiLogicType) from the memory area (MlpiAppli...
MLPIRESULT mlpiLogicReadVariableBySymbolArrayUchar(const MLPIHANDLE connection, const WCHAR16 *symbol, UCHAR *data, const ULONG numElements, ULONG *numElementsRet)
This function reads an array of 8-bit unsigned values (BYTE, USINT, MlpiLogicType) from a variable by...
4 Byte unsigned double integer (ULONG)
Definition: mlpiLogicLib.h:611
MLPIRESULT mlpiLogicReadVariableBySymbolDouble(const MLPIHANDLE connection, const WCHAR16 *symbol, DOUBLE *data)
This function reads a 64-bit floating point value (double precision, LREAL, MlpiLogicType) from a var...
struct MlpiLogicSymbolInformation MlpiLogicSymbolInformation
This structure defines the information about a symbol using mlpiLogicGetInformationOfSymbol.
MLPIRESULT mlpiLogicReadMemoryAreaArrayChar(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, CHAR *data, const ULONG numElements, ULONG *numElementsRet)
This function reads an array of 8-bit signed data values (SINT, MlpiLogicType) from the memory area (...
Capability to execute the operation &#39;download application&#39;.
Definition: mlpiLogicLib.h:570
MLPIRESULT mlpiLogicReadVariableBySymbolUlong(const MLPIHANDLE connection, const WCHAR16 *symbol, ULONG *data)
This function reads a 32-bit unsigned value (DWORD, UDINT, TIME, DATE, DATE_AND_TIME, ..., MlpiLogicType) from a variable by symbolic access.
MLPIRESULT mlpiLogicWriteVariableBySymbolUchar(const MLPIHANDLE connection, const WCHAR16 *symbol, const UCHAR data)
This function writes a given 8-bit unsigned value (BYTE, USINT, MlpiLogicType) to a variable by symbo...
2 Byte character strings (WCHAR16)
Definition: mlpiLogicLib.h:616
This event raises on begin of &#39;download application&#39; sequence.
Definition: mlpiLogicLib.h:543
MLPIRESULT mlpiLogicWriteVariableBySymbolArrayUlong(const MLPIHANDLE connection, const WCHAR16 *symbol, const ULONG *data, const ULONG numElements)
This function writes an array of 32-bit unsigned values (DWORD, UDINT, TIME, DATE, DATE_AND_TIME, ..., MlpiLogicType) to a variable by symbolic access.
MLPIRESULT mlpiLogicGetNumberOfApplications(const MLPIHANDLE connection, ULONG *number)
This function will return the number of applications.
MlpiLogicCapabilityOperationValue
This enumeration defines the possible capability to execute an operation.
Definition: mlpiLogicLib.h:579
This event raises on change of operation state of application ( ref@ MlpiApplicationOpState )...
Definition: mlpiLogicLib.h:550
MLPIRESULT mlpiLogicWriteVariableBySymbolFloat(const MLPIHANDLE connection, const WCHAR16 *symbol, const FLOAT data)
This function writes a given 32-bit floating point value (single precision, REAL, MlpiLogicType) to a...
This event raises on begin of &#39;exit application&#39; sequence.
Definition: mlpiLogicLib.h:547
unsigned long long ULLONG
8 byte unsigned integer
Definition: mlpiGlobal.h:171
int LONG
4 byte signed integer
Definition: mlpiGlobal.h:164
MLPIRESULT mlpiLogicReadVariableBySymbolFloat(const MLPIHANDLE connection, const WCHAR16 *symbol, FLOAT *data)
This function reads a 32-bit floating point value (single precision, REAL, MlpiLogicType) from a vari...
Array (use element type, base types or VOID in case of complex type)
Definition: mlpiLogicLib.h:625
char CHAR
1 byte signed integer
Definition: mlpiGlobal.h:159
MlpiLogicSymbolAccessRights
This enumeration defines the access rights to a variable using mlpiLogicGetAccessRightsOfSymbol.
Definition: mlpiLogicLib.h:587
1 Byte (BOOL8)
Definition: mlpiLogicLib.h:599
No access rights to the variable.
Definition: mlpiLogicLib.h:589
Capability to execute the operation &#39;reset application&#39;.
Definition: mlpiLogicLib.h:569
MLPIRESULT mlpiLogicSaveRetainOfApplication(const MLPIHANDLE connection, const WCHAR16 *application, const WCHAR16 *path=0)
This function will save the retain data of an application to default storage or to a user-defined fil...
Symbolic access unsupported.
Definition: mlpiLogicLib.h:632
Enable capability to execute an operation (default).
Definition: mlpiLogicLib.h:581
MLPIRESULT mlpiLogicWaitForEventOfApplication(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationEvent event, const ULONG timeout)
This function pends the calling task until the given event occurs.
#define MLPI_LOGIC_MAX_DIMENSION_OF_ARRAY
Maximum dimension of an array.
Definition: mlpiLogicLib.h:484
MLPIRESULT mlpiLogicWriteVariableBySymbolLlong(const MLPIHANDLE connection, const WCHAR16 *symbol, const LLONG data)
This function writes a given 64-bit signed value (LINT, MlpiLogicType) to a variable by symbolic acce...
signed char BOOL8
1 byte boolean
Definition: mlpiGlobal.h:158
4 Byte, time is given in milliseconds (ULONG)
Definition: mlpiLogicLib.h:617
unsigned short USHORT
2 byte unsigned integer
Definition: mlpiGlobal.h:162
MLPIRESULT mlpiLogicReadVariableBySymbolArrayVoid(const MLPIHANDLE connection, const WCHAR16 *symbol, void *data, const ULONG dataSize, ULONG *dataSizeRet)
This function reads user-defined data type values from a variable by symbolic access (raw reading)...
MLPIRESULT mlpiLogicWriteMemoryAreaArrayLong(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, const LONG *data, const ULONG numElements)
This function writes an array of 32-bit signed data values (DINT, MlpiLogicType) to the memory area (...
This event raises on end of &#39;exit application&#39; sequence.
Definition: mlpiLogicLib.h:548
MLPIRESULT mlpiLogicWriteMemoryAreaArrayDouble(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, const DOUBLE *data, const ULONG numElements)
This function writes an array of 64-bit floating point data values (double precision, LREAL, MlpiLogicType) to the memory area (MlpiApplicationMemoryArea).
unsigned long PROCESSHANDLE
MLPI handle value used for a process.
Definition: mlpiGlobal.h:211
MLPIRESULT mlpiLogicReadVariableBySymbolLlong(const MLPIHANDLE connection, const WCHAR16 *symbol, LLONG *data)
This function reads a 64-bit signed value (LINT, MlpiLogicType) from a variable by symbolic access...
8 Byte floating point IEC 559 - 8 Byte (DOUBLE)
Definition: mlpiLogicLib.h:614
MLPIRESULT mlpiLogicWriteMemoryAreaLlong(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, const LLONG data)
This function writes the 64-bit signed data value (LINT, MlpiLogicType) to the memory area (MlpiAppli...
4 Byte floating point IEC 559 - 4 Byte (FLOAT)
Definition: mlpiLogicLib.h:613
MLPIRESULT mlpiLogicGetNumElementsOfSymbol(const MLPIHANDLE connection, const WCHAR16 *symbol, ULONG *numElements)
This function reads the number of elements of an array or user type of a symbol variable of PLC appli...
MLPIRESULT mlpiLogicReadMemoryAreaArrayUchar(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, UCHAR *data, const ULONG numElements, ULONG *numElementsRet)
This function reads an array of 8-bit unsigned data values (BYTE, USINT, MlpiLogicType) from the memo...
1 Byte unsigned signed short integer (USHORT)
Definition: mlpiLogicLib.h:609
This event raises on begin of &#39;start application&#39; sequence.
Definition: mlpiLogicLib.h:535
This event raises on end of &#39;reset application&#39; sequence.
Definition: mlpiLogicLib.h:540
struct MlpiApplicationOpState MlpiApplicationOpState
This structure defines the operation states of an application using mlpiLogicGetOperationStateOfAppli...
8 Byte signed long integer (LLONG)
Definition: mlpiLogicLib.h:608
MLPIRESULT mlpiLogicWriteMemoryAreaFloat(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, const FLOAT data)
This function writes the 32-bit floating point data value (single precision, REAL, MlpiLogicType) to the memory area (MlpiApplicationMemoryArea).
Symbolic access unsupported.
Definition: mlpiLogicLib.h:631
Reset application back to origin, delete application, delete all application files (boot project...
Definition: mlpiLogicLib.h:528
MlpiApplicationResetMode
This enumeration defines the different reset possibilities of an application using mlpiLogicResetAppl...
Definition: mlpiLogicLib.h:524
MLPIRESULT mlpiLogicReadMemoryAreaArrayLlong(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, LLONG *data, const ULONG numElements, ULONG *numElementsRet)
This function reads an array of 64-bit signed data values (LINT, MlpiLogicType) from the memory area ...
MLPIRESULT mlpiLogicReadVariableBySymbolArrayLlong(const MLPIHANDLE connection, const WCHAR16 *symbol, LLONG *data, const ULONG numElements, ULONG *numElementsRet)
This function reads an array of 64-bit signed values (LINT, MlpiLogicType) from a variable by symboli...
struct MlpiLogicArrayRange MlpiLogicArrayRange
This structure defines the range of an array dimension.
MLPIRESULT mlpiLogicReadMemoryAreaShort(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, SHORT *data)
This function reads the 16-bit signed data value (INT, MlpiLogicType) from the memory area (MlpiAppli...
Symbolic access unsupported.
Definition: mlpiLogicLib.h:633
This event raises on end of &#39;delete application&#39; sequence.
Definition: mlpiLogicLib.h:546
MLPIRESULT mlpiLogicReadVariableBySymbolUllong(const MLPIHANDLE connection, const WCHAR16 *symbol, ULLONG *data)
This function reads a 64-bit unsigned value (LWORD, ULINT, MlpiLogicType) from a variable by symbolic...
MLPIRESULT mlpiLogicReadVariableBySymbolUshort(const MLPIHANDLE connection, const WCHAR16 *symbol, USHORT *data)
This function reads a 16-bit unsigned value (WORD, UINT, MlpiLogicType) from a variable by symbolic a...
Symbolic access unsupported.
Definition: mlpiLogicLib.h:635
Symbolic access unsupported.
Definition: mlpiLogicLib.h:626
MLPIRESULT mlpiLogicWriteVariableBySymbolLong(const MLPIHANDLE connection, const WCHAR16 *symbol, const LONG data)
This function writes a given 32-bit signed value (DINT, MlpiLogicType) to a variable by symbolic acce...
MLPIRESULT mlpiLogicWriteVariableBySymbolShort(const MLPIHANDLE connection, const WCHAR16 *symbol, const SHORT data)
This function writes a given 16-bit signed value (INT, MlpiLogicType) to a variable by symbolic acces...
MLPIRESULT mlpiLogicReadVariableBySymbolUchar(const MLPIHANDLE connection, const WCHAR16 *symbol, UCHAR *data)
This function reads an 8-bit unsigned value (BYTE, USINT, MlpiLogicType) from a variable by symbolic ...
4 Byte, time is given in seconds beginning with January 1, 1970 at 12:00 a.m. (00:00 a...
Definition: mlpiLogicLib.h:619
short SHORT
2 byte signed integer
Definition: mlpiGlobal.h:161
MlpiLogicCapabilityOperation
This enumeration defines an operation which can be enabled or disabled by mlpiLogicSetCapabilityOfOpe...
Definition: mlpiLogicLib.h:566
The application runs for one single cycle.
Definition: mlpiLogicLib.h:519
MLPIRESULT mlpiLogicGetInformationOfSymbol(const MLPIHANDLE connection, const WCHAR16 *symbol, MlpiLogicSymbolInformation *info)
This function reads the types, size, number of elements, array information and access rights of a sym...
MLPIRESULT mlpiLogicReadMemoryAreaUllong(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, ULLONG *data)
This function reads the 64-bit unsigned data value (LWORD, ULINT, MlpiLogicType) from the memory area...
MLPIRESULT mlpiLogicWriteVariableBySymbolUshort(const MLPIHANDLE connection, const WCHAR16 *symbol, const USHORT data)
This function writes a given 16-bit unsigned value (WORD, UINT, MlpiLogicType) to a variable by symbo...
MLPIRESULT mlpiLogicWriteVariableBySymbolArrayVoid(const MLPIHANDLE connection, const WCHAR16 *symbol, const void *data, const ULONG dataSize)
This function writes user-defined data type values to a variable by symbolic access.
MLPIRESULT mlpiLogicReadMemoryAreaArrayFloat(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, FLOAT *data, const ULONG numElements, ULONG *numElementsRet)
This function reads an array of 32-bit floating point data values (single precision, REAL, MlpiLogicType) from the memory area (MlpiApplicationMemoryArea).
MLPIRESULT mlpiLogicWriteMemoryAreaArrayLlong(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, const LLONG *data, const ULONG numElements)
This function writes an array of 64-bit signed data values (LINT, MlpiLogicType) to the memory area (...
MLPIRESULT mlpiLogicReadVariableBySymbolString(const MLPIHANDLE connection, const WCHAR16 *symbol, WCHAR16 *data, const ULONG numElements)
This function reads a character string value (STRING, MlpiLogicType) from a variable by symbolic acce...
MLPIRESULT mlpiLogicWriteVariableBySymbolArrayDouble(const MLPIHANDLE connection, const WCHAR16 *symbol, const DOUBLE *data, const ULONG numElements)
This function writes an array of 64-bit floating point values (double precision, LREAL, MlpiLogicType) to a variable by symbolic access.
MLPIRESULT mlpiLogicReadVariableBySymbolChar(const MLPIHANDLE connection, const WCHAR16 *symbol, CHAR *data)
This function reads an 8 bit signed value (SINT, MlpiLogicType) from a variable by symbolic access...
Write access rights to the variable.
Definition: mlpiLogicLib.h:591
MLPIRESULT mlpiLogicGetOperationStateOfApplicationUlong(const MLPIHANDLE connection, const WCHAR16 *application, ULONG *state)
This function will return the extended operation state of an application by using an unsigned 4 byte ...
2 Byte unsigned signed integer (USHORT)
Definition: mlpiLogicLib.h:610
MLPIRESULT mlpiLogicWriteVariableBySymbolUllong(const MLPIHANDLE connection, const WCHAR16 *symbol, const ULLONG data)
This function writes a given 64-bit unsigned value (LWORD, ULINT, MlpiLogicType) to a variable by sym...
MlpiApplicationState
This enumeration defines the state of an application using mlpiLogicGetStateOfApplication.
Definition: mlpiLogicLib.h:513
MLPIRESULT mlpiLogicReadMemoryAreaDouble(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, DOUBLE *data)
This function reads the 64-bit floating point data value (double precision, LREAL, MlpiLogicType) from the memory area (MlpiApplicationMemoryArea).
wchar_t WCHAR16
UTF16 string.
Definition: mlpiGlobal.h:193
This event raises on an exception of application.
Definition: mlpiLogicLib.h:549
4 Byte signed double integer (LONG)
Definition: mlpiLogicLib.h:607
unsigned int ULONG
4 byte unsigned integer
Definition: mlpiGlobal.h:165
MLPIRESULT mlpiLogicWriteVariableBySymbolArrayUllong(const MLPIHANDLE connection, const WCHAR16 *symbol, const ULLONG *data, const ULONG numElements)
This function writes an array of 64-bit unsigned values (LWORD, ULINT, MlpiLogicType) to a variable b...
Read and write access rights to the variable.
Definition: mlpiLogicLib.h:592
MLPIRESULT mlpiLogicGetNameOfApplication(const MLPIHANDLE connection, const ULONG index, WCHAR16 *application, const ULONG numElements)
This function will return the name of an application selected by index 0 until (number-1).
MLPIRESULT mlpiLogicWriteMemoryAreaUllong(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, const ULLONG data)
This function writes the 64-bit unsigned data value (LWORD, ULINT, MlpiLogicType) to the memory area ...
The application is in state RUN.
Definition: mlpiLogicLib.h:516
MLPIRESULT mlpiLogicReadVariableBySymbolArrayDouble(const MLPIHANDLE connection, const WCHAR16 *symbol, DOUBLE *data, const ULONG numElements, ULONG *numElementsRet)
This function reads an array of 64-bit floating point values (double precision, LREAL, MlpiLogicType) from a variable by symbolic access.
MLPIRESULT mlpiLogicGetSizeOfSymbol(const MLPIHANDLE connection, const WCHAR16 *symbol, ULONG *dataSize)
This function reads the size in bytes of a symbol variable of PLC application. This and further infor...
MLPIRESULT mlpiLogicGetTypeOfSymbol(const MLPIHANDLE connection, const WCHAR16 *symbol, MlpiLogicType *type, MlpiLogicType *subtype=0)
This function reads the type and sybtype of a symbol variable of PLC application. This and further in...
MlpiLogicType
This enumeration defines the different symbol types of the logic using mlpiLogicGetTypeOfSymbol.
Definition: mlpiLogicLib.h:597
8 Bit binary (UCHAR)
Definition: mlpiLogicLib.h:601
MLPIRESULT mlpiLogicStartApplication(const MLPIHANDLE connection, const WCHAR16 *application=0)
This function will start an application.
Symbolic access unsupported.
Definition: mlpiLogicLib.h:639
64 Bit binary (ULLONG)
Definition: mlpiLogicLib.h:604
struct MlpiApplicationTaskInfo MlpiApplicationTaskInfo
This structure defines the information about an IEC task using mlpiLogicGetTaskInfoOfApplication.
MLPIRESULT mlpiLogicWriteMemoryAreaArrayUchar(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, const UCHAR *data, const ULONG numElements)
This function writes an array of 8-bit unsigned data values (BYTE, USINT, MlpiLogicType) to the memor...
Symbolic access unsupported (1 Bit)
Definition: mlpiLogicLib.h:600
MLPIRESULT mlpiLogicReadVariableBySymbolArrayChar(const MLPIHANDLE connection, const WCHAR16 *symbol, CHAR *data, const ULONG numElements, ULONG *numElementsRet)
This function reads an array of 8-bit signed values (SINT, MlpiLogicType) from a variable by symbolic...
MLPIRESULT mlpiLogicRestoreRetainOfApplication(const MLPIHANDLE connection, const WCHAR16 *application, const WCHAR16 *path)
This function will restore the retain data of an application from a user-defined file.
MLPIRESULT mlpiLogicWriteVariableBySymbolArrayUshort(const MLPIHANDLE connection, const WCHAR16 *symbol, const USHORT *data, const ULONG numElements)
This function writes an array of 16-bit unsigned values (WORD, UINT, MlpiLogicType) to a variable by ...
struct MlpiLogicUserTypeInformation MlpiLogicUserTypeInformation
This structure defines the information about a type of a symbol using mlpiLogicGetInformationOfUserTy...
This event raises on begin of &#39;stop application&#39; sequence.
Definition: mlpiLogicLib.h:537
&#39;Ix&#39; input memory area (Input) of an application.
Definition: mlpiLogicLib.h:557
MLPIRESULT mlpiLogicWriteVariableBySymbolArrayUchar(const MLPIHANDLE connection, const WCHAR16 *symbol, const UCHAR *data, const ULONG numElements)
This function writes an array of 8-bit unsigned values (BYTE, USINT, MlpiLogicType) to a variable by ...
&#39;Mx&#39; marker memory area (Marker) of an application.
Definition: mlpiLogicLib.h:559
MLPIRESULT mlpiLogicWriteMemoryAreaLong(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, const LONG data)
This function writes the 32-bit signed data value (DINT, MlpiLogicType) to the memory area (MlpiAppli...
Symbolic access unsupported.
Definition: mlpiLogicLib.h:630
MLPIRESULT mlpiLogicWriteMemoryAreaArrayChar(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, const CHAR *data, const ULONG numElements)
This function writes an array of 8-bit signed data values (SINT, MlpiLogicType) to the memory area (M...
This event raises on end of &#39;start application&#39; sequence.
Definition: mlpiLogicLib.h:536
MLPIRESULT mlpiLogicGetInformationOfUserType(const MLPIHANDLE connection, const WCHAR16 *symbol, MlpiLogicUserTypeInformation *info, const ULONG numElements, ULONG *numElementsRet=0)
This function reads names and information of variables (MlpiLogicSymbolInformation) of a symbol varia...
MLPIRESULT mlpiLogicReadMemoryAreaLong(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, LONG *data)
This function reads the 32-bit signed data value (DINT, MlpiLogicType) from the memory area (MlpiAppl...
MLPIRESULT mlpiLogicWriteVariableBySymbolArrayLlong(const MLPIHANDLE connection, const WCHAR16 *symbol, const LLONG *data, const ULONG numElements)
This function writes an array of 64-bit signed values (LINT, MlpiLogicType) to a variable by symbolic...
MLPIRESULT mlpiLogicLoadBootApplication(const MLPIHANDLE connection, const WCHAR16 *file, const WCHAR16 *path, WCHAR16 *application, const ULONG numElements)
This function will load an application from the device file system. The application files can be crea...
MLPIRESULT mlpiLogicWriteMemoryAreaArrayFloat(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, const FLOAT *data, const ULONG numElements)
This function writes an array of 32-bit floating point data values (single precision, REAL, MlpiLogicType) to the memory area (MlpiApplicationMemoryArea).
Capability to execute the operation &#39;set breakpoint into an application&#39;.
Definition: mlpiLogicLib.h:572
MLPIRESULT mlpiLogicReadMemoryAreaFloat(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, FLOAT *data)
This function reads the 32-bit floating point data value (single precision, REAL, MlpiLogicType) from...
MLPIRESULT mlpiLogicGetArrayRangeOfSymbol(const MLPIHANDLE connection, const WCHAR16 *symbol, const ULONG index, MlpiLogicArrayRange *range)
This function reads the minimum index and maximum index resp. the range of an array dimension of a sy...
MLPIRESULT mlpiLogicWriteMemoryAreaUshort(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, const USHORT data)
This function writes the 16-bit unsigned data value (WORD, UINT, MlpiLogicType) to the memory area (M...
MLPIRESULT mlpiLogicWriteMemoryAreaArrayShort(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, const SHORT *data, const ULONG numElements)
This function writes an array of 16-bit signed data values (INT, MlpiLogicType) to the memory area (M...
The application is in state STOP.
Definition: mlpiLogicLib.h:517
&#39;Qx&#39; output memory area (Output) of an application.
Definition: mlpiLogicLib.h:558
MLPIRESULT mlpiLogicReadVariableBySymbolArrayFloat(const MLPIHANDLE connection, const WCHAR16 *symbol, FLOAT *data, const ULONG numElements, ULONG *numElementsRet)
This function reads an array of 32-bit floating point values (single precision, REAL, MlpiLogicType) from a variable by symbolic access.
MLPIRESULT mlpiLogicWriteVariableBySymbolArrayFloat(const MLPIHANDLE connection, const WCHAR16 *symbol, const FLOAT *data, const ULONG numElements)
This function writes an array of 32-bit floating point values (single precision, REAL, MlpiLogicType) to a variable by symbolic access.
Capability to execute the operation &#39;force variable of application&#39;.
Definition: mlpiLogicLib.h:574
struct MlpiDateAndTime MlpiDateAndTime
This structure defines the broken date and time information.
MLPIRESULT mlpiLogicGetAccessRightsOfSymbol(const MLPIHANDLE connection, const WCHAR16 *symbol, MlpiLogicSymbolAccessRights *accessrights)
This function reads the access rights of a symbol variable of PLC application. This and further infor...
MLPIRESULT mlpiLogicStopApplication(const MLPIHANDLE connection, const WCHAR16 *application=0)
This function will stop an application. All motion that is assigned to the application will stop! ...
This event raises on begin of &#39;reset application&#39; sequence.
Definition: mlpiLogicLib.h:539
MLPIRESULT mlpiLogicWriteMemoryAreaDouble(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, const DOUBLE data)
This function writes the 64-bit floating point data value (double precision, LREAL, MlpiLogicType) to the memory area (MlpiApplicationMemoryArea).
MLPIRESULT mlpiLogicGetSymbolsOfApplication(const MLPIHANDLE connection, const WCHAR16 *application, PROCESSHANDLE *node, WCHAR16 *symbols, const ULONG numElements)
This function will read all symbols of an application. The symbols themselves are separated from each...
MLPIRESULT mlpiLogicGetOperationStateOfApplication(const MLPIHANDLE connection, const WCHAR16 *application, MlpiApplicationOpState *state)
This function will return the extended operation state of an application by using struct MlpiApplicat...
MLPIRESULT mlpiLogicGetStopAxesConfiguration(const MLPIHANDLE connection, WCHAR16 *configuration, const ULONG numElements, ULONG *numElementsRet)
This function will return the active "StopAxes" and "StopAxesCommon" configuration of all application...
MLPIRESULT mlpiLogicReadMemoryAreaArrayLong(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, LONG *data, const ULONG numElements, ULONG *numElementsRet)
This function reads an array of 32-bit signed data values (DINT, MlpiLogicType) from the memory area ...
MLPIRESULT mlpiLogicResetApplication(const MLPIHANDLE connection, const MlpiApplicationResetMode resetMode, const WCHAR16 *application=0)
This function will reset an application. All motion that is assigned to the application will stop! ...
MLPIRESULT mlpiLogicWriteVariableBySymbolArrayShort(const MLPIHANDLE connection, const WCHAR16 *symbol, const SHORT *data, const ULONG numElements)
This function writes an array of 16-bit signed values (INT, MlpiLogicType) to a variable by symbolic ...
MLPIRESULT mlpiLogicReadMemoryAreaArrayUlong(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, ULONG *data, const ULONG numElements, ULONG *numElementsRet)
This function reads an array of 32-bit unsigned data values (DWORD, UDINT, MlpiLogicType) from the me...
MLPIRESULT mlpiLogicSetCapabilityOfOperation(const MLPIHANDLE connection, const MlpiLogicCapabilityOperation operation, const MlpiLogicCapabilityOperationValue value)
This function enables or disables the execution capability of operations MlpiLogicCapabilityOperation...
MLPIRESULT mlpiLogicWriteVariableBySymbolArrayChar(const MLPIHANDLE connection, const WCHAR16 *symbol, const CHAR *data, const ULONG numElements)
This function writes an array of 8-bit signed values (SINT, MlpiLogicType) to a variable by symbolic ...
2 Byte signed integer (SHORT)
Definition: mlpiLogicLib.h:606
Disable capability to execute an operation.
Definition: mlpiLogicLib.h:582
MLPIRESULT mlpiLogicWriteVariableBySymbolArrayBool8(const MLPIHANDLE connection, const WCHAR16 *symbol, const BOOL8 *data, const ULONG numElements)
This function writes an array of Boolean values (BOOL, MlpiLogicType) to a variable by symbolic acces...
void(* MLPIPOUFNCPTR)(void *)
MLPI POU function pointer &#39;void function(void*);&#39;.
Definition: mlpiLogicLib.h:652
MLPIRESULT mlpiLogicReadMemoryAreaUshort(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, USHORT *data)
This function reads the 16-bit unsigned data value (WORD, UINT, MlpiLogicType) from the memory area (...
This event raises on begin of &#39;online change application&#39; sequence.
Definition: mlpiLogicLib.h:541
Symbolic access unsupported.
Definition: mlpiLogicLib.h:629
MLPIRESULT mlpiLogicGetAddressOfSymbol(const MLPIHANDLE connection, const WCHAR16 *symbol, ULONG *address)
This function reads the physical kernel space address of a symbol variable of a PLC application...
4 Byte, time is given in milliseconds, time begins at 12:00 a.m. (00:00 a.m.) (ULONG) ...
Definition: mlpiLogicLib.h:620
MLPIRESULT mlpiLogicGetDimensionOfSymbol(const MLPIHANDLE connection, const WCHAR16 *symbol, ULONG *dimension)
This function reads the array dimension of a symbol variable of PLC application. This and further inf...
MLPIRESULT mlpiLogicReadVariableBySymbolLong(const MLPIHANDLE connection, const WCHAR16 *symbol, LONG *data)
This function reads a 32-bit signed value (DINT, MlpiLogicType) from a variable by symbolic access...
MLPIRESULT mlpiLogicReadVariableBySymbolArrayUshort(const MLPIHANDLE connection, const WCHAR16 *symbol, USHORT *data, const ULONG numElements, ULONG *numElementsRet)
This function reads an array of 16-bit unsigned values (WORD, UINT, MlpiLogicType) from a variable by...
MLPIRESULT mlpiLogicReadMemoryAreaUlong(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, ULONG *data)
This function reads the 32-bit unsigned data value (DWORD, UDINT, MlpiLogicType) from the memory area...
Symbolic access unsupported.
Definition: mlpiLogicLib.h:623
MLPIRESULT mlpiLogicWriteMemoryAreaUlong(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, const ULONG data)
This function writes the 32-bit unsigned data value (DWORD, UDINT, MlpiLogicType) to the memory area ...
MLPIRESULT mlpiLogicWriteMemoryAreaBool8(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG bitOffset, const BOOL8 data)
This function writes a Boolean value e.g. a bit (BOOL8, MlpiLogicType) to the memory area (MlpiApplic...
Read access rights to the variable.
Definition: mlpiLogicLib.h:590
MLPIRESULT mlpiLogicWriteMemoryAreaUchar(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, const UCHAR data)
This function writes the 8-bit unsigned data value (BYTE, USINT, MlpiLogicType) to the memory area (M...
32 Bit binary (ULONG)
Definition: mlpiLogicLib.h:603
4 Byte, time is given in seconds beginning with January 1, 1970 at 12:00 a.m. (00:00 a...
Definition: mlpiLogicLib.h:618
MLPIRESULT mlpiLogicReadMemoryAreaArrayUllong(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, ULLONG *data, const ULONG numElements, ULONG *numElementsRet)
This function reads an array of 64-bit unsigned data values (LWORD, ULINT, MlpiLogicType) from the me...
#define MLPI_APPLICATION_MAX_LENGTH_OF_POU_NAME
Maximum length of name of a POU.
Definition: mlpiLogicLib.h:486
Symbolic access unsupported.
Definition: mlpiLogicLib.h:637
Reset warm of application, all global data except retain data is reset to default.
Definition: mlpiLogicLib.h:526
This event raises on end of &#39;stop application&#39; sequence.
Definition: mlpiLogicLib.h:538
Symbolic access unsupported.
Definition: mlpiLogicLib.h:636
8 Byte unsigned long integer (ULLONG)
Definition: mlpiLogicLib.h:612
long long LLONG
8 byte signed integer
Definition: mlpiGlobal.h:170
Invalid state of application.
Definition: mlpiLogicLib.h:515
MLPIRESULT mlpiLogicReadVariableBySymbolArrayBool8(const MLPIHANDLE connection, const WCHAR16 *symbol, BOOL8 *data, const ULONG numElements, ULONG *numElementsRet)
This function reads an array of Boolean values (BOOL, MlpiLogicType) from a variable by symbolic acce...
MLPIRESULT mlpiLogicWriteVariableBySymbolArrayLong(const MLPIHANDLE connection, const WCHAR16 *symbol, const LONG *data, const ULONG numElements)
This function writes an array of 32-bit signed values (DINT, MlpiLogicType) to a variable by symbolic...
float FLOAT
4 byte floating point
Definition: mlpiGlobal.h:172
MLPIRESULT mlpiLogicGetInfoOfApplication(const MLPIHANDLE connection, const WCHAR16 *application, MlpiApplicationInfo *info)
This function will return information about the given application.
MLPIRESULT mlpiLogicReadMemoryAreaUchar(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, UCHAR *data)
This function reads the 8-bit unsigned data value (BYTE, USINT, MlpiLogicType) from the memory area (...
MLPIRESULT mlpiLogicReadMemoryAreaLlong(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, LLONG *data)
This function reads the 64-bit signed data value (LINT, MlpiLogicType) from the memory area (MlpiAppl...
MLPIRESULT mlpiLogicReadMemoryAreaBool8(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG bitOffset, BOOL8 *data)
This function reads a bit as a BOOL8 (BOOL8, MlpiLogicType) from the memory area (MlpiApplicationMemo...
MLPIRESULT mlpiLogicWriteMemoryAreaArrayUlong(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, const ULONG *data, const ULONG numElements)
This function writes an array of 32-bit unsigned data values (DWORD, UDINT, MlpiLogicType) to the mem...
double DOUBLE
8 byte floating point
Definition: mlpiGlobal.h:177
Symbolic access unsupported.
Definition: mlpiLogicLib.h:634
Capability to execute the operation &#39;online change application&#39;.
Definition: mlpiLogicLib.h:571
MLPIRESULT mlpiLogicReadVariableBySymbolShort(const MLPIHANDLE connection, const WCHAR16 *symbol, SHORT *data)
This function reads a 16-bit signed value (INT, MlpiLogicType) from a variable by symbolic access...
MLPIRESULT mlpiLogicReadVariableBySymbolArrayUlong(const MLPIHANDLE connection, const WCHAR16 *symbol, ULONG *data, const ULONG numElements, ULONG *numElementsRet)
This function reads an array of 32-bit unsigned values (DWORD, UDINT, TIME, DATE, DATE_AND_TIME...
Capability to execute the operation &#39;write variable of application&#39;.
Definition: mlpiLogicLib.h:573
Symbolic access unsupported.
Definition: mlpiLogicLib.h:638
MLPIRESULT mlpiLogicWriteMemoryAreaArrayUllong(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, const ULLONG *data, const ULONG numElements)
This function writes an array of 64-bit unsigned data values (LWORD, ULINT, MlpiLogicType) to the mem...
MLPIRESULT mlpiLogicWriteVariableBySymbolChar(const MLPIHANDLE connection, const WCHAR16 *symbol, const CHAR data)
This function writes a given 8-bit signed value (SINT, MlpiLogicType) to a variable by symbolic acces...
RAW data (VOID)
Definition: mlpiLogicLib.h:627
unsigned long MLPIHANDLE
common MLPI-API handle value
Definition: mlpiGlobal.h:206
16 Bit binary (USHORT)
Definition: mlpiLogicLib.h:602
1 Byte signed short integer (CHAR)
Definition: mlpiLogicLib.h:605
MLPIRESULT mlpiLogicReadVariableBySymbolBool8(const MLPIHANDLE connection, const WCHAR16 *symbol, BOOL8 *data)
This function reads a boolean value (BOOL, MlpiLogicType) from a variable by symbolic access...
This event raises on end of &#39;online change application&#39; sequence.
Definition: mlpiLogicLib.h:542
Capability to execute the operation &#39;stop application&#39;.
Definition: mlpiLogicLib.h:568
Symbolic access unsupported.
Definition: mlpiLogicLib.h:621
MLPIRESULT mlpiLogicGetTaskInfoOfApplication(const MLPIHANDLE connection, const WCHAR16 *application, MlpiApplicationTaskInfo *taskInfo, const ULONG numElements, ULONG *numElementsRet=0)
This function will return information about all running IEC tasks of an application.
Symbolic access unsupported.
Definition: mlpiLogicLib.h:622
MLPIRESULT mlpiLogicWriteMemoryAreaChar(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, const CHAR data)
This function writes the 8-bit signed data value (SINT, MlpiLogicType) to the memory area (MlpiApplic...
MlpiApplicationMemoryArea
This enumeration defines the memory areas &#39;Ix&#39; (Input), &#39;Qx&#39; (Output) and &#39;Mx&#39; (Marker) of an applica...
Definition: mlpiLogicLib.h:555
Symbolic access unsupported.
Definition: mlpiLogicLib.h:628
MLPIRESULT mlpiLogicWriteVariableBySymbolBool8(const MLPIHANDLE connection, const WCHAR16 *symbol, const BOOL8 data)
This function writes a given Boolean value (BOOL, MlpiLogicType) to a variable by symbolic access...
MLPIRESULT mlpiLogicReadVariableBySymbolArrayUllong(const MLPIHANDLE connection, const WCHAR16 *symbol, ULLONG *data, const ULONG numElements, ULONG *numElementsRet)
This function reads an array of 64-bit unsigned values (LWORD, ULINT, MlpiLogicType) from a variable ...
#define MLPI_APPLICATION_MAX_LENGTH_OF_TASK_NAME
Maximum length of name of a task.
Definition: mlpiLogicLib.h:487
int MLPIRESULT
common MLPI-API return value
Definition: mlpiGlobal.h:198
MLPIRESULT mlpiLogicRunSingleCycleApplication(const MLPIHANDLE connection, const WCHAR16 *application=0)
This function will run an application for one single cycle.
This event raises on begin of &#39;delete application&#39; sequence.
Definition: mlpiLogicLib.h:545
MLPIRESULT mlpiLogicWriteMemoryAreaShort(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, const SHORT data)
This function writes the 16-bit signed data value (INT, MlpiLogicType) to the memory area (MlpiApplic...
struct MlpiApplicationInfo MlpiApplicationInfo
This structure defines the information about the application using mlpiLogicGetInfoOfApplication.
This event raises on end of &#39;download application&#39; sequence.
Definition: mlpiLogicLib.h:544
The application is halted on breakpoint.
Definition: mlpiLogicLib.h:518
MLPIRESULT mlpiLogicReadMemoryAreaArrayDouble(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, DOUBLE *data, const ULONG numElements, ULONG *numElementsRet)
This function reads an array of 64-bit floating point data values (double precision, LREAL, MlpiLogicType) from the memory area (MlpiApplicationMemoryArea).
Reset cold of application, all global data and (!) retain data is reset to default.
Definition: mlpiLogicLib.h:527
MLPIRESULT mlpiLogicReadMemoryAreaArrayShort(const MLPIHANDLE connection, const WCHAR16 *application, const MlpiApplicationMemoryArea area, const ULONG byteOffset, SHORT *data, const ULONG numElements, ULONG *numElementsRet)
This function reads an array of 16-bit signed data values (INT, MlpiLogicType) from the memory area (...