Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Extra libraries, Code snippets, applications etc. » Applications created with U++ » Industrial software solution
Industrial software solution [message #22371] Wed, 08 July 2009 23:39 Go to next message
Mindtraveller is currently offline  Mindtraveller
Messages: 916
Registered: August 2007
Location: Russia, Moscow rgn.
Experienced Contributor

Finally I have finished latest big project with U++. Actually it is complete software solution for galvanization line.

Few words about the line itself. This is large industrial hangar with a number of baths (with acid, etc.). Workers tighten workpieces to the fixture.

index.php?t=getfile&id=1829&private=0
  • Attachment: view1.jpg
    (Size: 42.20KB, Downloaded 864 times)

[Updated on: Wed, 08 July 2009 23:48]

Report message to a moderator

Re: Industrial software solution [message #22372 is a reply to message #22371] Wed, 08 July 2009 23:48 Go to previous messageGo to next message
Mindtraveller is currently offline  Mindtraveller
Messages: 916
Registered: August 2007
Location: Russia, Moscow rgn.
Experienced Contributor

This fixture is taken by the nearest of three large cranes

index.php?t=getfile&id=1830&private=0

and is put into the first bath. Then it is caught by cran again to be put to next bath. My customer company connected a number of sensors and microcontroller to each crane. Microcontroller is connected to these sensors and controls three engines moving crane itself and it's parts.

So the first part of this solution was to program each crane's controller to make crane getting and putting this fixture automaticly. The solution was made in TheIDE with Borland C++ 5.1 compiler. TheIDE has shown itself very stable and useful code editor even for unsopported platforms (DOS16).
  • Attachment: view2.jpg
    (Size: 31.92KB, Downloaded 859 times)

[Updated on: Thu, 09 July 2009 00:21]

Report message to a moderator

Re: Industrial software solution [message #22373 is a reply to message #22372] Wed, 08 July 2009 23:58 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 12098
Registered: November 2005
Ultimate Member
Now this looks like writing software for some real HARDWARE Smile
Re: Industrial software solution [message #22374 is a reply to message #22372] Wed, 08 July 2009 23:58 Go to previous messageGo to next message
Mindtraveller is currently offline  Mindtraveller
Messages: 916
Registered: August 2007
Location: Russia, Moscow rgn.
Experienced Contributor

Then all these cranes' controllers where binded into one net with central terminal.
The second part of my work was central terminal's software controlling these cranes autonomously. This will make line fully automated.

Terminal is a PC-compliant device with touch-screen and modified version of Windows 2000. Its program was completely made in U++. With all respect to U++ authors I have to say that application made is working 24 hours each of 365 days without hangup or crash. I achieved this by eliminating any new/delete calls, switching to alt-MT, own RS232 class and using a number of stable control and optimization algorithms.

Control algorithm is rather complex and large (takes about 200+ kBytes of source codes).

GUI was developed according to the fact that there's no mouse or keyboard. All we can do is tap finger to the screen. So, that is the main window:

index.php?t=getfile&id=1831&private=0
  • Attachment: shot1.png
    (Size: 23.72KB, Downloaded 837 times)

[Updated on: Thu, 09 July 2009 00:12]

Report message to a moderator

Re: Industrial software solution [message #22375 is a reply to message #22374] Wed, 08 July 2009 23:59 Go to previous messageGo to next message
Mindtraveller is currently offline  Mindtraveller
Messages: 916
Registered: August 2007
Location: Russia, Moscow rgn.
Experienced Contributor

Login window has to consider no mouse/kbd too:

index.php?t=getfile&id=1832&private=0
  • Attachment: shot2-1.png
    (Size: 88.00KB, Downloaded 819 times)
Re: Industrial software solution [message #22376 is a reply to message #22375] Thu, 09 July 2009 00:01 Go to previous messageGo to next message
Mindtraveller is currently offline  Mindtraveller
Messages: 916
Registered: August 2007
Location: Russia, Moscow rgn.
Experienced Contributor

And finally settings window. This has really nothing difficult:

index.php?t=getfile&id=1833&private=0
  • Attachment: shot3.png
    (Size: 69.28KB, Downloaded 890 times)
Re: Industrial software solution [message #22377 is a reply to message #22376] Thu, 09 July 2009 00:10 Go to previous messageGo to next message
Mindtraveller is currently offline  Mindtraveller
Messages: 916
Registered: August 2007
Location: Russia, Moscow rgn.
Experienced Contributor

As a conclusion, some highlights:

* Program consists of 6 threads which are interacting actively. Queueing MT-approach prooved itself stable and fits well into this task.

* Sqlite for program log works good. Even on sudden electricity shutdown it guarantees that log will survive without the need of repair. Actually it still works good with rather big messages database.

* RS232 class (to be introduced into this forum later) proved itself stable and good. Even unwanted signals on line didn't make any problems to correctly made protocols and good RS232 class Smile

* NTL/U++ containers are wonderful solution. No iterators, no new/delete. Stability and reliability even for 24x365 working mode.

It took about 1,5 years to learn U++. It took a year to write and debug this solution. Finally I'm very glad to admit: moving from C++ Builder to U++ made work easier and programs faster. Glad to say to U++ authors that U++ is cool. Very Happy

[Updated on: Thu, 09 July 2009 00:15]

Report message to a moderator

Re: Industrial software solution [message #22394 is a reply to message #22373] Thu, 09 July 2009 23:08 Go to previous messageGo to next message
Mindtraveller is currently offline  Mindtraveller
Messages: 916
Registered: August 2007
Location: Russia, Moscow rgn.
Experienced Contributor

luzr wrote on Thu, 09 July 2009 01:58

Now this looks like writing software for some real HARDWARE Smile
Yeah, and debugging these things really beats shit out of metal, with sparkles and skirring. Razz
Re: Industrial software solution [message #22395 is a reply to message #22394] Fri, 10 July 2009 00:12 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 12098
Registered: November 2005
Ultimate Member
Mindtraveller wrote on Thu, 09 July 2009 17:08

luzr wrote on Thu, 09 July 2009 01:58

Now this looks like writing software for some real HARDWARE Smile
Yeah, and debugging these things really beats shit out of metal, with sparkles and skirring. Razz



Lovely Smile

BTW, is there any www product page we could reference eventually?

Mirek
Re: Industrial software solution [message #22398 is a reply to message #22394] Fri, 10 July 2009 08:25 Go to previous messageGo to next message
tojocky is currently offline  tojocky
Messages: 607
Registered: April 2008
Location: UK
Contributor

Good news!
Congratulations!
U++ is really very good product. Thank to U++ authors.
Re: Industrial software solution [message #22409 is a reply to message #22398] Fri, 10 July 2009 20:33 Go to previous messageGo to next message
Didier is currently offline  Didier
Messages: 488
Registered: November 2008
Location: France
Senior Member
I'm waiting for the RS232 Class.

I'll port it to linux if the API suits well.
Re: Industrial software solution [message #22504 is a reply to message #22377] Sun, 19 July 2009 22:13 Go to previous message
sergeynikitin is currently offline  sergeynikitin
Messages: 736
Registered: January 2008
Location: Moscow, Russia
Contributor

Grandiose! Happy ending.

I liked the joke about the real equipment.


SergeyNikitin<U++>( linux, wine )
{
    under( Ubuntu || Debian || Raspbian );
}
Previous Topic: Tracer
Next Topic: Port giFT (a great but abandoned P2P project) to U++?
Goto Forum:
  


Current Time: Fri Nov 15 08:34:10 CET 2019

Total time taken to generate the page: 0.02045 seconds