_GS_ Posted January 18, 2012 Report Share Posted January 18, 2012 Hi , Is anyone who tried to use Timers (TA or TE or TD) with different MBs as flags? Grzegorz Quote Link to comment Share on other sites More sharing options...
AlexUT Posted January 18, 2012 Report Share Posted January 18, 2012 Hi, There is a wery good explanation in VisiLogic Help. Open Help, go to Search tab and search for timer. Quote Link to comment Share on other sites More sharing options...
_GS_ Posted January 18, 2012 Author Report Share Posted January 18, 2012 Hi, There is a wery good explanation in VisiLogic Help. Open Help, go to Search tab and search for timer. Hi AlexUT, I' ve searched for help. I found explanation how timers work, but didn't find sth about timer's flags. Mayby my Visihelp is incomplite (I use VisiLogic 9.3.1) . Grzegorz Quote Link to comment Share on other sites More sharing options...
Emil Posted January 18, 2012 Report Share Posted January 18, 2012 Can you define what do you mean by "with different flag"? Quote Link to comment Share on other sites More sharing options...
_GS_ Posted January 18, 2012 Author Report Share Posted January 18, 2012 Can you define what do you mean by "with different flag"? Hi Emil, I want to reach result: at first display window I want to show text (not picture) for few seconds. After this time showed text should hide, but .... ;-(. Now I'm using hide bits (last row in properties of HMI Object type: Text) pic3.jpg. MB0 is a bit activated by !Start-Up Module link & jump (pic2.jpg) . Grzegorz Quote Link to comment Share on other sites More sharing options...
Emil Posted January 18, 2012 Report Share Posted January 18, 2012 There are several ways to show/"hide" text: - binary text, when one of the texts is empty; - List of text, when one of the line is empty; - Variable "Display text", with activcating Hide function. I guess the first two options are quite clear. Hide - the way is different in ordinary and enhanced models. In ordinary models, it works only in subroutine, related to specifcic display. In enhanced models, there is a bit linked to each variable. It seems you're working with enhanced model. To perform delay to hide thhe text, as you describe, you need: - first to define a bit "HMI Display Loaded" (VisiLogic > Utils menu > HMI). - With N.O. contact of thhis MB or XB, to activate coil of TD with requested time; - On different net (!!!), to use positive transition contact of the timer to SET defined Hide bit. Please let me know if this logic is working for you! Quote Link to comment Share on other sites More sharing options...
_GS_ Posted January 19, 2012 Author Report Share Posted January 19, 2012 .. snip - With N.O. contact of thhis MB or XB, to activate coil of TD with requested time; - On different net (!!!), to use positive transition contact of the timer to SET defined Hide bit. Please let me know if this logic is working for you! Thanks for quick answer. I tried to use your advice. It's work. ;-) I made it with little modyfication. I expand and connect my "hiding text" with SB2. Look at it. Quote Link to comment Share on other sites More sharing options...
_GS_ Posted January 19, 2012 Author Report Share Posted January 19, 2012 I've got next problem. Connection from Your advice works with single net, but why it doesn't work with parallel nets? I explain what I want to reach. At first (starting) display, string "F1 - BIOS Setup" is showed by 10 seconds. After this time MB2 sets. Parallel, in the same time is showing small picture (picture under text: KontrFazy). After 10s MB42 sets. Different timers ( TD0 and TD1) connected to SB2. Quote Link to comment Share on other sites More sharing options...
stembera Posted January 31, 2012 Report Share Posted January 31, 2012 Dear GS, there must be some problem in another part of your program. Let us see your sample once more: Both TD0 and TD1 are active (the condition NOT SB2 is true). Your screenshot was taken later than 10s after start of your PLC because TD0 is online. However, TD1 is still offline at the same moment despite of the preset time is the same. Please try to search your program for another instance of TD1 coil. I bet this will be the problem. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.