恭喜,你发布的帖子
发布于 2016-05-24 19:12:18
1楼
WEB界面在博途里面导入,要注意网页要放在指定的文件夹内。
WWW功能块要调用。
DB块里的BOOL量
<!-- AWP_In_Variable Name='"111".222' -->
111 :代表DB块的名称
222 :变量名称
<!-- AWP_In_Variable Name='"S"' -->
S :符号表中的中间变量
确认按钮
<form method="post" action="">
<div>
<input type="submit" value="确认按钮" style="font-size: 40px;height: 200px; width: 500px">
<input type="hidden" name='"111".222' value="1">
</div>
</form>
写入PLC
<form method="post" action="" onSubmit="return check();">
<input type="text" id="wert1" name='"111".333' size="2" style="height: 45px; width: 50px; font-size: 21px; text-align: center; padding: 8px;">
<input type="submit" value="确定" style="height: 45px; width: 200px">
</form>
全局刷新
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="refresh" content="10000">
10000 代表10000MS刷新页面一次。
请填写推广理由:
分享
只看
楼主