迪文科技论坛

 找回密码
 立即注册
搜索
查看: 1349|回复: 4

[DEMO]DMG10600C070_03W T5L DGUS II project

[复制链接]

542

主题

159

回帖

1万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
10522
发表于 2020-9-3 10:48:22 | 显示全部楼层 |阅读模式
The demo mainly demonstrates the main functions of the T5L_DGUSII platform,For a better demo, the description pointer and the 22. Bin file of power-on loading data are used.
For example,
(1)Turn touch sounds on or off
The variable address of 0x80 starts with a 2-word storage instruction:OFF(0x):5A 00 00 30,ON:5A 00 00 38
So,we just need store the instruction into the 22.bin file that can load data to RAM when power-on,
And then,configure the sync control,after pressing, load the data to 0x80 to close and open the touch sound.

(2)Display Rectangular progress bar
Use basic graphic control.
The instruction(0x): 0004 0002 00AF 00CD 0113 00E6 F800 00AF 0154 0384 016D FF1F.
So,we just need store the instruction into the 22.bin file that can load data to RAM when power-on,
And then,configure the sync control,after pressing, load the data to the address of basic graphic control to display rectangle.
With the increment adjustment button, the rectangular progress bar can be displayed by continuously changing the coordinate points,
For example,changing X coordinate 0x0113 to 0x0300,continuously pressing ,the rectangular progress bar is moving from ox0113 to 0x0300.

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
回复

使用道具 举报

2

主题

140

回帖

2586

积分

金牌会员

Rank: 6Rank: 6

积分
2586
发表于 2020-9-3 13:56:12 | 显示全部楼层
回复

使用道具 举报

9

主题

65

回帖

264

积分

中级会员

Rank: 3Rank: 3

积分
264
发表于 2023-3-23 16:51:08 | 显示全部楼层
Do I adopt and use this sample project at my DMG10600T101_A5WTR ?
I'm tryng to find a sample project for a link, "modbus slave tutorial" : https://www.youtube.com/watch?v=aht5PoxI7Rk
But the file size of 22_Config.bin is too small to fix the point, 0x1C000...
回复

使用道具 举报

9

主题

65

回帖

264

积分

中级会员

Rank: 3Rank: 3

积分
264
发表于 2023-3-23 16:54:02 | 显示全部楼层
Do I adopt and use this sample project for my DMG10600T101_A5WTR ?
I'm trying to follow the "modbus slave tutorial" at https://www.youtube.com/watch?v=aht5PoxI7Rk,
but the file size of 22_Config.bin is too small to fix 0x1C000...
回复

使用道具 举报

发表于 2023-3-23 17:17:52 | 显示全部楼层
The development of MODBUS can refer to the routine information in this link: http://inforum.dwin.com.cn:20080 ... amp;_dsign=768a43dc
回复

使用道具 举报

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

本版积分规则

QQ|Archiver|手机版|小黑屋|迪文科技论坛 ( 京ICP备05033781号-1 )

GMT+8, 2024-4-27 21:06 , Processed in 0.084910 second(s), 22 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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