razor_rich Posted July 17, 2011 Report Share Posted July 17, 2011 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 Quote Link to comment Share on other sites More sharing options...
Ofir Posted July 18, 2011 Report Share Posted July 18, 2011 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. Quote Link to comment Share on other sites More sharing options...
razor_rich Posted July 18, 2011 Author Report Share Posted July 18, 2011 That worked beautifully! Thanks for the fast response, Ofir! Quote Link to comment Share on other sites More sharing options...
Icarus Posted February 28, 2012 Report Share Posted February 28, 2012 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.