E_OpcUAServerOption

E_OpcUAServerOption determines which command is to be sent to the TwinCAT OPC UA Server.

Syntax

TYPE E_OpcUAServerOption
(
    eOPCUAServerOption_None,
    eOPCUAServerOption_Restart,
    eOPCUAServerOption_Shutdown,
    eOPCUAServerOption_RefreshCfg,
    eOPCUAServerOption_ServerInfo
);
END_TYPE

Parameter

Name

Description

eOPCUAServerOption_None

Initial state of the enumeration.

eOPCUAServerOption_Restart

This option triggers a restart of the OPC UA interface of the server.

eOPCUAServerOption_Shutdown

This option triggers the shutdown of the OPC UA interface of the server. As the restart option above works via OPC UA, it is no longer available after using this option until a complete server restart.

eOPCUAServerOption_RefreshCfg

This option currently has no function.

eOPCUAServerOption_ServerInfo

This option queries the server information contained in ST_OpcUAServerInfo.