siemens 1200 Block Move

If this is a new project, where you are starting from the ground floor than like Joltron says, you should be using symbolic addressing.

Using symbolic, after your create the DB, doesn't matter if its db1, or 2 or 3, or 4, or 100

You go in and define the variables you want to use in the block, and what type of variable they are. Once you have done that, you can then reference those variables through your HMI, or however else you want to manipulate them.
 
Are you defining the block as non-optimized, or optimized?

Not to sound rude, but if the OP isn't aware that a DB can be addressed from the HMI, they may not know what the difference is between optimized and non.

I am assuming but it seems the OP is more familiar with address based systems.
 
Not to sound rude, but if the OP isn't aware that a DB can be addressed from the HMI, they may not know what the difference is between optimized and non.

I am assuming but it seems the OP is more familiar with address based systems.

(y)
 
Hello everyone.
I have question on using Siemens PLC 1200 for Data Block move.
The question is: I have 30 words, like MW20---MW29
MW30---MW39
MW40---MW49
I would like to move these Words Block to MW100--MW109
when condition=1, move MW20---MW29 to MW100--MW109
when condition=2, move MW30---MW39 to MW100--MW109
when condition=3, move MW40---MW49 to MW100--MW109
because 1200 doesn't like 200 that it have BLKMOVE_W instruction,
1200 has MOVE_BLK instruction, but it only moves in global DB move, if so, how can I move MW20---MW29 to global DB? and then How can move global DB to MW100--MW109?

Thanks!

check your CPU version if it is V4 or higher it should be ok anything below causes problems I used the simple MOVE instruction to get around:beerchug:
 
If this is a new project, where you are starting from the ground floor than like Joltron says, you should be using symbolic addressing.

Using symbolic, after your create the DB, doesn't matter if its db1, or 2 or 3, or 4, or 100

You go in and define the variables you want to use in the block, and what type of variable they are. Once you have done that, you can then reference those variables through your HMI, or however else you want to manipulate them.

Thanks for your help!
but I don't totally understand what you said.
you mean that if I created a global DB1, I defined symbolic A1,A2,A3---- as words in this DB, so I can use DB1.DBA1, DB1.DBA2.. as Tags in HMI?

you said "You go in and define the variables you want to use in the block, and what type of variable they are. Once you have done that, you can then reference those variables through your HMI". can you say more detail?

appreciate!!
 
Is there a specific reason you are stuck on this 'indirect addressing'? Is it a requirement for the project?

TIA portal and the 1200 / 1500 PLC families are symbolic / tag based PLC's. Unless for some technical reason you NEED to deal with absolute addresses e.g. DB1.DBW2 you should be dealing with tags e.g. "PartDataDB.Dataset1"

Since you have a need to index and move through much data that is where Arrays and SCL will really shine.

Thank you very much!
I created a Global DB1, because I need indirect addressing, I created a Array in
DB1, element is word type. this Array elements are source1, source2, source3.
my question is : how to change source1, source2, source3 value through HMI? in HMI, I directly use source1, source2 as tags?

thank you very much again!
 
When you start "building" the hmi screens you can drop elements in and then they will have a property called "Process value" where you can select the path to the DB tag (in your case "source1") that you want to use. You will also have a number of other properties to sort through, but I'm sure you can figure it out.
 
When you start "building" the hmi screens you can drop elements in and then they will have a property called "Process value" where you can select the path to the DB tag (in your case "source1") that you want to use. You will also have a number of other properties to sort through, but I'm sure you can figure it out.

Appreciate with your help!
 

Similar Topics

Hello all, PLC-programming noob here. I have multiple clients accessing some data on my Siemens S7 1211C PLC; some OPC clients and some direct...
Replies
30
Views
8,194
Hello everyone, I'm new in using plc software. I want to set a parameter for my centrifugal pump using an i/p from PID block so that the range of...
Replies
0
Views
1,271
Hi, I have a 1214 on ip 192.168.0.100. This is connected to other modules through a switch on same network. I need to connect this to a company...
Replies
1
Views
95
Hi Experts, I would like to make firmware upgrade from v3.0 to v4.5 (S7-1200 CPU 1215C). Can I do it from v3.0 to v4.5? Do I need to take some...
Replies
6
Views
179
Hi Guys, I am trying to establish communication over profinet between Siemens S7-1200 PLC as IO device and codesys plc as IO controller. But I am...
Replies
39
Views
2,061
Back
Top Bottom