63 uuid(FC3B4308-27EC-4497-B5C5-FEE4918A8A08),
66 helpstring(
"IApplication Interface"),
67 pointer_default(unique)
78 [propget, id(1), helpstring(
"Property NameOfApplication")] HRESULT
NameOfApplication([out, retval] BSTR* application);
104 [id(2), helpstring(
"Method StartApplication")] HRESULT
StartApplication(
void);
130 [id(3), helpstring(
"Method StopApplication")] HRESULT
StopApplication(
void);
164 [id(4), helpstring(
"Method ResetApplication")] HRESULT
ResetApplication([in] ApplicationResetMode mode);
189 [id(5), helpstring(
"Method GetStateOfApplication")] HRESULT
GetStateOfApplication([out, retval] ApplicationState *state);
214 [id(6), helpstring(
"Method GetOperationStateOfApplicatoin")] HRESULT
GetOperationStateOfApplication([out, retval]
struct ApplicationOpState *state);
217 #if defined(WIN32) || defined(WIN64) 218 [id(7), helpstring(
"Method GetTaskInfoOfApplication")] HRESULT
GetTaskInfoOfApplication([out, retval] SAFEARRAY (
struct ApplicationTaskInfo) *taskInfo);
282 [id(8), helpstring(
"Method GetInfoOfApplication")] HRESULT
GetInfoOfApplication([out, retval]
struct ApplicationInfo *info);
404 [id(11), helpstring(
"Method GetSymbolsOfApplication")] HRESULT
GetSymbolsOfApplication([out, retval] SAFEARRAY(BSTR) *symbols);
440 [id(12), helpstring(
"Method WriteMemoryArea")] HRESULT
WriteMemoryAreaAsByteArray([in] ApplicationMemoryArea area, [in] LONG byteOffset, [in] LONG byteLength, [in] SAFEARRAY(BYTE) data);
469 [id(13), helpstring(
"Method ReadMemoryArea")] HRESULT
ReadMemoryAreaAsByteArray([in] ApplicationMemoryArea area, [in] LONG byteOffset, [in] LONG byteLength, [out, retval] SAFEARRAY(BYTE) *data);
HRESULT GetTaskInfoOfApplication([out, retval] SAFEARRAY(struct ApplicationTaskInfo)*taskInfo)
This function returns information about all IEC tasks running on an application using struct ILogic::...
HRESULT WriteMemoryAreaAsByteArray([in] ApplicationMemoryArea area, [in] LONG byteOffset, [in] LONG byteLength, [in] SAFEARRAY(BYTE) data)
This function writes a byte array to the PLC memory area of the application.
HRESULT GetStateOfApplication([out, retval] ApplicationState *state)
This function will restore the state of an application using enum ILogic::ApplicationState.
Definition of the IApplication interface used to access settings of a single PLC application.
HRESULT StopApplication(void)
This function stops the given application on the target.
HRESULT ReadMemoryAreaAsByteArray([in] ApplicationMemoryArea area, [in] LONG byteOffset, [in] LONG byteLength, [out, retval] SAFEARRAY(BYTE)*data)
This function reads a byte array from the PLC memory area of the application.
HRESULT GetInfoOfApplication([out, retval] struct ApplicationInfo *info)
This function returns miscellaneous information about the given application using struct ILogic::Appl...
HRESULT GetSymbolsOfApplication([out, retval] SAFEARRAY(BSTR)*symbols)
This function reads all symbols in an application and returns a string array.
HRESULT StartApplication(void)
This function starts the given application on the target.
HRESULT ResetApplication([in] ApplicationResetMode mode)
This function resets the given application on the target.
HRESULT SaveRetainOfApplication([in] BSTR path)
This function saves the retain data of an application to default storage or a user-defined file...
BSTR NameOfApplication
This method returns the application name of this IApplication object.
HRESULT GetOperationStateOfApplication([out, retval] struct ApplicationOpState *state)
This function restores the extended operation state of an application using struct ApplicationOpState...
HRESULT RestoreRetainOfApplication([in] BSTR path)
This function restores the retain data of an application from a user-defined file.