beckhoff TE1000 TwinCAT 3 — 5.21.1 ITcPlcOnline

API | ITcPlcOnline Return value Error codes Like PlcOpenExport. 5.21 ITcPlcOnline | ITcPlcOnline ITcPlcOnline provides online access to a logged-in PLC application of an [ITcPlcIECProject]: login/logoff, start/stop/reset, and online status. Chain of inheritance IUnknown └── ITcPlcOnline Interface versions 5.21.1 ITcPlcOnline | ITcPlcOnline Inherits from: IUnknown Online access to a logged-in PLC application in an ITcPlcIECProject. Provides login/logoff, start/stop/reset, and online status. Prerequisite Logoff , Start , Stop , and Reset require a successful login beforehand. Without an active online connection, there is no application for you to use. Properties TE1000 108 Version:

1.7.0 Name Type Description (HRESULT) HRESULT S OK if successful, otherwise an error code. _ Version Newly introduced Index ITcPlcOnline Online operation (login/ logoff/start/stop/reset) and online status. ITcPlcOnline Property Type get/set Description IsLoggedIn VARIANT BOOL _ get Indicates whether the PLC is logged in. Returns VARIANT FALSE if not _ connected. OnlineApplicationState PLC APPSTATE [} 162] _ get The application's execution state. Returns PLC APPSTATE NONE if _ _ not connected / null. See PLC APPSTATE [} 162]. _ OnlineOperationState PLC OPSTATE [} 163] _ get Online operation state as a set of flags. Returns PLC OPSTATE NONE if _ _ not connected / null. See PLC OPSTATE [} 163].

_