Herunterladen Inhalt Inhalt Diese Seite drucken

Siemens SIMOTION Diagnose-Handbuch Seite 143

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

Werbung

Beispiel:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
SIMOTION IT Ethernet basierende HMI- und Diagnosefunktion
Diagnosehandbuch, 11/2010
<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">
var gloSubscription;
var gloItemHandle_1;
var gloItemHandle_2;
function subscription()
{
if (!gloSubscription)
{
var tmpSubscriptionCB = function(parValues)
{
var tmpTimerCB = function()
{
}
setTimeout(tmpTimerCB,300);
}
var tmpCancelCB = function()
{
if (gloSubscription)
for (var tmpIndex = 0;
tmpIndex < parValues.length;
tmpIndex++)
{
var tmpItemHandle =
parValues[tmpIndex].mItemHandle;
var tmpItemValue =
parValues[tmpIndex].mItemValue;
if (tmpItemHandle == gloItemHandle_1)
{
var tmpValueNode =
document.getElementById("user1");
tmpValueNode.firstChild.nodeValue =
tmpItemValue;
}
else if (tmpItemHandle == gloItemHandle_2)
{
var tmpValueNode =
document.getElementById("user2");
tmpValueNode.firstChild.nodeValue =
tmpItemValue;
}
}
gloSubscription.refresh();
Bedienen (Software)
3.5 Anwenderdefinierte Seiten
143

Quicklinks ausblenden:

Werbung

Inhaltsverzeichnis
loading

Inhaltsverzeichnis