beckhoff TE1000 TwinCAT 3 — 5.21.1.2 ITcPlcOnline::Logoff

API | ITcPlcOnline Methods 5.21.1.1 ITcPlcOnline::Login | ITcPlcOnline::Login Logs in to the PLC controller using TwinCAT ( LoginSelectedApplicationCommand ). Signature HRESULT Login([in, defaultvalue(PLC_LOGIN_FLAGS_REGULAR)] PLC_LOGIN_FLAGS loginFlags); Parameter Return value Error codes DanglingAdapterException : Adapter not connected. XmlCommandNotAvailableException : not available for XML-based command paths. 5.21.1.2 ITcPlcOnline::Logoff | ITcPlcOnline::Logoff Logs off from the PLC controller using Visual Studio. Signature HRESULT Logoff(); Parameter (none) Return value Error codes DanglingAdapterException : Adapter not connected. TE1000 109 Version:

1.7.0 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). Name Type Description loginFlags PLC LOGIN FLAGS [} 162] _ _ [in, defaultvalue(PLC LOGIN FLAGS REGULAR)] _ _ _ Controls the login behavior. See PLC LOGIN FLAGS _ _ [} 162]. Name Type Description (HRESULT) HRESULT S OK if successful, otherwise an error code. _ Name Type Description (HRESULT) HRESULT S OK if successful, otherwise an error code. _