S7-clock system byte in hardware configuration

cagliostro

Member
Join Date
Feb 2007
Location
vi
Posts
106
Hi all,

I'd like to know if is possible change in the S7-program code, the address of the clock merker byte defined in the CPU hardware configuration?

Example: Suppose in CPU hardware configuration the merker byte defined is MB0.

I'd like if is possible develop a PLC code that change the address from MB0 to MB180 when E120.0 is ON.

Thanks in advance.
 
I don't think you can change it through the PLC code. But you can always copy MB0 to MB180 when E120.0 is true with a simple move command.
 
I don't think you can change it through the PLC code. But you can always copy MB0 to MB180 when E120.0 is true with a simple move command.

Correct, I'ts impossible. The adress is defined the same way like all the other hardware adresses.
I will be changed only while you download the system data to the PLC.

Frank
 

Similar Topics

Hi all, Got a new project with a Siemens S7-300 (CPU 312). I've just tried to copy in my motor control FB's from an S7-1200 project I did earlier...
Replies
5
Views
5,386
HEllo! Where do it setup the clock? Couldn´t find anything useful in General-->Time of day besides daylight saving time. And when i have set the...
Replies
9
Views
1,362
Hello everyone one. I'm using M340 with simulation mode (actually I still don't have the cpu to test the software). I've made a simple counter...
Replies
4
Views
524
I took an online course but don't remember covering this. How do I access the system clock in a compare instruction? I want to turn on an output...
Replies
1
Views
538
I am using a Studio 5000 with an Allen Bradley CompactLogix 1769-L24ER-QB1B controller. Im wondering how I can use the system clock to be able to...
Replies
10
Views
2,451
Back
Top Bottom