SourceForge Logo

Applet tag example for HMI screen

<applet code="hmiFake.class"archive="hmiFake.jar"codebase="./"width=640 height=480>
The class to load, normally hmi.classthe code archivethe codebasedimensions
<param name="host"value="visual.sourceforge.net">
The host that will provide the values. It must run VISUAL with the server module.
<param name="sheet" value="2">
The sheet values are taken from if not otherwise indicated.
<param name="port" value="182">
The TCP port VISUAL listens to.
<param name="machine"value="oven">
A machine name. It's used when calling the trend applet.
<param name="bkgnd" value="all9.jpg">
Name of the background image.
<param name="rights" value="1">
User's rights. This may be set by a CGI script based on user authentication and some user database.
<param name="trends" value="sorry.php">
The name of a HTML page or CGI script providing a trend graph page.
<param name="font" value="times">
Name of the font to use. Defaults to SansSerif.
<param name="0" value="hmiDigital,578,99,60,15,14,0,9,0,15,15,9,0,7,R3,0,100, ,%>
A running number as name The class providing the respective type of element, here a digital display. X-Position Y-Position widthheight fore- ground color 1 if value below minimumfore- ground color 2 if value below minimumbackground color if below minimum normal fore- ground color 1normal foreground color 2normal background color foreground color 1 if above maximumforeground color 2 if above maximumbackground color if above maximum The coordinate which holds the (main) value.MinimumMaximumLabel or nameUnit
<param name="1" value="hmiDigital,578,147,60,15,14,0,9,0,15,15,9,0,7,R5,0,100, ,%,1">
<param name="2" value="hmiDigital,578,123,60,15,14,0,9,0,15,15,9,0,7,R4,0,100, ,%,1">
<param name="3" value="hmiRollSwitch,0,306,15,50,9,0,7, 9,0,7,9,0,7,M1,2,2">
<param name="20" value="hmiRollSwitch,15,306,15,50,9,0,7, 9,0,7,9,0,7,M1,1,1">
<param name="4" value="hmiRollSwitch,30,306,15,50,9,0,7, 9,0,7,9,0,7,M1,0,0">
<param name="21" value="hmiFixText,375,56,54,20,0,15,15, 9,0,7,9,0,7,12,600,1500,Choose">
<param name="22" value="hmiFixText,375,76,50,20,0,15,15, 9,15,7,9,0,7,12,600,1500,recipe ">
<param name="23" value="hmiFixText,375,96,58,20,0,15,15, 9,15,7,9,0,7,12,600,1500,number:">
<param name="24" value="hmiLightUp,0,420,180,30,15,12,12, -1,-1,-1,9,0,7,M2,20,120, , refill flour ">
<param name="25" value="hmiLightUp,0,450,180,30,1,12,3, -1,-1,-1,9,0,7,M2,10,120, ,flour nearly empty!">
<param name="5" value="hmiRollSwitch,440,52,25,70,9,15,7, 9,15,7,9,0,7,T1,0,0">
<param name="6" value="hmiVBar,20,40,16,80,12,0,7,14,0,7,2,0,15,M5,10,20,0,100, ">
<param name="7" value="hmiVBar,106,40,16,80,12,0,7, 14,0,7,2,0,15,M2,10,20,0,100, ">
<param name="8" value="hmiVBar,200,40,16,80,12,0,7,14,0,7,2,0,15,M5,10,20,0,100, ">
<param name="10" value="hmiDigital,22,155,40,15,14,0,9,0,0,15,9,0,7,R3,0,100, ,%">>
<param name="11" value="hmiDigital,108,155,40,15,14,0,9,0,0,15,9,0,7,R4,0,100, ,%">
<param name="12" value="hmiDigital,203,155,40,15,14,0,9,0,0,15,9,0,7,R5,0,100, ,%">
<param name="13" value="hmiDigital,0,288,130,18,14,0,9,0,0,15,9,0,7,M1,0,1400, Mixer: , RpM ">
<param name="14" value="hmiVarText,518,78,120,18,1,0,15, 9,0,7,9,0,7,1,600,1500,M12,AS ">
<param name="15" value="hmiFixText,427,236,195,15,0,15,15, 9,0,7,9,0,7,12,600,1500,Oven Temperature Control:">
<param name="16" value="hmiButSwitch,390,255,40,60,9,0,7,1,0,7,2,12,7,T8,600,1500,on,off">
<param name="9" value="hmiPoti,430,255,60,60,10,0,7,9,0,7,9,0,7,T2,200,350, , ">
<param name="17" value="hmiDigital,490,255,140,20,9,0,7, 9,0,7,9,0,7,T2,600,1500,Set point: , C">
<param name="18" value="hmiDigital,490,275,140,20,9,0,7,9,0,7,9,0,7,T3,600,1500,Actual: , C">
<param name="19" value="hmiDigital,490,295,140,20,0,0,14, 9,0,7,15,0,12,T7,5.9,8,Power: , kW">
<applet>
SourceForge Logo