Panasonic Web-Server FP Bedienungsanleitung Seite 107

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 194
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 106
Http Server Functions/ Web Pages
FP Web-Server V2.11
96
In this example DT200 (variable name "Counter") is read from the PLC and interpreted as
number 'n'. In a loop that follows, 'n' dashes ('-') are output. The resulting HTML page looks as
follows:
The character { in Java Script must be followed by a space character, tab
character or a new line. Otherwise it is interpreted as a PLC data field.
Example:
for (i=0; i<n ; i++ ) {document.write('-'); }
will generate a compiler error. But the following code will work as expected:
for (i=0; i<n ; i++ ) {
document.write('-');
}
Seitenansicht 106
1 2 ... 102 103 104 105 106 107 108 109 110 111 112 ... 193 194

Kommentare zu diesen Handbüchern

Keine Kommentare