Rockwell-automation 1768-EWEB EtherNet/IP Web Server Module User Manua Instrukcja Użytkownika Strona 109

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 170
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 108
Publication ENET-UM527E-EN-P - October 2006
Create Custom Web Pages 109
The following example page displays a DINT tag from a controller
and lets you update the tag with a Submit button.
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<script language="JavaScript">
</script>
</head>
<body >
<form action="/rokform/WriteLogixTags" method="POST">
TEST:
<input type="hidden" name="redirect "value="/user/Web/writeOneTag.asp">
<input type="hidden" name="numtags" value="1">
<input type="hidden" name="t_1_tagname" value="TEST">
<input type="hidden" name="t_1_slot" value="1">
<input type="hidden" name="t_1_type" value="DINT">
<input type="hidden" name="t_1_display" value="Decimal">
<input type="hidden" name="t_1_changed" value="1">
<input type="hidden" name="t_1_value" value="0">
<!--Read the current tag value -->
<font
color=<%ReadLogixTag("1,1","test_tag_string","STRING");%>><%ReadLogixTag("1,1","TEST
","DINT");%></font>
<input type="submit" name="submit "value="Clear Alarms">
</form>
</body>
</html>
Przeglądanie stron 108
1 2 ... 104 105 106 107 108 109 110 111 112 113 114 ... 169 170

Komentarze do niniejszej Instrukcji

Brak uwag