67 uuid(7547778A-E3E1-4BFF-A5D6-9279943D9318),
70 helpstring(
"ILogic Interface"),
71 pointer_default(unique)
153 #if defined(WIN32) || defined(WIN64) 155 uuid(2D4AA589-F60E-453a-8C63-99F223FB6169)
172 uuid(6B8D143B-C91E-417f-A73E-D99FAEDFE9C0)
199 uuid(945D635F-546F-4cfe-9873-3126C420F03F)
248 #if defined(WIN32) || defined(WIN64) 250 uuid(1D9C801D-8E7B-4591-9B81-51C00E5C0383)
271 VARIANT_BOOL watchdogEnabled;
274 LONG averageCycleTime;
299 struct DateAndTime dateTime;
332 VARIANT_BOOL downloadActive;
333 VARIANT_BOOL onlineChangeActive;
334 VARIANT_BOOL storeBootprojectActive;
336 VARIANT_BOOL forceVariablesActive;
337 VARIANT_BOOL exception;
338 VARIANT_BOOL initializeActive;
339 VARIANT_BOOL storeBootprojectOnlyActive;
341 VARIANT_BOOL exitActive;
342 VARIANT_BOOL deleted;
343 VARIANT_BOOL resetActive;
344 VARIANT_BOOL retainMismatch;
346 VARIANT_BOOL bootprojectValid;
347 VARIANT_BOOL loadBootprojectActive;
348 VARIANT_BOOL flowControlActive;
349 VARIANT_BOOL runInFlash;
431 [id(2), helpstring(
"Method WriteVariableBySymbol")] HRESULT
WriteVariableBySymbol([in] BSTR symbol, [in] VARIANT data);
482 [id(3), helpstring(
"Method ReadVariableBySymbol")] HRESULT
ReadVariableBySymbol([in] BSTR symbol, [out, retval] VARIANT* data);
484 #if defined(WIN32) || defined(WIN64) 549 [id(6), helpstring(
"Method ReadVariableBySymbolAsString")] HRESULT
ReadVariableBySymbolAsString([in] BSTR symbol, [out, retval] BSTR* data);
657 [id(8), helpstring(
"Method LoadBootApplication")] HRESULT
LoadBootApplication([in] BSTR file, [in] BSTR path, [out, retval] BSTR *applicationName);
673 [id(9), helpstring(
"Method GetNumberOfApplications")] HRESULT
GetNumberOfApplications([out, retval] LONG *number);
697 [id(10), helpstring(
"Method GetNameOfApplication")] HRESULT
GetNameOfApplication([in] LONG index, [out, retval] BSTR *application);
721 [id(11), helpstring(
"Method StartApplication")] HRESULT
StartApplication(
void);
745 [id(12), helpstring(
"Method StopApplication")] HRESULT
StopApplication(
void);
32 Bit, Time is given in milliseconds in TIME and TOD, time in TOD begins at 12:00 A...
HRESULT ReadVariableBySymbol([in] BSTR symbol, [out, retval] VARIANT *data)
The following function reads I/O data. The function is only able to read a single value at a time...
Symbolic access unsupported.
HRESULT WriteVariableBySymbolAsString([in] BSTR symbol, [in] BSTR data)
This method does the same as WriteVariableBySymbol but ALWAYS takes the data to be written in string ...
Symbolic access unsupported.
Capability to execute the operation 'set breakpoint into an application'.
Capability to execute the operation 'online change application'.
Symbolic access unsupported.
const LONG LOGIC_MAX_DIMENSION_OF_ARRAY
Maximum dimension of an array.
This structure defines the dimension range of an array.
Capability to execute the operation 'force variable of application'.
ApplicationResetMode
This enumeration defines the different reset possibilities of an application using ResetApplication...
Symbolic access unsupported.
LogicCapabilityOperationValue
This enumeration defines the possible capability to execute an operation.
HRESULT SetCapabilityOfOperation([in] LogicCapabilityOperation operation, [in] LogicCapabilityOperationValue value)
This function enables or disables the capability of execution of operations LogicCapabilityOperation ...
HRESULT WriteVariableBySymbol([in] BSTR symbol, [in] VARIANT data)
The following function writes I/O data. The function is only able to write a single value at a time...
Symbolic access unsupported.
32 Bit, Time is given in seconds in DATE and DT beginning with January 1, 1970 at 12:00 A...
Definition of the ILogic interface which allows access to the PLC and logic component on the MLPI dev...
unsigned signed integer - 2 Byte (USHORT)
Read and write access rights to the variable.
ApplicationMemoryArea
This enumeration defines the memory areas 'Ix' (Input), 'Qx' (Output) and 'Mx' (Marker) of an applica...
Symbolic access unsupported.
Symbolic access unsupported.
LogicSymbolAccessRights
This enumeration defines the access rights to a variable.
The application is in state STOP.
HRESULT GetInformationOfUserType([in] BSTR symbol, [out, retval] SAFEARRAY(struct LogicUserTypeInformation)*logicInfo)
This function reads names and information LogicUserTypeInformation of variables of a symbol if type o...
double integer - 4 Byte (LONG)
character strings (WCHAR16)
Symbolic access unsupported.
Reset application back to origin, delete the application, delete all application files (bootproject...
Reset cold of application, all global data and (!) retain data are reset to their default values...
32 Bit, Time is given in milliseconds in TIME and TOD, time in TOD begins at 12:00 A...
floating point IEC 559 - 8 Byte (DOUBLE)
Capability to execute the operation 'stop application'.
'Ix' input memory area (Input) of an application.
ApplicationState
This enumeration defines the state of an application using IApplication::GetStateOfApplication.
Write access rights to the variable.
Symbolic access unsupported.
HRESULT GetNumberOfApplications([out, retval] LONG *number)
This function returns the number of loaded applications on the device. This also includes stopped app...
The application is in state RUN.
Symbolic access unsupported.
Symbolic access unsupported.
HRESULT StopApplication(void)
This function stops all applications on the target.
This structure defines information about an application using IApplication::GetInfoOfApplication.
signed short integer - 1 Byte (BYTE)
Read access rights to the variable.
Reset warm of application, all global data except retain data are reset to their default values...
Invalid state of application.
1 Bit, symbolic access unsupported
Capability to execute the operation 'download application'.
Symbolic access unsupported.
Definition of the IApplications interface which is a collection of IApplication objects.
'Mx' marker memory area (Marker) of an application.
signed integer - 2 Byte (SHORT)
Capability to execute the operation 'reset application'.
Symbolic access unsupported.
Symbolic access unsupported.
long integer - 8 Byte (LLONG)
Symbolic access unsupported.
HRESULT ReadVariableBySymbolAsString([in] BSTR symbol, [out, retval] BSTR *data)
This method does the same as ReadVariableBySymbol, but ALWAYS returns the data to be read in string r...
The application is halted on breakpoint.
Capability to execute the operation 'write variable of application'.
Enable capability to execute an operation (default).
IApplications Applications
This property returns a IApplications object which allows access to different IApplication objects...
This structure defines the information about an IEC task using IApplication::GetTaskInfoOfApplication...
HRESULT ResetApplication([in] ApplicationResetMode mode)
This function resets all applications on the target.
HRESULT GetInformationOfSymbol([in] BSTR symbol, [out, retval] struct LogicSymbolInformation *info)
This function reads the type, size and access rights to a symbol of application.
unsigned double integer - 4 Byte (ULONG)
HRESULT StartApplication(void)
This function starts all applications on the target.
HRESULT GetCapabilityOfOperation([in] LogicCapabilityOperation operation, [out, retval] LogicCapabilityOperationValue *value)
This function reads the current capability of execution of operations LogicCapabilityOperation.
Symbolic access unsupported.
unsigned long integer - 8 Byte (LLONG)
unsigned signed short integer - 1 Byte (USHORT)
HRESULT GetNameOfApplication([in] LONG index, [out, retval] BSTR *application)
This function returns the name of an application selected by index 0 until (number-1).
HRESULT LoadBootApplication([in] BSTR file, [in] BSTR path, [out, retval] BSTR *applicationName)
This function loads an application from the file system of the control. The application files can be ...
This structure defines the operation state of an application using IApplication::GetOperationStateOfA...
Symbolic access unsupported.
Symbolic access unsupported.
LogicType
This enumeration defines the different symbol types of the logic using GetInformationOfSymbol.
No access rights to the variable.
floating point IEC 559 - 4 Byte (FLOAT)
LogicCapabilityOperation
This enumeration defines an operation which can be enabled/disabled by using SetCapabilityOfOperation...
32 Bit, Time is given in seconds in DATE and DT beginning with January 1, 1970 at 12:00 A...
Disable capability to execute an operation.
'Qx' output memory area (Output) of an application.