s7 200, #216

mad@imap

Member
Join Date
Apr 2008
Location
Columbus, Ohio
Posts
25
Hello I have a siemens s7 200 modal number is 216.
I need to cycle between three machines based on run time.
I'm tring to read the real time clock and add seven days to it.
I'm open to any ideas.
Basicaly I have three inputs that will tell me these machines are inabled and three that tell me they are running. When they are running I would like to count the day's/ hours and cycle my machines bassed off of that.
 
Hi there
There is a "READ_RTC" block. You can use it for your purpose.
If input "T" of this block is VB200
then years value comes at VB 220, month value at VB221......

Press F1 after placing cursor on this block, it will come up with all the explanation.

Manmeet
 
Hi there
There is a "READ_RTC" block. You can use it for your purpose.
If input "T" of this block is VB200
then years value comes at VB 220, month value at VB221......

Press F1 after placing cursor on this block, it will come up with all the explanation.

Manmeet
Dear Manmeet,
Can you please explain me
"
If input "T" of this block is VB200
then years value comes at VB 220, month value at VB221......"
I want to use S7-200 for real time application.
 
Dear Manmeet,
I have tried the read & write real time program from tips but it is not working.That is why i have asked for the help.
Regards
Kamaljit Singh
 
Dear Dave,
Thanks for your help.But can you please give the sample program to know exact implementation of real time clock.
Regards
Kamaljit
 

Similar Topics

Hello, I am in possession of a WAGO PFC 200 750-8216 which I was successfully able to set up as a Modbus RTU Master to a slave device using...
Replies
0
Views
88
I googled, read the datasheet and finally gave up. I have a following problem on S7-200, cpu 226 I1.4, when I bring 24V to it the led on it only...
Replies
1
Views
1,478
Hi, first post here so sorry for it being a noob question but what can I do .. I need help (and of course I need it yesterday :banghead: ) The...
Replies
11
Views
5,909
Hi, I’m trying to copy a program to an 8K EEPROM plugged into a Siemens S7 CPU 216-2 without being able due to the following message: The CPU...
Replies
0
Views
2,880
Hello, I have a question about an encoder that has absolute measurement. Specifically, it's the Lika SMA5, which I would like to connect...
Replies
2
Views
49
Back
Top Bottom