Herunterladen Inhalt Inhalt Diese Seite drucken

Siemens SIMOTION Diagnose-Handbuch Seite 140

Vorschau ausblenden Andere Handbücher für SIMOTION:
Inhaltsverzeichnis

Werbung

Bedienen (Software)
3.5 Anwenderdefinierte Seiten
Beispiel:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
</html>
140
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<script type="text/javascript" src="/common.js"></script>
<script type="text/javascript" src="/opcxml.js"></script>
<script type="text/javascript">
function browse()
{
var tmpBrowseRequestCB = function(parBrowseResult,
{
var tmpString = parItemPath + "::" + parItemName + "\n";
for (var tmpIndex = 0; tmpIndex < parBrowseResult.length;
tmpIndex++)
{
var tmpBrowseResult = parBrowseResult[tmpIndex];
tmpString += tmpBrowseResult.mItemName + "\n";
}
alert(tmpString);
}
var tmpBrowseRequest =
new OPCBrowseRequest("DE",tmpBrowseRequestCB);
tmpBrowseRequest.sendBrowseRequest("SIMOTION","var/");
}
</script>
<title>Browse</title>
</head>
<body>
<input type="button" value="Browse" onclick="browse();"/>
</body>
parItemPath,
parItemName)
SIMOTION IT Ethernet basierende HMI- und Diagnosefunktion
Diagnosehandbuch, 11/2010

Quicklinks ausblenden:

Werbung

Inhaltsverzeichnis
loading

Inhaltsverzeichnis