[?] FactoryTalk parameters

RSLinx, RSLogix, RSView, LogixPro ...
szum
Posts: 4
Joined: Wed May 16, 2012 7:09 pm

[?] FactoryTalk parameters

Post by szum »

Hi,
is it possible to pass a value instead of a tag as a parameter for the display?

My example:
I have global object with parameters defined:

#1 PLC Tag
#2 Min
#3 Max
#4 Description

On touch action of global object I display faceplate and pass whatever tags i need to:
Display Faceplate /T {#1},{#2},{#3},{#4}

When I pass tags as parameters everything works as expected.

Hen I pass Description as string (not string tag) it works OK using literal string but string is displayed in quotes: I pass My Description and get "My description" on faceplate,
I can live with that, but it would be good if anyone knows a way to get rid of quotes (It display's same string OK if I use it directly on the global object text display).

I use #2 #3 to to limit numeric input, but I want to pass number instead of specifying tags that will be constant and I don't really need.
If I pass numbers as parameters of global object (for example #2=5 #3=50) limit is always set from 0 to 0.
Is there any way to do that without defining extra tags?

Regards,
szum
prushmere
Posts: 40
Joined: Fri May 07, 2010 8:44 am
Location: UK

Re: [?] FactoryTalk parameters

Post by prushmere »

Hi,

1. Using a non-breaking space in your strings will stop SE adding the quotes, i.e. use alt+255 instead of typing a space.
2. No, SE won't let you pass a number as a parameter.