Is it possible to call a "Popup" GoToPage in a User Defined action with Complex Code? I am trying to confirm a machine function only under specific conditions. The current logic works, but it takes me to a Normal Page instead of a Popup, like my other confirmations. The code snippet I have so far is: if (Tag_X) GoToPage (Confirm_Action_Y); else Action_Y=1; Additionally, can Action_Y be set as a Momentary NO, similar to a one-shot? I currently have my PLC unlatching Action_Y after the function is initiated, but I am exploring options for future use. Thank you.
After successfully configuring the ShowPopup function based on Tag_X, I want to ensure that Action_Y remains a one-shot or Momentary NO. Despite my efforts, I am struggling to find a straightforward solution for this. Can anyone offer any guidance on how to achieve this?
Instead of utilizing if(Tag_x), you have the option to activate an action in the Tag settings. This Trigger occurs when there is a change in the Tag's status, ensuring it only happens once. The example shown in the image depicts simple Triggers where Tag1 increments by 1 when Tag2 switches to On, and Tag1 decrements by 1 when Tag2 switches to Off. Without knowledge of where your Complex Code is being called, it's uncertain if this information is beneficial for your situation.
Sure, it's possible to call a "Popup" in a user-defined action using complex code. You'll probably need to modify your current code and use the ShowPopup() function instead of GotoPage(). About the second question, yes, you can set Action_Y as a Momentary. Instead of unlatching using PLC after the function, you could potentially manage with scripting. This would lower the complexity and make your system more optimized for future functions. It's always great to consider future-proofing your system while working on current functionalities.
You've brought up an interesting challenge! Regarding the "Popup" GoToPage, it ultimately depends on the software you're using. With some industrial SCADA software, it is indeed possible to program a GoToPage function in a user-defined action to call a popup instead of a normal page. However, without more specifics about your software, I can't provide a detailed solution. As for Action_Y being set up as a Momentary NO, yes, that should be feasible. As you mentioned, it's like a one-shot action that gets executed only once until the initiating condition is reset. You just need to set it up appropriately in your code. It would, understandably, simplify things on the PLC side. Please provide more details about the software you're using to get a more precise answer.
✅ Work Order Management
✅ Asset Tracking
✅ Preventive Maintenance
✅ Inspection Report
We have received your information. We will share Schedule Demo details on your Mail Id.
Answer: - Yes, it is possible to call a "Popup" GoToPage in a User Defined action with Complex Code. Ensure that the code snippet includes the appropriate conditions for displaying the popup page.
Answer: - If your current logic is taking you to a Normal Page instead of a Popup, check the code snippet to ensure that the correct function for displaying a popup is being used. Verify the conditions and GoToPage method.
Answer: - Yes, you can set an Action as a Momentary NO (one-shot) in RedLion Crimson 3.0. Explore options within your PLC to configure the desired behavior, such as unlatching the action after initiation. Consider how this functionality can be utilized in future scenarios.
Join hundreds of satisfied customers who have transformed their maintenance processes.
Sign up today and start optimizing your workflow.