Graphics
Developments
HMIWeb-Display-Building-Guide
Data need to develop graphics
• Understand P&ID, PFD
• Identifications of Letters/ abbreviations
• Static parts, dynamic parts
• Close loop, open loop
• Directions of arrows
• Instruments names
• Drives, valves types sov, control valve , FC, FO
• Analog & digital indications
• DCS symbols
Graphics Abstracts
• CSS - color style sheet
• Script -
• Popup
• Faceplate
• Shapes – CDA/SACADA shapes
• Display – Template , Process Line Legend, shape template
Script
Transformations toolbar
View toolbar
Format toolbar
Selection JS scripts & VB scripts
Script
• This a standards files
• Scripts is in java formats
• Its edits if in case new requirement available
• In this scripts all shapes programing scripts available
Dynamic Shape
• Select new- select dynamic, create a motor shape(draw seperatly one
rectangle, one polygon, one oval. Then put textbox in middle of motor with
name “M”, then below motor put another text box.
• Put a alpha numeric behind motor hidden, then select all and group
them( this group data base link is none)
• Then double click on the screen to open shape properties the go to custom
properties then add TAGNAME in name option and add point in type option.
• Double click on the alphanumeric then go to behaviors and tick the “script
data”. Then go to script data and add “<TAGNAME> [Link],
<TAGNAME>[Link] “( data base link is none)
• Then right click alphanumeric and edit script and add this program
• Sub alpha001_ondatachange
• IF [Link]("CM_3trial.[Link]")=1 and
[Link]("CM_3trial.[Link]")=1 then
• [Link]="BAD"
• [Link]=vbblue
• [Link]=vbblue
• [Link]=vbblue
• else if [Link]("CM_3trial.[Link]")=0 and
[Link]("CM_3trial.[Link]")=1 then
• [Link]="CLOSE"
• [Link]=vbRED
• [Link]=vBRED
• [Link]=vbRED
• else if [Link]("CM_3trial.[Link]")=0 and
[Link]("CM_3trial.[Link]")=0 then
• [Link]="INBET"
• [Link]=vbYELLOW
• [Link]=VBYELLOW
• [Link]=vbYELLOW
• END if
• end if
• end if
• end ifEnd Sub
Thanks