![]() ![]() ![]() ![]() ![]() ![]() |
||
![]() |
||
![]() ![]() ![]() ![]() This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc. |
||
![]()
|
New Here? Please read this important info!!!
|
![]() |
#1 |
Member
![]() ![]() Join Date: Feb 2018
Location: Michigan
Posts: 5
|
FactoryTalk View SE HELP PLEASE
I've been assigned a project at work where I have to add a display to an SE application. Easy enough, except for the fact that it's being used as a marquee display on a remote monitor above a line... with ZERO used interface. I'm trying to use a counter in a ControlLogix processor to index between screen and I am having ZERO luck. I've copied the VBA script that Rockwell's Tech Connect has swore would work but yet still no screen change.
So here's the particulars: Screen number tag type in the display is Analog due to the way I set the logic up for future adding of screens. The attached file is a screenshot of the logic which is functioning. This application is pulling information on the displays properly from this PLC so it's not an RSLinx issue. Example of the startup macro syntax used for the displays: Display Overhead_Display /ZA VBA Code used: Private Sub NumericDisplay9_Change() If Not IsError (NumericDisplay9.Value) Then If NumericDisplay9.Value = 1 Then ExecuteCommand "Display Overhead_Display_2" End If End If End Sub Please forgive my ignorance in advance since I definitely am not a VBA guru by ANY MEANS! |
![]() |
![]() |
#2 |
Lifetime Supporting Member
|
Don't make things hard on yourself.
Can't you just use a "Multi-State Indicator" and have it switch based on an integer? MSI's can have tag data in the messages, and are fully formatable based on the selection integer.
__________________
------------------------------------ How to ask questions the SMART Way! Look First, Ask Second! |
![]() |
![]() |
#3 |
Member
![]() ![]() Join Date: Feb 2018
Location: Michigan
Posts: 5
|
Unfortunately due to the amount of information it isn’t possible to use a multistate indicator. Count down timers for 3 different systems.... juice flavors in 3 different silos... silo levels for 3 silos. Yea MSI’s just can’t do what I need unfortunately.
|
![]() |
![]() |
#4 |
Member
![]() ![]() Join Date: Feb 2018
Location: New Orleans
Posts: 9
|
So you're looking to have a different screen appear every 5 seconds? And each of those screens will contain some new info to flash across the top?
I agree with rdrast - multi state indicator seems like the way to go. I'm not sure which version of FT you are using, but in V9.0 - you can have up to 2,000 states in one indicator. (Not sure how well that would actually function though.) So make your counter reset after it reaches, say, 9. And then you can have all of the states looking at the counter.ACC. State 1 needs counter.ACC ==1, state 2 needs counter.ACC == 2, and so on. If you are really set on using VBA, my only thought is making sure that "NumericDisplay9" is exposed to VBA. Right click on the display, go to property panel, then change the ExposeToVBA property to "VBA Control". Cheers. |
![]() |
![]() |
#5 | |
Member
![]() ![]() Join Date: Feb 2018
Location: Michigan
Posts: 5
|
Quote:
|
|
![]() |
![]() |
#6 |
Lifetime Supporting Member
|
I can't see a reason MSI's can't work, even if you have to put a few up with the same index number, BUT....
Rather than SE, if you are going to be messing around with VB anyway, why not AdvancedHMI?
__________________
------------------------------------ How to ask questions the SMART Way! Look First, Ask Second! |
![]() |
![]() |
#7 | |
Member
![]() ![]() Join Date: Feb 2018
Location: Michigan
Posts: 5
|
Quote:
I have it figured out. Stupid typo I found. Once I get back to my desk I will provide the images as promised so you can see why the msi’s Just won’t work without a ton of extra work |
|
![]() |
![]() |
#8 |
Member
![]() ![]() Join Date: Feb 2018
Location: Michigan
Posts: 5
|
I did finally get everything straightened out with this. As you can see with the 2 images the MSI just wouldn't do what I needed to do considering that everything on these displays has to be big due to being 20' up in the air on a 55" TV. Sometimes people have no clue what it takes to get what they requested done.
|
![]() |
![]() |
Bookmarks |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
FactoryTalk View SE VBA Tags to Excel | kota_rt | LIVE PLC Questions And Answers | 21 | September 3rd, 2017 01:54 PM |
FactoryTalk View SE data logging problems | yrret0715 | LIVE PLC Questions And Answers | 3 | April 17th, 2015 11:55 AM |
FT View SE Editing Without License | Mark Cole | LIVE PLC Questions And Answers | 9 | November 22nd, 2014 09:03 AM |
How to integrate multiple FactoryTalk View SE Local project to an Network Project? | Richard yang | LIVE PLC Questions And Answers | 1 | November 4th, 2014 03:32 AM |
FactoryTalk View SE 7.0 to FT View SE 5.10 Problems | ebolbol | LIVE PLC Questions And Answers | 8 | December 13th, 2013 11:59 AM |