Recent Posts

Pages: [1] 2 3 ... 10
1
Displays / Re: Generating unicode symbols in C POUs (DM430E)
« Last post by williamk on Today at 04:34:59 PM »
I'm actually able to work with STRINGs in C-POUs, but run into issues when I try to use WSTRINGs which would support characters that are outside of the base ASCII set.

Using STRING to try to print the degree symbol gives me the following warning and will compile but won't print correctly once it's installed and running on the display.
   - illegal character encoding in string literal In: wDiagSignals Line: 282 Column: 38 Category: Lexical or Preprocessor Issue

Using WSTRING and running the output of the POU directly to the Screen Definition gives me the following compile-time error.
   [CHPARGU1] Unsupported POU Call: {POU: wDiagSignals cannot be called directly from GUIDE code because it is using unsupported interface item(s): wstring, }.


Can WSTRINGs be used this way with ST-POUs?  It seems like it's specifically a limitation of the graphical portion of the environment rather than a C-POU vs ST-POU thing.  I will do some testing with ST-POUs today.
2
Displays / Re: Generating unicode symbols in C POUs (DM430E)
« Last post by Matt_Eng on Today at 02:29:23 PM »
I've done this before with a POU, there are two ways I've used.

1. Use a Structured Text POU to work with strings as it is a supported data type, although string/wstring is referred to as a char/wchar. This signal should be able to be directly connected to a screen definition.
2. If you use a C POU, then you need to use an array as the output of the POU instead of a string. After the POU the signal then needs to have a retype to string before it can be connected to a screen definition.

-Matt
3
Displays / Generating unicode symbols in C POUs (DM430E)
« Last post by williamk on August 17, 2022, 08:43:57 PM »
I'm attempting to generate some strings from within a POU that include unicode symbols like the Degree symbol and the Greater-Than-Equal symbol.

I've tried a few different things so far, but nothing has worked.

Basically, I want to take the output of a POU and than insert that into a Screen Definition as a STRING.  Is this possible?
4
Displays / Display an Array on a DM430E
« Last post by BBarry on August 17, 2022, 08:37:37 PM »
Hi people.
I was wondering if there was a simple way to display array data. One of my system requirements is to display a couple of Raw Can messages. I tried just "retyping" the ARRAY8[u8] to a string but you cant do that.

I know I can Decode it to its components and then retype and rebuild it as a string but I am hoping to not have to go thru all that.

Any suggestions?
5
PLUS+1 GUIDE / Re: Installing V260 Display hardware files in Guide 2022.2.5
« Last post by BrianF on August 16, 2022, 05:46:19 PM »
Tor, THANK YOU! That was driving me nuts.  I could not manually add the files and the update center was not doing anything.

So if anyone else has the same issue, deleting the BookCase.xml file worked for me.

Thank you again,
Brian F.
6
PLUS+1 Service Tool / Re: Download Progress Bar
« Last post by dlewis on August 16, 2022, 03:59:58 PM »
I got it !!!

Somehow the portion of the screen that shows the progress bar got pulled all the way to the bottom of the screen.  I didn't see it until I FULLY expanded the window.  Then I was able to see a glimpse of what I was missing.  I was then able to drag that part up to the middle of the screen so that when I resize the window to normal I can see the Progress Bar.

I hope this helps anyone that has the same issue in the future.
7
PLUS+1 Service Tool / Re: Download Progress Bar
« Last post by dlewis on August 16, 2022, 03:04:27 PM »
Looks like I'll need to contact tech support.  I uninstalled the Service Tool, rebooted the computer and then reinstalled and nothing changed.
8
PLUS+1 GUIDE / Re: Installing V260 Display hardware files in Guide 2022.2.5
« Last post by Tor on August 16, 2022, 11:40:30 AM »
Hello,

Yes, there seems to be a bug.

When installing a HWD file from the Update Center it's not always visible in GUIDE. Then you can install it manually as acmall mentioned.
In some cases not even that works, so we have found a workaround.

"The work around is to have PLUS+1 GUIDE closed and navigate to the following directory.
C:\Users\your logon\AppData\Roaming\Danfoss\PLUS1\2022.2\Data\GUIDE\HardwareBookcase
and delete the BookCase.xml.
When PLUS+1 GUIDE 2022.2 is restarted the BookCase.xml will be recreated and updated."

I'm not 100% sure if it helps you, but you can try.
If it doesn't, please report it here: https://danfoss.secure.force.com/dpscustomersupport/?product=software


Good Luck.
9
PLUS+1 Service Tool / Re: Downloading the Service Tool is a hassle or outright broken
« Last post by G30RG3 on August 16, 2022, 11:06:10 AM »
One could also make the update software an install-free executable. That would make the perception of a "long procedure" shorter
10
PLUS+1 Service Tool / Re: Downloading the Service Tool is a hassle or outright broken
« Last post by Tor on August 16, 2022, 10:37:53 AM »
Hello,

Sorry about the late reply, but summer vacation got in the way.

I don't have a good answer to why it was the way it was, or why it is the way it is. Who knows about tomorrow?  I don't make the decisions.


"In fact, why not just let them download it directly once they've filled out the form?"

Yes the preferred way to get the PLUS+1 Tools, files and document are to use the PLUS+1 Update Center.
One place to find what you need.

No more "web hunting" for the latest files, no forms to fill in, no emails with download links that never shows up because of different reasons. You have to spend 1 minute to create an account to use it.
How to use it: https://youtu.be/4n8f8ri-poY

With that said, it's not the perfect tool for everybody, especially if you don't want to install another software. But you seem to have found the workaround to keep the setup files and share.


Your inputs are very much appreciated and are shared with the correct people.

Have a nice day.
Pages: [1] 2 3 ... 10