rosy 发表于 2021-12-20 08:43:08

【Teaching Video】T5L DGUSII Modbus Master Configuration

This teaching video is based on the DGUSII platform DWIN OS Modbus RTU master-slave interface program, using the 485 interface. For the general application of DWIN screen as Modbus master, users do not need to program the code, but only follow the video to configure the initialization 22.bin file and configure the trigger conditions for sending read and write instructions.


The resolution of DWIN screen and image is 800*480.

Video link:https://www.ixigua.com/7042594615932748295
The attachment is the project file used in the video + download files + quick guide.

sxccdy123 发表于 2022-1-8 15:59:19

请问有中文版的吗

Bensenl 发表于 2022-1-8 15:59:56

本帖最后由 Bensenl 于 2022-1-8 16:01 编辑

sxccdy123 发表于 2022-1-8 15:59
请问有中文版的吗
您好,请参考
【开发资料】T5, T5L 系列MODBUS_RTU 协议通讯 os源码-升级版
http://inforum.dwin.com.cn:20080/forum.php?mod=viewthread&tid=2809&fromuid=9946
(出处: 迪文科技论坛)


meifoong 发表于 2022-4-13 12:29:34

您好,我下载了这个attachment,依照视频改了22文件,成功读取我的"气象多要素百叶盒传感器"的温湿度。

现在我想改GUI,放自己的图,产生32.icl,然后把没在DGUS TOOL生成的bin文件直接从以上拷贝进去。
我这么做了,可是不成功。modbus没有发送。

我要怎么做呢?请问可以指路吗?谢谢。

DWIN_LZ 发表于 2022-4-13 13:01:04

meifoong 发表于 2022-4-13 12:29
您好,我下载了这个attachment,依照视频改了22文件,成功读取我的"气象多要素百叶盒传感器"的温湿度。

现 ...

您好,您的屏是什么型号,工程方便发出来看看吗

meifoong 发表于 2022-4-13 13:16:23

DWIN_LZ 发表于 2022-4-13 13:01
您好,您的屏是什么型号,工程方便发出来看看吗

我的屏号: DMG80480T070_15WTR

DWIN_LZ 发表于 2022-4-13 13:20:34

meifoong 发表于 2022-4-13 13:16
我的屏号: DMG80480T070_15WTR

您好,我看了您的工程,22文件里面没有配置指令,您的联系方式能私信一下吗,方便沟通。

tasikbintag 发表于 2022-7-11 10:26:27

Hi.

I have question.

I want to change display screen number, when PLC 0x100 data has been changed. The screen number should be value of PLC 0x100.
and also,
want to chage PLC 0x200 data when the data at HMI address 0x5000 has been changed. The data at HMI addres 0x5000 should be same as PLC 0x200 data.

Hope to get info from you.




Mayenvy 发表于 2022-9-1 09:07:10

本帖最后由 Mayenvy 于 2022-9-1 13:20 编辑

tasikbintag 发表于 2022-7-11 10:26
Hi.

I have question.

Hi!

If you follow this configuration guide, and use your HMI as MASTER, you can use instructions like:
①Use 0x03 instruction by mod 00, it will automatically read data from PLC. The 22.bin file content should be like"5A 01 03 04 01 F4 00 00 00 00 50 00 00 64 00 00", it will keep read PLC 0x100 data(1 word) and write to HMI 0x5000.
②Use 0x06/0x10 instruction by mod 00, it will automatically write 1 or multiple words data from HMI to PLC. Instruction like "5A 01 06 01 01 F4 00 00 00 00 50 00 00 C8 00 00 ", it will keep write HMI data(1 word)of adress 0x5000 to PLC 0x200.

More details, please contact with jennifer@dwin.com.cn.

页: [1]
查看完整版本: 【Teaching Video】T5L DGUSII Modbus Master Configuration