Built in advanced faceplates, SQL queries etc
Hi!
Many times you require more advanced functions then a standard faceplate can provide.
For example using SQL queries against a database to give the operators possibility to do the right choices/selections.
Earlier there was a function in the Graphic Builder called 'Active X Wrapper' where you could run more advanced code.
Is there any way to do this inside 800xA or do you have to build for example external C# applications?
Br Asp
Many times you require more advanced functions then a standard faceplate can provide.
For example using SQL queries against a database to give the operators possibility to do the right choices/selections.
Earlier there was a function in the Graphic Builder called 'Active X Wrapper' where you could run more advanced code.
Is there any way to do this inside 800xA or do you have to build for example external C# applications?
Br Asp
Answers
ActiveX still exist!?:
![]()

But I would not recommend you to build in dependencies which can be a problem in future updates.
I would solve this issues by using embeded HTML and a webservice.
But I would not recommend you to build in dependencies which can be a problem in future updates.
I would solve this issues by using embeded HTML and a webservice.
Various wrappers have also brought problems to the workplace since they generally do not offer mission critical safe code nor interfaces, on the contrary may hang indefinitely, e.g on a non-existent database. In very early PG2 era, there were many different wrappers to choose from but they have been removed one after another and today we are more or less restricted to the Aspect View wrapper (display any aspect inside PG2, e.g. an alarm list).
The workplace has more or less been tuned for OPC DA interaction with the outside world.
The old Web Page aspect runs a critically outdated IE engine (would probably raise a lot of red flags if checked for cyber security...)
Lets hope new products from ABB can bring some of the application interfaces back to the workplace without too much potential problems.
The workplace has more or less been tuned for OPC DA interaction with the outside world.
The old Web Page aspect runs a critically outdated IE engine (would probably raise a lot of red flags if checked for cyber security...)
Lets hope new products from ABB can bring some of the application interfaces back to the workplace without too much potential problems.
There is a way to create PG2 primitives with advanced functionality in C#.
This describes how to do such thing:
https://forum-controlsystems.abb.com/...
I know the download of this app is broken, but you can use the copy in Martin87's github repo:
https://github.com/MartinNorberg/800x...
There are also 2 working examples in the app section:
This one from Martin87 seems to be a experimental prototype
https://forum-controlsystems.abb.com/...
This one from me have years of production usage
https://forum-controlsystems.abb.com/...
Both are also on Martin87's github.
In my experiences this method of creating custom graphic controls is very reliable. In the opposite to ActiveX-stuff I never experienced strange crash's or freezes from this kind of controls. Maybe because it's managed code.
On the other hand you have to remember: this is not supported by ABB. You have to take care on your control by yourself. This can be a problem, especially on 800xA version upgrades.
This describes how to do such thing:
https://forum-controlsystems.abb.com/...
I know the download of this app is broken, but you can use the copy in Martin87's github repo:
https://github.com/MartinNorberg/800x...
There are also 2 working examples in the app section:
This one from Martin87 seems to be a experimental prototype
https://forum-controlsystems.abb.com/...
This one from me have years of production usage
https://forum-controlsystems.abb.com/...
Both are also on Martin87's github.
In my experiences this method of creating custom graphic controls is very reliable. In the opposite to ActiveX-stuff I never experienced strange crash's or freezes from this kind of controls. Maybe because it's managed code.
On the other hand you have to remember: this is not supported by ABB. You have to take care on your control by yourself. This can be a problem, especially on 800xA version upgrades.
Add new comment