18.01.2015 Views

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Introduction<br />

Internal structure and data flow<br />

The <strong>InduSoft</strong> Web Studio project runtime runs on a Windows computer or embedded system and consists<br />

of the following modules or threads (program elements that can execute independently of other program<br />

elements):<br />

• Background Task (a supervisory task): Executes other internal tasks (IWS worksheets). For example,<br />

the Background task executes scripts configured in the Math and Scheduler worksheets and manages<br />

parameters configured in the Alarm, Recipe, Report, and Trend worksheets.<br />

• Database Spy (debugging tool):<br />

• Executes functions and/or expressions for testing purposes<br />

• Reads data (such as tag values) from the tags database<br />

• Writes data (such as tag values) to the Tagsdatabase<br />

• DDE Client: Manages DDE communication with a DDE Server (local or remote), according to parameters<br />

configured in the DDE Client worksheets.<br />

• DDE Server: Manages DDE communication with a DDE Client (local or remote).<br />

• LogWin (debugging tool): Traces messages generated from other modules/tasks.<br />

• Driver Runtime: Manages the read/write commands configured in the Driver worksheets.<br />

• OPC Client: Manages OPC communication with an OPC Server (local or remote), according to parameters<br />

configured in the OPC Client worksheets.<br />

• OPC Server: Manages OPC communication with an OPC Client (local or remote).<br />

• ODBC Runtime: Manages ODBC data communication with any SQL relational database, according to<br />

parameters configured in the ODBC worksheets.<br />

• TCP/IP Client: Manages TCP/IP communication with a remote TCP/IP Server module (from IWS),<br />

according to parameters configured in the TCP/IP Client worksheets.<br />

• TCP/IP Server: Manages TCP/IP communication messages with a remote TCP/IP Client module (from<br />

IWS).<br />

• Viewer: Executes all scripts (On Open, On While, On Close, Command, Hyperlink, and so forth) configured<br />

for project screens and updates the screen objects.<br />

None of the preceding runtime modules exchange data directly with another module or task. Instead, runtime<br />

modules send data to and receive data from the tags database, which is the "heart" of IWS.<br />

The tags database manages the flow of data between modules. In addition, the tags database stores all tag<br />

values and the status of all properties associated with each tag (such as alarm conditioning, timestamp,<br />

quality, and so forth).<br />

<strong>InduSoft</strong> Web Studio Page 21

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!