You are not registered yet. Please click here to register!


 
 
plc storereviewsdownloads
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc.
 
Try our online PLC Simulator- FREE.  Click here now to try it.

---------->>>>>Get FREE PLC Programming Tips

New Here? Please read this important info!!!


Go Back   PLCS.net - Interactive Q & A > PLCS.net - Interactive Q & A > LIVE PLC Questions And Answers

PLC training tools sale

Reply
 
Thread Tools Display Modes
Old April 27th, 2008, 01:04 AM   #1
electricman
Member
Finland

electricman is offline
 
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?
  Reply With Quote
Old April 27th, 2008, 01:59 AM   #2
moggie
Lifetime Supporting Member
England

moggie is offline
 
moggie's Avatar
 
Join Date: Apr 2002
Location: Devon, England.
Posts: 530
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.
Attached Files
File Type: zip nubitek_time_utils.zip (8.5 KB, 54 views)

Last edited by moggie; April 27th, 2008 at 02:11 AM.
  Reply With Quote
Old April 27th, 2008, 02:03 AM   #3
electricman
Member
Finland

electricman is offline
 
Join Date: Apr 2008
Location: FInland
Posts: 11
Quote:
Originally Posted by moggie
Not sure about the S7-200.net time function but have a look at the free utilities from http://www.************/

There is a "Day and Time" function that can be set to give an output for any time/day of week.
What www address? That address is something wrong
  Reply With Quote
Old April 27th, 2008, 02:12 AM   #4
moggie
Lifetime Supporting Member
England

moggie is offline
 
moggie's Avatar
 
Join Date: Apr 2002
Location: Devon, England.
Posts: 530
Sorry about the address, but I have uploaded the zip file instead.
  Reply With Quote
Old April 27th, 2008, 04:46 AM   #5
electricman
Member
Finland

electricman is offline
 
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
  Reply With Quote
Old April 27th, 2008, 05:07 AM   #6
moggie
Lifetime Supporting Member
England

moggie is offline
 
moggie's Avatar
 
Join Date: Apr 2002
Location: Devon, England.
Posts: 530
This means that you must have a "contact" to the EN input of the block.
Use "open contact" of SM 0.0

  Reply With Quote
Old April 27th, 2008, 05:21 AM   #7
electricman
Member
Finland

electricman is offline
 
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.
  Reply With Quote
Old April 27th, 2008, 10:14 AM   #8
moggie
Lifetime Supporting Member
England

moggie is offline
 
moggie's Avatar
 
Join Date: Apr 2002
Location: Devon, England.
Posts: 530
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

  Reply With Quote
Old April 27th, 2008, 12:00 PM   #9
electricman
Member
Finland

electricman is offline
 
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.
  Reply With Quote
Old April 27th, 2008, 12:29 PM   #10
moggie
Lifetime Supporting Member
England

moggie is offline
 
moggie's Avatar
 
Join Date: Apr 2002
Location: Devon, England.
Posts: 530
Use the files I sent you twice, once to make the On time and Once to make the Off time.

see sample,
  Reply With Quote
Old April 27th, 2008, 12:36 PM   #11
504bloke
Lifetime Supporting Member + Moderator
England

504bloke is offline
 
504bloke's Avatar
 
Join Date: Jan 2005
Location: West Ssx
Posts: 2,620
Quote:
Originally Posted by electricman
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.
Do you mean you want it to come on at 6.00 on monday and go off at 23.00 sunday

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)
  Reply With Quote
Old April 29th, 2008, 12:46 PM   #12
electricman
Member
Finland

electricman is offline
 
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?
  Reply With Quote
Reply
Jump to Live PLC Question and Answer Forum

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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


All times are GMT -5. The time now is 02:28 PM.


.