Rockwell-automation 1768-EWEB EtherNet/IP Web Server Module User Manua Manuale Utente Pagina 102

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 170
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 101
Publication ENET-UM527E-EN-P - October 2006
102 Create Custom Web Pages
Web Page Forms and POST
Handlers
Any web page that displays controller data can include a way to
change that data by creating a form on the web page.
Include this statement in your web page file.
ACTION="change_method" METHOD="POST"
where change_method is one of these.
ACTION="/user/system/dataviews/filename.xml"
This method follows the same user access restrictions as the
restrictions for the user requesting the data view. You can only post
the tags that appear on the data view. You must have the same access
level as the level configured for the data view.
You can post the same XML that you got in the requested file with the
desired data values changed or only the controller tags you want to
change.
To recreate the following example:
1. Create a Logix controller tag named TEST of data type DINT.
2. In the web server module, create a data view named Sample.
Include tag TEST of data type DINT in this data view. All names
are case sensistive.
3. Verify that the data view Sample works.
4. Copy the example code (from a PDF version of the user manual)
and paste it into a text editor.
Use This Method To See Page
/user/system/dataviews/filename.xml Change all data in a data view or only specific data in a data view 102
/rokform/WriteLogixTags Change any data in a controller, whether it is in a data view or not 108
/rokform/ReadLogixTags Enter a tag name and receive its current value 110
/rokform/CIPMessage Send an instant CIP message request 111
Vedere la pagina 101
1 2 ... 97 98 99 100 101 102 103 104 105 106 107 ... 169 170

Commenti su questo manuale

Nessun commento