Store PLCnext CommunityPLCnext on LinkedInPLCnext on Instagram  PLCnext on YouTube Github PLCnext CommunityStore PLCnext Community

0
Votes
Undo
  1. simac_kenneth
  2. PLCnext Technology & PLCnext Controls
  3. Tuesday, 06 April 2021
Hello,

I have a problem with the HMI browser.
When I want to show the ° degree sign it will replace it with a character unknown sign.

The strange thing is, When I work from home this does not happen.
Same laptop, same PLC (that is still in the office), different monitors.

AXC F 2152
Version 2021.0.0
HMI Browser Client.


Any ideas why this could be?
Attachments (1)
Accepted Answer
Oliver PLCnext Team Accepted Answer Pending Moderation
0
Votes
Undo
Hello Simac,
okay I can now reproduce this.
Sorry a fix for this issue has been planed for 2021.6 release.

For now you might have to work with a fixed Text if you want to use "°C"
Currently the IEC 61131-3 data type STRING has a 1 byte ASCII coding, which offers in fact only the codes from 0x20 (blank character ' ') to 0x7E ('~')
kind regards,
Oliver
Phoenix Contact Electronics Headquarters - PLCnext Runtime Product Management and Support
Oliver PLCnext Team Accepted Answer Pending Moderation
0
Votes
Undo
Hello Simac,
pleas specify what Product and Software you are using.
kind regards,
Oliver
Phoenix Contact Electronics Headquarters - PLCnext Runtime Product Management and Support
simac_kenneth Accepted Answer Pending Moderation
0
Votes
Undo
Hello Simac,
pleas specify what Product and Software you are using.
kind regards,
Oliver


Updated post.
Oliver PLCnext Team Accepted Answer Pending Moderation
0
Votes
Undo
Hello Simac
I can not reproduce the problem with a standard Chrome or Edge browser
What is the HMI + Version you are using?

HMI_degree.jpg
Attachments (1)
Phoenix Contact Electronics Headquarters - PLCnext Runtime Product Management and Support
simac_kenneth Accepted Answer Pending Moderation
0
Votes
Undo
Not sure how to see the version of the HMI.
Using standard HMI Webserver.

Maybe the problem is in the use of IEC string that is declared inside the C# library?
Oliver PLCnext Team Accepted Answer Pending Moderation
0
Votes
Undo
When debugging in PLCnext Engineer is the character displayed correctly?
Maybe there is an issue with the character format or something.
You could try checking the Binarydata of the characters if it realy is the ascii degree sign " ° ".
Using String_To_Buff. and then check the binary data of your signs etc...
Phoenix Contact Electronics Headquarters - PLCnext Runtime Product Management and Support
simac_kenneth Accepted Answer Pending Moderation
0
Votes
Undo
In the watch table it shows °C.
Attachments (1)
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.