diagram variables to appliactions local or global variables

hi i want to be able to see the value of a variable which i have declered in the diagram module in the global variable list. Any one that knows how to do this? i am using the compact control builder v5

Add New Comment


n1992   

asked 1 year ago
Closed



Answers

0

Declare the variable in External Variables tab (same as global variable) in CMT. Then you can fetch the global veriable in the CMT interaction window or CMD editor.

For example: Say you have declared a global variable in the application as, Variable Name = xyz and data type = bool. Declare same variable in 'External Variables' tab on CMT as, Variable Name = xyz and data type = bool.

skhpatnaik   

answered 1 year ago


 


Add New Comment


0

For Diagram Types in Control Builder M there are no external Variables possible. Use only local Variables and/or communication Variables.

You could as workaround define your own CM or FB type, insert as block in the Diagram and access the Global Variables from there.

backdraft   

answered 1 year ago


 


By n1992 on 2/22/2016 | Like (0) | Report

hi thanks for the tip, i want to try this but how do you create a code block? i have several CM done already that i want to use in the diagram


By n1992 on 2/22/2016 | Like (0) | Report

or how i do to access the global variables via the CM?


By n1992 on 2/22/2016 | Like (0) | Report

i have tried to insert the CM as object but i cant read see the tags in the opc in panel builder 800. However if i use another client i am able to see the tags. Any idea how i can see them in panel builder as well? I noticed that i also can see the tags for the diagram 3(PLC_1.slow) in the panel builder but not the others, for example if i declare a variable in the diagram2. i


By backdraft on 2/24/2016 | Like (0) | Report

You have to declare the Global Variables under the "External Variables" Tab in the CM to access them.
For the Panel Builder, you need to declare "Access Variables" on the Controller Level additionally - this is not related to Global Variables.


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


avatar
Ask Flavio Mussolin   

Rank: 5

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.


avatar
Ask Govindaraj   

Rank: 10

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


avatar
Ask nikismith   

Rank: 260

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.


avatar
Ask Harsha.D   

Rank: 6

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


avatar
Ask MMM   

Rank: 4

ABB PA CT Technical Support


avatar
Ask Dieter Henkel   

Rank: 24


avatar
Ask Rob Lyon   

Rank: 3

info@lymac.co.nz 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.


avatar
Ask Sumit Gargav   

Rank: 2

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.


avatar
Ask kstoilov   

Rank: 21

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


avatar
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.