×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

PanleView+ Indirect Tag, Indirect Tag in a PV+

PanleView+ Indirect Tag, Indirect Tag in a PV+

PanleView+ Indirect Tag, Indirect Tag in a PV+

(OP)
I have hit a wall in this an can't seem to find a way to work around it. What I would like to do is either one of two things

The Set up:

HMI= PV+1000
HMI Software= FactoryTalk ME V5.0
Processor= CLX-L61 V16

I have a screen that has multiple goto screen buttons
Each button calls up the same screen just with a different Parameter File for Each Station
On this New screen I have 31 Indicators that are True or Not as The Station Cycle through Steps 1-20
My wish is to have "Idicator1.Value= S10_[step_number.value].function1
S10_= S101,S102,S103,or....so on
Then step_number.value counts 1-20 and the above Indirect tag will be true on steps 1,4,10 so the Indicator would be Visible on steps 1,4,10

Option one
Place #1[step_number.value].function1 in the animation of Indicator 1
#1=S101,S102,S103,or....so on From Par File Called

Trouble is the animation doesn't seem to know what to do. I can display a string with an embedded Variable that will look like /*NOFILL:#1/[/*NOFILL:step_number.value/].function1 and It will Display out as
[color=#CC33CC]S101[0-20].Fuction1 [/color]. there just doesn't seem to be a variable option in the expression area of the animation I have even tried to copy and paste the working String display syntax hopping that even though the expression editor doesn't have a variables insert option that it still would know what to do with the code. No worky  sad

Option two
Copy the S101[step_number.value].function1-31 to a temporary array IN THE PLC that Indicators 1-31 always point to
Indicator1=S101[step_number.value].function1
Indicator2=S101[step_number.value].function2
Indicator3=S101[step_number.value].function3
.....and so on

The trouble I am having here is I can not find a way to Call the Screen, Parameter File, and wright a value to the PLC so I can Pick what array to load into the temporary location. Remember Multiple goto buttons, one Screen. Button 1 = station 101, Button 2= station 102, button 3= station 103... and so on. If I find a way to Call the Screen, Parameter File, and wright a value to {::[PLC]Data_Select} I can do as follows

if Data_Select=1 then
Indicator1=S101[step_number.value].function1
Indicator2=S101[step_number.value].function2
Indicator3=S101[step_number.value].function3
...
end_if

if Data_Select=2 then
Indicator1=S102[step_number.value].function1
Indicator2=S102[step_number.value].function2
Indicator3=S102[step_number.value].function3
...
end_if
if Data_Select=3 then
Indicator1=S103[step_number.value].function1
Indicator2=S103[step_number.value].function2
Indicator3=S103[step_number.value].function3
...
end_if

and so on

I know I could do this in RSVeiw32 apps
This here Projects is on a PV+ 1000 Using the FactoryTalk ME 5.0

Other thing I have attempted:
Another thing I did try along with option 2 is to add a Start-up Macro to the display. The macro worked if it pointed to a Local_Tag with a value 1 in it then wrote to {::[PLC]Data_Select}. But If I tried to use a Parameter Variable like #100 where #100 = Local_Tag, and Local_Tag=1 the macro failed. And yes I did call the Par File with opening the Display.

Can the Macro files do more then just wright values to a tag.
Macros In RSView32 I remember could preform Commands
and

 

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources