PLUS+1 User Forum
PLUS+1 Tools => PLUS+1 Service Tool => Topic started by: Marbek_Elektronik on November 05, 2013, 07:00:42 PM
-
Hi,
my customer want's to write some text in NV (EEPROM) to the controller with service tool.
The user of the machine should read this text on display.
The user can also input some text via display and it might be possible
to read and change it in service tool, vice versa.
But I have found no possibility to show values as ASCII-text!
somebody an idea?
@helpdesk: Would you make it possible in next Guide release?
Thanks
Bernd
-
Way late reply, but I've done this. I used text list objects in the display for the alphabet and a simple unsigned integer variable in the program becomes the index to select the correct character to display. Buttons on the display increase or decrease the value (up/down counter object with limits), advance to the next character to change, etc. Awfully painful and tedious but it worked for a short bit of text. And I only used a portion of the ASCII set to keep my sanity.
-
Thanks,
now I have also put text in several languages (Page 1250, 1251, 1252) via constant and"%c" to display.
But the question is: How can I read it in service tool? There is no possibility to format the NV-memory in text format.
Ok, I think it is to difficult, because of codepages.
-
If I really (really) had to do this with the Service Tool, I would write a little Perl script to that would convert the string into an XML parameter file, then in the Service tool create a separate parameter function just for the strings, with an array element for each one. Then the customer only has to convert the string and then import the XML file. Come to think of it, this would be easier than using screen buttons to change one character at a time.
-
See also http://www.plus1forum.danfoss.com/index.php?topic=629.0 (http://www.plus1forum.danfoss.com/index.php?topic=629.0)
-
It would be nice, if they make it possible to put strings to display
and also possible to read and write strings and characters in service-tool.
My actual way ist to use format "%c%c%c%c%c%c%c......" and assign the chracters and to use one screen for each string.
But it is not possible to read this in service tool as a string.
-
You can display a single ASCII character in the service tool if you create a text lookup table, and fill in the characters you want in it and base the index on the ASCII number for the character. That's probably a pain, but it should work. Not sure how you would get around doing multiple characters until the great Danfoss gods come up with something :)
Cheers, John.