问题描述
我成功地更改并读取了PLC S7 1200的变量(数据类型:实数)。但是,尽管仍然可以在我的Web服务器中读取该变量(如图片所示),但是我无法使用相同的代码来更改变量(数据类型:时间)。 。有人能帮我吗?非常感谢你。
<input id="6-1" value=' :="ftpExeCycle":' onkeypress="runScript(event,'6-1','%22ftpExeCycle%22',modal11 )">
<!-- The Modal11 -->
<div id="myModal11" class="modal">
<!-- Modal content -->
<div class="modal-content">
<span class="close" onclick="document.getElementById('myModal11').style.display='none'">×</span>
<p>Do you want to change?</p>
<button onclick="changeValue('6-1','myModal11')">Yes</button>
<button onclick="document.getElementById('myModal2').style.display='none'">No</button>
</div>
</div>
function changeValue(idInput,variable,idModalName) {
send_ajax_request(variable,idInput);
document.getElementById(idModalName).style.display='none';
alert('Success!');
}
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)