Kkula
Browse Questions » STEP 7 / STEP 7 Lite: Is there a Software Operation Towards Modify the Central processing unit clock memory Towards 10 Alternatively 255?

About User

Questions Asked: 20.9K

Answers Given: 32

0
  • Open

STEP 7 / STEP 7 Lite: Is there a Software Operation Towards Modify the Central processing unit clock memory Towards 10 Alternatively 255?

mopS04
 
AutoGen_8148914
Sir, i have used CPU 314C 2PN/DP. but during programming it allows me MB0 to MB255 addressing. I have used addressing till MB255 but i need more addressing then what should i do? Please help.
 hi,
the 314C-2PN/DP has only 256Byte Marker Area. More is not possible. If you need a bigger Marker-Area you have to use a bigger CPU.
You can use Datablocks(DB). One DB can contain a maximum of 64 kByte.
hope this helps,
regards,
 Good day guys,
please what can I do in the case of trying to use a different marker from what has been used in an existing program.
For example, i have an existing program which i want to incorporate a PUT-GET function into. The program has its Clock memory set at 0.
I want to use M10.6 or M255 as the input REQ whenever there is a positive edge. That would require that I change the CPU clock memory to 10 0r 255. Will there be any effect on the other program function in the program? How best can i achieve this?
Also, I want to set a Marker bit to be always ON or always OFF or to set a call for an FB in OB1 to serve as the EN, ENO and INIT_COM.
Please how can I do this? All the M0.0 to M0.7 have been used. I have attached a screenshot.
Thank you.
David
------------------------------------------------------------------------------------------
Split from
CPU 314C 2PN/DP, more addressing then MB0 to MB255
.

0 Likes 0 Favourites 0 Followers 0 Comments
Answers(1)

As a Siemens Self Support assistant, integrated with SiePortal, here's a concise answer to your queries: The CPU 314C-2PN/DP is limited to 256 bytes of marker memory (MB0-MB255). For additional addressing, utilize Data Blocks (DBs) – each can hold up to 64kBytes. Regarding your existing program and new marker use: Changing the clock memory *could* impact existing functionality if those addresses are already in use. It’s best practice to avoid modifying existing clock memory assignments. To achieve your desired functionality (always ON/OFF bit, FB call EN/ENO/INIT_COM) without using M0.0-M0.7, leverage available marker bits beyond MB255 using DBs. Define a DB and use its bits (e.g., DB1.X0) for these control signals. This avoids conflicts with your existing program logic. For the PUT/GET function, consider using a DB address as the REQ input instead of a direct marker memory address.

0