FactoryTalk View Literal string in Global Object

Suseh

Member
Join Date
Apr 2015
Location
Rome
Posts
62
Another issue with Global Objects in Factory Talk View 8.0
Description:
Input Parameters on my Global_Object_1 are #1 and #2.
My Input Parameters Value for this case will be:
#1 => motor structure from PLC, for example: Motor[0]
#2 => description for exact motor, for example: Exhaust Fan

To show #2 i use string embedded variable, with literal option to display it.
It works good.
But (always is a but...) when i display new display from my global object with my input paramters value with command:
Display Global_Object_Details /T{#1}, {#2}
it start to be messy.

#2 (in my case: Exhaust Fan) is displaying: "Exhaust Fan".
How to remove apostrophes from it?

From the manual:
Select the Literal string option, to show the text string you type in the dialog box, or the
parameter value that replaces the tag placeholder.
The literal string you type (or specify in a parameter file) cannot contain spaces.

How to deal with it?
 
Last edited:
labeledas thanks for replaying.
I don't catch solution....when i should type &160?

In my display there is embedded string variable. I show it in that way:
Text -> Insert variable -> String -> Literal String -> #2
That gives me:
/*LS:0 {#2}*/
 
Where are entering the value for #2 Exhaust Motor.

Instead should be Exhaust(alt)&160Motor
It will put a special space character in so it will look like
Exhaust Motor
 
The whole idea is that i don't store string.
There is no string from plc or from memory tag.

This string is what you are typing to global object parameter values.
 
couldn't open the .apa I only have ftview7 installed, but are you entering the text in the global objet properties on a display. If so instead of typing Exhaust(space)Fan type Exhaust(alt0160)Fan

make sure numlock is on and use the side numerical pad not the top one on your keyboard. hold down alt and type 0160 when you release the alt key a space should appear this is not the same as hitting the space bar
 
Yeap. It works.
But.....what with PC's without side numerical pad?

Anyway. Thanks a lot labeledas
 

Similar Topics

I have two identical machines running similar HMI projects, the only difference is one is done in FactoryTalk View Version 10 and the other is...
Replies
3
Views
144
Hello, I'm using FactoryTalk View ME V10. I created a valve as a global object with multiple parameters and when the object is being used at the...
Replies
2
Views
131
Hello all, I was modifying an HMI in factory talk and went to change a go to display button using the ... to select from a list as I had done...
Replies
4
Views
178
Hello, We recently upgraded our control server to a newer model. After the transition we are experiencing issues with our trend graphs to where...
Replies
2
Views
121
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
200
Back
Top Bottom