InduSoft SCADA Best Practices

Preview:

DESCRIPTION

InduSoft SCADA Best Practices

Citation preview

InduSoft.com info@InduSoft.com

InduSoft Web Studio 7.0+SP1

Best Practices

InduSoft.com info@InduSoft.com

Best Practices

When designing a new

project

Tags Database

Graphic Interface

General

Performance optimization

Troubleshooting

When deploying the project

InduSoft.com info@InduSoft.com

When designing a project

Application Resolution

Platform and License

Review Project Settings (Viewer, Communication,

Web)

Touch-screen settings (cursor, focus, vk, right-

click, object size)

Translation (objects size)

Communication (every state or last state)

InduSoft.com info@InduSoft.com

Tags Database

Arrays

Classes

Tag Fields (->Hi, ->HiLimit, ->Quality, ->TimeStamp, etc)

Tag names (use objective names - avoid long names)

Avoid retentive values/parameters for a large number of

tags

Tag Integration

Tag description

InduSoft.com info@InduSoft.com

Graphic Interface

Screen groups

Re-use screens (array tags, indirect tags, or

mnemonics)

Share background pictures when applicable

Linked Symbols

$Ext() function to text used in external dialogs, such

as MsgBox or InputBox.

InduSoft.com info@InduSoft.com

General

Avoid spaces and special characters in file names

(e.g.: screen names)

Add comments to scripts and worksheets

History Life Time

Avoid calling modal dialogs on the Server (MsgBox,

InputBox, $RDFileN, etc) when using Thin Clients.

Avoid hard-coded paths. Use $GetAppPath().

InduSoft.com info@InduSoft.com

General

Avoid repeated scripts – Global Procedures.

Use ‘$region:<BlockName> to organize procedures

in the Global Procedures dialog

When applicable, use ‘On Error Resume Next’ and

‘On Error Goto 0’ in scripts

Make sure that when using $DBCursorOpen() or

$DBCursorOpenSQL(), call $DBCursorClose() to avoid

memory leaking.

InduSoft.com info@InduSoft.com

General

When using the Recipe task, enable the XML

format.

When using Thin Clients, enable the SSL option, as

well as the Web Tunneling Gateway.

InduSoft.com info@InduSoft.com

Performance optimization

Sequential addresses in the driver sheet

Consider the options “Screen” or “Auto” in the

Main Driver Sheet and OPC Client worksheets.

Adjust the “Send Period” for communication with

Thin Clients

Trend decimation and Database Gateway

Avoid large picture objects and fill effects in low-

end HMIs (Windows Embedded CE).

InduSoft.com info@InduSoft.com

Troubleshooting

Output window (Log Options, and Log Tags)

Database Spy

Cross-Reference

$Trace() function

InduSoft.com info@InduSoft.com

When deploying the project

Clear Database Spy

Disable LogWin “save to disk” option

Remove “test” files (\HST, \Alarm, \Web\Dump)

Remove unused tags from the project

Quality Feedback (unexpected errors)

Run “Verify” command

Create a backup

InduSoft.com info@InduSoft.com

Questions ?

InduSoft.com info@InduSoft.com

Email(US) info@indusoft.com(Brazil) info@indusoft.com.br(Germany) info@indusoft-germany.de

Support support@indusoft.comWeb site

(English) www.indusoft.com(Portuguese) www.indusoft.com.br(German) www.indusoft-germany.de

Phone (512) 349-0334 (US) +55-11-3293-9139 (Brazil) +49 (0) 6227-732510 (Germany)

Toll-Free 877-INDUSOFT (877-463-8763) Fax (512) 349-0375

Contact InduSoft Today

Germany

USA

Brazil

Recommended