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
|
Properties
Property | Type | get/set | Description |
|---|---|---|---|
IsLoggedIn | VARIANT_BOOL | get | Indicates whether the PLC is logged in. Returns |
OnlineApplicationState | get | The application's execution state. Returns | |
OnlineOperationState | get | Online operation state as a set of flags. Returns |
Methods
Method | Description |
|---|---|
Login | Logs in to the PLC controller using TwinCAT. |
Logoff | Logs off from the PLC controller. |
Start | Starts the PLC application. |
Stop | Stops the PLC application. |
Reset | Resets the controller (Cold / Origin). |
