Jump to content

Changing bit values in Enhanced Web Server


Recommended Posts

The "Enhanced PLC WebServer.pdf" explains how to chance MI values, but it doesn't specify how to change MB values. What's the code for this?

Also, I read on the bottom of page 3 that we can "Send values to operands and strings." I'd like to send values to strings and set/unset bit values without javascript.

Any help on this would be very much appreciated.

Richard

Link to comment
Share on other sites

Hi Richard,

See below code for a toggle button which is linked to MB100:

<form method="GET" action="/">

<input type="hidden" name="/Web/Start.htm" value="1"><input type="submit" value="[MB100,OFF,ON]" name="M1"><input type="hidden" name="Data10" size="5" value="[MB100,1,0]"></form></td>

<td align="center" width="200">

<form method="GET" action="/">

Please make sure to put in the data table addresses in index 10 the value MB100.

Link to comment
Share on other sites

  • 7 months later...

Hi Richard,

See below code for a toggle button which is linked to MB100:

<form method="GET" action="/">

<input type="hidden" name="/Web/Start.htm" value="1"><input type="submit" value="[MB100,OFF,ON]" name="M1"><input type="hidden" name="Data10" size="5" value="[MB100,1,0]"></form></td>

<td align="center" width="200">

<form method="GET" action="/">

Please make sure to put in the data table addresses in index 10 the value MB100.

That was a great deal of help to me as well, Thank You.

Is there any way to make a "Momentary" Button, that can be reset by the program?

I'm trying to use this as a send report function, via email.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...