Technical Forum

STEP 7 (TIA Portal)

S7 1200 Clock Memory Byte

Thread Starter: Eual   Started: 11/9/2011 11:40 AM   Replies: 9

« Previous thread Next thread »
Page 1 of 1 (10 items)
  11/9/2011, 11:40 AM
Joined 2/4/2011
Last visit: 10/26/2012
Posts: 2
Rating:
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Hi guys,

I'm running S7 Basic V10.5 to a 1200 CPU via profinet from PC and for some reason the clock memory bits do not pulse when I run the program. I've followed all the steps from various manuals and even downloaded a global library file (attached) where the clock and system bytes have been set up but to no avail.

If anyone has made this work I would really appreciate some help...................been struggling for 2 days astonished

Attachment: ClockMemory.zip  (207 Downloads)

Top
  11/9/2011, 12:18 PM
Joined 8/31/2010
Last visit: 11/20/2014
Posts: 1474
Rating:
Rated: Excellent [4.01 out of 5 / rated 152 time(s)]. (152) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Eual wrote:
Hi guys,

I'm running S7 Basic V10.5 to a 1200 CPU via profinet from PC and for some reason the clock memory bits do not pulse when I run the program. I've followed all the steps from various manuals and even downloaded a global library file (attached) where the clock and system bytes have been set up but to no avail.

If anyone has made this work I would really appreciate some help...................been struggling for 2 days astonished


Hello Eual,
The attached global library is of v11 library format. It may not work properly in your case.
Try with the attached library which is compatible with STEP 7 v10.5.
For detail of that library refer here - How can you avoid overwriting the flags that are allocated for system and clock memory bits in the user program?

Hope this helps.

Your feedback is most welcome laugh

Attachment: S7-1200_PLC_tags_Mem_Bits.zip  (230 Downloads)

Like it? Rate it!

Top
Thank you for this post from:
  11/9/2011, 12:36 PM
Joined 2/4/2011
Last visit: 10/26/2012
Posts: 2
Rating:
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Hi Ganes10, will try it and give feedback.

Tnx!
Top
  10/31/2012, 12:44 PM
Joined 11/22/2011
Last visit: 2/25/2013
Posts: 1
Rating:
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Hi, I had the same problem with the clock memory bits didn't work or "tick". My problem was that I had used a tag for memory area %M0.0. And whem I changed that tag to another memory area %M2.0 the clock started. Because the default value for allocating clock memory starts att M0.0, my tag interfered with the default clock memory tags.
Top
  1/25/2013, 12:09 PM
Joined 1/23/2013
Last visit: 2/6/2013
Posts: 1
Rating:
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
I had the same problem. Only what helped - FIRMWARE FLASH Rnf:lblSmileyTooltip_
Top
  1/25/2013, 1:24 PM
Joined 8/31/2010
Last visit: 11/20/2014
Posts: 1474
Rating:
Rated: Excellent [4.01 out of 5 / rated 152 time(s)]. (152) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
mraz.j@seznam.cz wrote:
I had the same problem. Only what helped - FIRMWARE FLASH Rnf:lblSmileyTooltip_


Hello mraz.j,
I hope even a Reset to Factory Settings should have helped you than a Firmware Update.

Like it? Rate it!
Top
  1/7/2014, 8:47 PM
Joined 2/15/2013
Last visit: 2/6/2014
Posts: 5
Rating:
Rated: Outstanding [4 out of 5 / rated 1 time(s)]. (1) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
I had a similar problem with an ET200S CPU. On the first machine it works fine, but when I went to transfer the code to another machine, the clocks did not toggle. I tried Compile (rebuild all) and Download all blocks, but neither of these worked. Finally I did the following with good results:

1. Disable the clock memory
2. Download code version with clock memory disabled
3. Re-enable clock memory
4. Download code version with clock memory re-enabled.

In my case the bug in the TIA Portal is that once you set the clock enable bit, it assumes it is already set in the next download without checking the actual hardware. By disabling the bit, the software is convinced it needs to download the clock enable information. This should have been done automatically when I did the Download (all blocks) option.
Top
  1/7/2014, 10:20 PM
Joined 8/31/2010
Last visit: 11/20/2014
Posts: 1474
Rating:
Rated: Excellent [4.01 out of 5 / rated 152 time(s)]. (152) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
jrh_engineer wrote:

In my case the bug in the TIA Portal is that once you set the clock enable bit, it assumes it is already set in the next download without checking the actual hardware. By disabling the bit, the software is convinced it needs to download the clock enable information. This should have been done automatically when I did the Download (all blocks) option.


Hello jrh_engineer
What do you mean by clock enable bit here?

Like it? Rate it!
Top
  1/7/2014, 10:58 PM
Joined 2/15/2013
Last visit: 2/6/2014
Posts: 5
Rating:
Rated: Outstanding [4 out of 5 / rated 1 time(s)]. (1) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
This is actually a check box in the development environment (I presume it sets a flag/bit internally).
It is located at: Device configuration->CPU->Properties->Clock memory
See the attached jpg.

Attachment: SetClockMemory.jpg  (92 Downloads)

Top
  1/7/2014, 11:26 PM
Joined 8/31/2010
Last visit: 11/20/2014
Posts: 1474
Rating:
Rated: Excellent [4.01 out of 5 / rated 152 time(s)]. (152) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
jrh_engineer wrote:
This is actually a check box in the development environment (I presume it sets a flag/bit internally).
It is located at: Device configuration->CPU->Properties->Clock memory
See the attached jpg.


Hello jrh_engineer,
Ok. Now I understood what you mean. Also when you downloaded the program blocks to the second ET 200S, did you also transfer the hardware settings?
Generally when two controllers are used, for each controller at least for the first time the hardware configuration must also be downloaded along with program blocks. (Complete Download)

Like it? Rate it!
Top
Page 1 of 1 (10 items)
Actions