You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Current »

The Runtime Startup section allows you to start and stop solution execution, specify execution profiles, and customize connection settings. Settings defined here apply to all runtime scenarios including command line and Windows service startup.

Access: Runtime → Startup

Parent Page: Runtime Designer UI (Reference)



Main Commands


Execution Controls


CommandFunctionStatus Indicators
Run StartupStarts the applicationButton changes to Stop
StopStops the applicationButton changes to Run
Online ConfigurationApply changes in real-timeMust be connected to runtime

Note: All changes must be saved before they appear in runtime when online configuration is enabled.


Execution Profiles


Select the environment-specific configuration:

ProfilePurposeDefault Port
DevelopmentDebugging enabled, dev tools active3301
ValidationTesting environment3201
ProductionOptimized for production3101
CustomUser-defined settingsUser-defined

The Production profile uses main configuration without overrides. Other profiles apply configured replacements at startup.


Startup Port Settings


Configure network ports for application access:

SettingDescriptionDefault
Main PortPrimary access port per profileProfile-dependent
Auto PortsAuto-select if main unavailableDisabled
WA PortWindows Authentication portAs configured
Windows AuthenticationRequire Windows auth onlyUnchecked
SSL PortHTTPS web access3111
AutoStartup/Windows ServiceRun at system startupDisabled

AutoStartup Behavior

Windows Platform:

  • Configures as Windows Service
  • Starts without user login
  • Runs under system account

Multiplatform on Remote Devices:

  • Configures in TWebServicesRunPrograms.json
  • Starts with TWebServices
  • Enables remote management


Execution Environment


Execution Path Settings


OptionDescriptionUse Case
Direct File AccessLocal file accessSingle-user development
Solution ServerTWebServices connectionMulti-user collaboration
Path/Use Solution PathOverride default pathRedundancy configuration

DataHub Service

Enable solution data sharing:

SettingFunction
Publish to DataHubShare objects with remote DataHub
DataHub SettingsConfigure connection parameters

DataHub Settings Dialog:

  • Alias: Solution identifier
  • Primary/Secondary Host: Server addresses
  • Port: TCP communication (default: 30001)
  • AccessKey: Authentication

Built-in Broker Settings

MQTT broker configuration:

SettingFunction
Publish to MQTT BrokerMake UNS visible to MQTT clients
TMQTT Broker SettingsConfigure security and options


Startup Modules


Select modules to activate at startup:

ModuleFunctionImpact
DevicesEnable device communicationRequired for field data
AlarmsEnable alarm processingRequired for notifications
HistorianEnable data loggingRequired for trending
DatasetsEnable database accessRequired for queries
ReportsEnable report generationRequired for documents
ScriptsEnable script executionRequired for logic
DisplaysLaunch WPF client locallyOpens TRichClient
OpenBrowserLaunch web clientOpens default browser
OPC ServerEnable OPC DA/UA serverExternal access


Redundancy Settings


Configure high-availability environment:

SettingDescriptionFormat
Primary Server IP/PortMain server addressIP:Port
Secondary Server IP/PortBackup server addressIP:Port
TimeoutSwitchover delaySeconds
On Primary StartupRecovery behaviorSwitch/Keep
ReplicationData to replicateAlarm/Tag Historian

Recovery Options


  • Switch back to primary: Auto-return when available
  • Keep secondary active: Manual switchback required


Command Lines and URLs


Startup Command Line


TStartup.exe /solution:"path\solution.dbsln" /profile:1 /OnlineConfig:true /port1:3301

Parameters:

  • /solution: - Solution file path
  • /profile: - 1=Dev, 2=Val, 3=Custom
  • /OnlineConfig: - Enable online changes
  • /wa - Windows Authentication
  • /port1: - Override port


Client Access


ClientCommand/URLOptions
Rich ClientTRichClient.exe /port1:3101NoSplash, ViewOnly
Smart Clienthttp://IP:Port/smartclientSSL available
HTML5 Clienthttp://IP:Port/html5SSL available

Client Options

OptionFunction
NoSplashSkip splash screen
WAWindows Authentication
SSLSecure connection
ViewOnlyRead-only mode


Network Access


Accessing HTML5 from Other Devices


  1. Identify server IP (not 127.0.0.1)
  2. Ensure port accessibility
  3. Use URL: http://ServerIP:Port/html5
  4. For SSL: https://ServerIP:Port/html5


Example:


Monitor Access

Direct browser access to runtime monitor:

http://ServerIP:Port/html5/?Monitor=Runtime


Platform-Specific Features


Features exclusive to Windows Target Platform:

  • Windows Authentication
  • Windows Service configuration
  • OPC Classic support
  • Specific security features


See Also








Runtime Startup Page when All Features are enabled


Runtime Startup Page, when Basic Modules Filter is Selected

In this section:

The root page V10:@parent could not be found in space v10.

  • No labels