{Brackets} in FactoryTalk View Studio

scantime

Member
Join Date
Apr 2014
Location
US
Posts
25
Hi all, recently converted a PanelBuillder 32 to PanelView Plus HMI, and have encountered several tags for indicators, etc. that are enclosed in brackets as such: {TagExample}. What is the function, if any, of these brackets?
 
FactoryTalk View Studio - Direct Referencing

The {curly brackets} denote a connection to a Direct Referenced Tag or Data File address in a controller.
i.e. An external reference to the HMI.

RSLogix 500 example Data File address syntax...

{::[plc_shortcut]N7:0}

The :: must be used when an RSLogix 500 address has a colon.
The [] defines the PLC shortcut name.
"N7:0" defines the Data File address to be accessed.
The {} surrounds the entire Direct Reference.

RSLogix 5000 example Controller Tag address syntax...

{[plc_shortcut]MyTag}

The :: are not required for Controller Tag references.
The [] defines the PLC shortcut name.
"MyTag" defines the Tag address to be accessed.
The {} surrounds the entire Direct Reference.

or

RSLogix 5000 example Program Tag address syntax...

{::[plc_shortcut]Program:MyProgram.MyTag}

The :: must be used when a Program Tag is defined.
The [] defines the PLC shortcut name.
"Program:MyProgram" defines the Program to access.
"MyTag" defines the Program Tag address to be accessed.
The {} surrounds the entire Direct Reference.

If you select PLC Tags by browsing Online or Offline Tags for the controller, the correct syntax will be automatically entered for you.

If you require bit level access then for RSLogix 500 add "/bit number" at the end of the Data File address, or for RSLogix 5000 add ".bit number" at the end of the Tag address.

Regards,
George
 
This has been the best explanation of tag syntax. I spent an hour on the phone with Rockwell support today, trying to get this out of him. His solution? Leave all tags in the controller, not in the program. Which is ridiculous, why else give two locations, one of which can be edited online.
 

Similar Topics

Hi, I'm a little confused, and hoping to verify what I'm seeing on some of the rungs in this RSLogix 500 program I have open. This will probably...
Replies
2
Views
2,270
All, I am trying to understand what information "source a" is referencing in an EQU instruction (RSLogix5000). It points to a tag, the. lists...
Replies
2
Views
1,381
Why's is the Integer in brackets? I've never seen thie before.
Replies
15
Views
4,385
Hi, I know this is not realy a PLC question but I'm interested to know which companies in the UK you use to purchase brackets and post for...
Replies
2
Views
2,755
how to communicate FactoryTalk Optix and Mitsubishi Q Series. I want to know the details of that
Replies
0
Views
36
Back
Top Bottom