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 June 13th, 2013, 09:40 AM   #1
gbradley
Lifetime Supporting Member
United States

gbradley is offline
 
gbradley's Avatar
 
Join Date: Apr 2002
Location: Corona, Ca.
Posts: 1,521
RedLion G304K How to remotely Go to a Page

I want to turn on a bit in my PLC, and when I do that have the HMI go from any page to Page 1.
Page 1 is my start up page.
I want to make it so that if the stop button is pressed, the cycle stops, and the HMI switches to the start page.

Here is what I tried that didn’t work for me:
I created a Flagtag called “GoToPage1” Source B9[32]
In Data Actions; On Write: General GotoPage(Page1)

When I turn the B9[32] bit on, I can see my indicator for the Flag turn ON, but the HMI doesn’t turn the page.
I used my Tag as the action in a button, and that works fine, if I push the button, It goes to Page1.
If I remotely change the value of the bit, the button indicator gets highlighted, but the screen doesn't change.

Thanks for any and all suggestions.

G304K >>> 1769L30ERM Crimson 3.0 Native tags via L5K Ver 1.04
  Reply With Quote
Old June 13th, 2013, 09:50 AM   #2
kolyur
Lifetime Supporting Member + Moderator
United States

kolyur is offline
 
kolyur's Avatar
 
Join Date: Oct 2004
Location: Wooster, Ohio
Posts: 1,356
The action needs to be in a trigger. In the Triggers tab of your flag tag properties, configure an "Active On" mode trigger with the action GotoPage(Page1).
__________________
John
  Reply With Quote
Old June 13th, 2013, 10:11 AM   #3
gbradley
Lifetime Supporting Member
United States

gbradley is offline
 
gbradley's Avatar
 
Join Date: Apr 2002
Location: Corona, Ca.
Posts: 1,521
Quote:
Originally Posted by kolyur View Post
The action needs to be in a trigger. In the Triggers tab of your flag tag properties, configure an "Active On" mode trigger with the action GotoPage(Page1).
Worked Great
Thanks!
One more question,
How can I let the PLC know what page that I am on?
Should I associate a tag to the On tick: Actions in the Page properties?
  Reply With Quote
Old June 13th, 2013, 10:27 AM   #4
kolyur
Lifetime Supporting Member + Moderator
United States

kolyur is offline
 
kolyur's Avatar
 
Join Date: Oct 2004
Location: Wooster, Ohio
Posts: 1,356
Unfortunately Crimson doesn't have a built-in method for indicating the current displayed page. What I usually do is make an integer tag PageNumber and associate it with a PLC address. On each page, I go to the Page Properties and set the On Select action to PageNumber:=x, where x is a constant that I make different for each page, sequentially or otherwise.
__________________
John
  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 G3 comms to Micrologix 1000 via NET-ENI JakBeux LIVE PLC Questions And Answers 4 April 20th, 2016 03:37 PM
How to change HMI page with selector switch Paradigm1999 LIVE PLC Questions And Answers 10 December 21st, 2012 06:19 AM
MultiSmart to Wonderware protocol conversion via RedLion deltahfturbo LIVE PLC Questions And Answers 0 September 5th, 2012 10:00 PM
Allen Bradley 1100 Redlion G304K Cables johngmacdonald LIVE PLC Questions And Answers 14 June 22nd, 2012 11:00 AM
Redlion - How Many are viewing Remotely Marc_U LIVE PLC Questions And Answers 0 August 3rd, 2010 11:38 AM


All times are GMT -5. The time now is 02:00 PM.


.