PG2 Write value to integer (expression variable)

Is it possible to write to a expression variable (integer or Boolen) from a button.

It seems that Buttons and input Items can only write to propertyRef. I have no propertyRef and need this variable only on the screen.

Also not working is my workaround: the expression varible is from type propertyRef and a try to read #value from this propertyRef

Add New Comment


asked 12 days ago



Use an "Item Hosted Input Item" to write to an Expression Variable

- Add a "Text" Graphic Primitive to the display

- Add an Item Hosted Bool Dew to the Text Element

- Connect the Bool Dew to the Expression Variable

- Configure the Text Element Background Colours and texts to behave like a push button

For integer values use "Integer dew", real values "real dew" etc. Configure the Text element to show the data as required.

Rob Lyon   

answered 10 days ago


By lukas_b on 5/14/2018 | Like (0) | Report

Hi Rob
Thanks for your help.
But on both (real and bool dew) the Expression variable has to be a PropertyRef and not an Integer or Boolean. A expression variable as from type propertyRef can not be displayed in the display, or I was not able, even not with #Value

By Rob Lyon on 5/14/2018 | Like (0) | Report

Hmm, I've tested on a SV5.1 Rev D system and it works just fine for me.

You're correct the Buttons and "Input Field" Graphic Primitives require a property ref. However, the item Hosted DEW elements are able to read/write to Expression Variables as well as Property Refs. The "Text" property of the text graphic primitive for sure can read the value of an expression variable.

What version of 800xA are you on ?

By lukas_b on 5/14/2018 | Like (0) | Report

It seems its a problem of versioin!!

By lukas_b on 5/14/2018 | Like (0) | Report

I tested, in version 5.1 RevD it's fine

By lukas_b on 5/14/2018 | Like (0) | Report

Now I found out, the problem is not the version. The Problem ist that I tried to write on an inputProperty Integer and not an expressionVariable Integer. to write on an InputProperty is not possible. I did't know that there is a difference. But this is actually what I need, wo write on an inputproperty!

By Rob Lyon on 5/14/2018 | Like (0) | Report

So panic over ? Good to know :)

Add New Comment


What is your 800xA version? It is working for me in 6.0.2. I can define an integer expression variable and use its name in Target property of a Push Button.


answered 9 days ago


By lukas_b on 5/14/2018 | Like (0) | Report

I use
WTF!!! unbelievable. We just updated to this version.
Thanks for your halp.

By Rob Lyon on 5/14/2018 | Like (0) | Report

Oh dear, that's going to break at least one site I know of.

By lukas_b on 5/14/2018 | Like (0) | Report

I tested also in V5.1 RevD. There it's working also

Add New Comment

Get weekly AKS updates

Partner Exclusive Webinars


> – Login to the partner portal to register

Points Redemption Program - Redeem your points for ABB training, Bluetooth speakers and mugs. Terms and conditions >

Earn points when you refer a friend
AKS Referral Program is "Live" - Learn more

AKS Experts

Ask nikismith   

Rank: 257

I have been a part of the Recording & Control Factory team for 17 years in total, having spent a number of years as a repairs technician withi the manufacturing department, but being in my current role for 9 years now.

Ask Govindaraj   

Rank: 10

Working in ABB India Operation Center. Have Project engineering and commissioning experience in ABB 800xA, Freelance, AC500.

Ask Harsha.D   

Rank: 7

Tech.Support,software and commisioning engineer with Proficient knowledge in 800xA and its products, RNRP,Networking in general.

Ask Flavio Mussolin   

Rank: 4

ABB AVP, Senior Electronic and Automation Engineer with over 30 years of experience in the field of process automation automotive, pharmaceutical, hollow glass, steel and rolling.

Ask Ronny Lindström   

Rank: 17

ABB Service Engineer

Ask Stefan Stromqvist   

Rank: 1

I joined ABB in the year of 1994 and has since 1999 been working as a Service & Support Engineer at BU Control Technologies in Västerås, Sweden. My areas of expertise are: 800xA Base, 800xA for Advant Master, Information Management, operating systems, RNRP and Ethernet comms/networking in general.

Ask Dieter Henkel   

Rank: 19

Ask Sumit Gargav   

Rank: 3

I have worked with Freelance in majority, with 800xA FD and Melody system partly. Also had opportunity to work with Protocols - HART,Profibus,FF & Modbus.

Ask WvanWees   

Rank: 6

I'm a senior service engineer working for ABB in The Netherlands.

Ask MMM   

Rank: 5

ABB PA CT Technical Support

Ask Rob Lyon   

Rank: 2 I'm an independent DCS software and commissioning engineer with extensive experience in 800xA and other ABB products. I've worked in almost every corner of the world and still haven't seen it all.

Ask kstoilov   

Rank: 9

Control System Engineer: 800xA, Compact 800, AC500, AC31-50, Advant Master, Simatic, AC&DC Drives 11 years worked for ABB - Control Systems