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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.