You are not registered yet. Please click here to register!


 
 
plc storereviewsdownloads
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc.
 
Try our online PLC Simulator- FREE.  Click here now to try it.

---------->>>>>Get FREE PLC Programming Tips

New Here? Please read this important info!!!


Go Back   PLCS.net - Interactive Q & A > PLCS.net - Interactive Q & A > LIVE PLC Questions And Answers

PLC training tools sale

Reply
 
Thread Tools Display Modes
Old March 13th, 2008, 07:33 PM   #1
STL???
Member
United Kingdom

STL??? is offline
 
Join Date: Sep 2005
Location: UK
Posts: 867
Redlion G3 Popup Menu

Hi, is there anyway i can create a Popup next to the panel keys i.e Left side of the screen (like a windows start menu) to describe the panel keys?

I have tried to create one using the following code:

if (Show_Menu)
{
ShowPopup(Menu);
}

Show_Menu is an internal bit triggered momentarily by a push button.
Menu is the popup page

I then get a Guru Meditation Code: 02-2007-4918-604

secondly on a Message box in the centre of the screen, i've noticed that if the trigger is held on whilst the message box is active, then no tags are wrote when pressing buttons, i have fixed this using a "one shot" pulse to trigger, this works but if the exit button is pressed triggering Hidepopup() then the popup is gone before a decision button is pressed.
  Reply With Quote
Old March 13th, 2008, 07:43 PM   #2
TWControls
Lifetime Supporting Member
United States

TWControls is offline
 
TWControls's Avatar
 
Join Date: Oct 2005
Location: Roanoke, VA
Posts: 1,928
Personally I hate Windows popups but...

if (Show_Menu = true) {
ShowPopup(Menu);
}
else {
}
__________________
"It's a lot easier to find another job than to find another family. And families tend to be a lot more loyal than corporations." - Steve Bailey

THE AUTOMATION STORE - Your source for automation supplies, repairs, and PLC training classes
  Reply With Quote
Old March 13th, 2008, 07:56 PM   #3
STL???
Member
United Kingdom

STL??? is offline
 
Join Date: Sep 2005
Location: UK
Posts: 867
Hi,
The triggering code works fine with popups, I was wondering if it was possible to trigger a Popup on the Left hand side of the screen instead of central, that way you have a guide for each button.

When triggered via button, the screen bombs and gives me the Guru code.
  Reply With Quote
Old March 13th, 2008, 08:07 PM   #4
Brijm
Lifetime Supporting Member
United States

Brijm is offline
 
Brijm's Avatar
 
Join Date: May 2006
Location: St. Marys, PA
Posts: 582
Quote:
Originally Posted by STL???
Hi, is there anyway i can create a Popup next to the panel keys i.e Left side of the screen (like a windows start menu) to describe the panel keys?

I have tried to create one using the following code:

if (Show_Menu)
{
ShowPopup(Menu);
}

Show_Menu is an internal bit triggered momentarily by a push button.
Menu is the popup page

I then get a Guru Meditation Code: 02-2007-4918-604

secondly on a Message box in the centre of the screen, i've noticed that if the trigger is held on whilst the message box is active, then no tags are wrote when pressing buttons, i have fixed this using a "one shot" pulse to trigger, this works but if the exit button is pressed triggering Hidepopup() then the popup is gone before a decision button is pressed.
I haven't found a way to do this through a program/expression, but you can use the action menu of a box or libraray primitive, set to "GoTo Page" Under the target page list box is a show as list box. Select "Popup Menu" and this will create a popup, on the left side of the screen the height of the screen and the width of the contents of the page. You can also do this via the softkeys (menu and such).

Also under the page properties, you can select the popup location.... (Bottom, Left). I haven't used this on an actual screen, and it doesn't seem to work in the emulator.

-brian
  Reply With Quote
Old March 13th, 2008, 08:12 PM   #5
STL???
Member
United Kingdom

STL??? is offline
 
Join Date: Sep 2005
Location: UK
Posts: 867
Thanks - ill give it a try.
  Reply With Quote
Old March 13th, 2008, 08:29 PM   #6
STL???
Member
United Kingdom

STL??? is offline
 
Join Date: Sep 2005
Location: UK
Posts: 867
Gave it a try with show as Popup menu and popup window, still crashes and gives the same Guru message - bummer.
  Reply With Quote
Old March 13th, 2008, 08:32 PM   #7
STL???
Member
United Kingdom

STL??? is offline
 
Join Date: Sep 2005
Location: UK
Posts: 867
Messed about with the size abit and it appears to be working?
  Reply With Quote
Old March 13th, 2008, 08:50 PM   #8
STL???
Member
United Kingdom

STL??? is offline
 
Join Date: Sep 2005
Location: UK
Posts: 867
Hi,
all working now - i deleted a shadow i had the text written in and just changed the background colour to match and it works a treat.

thanks for your help Brijm
  Reply With Quote
Old March 13th, 2008, 09:26 PM   #9
STL???
Member
United Kingdom

STL??? is offline
 
Join Date: Sep 2005
Location: UK
Posts: 867
OK - next problem!

I have 4 screens configured currently, each screen has the keys assigned to goto page for the other screens, the popup menu also has these keys assigned on its screen also, however when the popup menu is visable - the panel keys do nothing, hide it and i can navigate as normal?

what i'm i doing wrong?
  Reply With Quote
Old March 14th, 2008, 06:24 AM   #10
DanYost
Member
United States

DanYost is offline
 
DanYost's Avatar
 
Join Date: Oct 2005
Location: Lancaster PA
Posts: 373
First, if you want to use programming, instead of just a button to show the menu, you can use the ShowMenu() function.

When configuring a page that will be used as a pop-up menu, do not program the softkeys on that page. Add push buttons next to the softkeys. When the page is shown as a menu, the softkey next to the touch screen button will take the action of the button.

Regards,
Dan
__________________
-Dan Yost
Interface and Control Team Technical Support
Red Lion Controls

Check out our new software at www.crimson3.com
  Reply With Quote
Reply
Jump to Live PLC Question and Answer Forum

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Topics
Thread Thread Starter Forum Replies Last Post
RedLion G308 to Siemens S5 943 115 series processor 504bloke LIVE PLC Questions And Answers 9 August 2nd, 2011 02:31 AM
Redlion G3: Upgrade to a larger size billysmithde2 LIVE PLC Questions And Answers 17 May 1st, 2008 11:02 PM
G3 and ModBus Brijm LIVE PLC Questions And Answers 12 February 4th, 2008 05:50 PM
RSView 32: Cannot Replace Popup gareth.cantrill LIVE PLC Questions And Answers 2 February 24th, 2006 10:33 AM
MEDOC For Mitsubishi adkeys2 LIVE PLC Questions And Answers 22 December 4th, 2003 03:21 PM


All times are GMT -5. The time now is 03:19 AM.


.