Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in D:\wwwroot\www.zhaoplc.com\wp-includes\class-wpdb.php on line 2357

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in D:\wwwroot\www.zhaoplc.com\wp-includes\class-wpdb.php on line 2357

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in D:\wwwroot\www.zhaoplc.com\wp-includes\class-wpdb.php on line 2357

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in D:\wwwroot\www.zhaoplc.com\wp-includes\class-wpdb.php on line 2357

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in D:\wwwroot\www.zhaoplc.com\wp-includes\class-wpdb.php on line 2357

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in D:\wwwroot\www.zhaoplc.com\wp-includes\class-wpdb.php on line 2357
MODBUS主站协议与从站协议的不明之处! | 找知识-找PLC

MODBUS主站协议与从站协议的不明之处!

我用S7-200 CPU224XP端口1做modbus主站,与底下一块自行开发的温度板(从站)通讯,参数均都设好了,可是与温度板一直无法通上.温度板是RS485(2)接口,比特率,站号,位数,校验位,从站响应时间都和主站相同.
 请问温度板的从站协议里还需加入什么才能和S7-200通上.比如功能码之类的参数...请高手指点迷津.

问题补充:
这里感谢轻轻飞的回答,不过我的温度板MODBUS从站协议已按照规定接口,比特率,站号,位数,校验位,从站响应时间设置好了,保持寄存器地址使用40001.
 请问我的从站协议程序里还少了什么参数设置?

最佳答案

主要检查你的温控板关于modbus协议的接受和发送数据帧,先检查能否正确收到和解析S7-200用modbus协议发过来的数据侦,这恐怕要用仿真器连单片机监视,才行.
     如果以上不行,你的先检查电缆通,然后你的单片机程序.
 S7-200modbus协议使用可以去看网上的相关资料

提问者对于答案的评价:
的确问题出在我的温控板程序上,感谢大家的回复.

原创文章,作者:ximenziask,如若转载,请注明出处:https://www.zhaoplc.com/plc358716.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2021年7月5日 上午10:36
下一篇 2021年7月5日 上午10:36

相关推荐

  • S7-200急停后复位

    程序运行时,紧急情况急停,要求在恢复后程序在中断处开始,怎么编程? 最佳答案 1、应用顺序控制(SCR)指令编写的程序可以当有意外情况发生或断电后需紧急停止输出,实现系统急停功能;…

    SIMATIC S7-200 2017年5月29日
  • plc控制柜数据接口开发

    需要把plc控制柜中的18项数据取出来在网站上显示出来。现在我想到两种结果:第一,指导一下怎么做接口,第二,谁会做,给我一个报价。 5A280型柱塞泵PLC控制柜:&nb…

    2021年7月5日
  • S7 200与欧姆龙温控表E5EC Modbus 通讯读写问题

    200 与欧姆龙温控表E5EC Modbus 通讯,读取温控表测量值正确,但往温控表写设定值时,不能写入,报错误代码104–从站设备故障,换另一个温…

    SIMATIC S7-200 2021年7月5日
  • 10个数连续累加怎么做

    10个数连续累加怎么做,且可以修改,大侠们帮帮忙,可以举例说明吗 问题补充:要是100个数呢,就麻烦了 最佳答案 用指针+偏移量的方法,用LOOP循环来做。需要用STL编程,可以在…

    2017年11月23日
  • 关于自编程序的提问

    本人编了一个工作时间在3小时以上的程序,如图,即C102计数到后输出Q1.4,即停止计时,为何T108还在定时的?另设定的VW116即需要设定的3小时以上的时间,请问如何编写在触摸…

    2020年10月31日
  • PTO问题求教

    主程序:        LD      …

    SIMATIC S7-200 2021年7月5日
  • 请教关于S7-200modbus通讯的问题。

    cpu为221与托利多ind331称重控制器通讯5个字,因为ind331最快1s扫7次也就是143ms一次,如果我用mbus_msg指令通讯,读的完成位激活写然后写的完成位激活读,…

    2017年7月25日
  • 关于双整数转换整数

    请教各位老师,我编了个小程序有个地方用到双整数转换整数不知怎么了这个块变成红颜色不好用不知为什么?本人新手愚钝之处望见谅。先谢了。 问题补充:TITLE=程序注释 Net…

    SIMATIC S7-200 2021年7月4日
  • CPU224XP 0-20mA 模拟量输出

    看资料说CPU224XP有0-20mA 模拟量输出,但是我把AQW置0,但是却输出4mA,请问一下还有什么设置?谢谢! 问题补充:已確定AQW置0,但是CPU224XP還…

    SIMATIC S7-200 2017年11月1日
  • S7-200与win10专业版电脑通讯显示Unkown


    Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in D:\wwwroot\www.zhaoplc.com\wp-includes\class-wpdb.php on line 2357

    Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in D:\wwwroot\www.zhaoplc.com\wp-includes\class-wpdb.php on line 2357

    Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in D:\wwwroot\www.zhaoplc.com\wp-includes\class-wpdb.php on line 2357

    Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in D:\wwwroot\www.zhaoplc.com\wp-includes\class-wpdb.php on line 2357

    Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in D:\wwwroot\www.zhaoplc.com\wp-includes\class-wpdb.php on line 2357

    Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in D:\wwwroot\www.zhaoplc.com\wp-includes\class-wpdb.php on line 2357

    我使用的艾莫讯USB-PPI编程电缆,与输入电源DC24v的一台226cpu通讯连接显示Unkown,点击ok就显示通信中断,之后更换一台电源AC220v的226cpu通讯连接也是…

    SIMATIC S7-200
    Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in D:\wwwroot\www.zhaoplc.com\wp-includes\class-wpdb.php on line 2357

    Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in D:\wwwroot\www.zhaoplc.com\wp-includes\class-wpdb.php on line 2357

    Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in D:\wwwroot\www.zhaoplc.com\wp-includes\class-wpdb.php on line 2357

    Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in D:\wwwroot\www.zhaoplc.com\wp-includes\class-wpdb.php on line 2357

    Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in D:\wwwroot\www.zhaoplc.com\wp-includes\class-wpdb.php on line 2357

    Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in D:\wwwroot\www.zhaoplc.com\wp-includes\class-wpdb.php on line 2357
    2021年7月5日

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in D:\wwwroot\www.zhaoplc.com\wp-includes\class-wpdb.php on line 2357

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in D:\wwwroot\www.zhaoplc.com\wp-includes\class-wpdb.php on line 2357

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in D:\wwwroot\www.zhaoplc.com\wp-includes\class-wpdb.php on line 2357

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in D:\wwwroot\www.zhaoplc.com\wp-includes\class-wpdb.php on line 2357

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in D:\wwwroot\www.zhaoplc.com\wp-includes\class-wpdb.php on line 2357

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in D:\wwwroot\www.zhaoplc.com\wp-includes\class-wpdb.php on line 2357

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in D:\wwwroot\www.zhaoplc.com\wp-includes\class-wpdb.php on line 2357

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in D:\wwwroot\www.zhaoplc.com\wp-includes\class-wpdb.php on line 2357

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in D:\wwwroot\www.zhaoplc.com\wp-includes\class-wpdb.php on line 2357

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in D:\wwwroot\www.zhaoplc.com\wp-includes\class-wpdb.php on line 2357

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in D:\wwwroot\www.zhaoplc.com\wp-includes\class-wpdb.php on line 2357

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in D:\wwwroot\www.zhaoplc.com\wp-includes\class-wpdb.php on line 2357

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in D:\wwwroot\www.zhaoplc.com\wp-includes\class-wpdb.php on line 2357

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in D:\wwwroot\www.zhaoplc.com\wp-includes\class-wpdb.php on line 2357

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in D:\wwwroot\www.zhaoplc.com\wp-includes\class-wpdb.php on line 2357

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in D:\wwwroot\www.zhaoplc.com\wp-includes\class-wpdb.php on line 2357

发表回复

登录后才能评论