letuan 发表于 2021-5-7 16:08:44

[Question]T5L display

How can i display a negative number in DGUS? or display a '-' character from code behind?

AHYEAH 发表于 2021-5-7 17:03:39

Please check the document in attchment

guoqiaoyan 发表于 2021-5-7 17:18:47

Hi Sir, pls refer to below comments.

The calculation method is the complement of a positive number+1

For example, you wanna to display- 21.1234
Then FFFF FFFF -0003 3922=FFFC C6DD(the complement of a positive number)+1=FFFC C6DE
‭FFFC C6DE‬=-21.1234
When sending command, the code is FFFC C6DE

Besides that, you may contact me for any technical issue. Here is my contact information.
Email: maria.guo@dwin.com.cn
Whatsapp/Skype: 8615127618011
Wechat: 15127618011

guoqiaoyan 发表于 2021-5-7 17:20:20

0003 3922 is the hex format of 211234
页: [1]
查看完整版本: [Question]T5L display