I have several ON delay timers. Every time i have to change the delay time i have to search for each timer and change their time.
All of them have same delay time.
I want to call the delay time from a db variable so that i only have to change the time in db. How to do it? I have tried it but timer doesn't take time from DB.
[?]: ON delay Timer from a DB variable
-
- Posts: 9
- Joined: Wed Jul 29, 2009 5:23 pm
- Location: Karachi
-
- Site Admin
- Posts: 1122
- Joined: Wed Sep 06, 2006 12:03 pm
- Location: CIS
Re: [?]: ON delay Timer from a DB variable
May be you should initialize your DB?waqas_here wrote:timer doesn't take time from DB.
See viewtopic.php?p=18333#18333
-
- Posts: 508
- Joined: Mon Jul 16, 2007 12:28 pm
- Location: Europe
-
- Posts: 48
- Joined: Mon May 29, 2006 8:22 am
- Location: China
1.First of all, you need to create a variable DB, and the type of the variable is defined as S5time.waqas_here wrote:Further my program was to connect the db with wincc so that operator can give input the time value. But here i have to initialize the db values. How can i do it.
2.LAD in your timer settings in the quoted variable DB you created.
3.If you want to use Wincc,Then you need to Wincc Manager in the establishment of variable variables and variable conversion format is set to SimaticS5time format, or in the library Step7 the use of S5time conversion FC will be converted to DINT, if the latter, please carefully, Wincc time in milliseconds for input.
Good Luck~