Loading data between DBs in Siamtic

orense

Member
Join Date
Apr 2006
Location
Norway
Posts
196
Hello everybody!

A code question:

I want to load large amounts of data from one DB to another one.
One option is this:

L DB100.DBW0
T DB200.DBW0

L DB100.DBW2
T DB200.DBW2

.....

Now I have loaded two datawords from db100 to db200.
But what if I want to load 200 datawords instead of only two...

Anybody now of a function which can load more than one word each time?????

suggestions would be appreciated :geek:


regards Andreas
 
Hei Andreas.

In the Standard Library under S5-S7 Converting Blocks, you will find FC94 and FC95. These can be used to copy large amounts of data from one DB to another.
 
Hei Jesper!

Aren't these blocks only used for S5 programs. To convert S5 programs to S7 programs. Will I be able to use them in a cpu315-2DP...???????


Takk fra Andreas
 
No need to worry, although the blocks were originally written to help move between platforms, they also provide functionality which was not originally available in the 300/400 series. They will all run quite happily on your 315-2 DP (and most, probably all, other 300 and 400 CPUs as well).
 

Similar Topics

When I upload a program from one S7-1200 then download it to another I always end up with all zeros for the M registers. Is there a way to...
Replies
1
Views
1,441
PowerFlex 525-Getting"Data Value Out of Range"when downloading in Drive Tab in 5000 Good Afternoon , I started a thread last week. I am...
Replies
5
Views
4,134
Hello all, Newbie in Siemens, I want to ask if there will be any issue when I download the instance datablock of a certain Function block? Also...
Replies
6
Views
4,394
Hey guys, I came across one question about the FIFO, FFL & FFU instruction. I want to measure the wheel speed, so I use the RPM encoder as the...
Replies
8
Views
3,993
Good Morning all I'm treading into unknown waters here. Scada is Citect, HMI is Magelis programmed with Vijeo Designer. I understand the data...
Replies
4
Views
1,677
Back
Top Bottom