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

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 11391|回复: 12

关于数值变量显示问题

[复制链接]

15

主题

23

帖子

120

积分

注册会员

Rank: 2

积分
120
发表于 2021-9-26 23:58:40 | 显示全部楼层 |阅读模式
本帖最后由 13460332002 于 2021-9-27 00:00 编辑

这些都对,为什么显示还是整数位没有小数点

本帖子中包含更多资源

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

x
回复

使用道具 举报

0

主题

207

帖子

6873

积分

论坛元老

Rank: 8Rank: 8

积分
6873
发表于 2021-9-27 08:48:12 | 显示全部楼层
VisualHMI 人机界面 & VisualTFT 串口屏
回复

使用道具 举报

2

主题

7

帖子

96

积分

注册会员

Rank: 2

积分
96
发表于 2021-12-26 21:25:39 | 显示全部楼层
内存变量是不能缩放的
回复

使用道具 举报

19

主题

52

帖子

261

积分

中级会员

Rank: 3Rank: 3

积分
261
发表于 2022-5-6 02:31:32 | 显示全部楼层
Hi, I have similar problem. I set variable as 0,1 zoom (like in manual). My modbus register have 321 but at screen I see 321.0 instead 32.1

本帖子中包含更多资源

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

x
回复

使用道具 举报

2

主题

1253

帖子

1万

积分

论坛元老

Rank: 8Rank: 8

积分
12537
发表于 2022-5-6 11:11:22 | 显示全部楼层
terefere 发表于 2022-5-6 02:31
Hi, I have similar problem. I set variable as 0,1 zoom (like in manual). My modbus register have 321 ...

did you have save this setting and redownload this project to the screen?
Easy doesn't enter into Grown-up life
成年人的生活里面没有“容易”二字
回复

使用道具 举报

19

主题

52

帖子

261

积分

中级会员

Rank: 3Rank: 3

积分
261
发表于 2022-5-6 16:06:58 | 显示全部楼层
Sure, I try to set also "translation" and display format- this works, I see change. Only "zoom" not work as I read and think.
回复

使用道具 举报

2

主题

1253

帖子

1万

积分

论坛元老

Rank: 8Rank: 8

积分
12537
发表于 2022-5-6 17:20:30 | 显示全部楼层
terefere 发表于 2022-5-6 16:06
Sure, I try to set also "translation" and display format- this works, I see change. Only "zoom" not  ...

Can you give me the DeviceType of your screen?
Easy doesn't enter into Grown-up life
成年人的生活里面没有“容易”二字
回复

使用道具 举报

19

主题

52

帖子

261

积分

中级会员

Rank: 3Rank: 3

积分
261
发表于 2022-5-6 23:21:34 | 显示全部楼层
from sticker: DC12480EW068 1VW1 OC 1G V1Q11
Device in project settings DC12480EW068
回复

使用道具 举报

2

主题

1253

帖子

1万

积分

论坛元老

Rank: 8Rank: 8

积分
12537
发表于 2022-5-7 09:46:44 | 显示全部楼层
terefere 发表于 2022-5-6 23:21
from sticker: DC12480EW068 1VW1 OC 1G V1Q11
Device in project settings DC12480EW068

You can download this project in your screen to test. This packet also has modbus slave file, you can use modbus slave software to connect screen to test. If this project cannot be realized, please tell me HW ver on your screen.

本帖子中包含更多资源

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

x
Easy doesn't enter into Grown-up life
成年人的生活里面没有“容易”二字
回复

使用道具 举报

19

主题

52

帖子

261

积分

中级会员

Rank: 3Rank: 3

积分
261
发表于 2022-5-8 16:43:21 | 显示全部楼层
本帖最后由 terefere 于 2022-5-8 16:46 编辑

I burn it into screen but not switch on modbus- I see that you init variable to 32 at reset time but the same like previous time is displayed as 032.0 instead 3.2.  


本帖子中包含更多资源

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

x
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-4-19 01:04 , Processed in 0.100067 second(s), 19 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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