![]() |
||
|
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc. |
||
| ||
New Here? Please read this important info!!!
|
|
#1 |
|
Member
![]() Join Date: Apr 2008
Location: FInland
Posts: 11
|
S7 200 weeklyTimer help
I want to use old www.s7-200.net weekly timer, but i dont know where i but next config?
//CONFIG_1 VB100 2#00000010 //ON VB101 7 VB102 15 Etc....... I use Step 7 microwin. That s7-200 web page is closed and that why i must ask help here if some can help me? |
|
|
|
#2 |
|
Lifetime Supporting Member
|
Not sure about the S7-200.net time function but have a look at the at the attached library
There is a "Day and Time" fuction that will help. Last edited by moggie; April 27th, 2008 at 02:11 AM. |
|
|
|
#3 | |
|
Member
![]() Join Date: Apr 2008
Location: FInland
Posts: 11
|
Quote:
|
|
|
|
|
#4 |
|
Lifetime Supporting Member
|
Sorry about the address, but I have uploaded the zip file instead.
|
|
|
|
#5 |
|
Member
![]() Join Date: Apr 2008
Location: FInland
Posts: 11
|
I try that zip paket but when i try trasfer program to my cpu coming error:
Compiling Program Block... MAIN (OB1) Network 3, row 1, col 2: ERROR 52: A contact must precede the output instruction. SBR_0 (SBR0) WeekTmr_tmp2 (SBR1) Weekly_timer (SBR2) WeekTmr_tmp1 (SBR3) DATETIME_String (SBR4) INT_0 (INT0) Block Size = 0 (bytes), 1 errors |
|
|
|
#6 |
|
Lifetime Supporting Member
|
This means that you must have a "contact" to the EN input of the block.
Use "open contact" of SM 0.0 |
|
|
|
#7 |
|
Member
![]() Join Date: Apr 2008
Location: FInland
Posts: 11
|
I do like you example picture but still coming error, but different error:
Compiling Program Block... MAIN (OB1) SBR_0 (SBR0) S_C (SBR1) Day_And_Time_ALARM (SBR2) Network 1, row 1, col 3: ERROR 18: (operand 2) V-Memory not allocated for library. Select right mouse menu item 'Library Memory...' from the Program Block in the instruction tree. |
|
|
|
#8 |
|
Lifetime Supporting Member
|
You have to allocate some V Memory for the "block".
Right click on "Program Block" in the "tree" Then select Library Memory Then click "Suggest Memory" or enter your own VB Area. The block requires 60 Bytes of V Memory |
|
|
|
#9 |
|
Member
![]() Join Date: Apr 2008
Location: FInland
Posts: 11
|
I try that and it works, but not good my project.
I need timer what have like: - monday-sunday - On 6:00 - Off 23:00 ![]() I dont understand where i can input that config text where setting that time settings V100, VB101, VB102, etc.... I make home control system where coming weekly timer what handeld outside lamps and car heating winter time and that why i need like weekly timer. |
|
|
|
#10 |
|
Lifetime Supporting Member
|
Use the files I sent you twice, once to make the On time and Once to make the Off time.
see sample, |
|
|
|
#11 | |
|
Lifetime Supporting Member + Moderator
|
Quote:
or On at 6.00 and off at 23.00 monday through to sunday ?
__________________
Regards Dave "When you are courting a nice girl an hour seems like a second. When you sit on a red-hot cinder a second seems like an hour. That's relativity." Albert Einstein (1879-1955) |
|
|
|
|
#12 |
|
Member
![]() Join Date: Apr 2008
Location: FInland
Posts: 11
|
I got that work, thanks all helpers.
Do anybody know how i get nubitek Time_Utils date string displayed my hmi panel? Is"t i use P_String or &VB0 what i read to hmi panel? And what read command is right to hmi panel? |
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Topics
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| shematic connection PC to S7 200 | paris | LIVE PLC Questions And Answers | 29 | October 31st, 2008 02:45 PM |
| Any display with Siemens S7 200?? | Preeya | LIVE PLC Questions And Answers | 6 | January 14th, 2007 05:10 AM |
| timer TOF (plc siemens S7 200) (...214) | paris | LIVE PLC Questions And Answers | 4 | November 23rd, 2006 04:50 AM |
| s7 200 master - slave | Farid | LIVE PLC Questions And Answers | 1 | March 14th, 2004 11:09 PM |
| S7 200 communications !! | Smdolby | LIVE PLC Questions And Answers | 4 | January 31st, 2004 08:36 AM |