Use Hashtag (#) in FactoryTalk Text Box

JJH

Member
Join Date
Oct 2015
Location
South Carolina
Posts
57
I am creating a text box for a screen that has the following layout:

/*N:2 {::[MACHINE]Program:UN_Machine.EventSlot1} NOFILL DP:0*/
#1
#2
#3
/*N:2 {::[MACHINE]Program:UN_Machine.EventSlot2} NOFILL DP:0*/
#1
#2
#3
/*N:2 {::[MACHINE]Program:UN_Machine.EventSlot3} NOFILL DP:0*/
#1
#2
#3
/*N:2 {::[MACHINE]Program:UN_Machine.EventSlot4} NOFILL DP:0*/
#1
#2
#3

Problem is, FactoryTalk thinks the #1, #2, #3 are for parameter files, when I really mean is for Number (#), not Parameter.

Anyone know the right way for me to use a hashtag symbol in a text box as a text object and not an instruction for FactoryTalk to do something else?
 
Are you using FTView ME or SE? What version?

I am creating a text box...

Are you using a Text object or another object?

... for a screen that has the following layout:

/*N:2 {::[MACHINE]Program:UN_Machine.EventSlot1} NOFILL DP:0*/
#1
#2
#3
I tested a similar code in a FTVME screen and it works correctly (#1, #2, #3 are printed literally on screen).

Could you post a capture of the object's properties?
 
FTVME Hashtag

Attached is a screenshot of the property.

I'm just using a basic text object as I often do displays with that and just have the variables in there. Thought I could do the same thing, but I forgot the # symbol is interpreted as a parameter file in FTV, which is not what I want it for.

FTVME Hashtag.JPG
 
Ok. My first test was in FTVME 6.10. Now I was able to reproduce the issue on FTVME 8.10.

I think there are some workarounds:

a) Create a string tag in HMI Tags and use it instead of the hashtag. For example: if the tag's name is hashtag (type: string, length: 1, data source type: memory, initial valur: #), you can use it the Text object:

Code:
/*N:5 Variable1 NOFILL DP:0*/
  /*S:1 hashtag*/1
  /*S:1 hashtag*/2
  /*S:1 hashtag*/3
/*N:5 Variable3 NOFILL DP:0*/
b) Add and space between the hashtag and the number

Code:
/*N:5 Variable1 NOFILL DP:0*/
# 1
# 2
# 3
If I can think of another solution, I'll post it.

workaround_01.png
 

Similar Topics

Hello, I was looking to store some values from our FactoryTalk Application using Datalog to a MariaDB. I see there is quite a bit of documentation...
Replies
1
Views
47
Hi Folks, who know why after start FactoryTalk activation manager V4.03, click "Get New Activations", it displays Is not I appreciate with any...
Replies
0
Views
49
I have a little bit of experience with Allen-Bradley. I have a Micrologix 1500 (RSLogix 500) and a PanelView Plus 7 (FactoryTalk View Studio ME)...
Replies
3
Views
82
I need to use a TreeView in my FactoryTalk SE project and i found it under "ActiveX Object" > "Microsoft TreeView Control 6.0 (SP4)". Everything...
Replies
0
Views
31
Hi, I wanted to ask is there a way to have a visibility expression use the IP address of the HMI (Dynics, not PV) to show certain elements? The...
Replies
3
Views
167
Back
Top Bottom