adccommunitymod (AutomationDirect) asked a question.

Fancy Screensaver Question

Created Date: September 13,2013

Created By: rday78

**** This post has been imported from our legacy forum. Information in this post may be outdated and links contained in the post may no longer work.****

Ok... Got most of everything I want out of the cmore. For the finishing touch I would like to have it go the screen with my companys logo on it and stay there after a certain amount of inactivity. Then... when you touch anywhere on the screen it will go to the main menu. any ideas?


  • adccommunitymod (AutomationDirect)

    Created Date: September 13,2013

    Created by: plcnut

    Create a new page on the Cmore.

    Create a screen change button and stretch it to cover the entire screen.

    Create your graphic and place it on top of the button.

    Now just call that screen based on a timer.

  • adccommunitymod (AutomationDirect)

    Created Date: September 13,2013

    Created by: rday78

    Made the button and sent it to the back! You my friend, are a genius. I need lto use the ladded logic in the plc to call the screen right?

  • adccommunitymod (AutomationDirect)

    Created Date: September 13,2013

    Created by: plcnut

    I personally prefer to call most of my screens from the PLC. You may be able to do it from the Cmore using the event manager and SYS COUNT... functions.

  • adccommunitymod (AutomationDirect)

    Created Date: September 13,2013

    Created by: rday78

    Then from the PLC it will be called... Time to hit the books and figure this out!!

  • adccommunitymod (AutomationDirect)

    Created Date: September 16,2013

    Created by: rday78

    Ok... came in this monday morning with a clear mind and some new ideas... which of course lead to more problems. What im trying to do is take 2 logos and make a screen saver that fades in and out between the two. I used photoshop to create 15 images that all vary in each logos opacity so when you go through each frame it appears to fade from one to the other. Problem is I added the multi state image in the animation tab but when I send it to the screen its locked on the first image. Just barely 8am and already im stumped lol

    Expand Post
  • adccommunitymod (AutomationDirect)

    Created Date: September 16,2013

    Created by: kewakl

    What is your Multi-State Bitmap's PLC tag doing -- in the PLC?

    If it is incrementing and resetting, is it cycling too fast?

  • adccommunitymod (AutomationDirect)

    Created Date: September 16,2013

    Created by: rday78

    Thats where my problem needs to be. I see some info on plc>panel settings and I really dont understand that at all. As far as calling screens from the plc.... Im completly lost on how to do that

  • adccommunitymod (AutomationDirect)

    Created Date: September 16,2013

    Created by: Bob S BN

    I see some info on plc>panel settings and I really dont understand that at all. As far as calling screens from the plc.... Im completly lost on how to do that

    The CMORE looks at the PLC>Panel word looking for a change in the value. When it sees a new number written to the VMEM location by the PLC, the screen will switch to the screen with that number.

    Do you understand how the "multi state bitmap works "? Kewakl wonders what you are doing with that tag value in the PLC. The tag in the PLC needs to be changing value to call up your 15 different picture fades, but the value changes can't be happening too fast, or some will not be captured and displayed. You'll need some kind of timer and and counter set up to keep changing the tag value. But it sounds like a neat addition to an HMI, I may try something like it on my next project.

    Expand Post
  • adccommunitymod (AutomationDirect)

    Created Date: September 16,2013

    Created by: kewakl

    plc>panel settings

    That will be for assigning tags so that the plc can KNOW and/or CHANGE what screen is showing on the CMore.

    plc>panel TAG allows plc to change screens

    panel>plc TAG allows plc to know what screen is active

    Make backup of both programs........

    In this example, I will give three tag names(CURRSCRN, GOTOSCRN, and ANIMVAL)

    Feel free to use your own tag names to suit your naming standards.

    Go to the TagDatabase of plc and cmore.

    In plc, declare two WORD tags for screen manipulation.

    Call ONE tag CURRSCRN and the other tag GOTOSCRN.

    In the CMore software use these tags in the corresponding fields.

    transfer both programs.

    in your plc dataview, add the new tags.

    Look at CURRSCRN, does it reflect your CMore's active(current) screen?

    Change GOTOSCRN to a VALID screen number, does the CMore screen change to that screen?

    If you answered YES to both above questions, you are mostly there.

    Now make code to control when your screensaver should display.

    Call that screen by changing GOTOSCRN to the NUMBER of the screensaver screen.

    There is another thread explaining changing the GOTOSCRN to an invalid NON-ZERO value, search for it.

    You should be ready to animate your bitmap.

    Add (if you haven't already) another PLC WORD tag name it ANIMVAL.

    The value of this tag will control which bitmap is visible in your multistate bitmap control.

    Add the same tag to your CMore tag database. Use this Tag in the bitmap control.

    Transfer programs again.

    Back to plc dataview, change the value, does your bitmap change?

    Now add plc code to cycle thru bitmaps for opacity. You may need to cycle slowly so the bitmap is completely drawn before attempting to show next bitmap.

    Expand Post
  • adccommunitymod (AutomationDirect)

    Created Date: September 16,2013

    Created by: rday78

    I havent written any ladder logic to call any screens. Are there any examples of what needs to be written? I assume i need to call each tag number seperately and specify a time for each one to be displayed. Still not sure which "word " im looking to put in the cmore plc>panel but I think once I see an example of the ladder logic to call the screens I should be good to go. Thanks everyone for chippin in!

    Expand Post
10 of 21