广州大彩串口屏论坛_大彩开发者交流论坛

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
12
返回列表 发新帖
楼主: terefere

frame repetition

[复制链接]

2

主题

1253

帖子

1万

积分

论坛元老

Rank: 8Rank: 8

积分
12619
发表于 2022-9-26 19:10:21 | 显示全部楼层
If后要接end 发表于 2022-9-26 19:08
You can test with this routine with modbus slave

Continuously read the same register data, in order to ensure that the previous command screen judges that there is data returned, you can send the second command after reading the first command successfully, instead of sending two identical commands continuously.
Easy doesn't enter into Grown-up life
成年人的生活里面没有“容易”二字
回复

使用道具 举报

2

主题

1253

帖子

1万

积分

论坛元老

Rank: 8Rank: 8

积分
12619
发表于 2022-9-26 19:12:06 | 显示全部楼层
If后要接end 发表于 2022-9-26 19:08
You can test with this routine with modbus slave

In addition, the timeout time of the screen can be set to 1 second, because the timeout starts from the command sending, and all the commands returned by the slave device are received by the screen. Setting the screen timeout too short will also easily result in nil being returned
Easy doesn't enter into Grown-up life
成年人的生活里面没有“容易”二字
回复

使用道具 举报

20

主题

53

帖子

268

积分

中级会员

Rank: 3Rank: 3

积分
268
 楼主| 发表于 2022-9-27 05:47:55 | 显示全部楼层
本帖最后由 terefere 于 2022-9-27 06:06 编辑

Could u send me your email?.

I made long post with RS485 log but I cannot send it- still get this
info
抱歉,您填写的内容包含不良信息而无法提交


--------
finally I send everything to export@gz. Pls ask in office for email with "freame coliision" in title.

回复

使用道具 举报

20

主题

53

帖子

268

积分

中级会员

Rank: 3Rank: 3

积分
268
 楼主| 发表于 2022-9-29 06:50:48 | 显示全部楼层
Second problem fixed. Real reason is that slave after respond keep several ms RS485 line as transmitter. It's not Dacai fault. Thanks for help
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|广州大彩串口屏论坛_大彩开发者交流论坛

GMT+8, 2024-11-23 20:51 , Processed in 0.051672 second(s), 17 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表