Do any of you Studio5000 users use Parameter Connections?

FreeAtLast

Member
Join Date
Mar 2019
Location
Nashville
Posts
38
Good Morning All,
Looking for some advice from any of you who use Parameter Connections in Studio5K.

I'm starting to write modular code for each device and wrapping it inside a Program, instead of a Routine or AOI. With that, I'd like to use the program's input parameter and output parameter options. I noticed that I can't alias a program's input parameter to a raw input like "Local:1:I.Pt00.Data", but I can make a connection to it. (See attached .png)

What's the difference?

What I'd like to do is let my program function similarly to an AOI, where an AOI's input parameters are exposed, and the input parameter expects a tag to be bound to it.

Is a parameter connection the method for achieving this?
Thanks for your input!

ParameterConnection.png
 
Do you have this manual?:
Rockwell Automation Publication 1756-PM021C-EN-P - February 2018

I would like to do more of this as well. I would like to see how others use this to get some ideas on the best practices.
 
Thanks. I didn't have that Publication yet, but it's very helpful. It shows that I can connect directly to the raw input.
Much appreciated!

ParameterConnection2.png
 
Originally posted by cardosocea:

Although this is definitely welcome from Rockwell, doesn't this sort of "hide" the code?

To a certain degree it does. You would definitely need to know about this functionality and understand its use to have any hope of determining where any given piece of data is coming from.

In that way it is similar to SLC/PLC5 mapping or safety tag mapping. If you don't understand that those tools exist you can get lost in a hurry.

Keith
 
It does make logical sense!.
Because inputs are passed as value and therefore their values can not be changed during the execution of the program.
 
Although this is definitely welcome from Rockwell, doesn't this sort of "hide" the code?
My thoughts as well, which is why I've never decided to use program parameters. All of my code eventually gets maintained by others and this would be very "non-standard," at least in my industry.
 
I've started using program parameters, which I find really useful for modular programming related to batch/process control phases. I am not using the connection feature however. I'm not sure where I would find it useful as aliasing seems to accomplish similar and having the \Program123.SomeTag notation in the logic makes it obvious when you're referencing a different program tag.

But I suppose a tag "SomeTag" with a connection to \Program123.SomeTag is useful for short hand?
 

Similar Topics

I have an array of 55 REAL values. Is there a way to multiply based on the array location ? I have 55 transfer belts that are equally spaced...
Replies
3
Views
147
Hi Hope you all are doing well. Iam working on a project with some AOI. I also hate no online edits... lol. My problem occurs when I use a UDT...
Replies
2
Views
156
I am not sure if this is possible but if there is a way, you guys would be the ones to know. I am currently working on a project where we are...
Replies
7
Views
213
Hi all. I'm having issues adding an ethernet module to my project in Studio500 v34. The device is a Fredericks Televac EthernetIP MX gateway which...
Replies
8
Views
333
The day of week program started changing day of week 2 hours early. It changes at 10 P.M. instead of 12A.M. Just started this year.
Replies
22
Views
2,649
Back
Top Bottom