News:

  • July 01, 2026, 01:29:45 PM

Login with username, password and session length

Author Topic: Changing Cmore change screen with DoMore and Keeping track of current screen  (Read 9096 times)

fluidpowerman

  • Full Member
  • ***
  • Posts: 21
I am using a DoMore and a Cmore HMI.  I want to have the plc change the cmore screen if for example if an alarm bit is set I want the HMI to go to an alarm screen.  Then the operator will reset the alarm bit and return to which ever mode I was in ie. Auto or Manual.  I understand how to set up the settings in the Cmore. I am just not sure how to keep everything in synch. I am currently using the Cmore hmi to tell the plc which part of the program to go to by comparing the address (N100) which is tagged as the screen name.  Where I am confused is I am told that you have to keep updating the screen number address to keep every thing in synch.  Any ideas how I might write my ladder to accomplish this?  I would appreciate any input  :)

Thank
Bryan

ADC Product Engineer

  • Hero Member
  • *****
  • Posts: 270
The only trick to this is that when you put the screen number to change to in the PLC to Screen tag, then watch the Screen to PLC tag for a match with that screen number.   After it matches, then set the PLC to Screen tag to a number that is not a used screen or zero.  That way when you put a new valid screen number in next time you want the screen to change C-more can see that the value has changed.

It is really that simple.

plcnut

  • Hero Member
  • *****
  • Posts: 814
    • premiersi.com
I prefer to do all of my screen changes on the PLC side. I have attached a screenshot of the HMI program block from a really small project to show how I did/do it.

Circumstances don't determine who we are, they only reveal it.

~Jason Wolthuis
Premier Systems Integration, LLC
http://premiersi.com

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3833
    • Host Engineering
I have attached a screenshot of the HMI program block from a really small project to show how I did/do it.
Modular Programming at its best!

fluidpowerman

  • Full Member
  • ***
  • Posts: 21
Got It!  Thank you automation Kings!   :D