Datablock initializer
-
- Posts: 1
- Joined: Fri May 12, 2006 6:36 am
Datablock initializer
Do antone have a program called Datablock initializer, the program copys the online values in a DB into the initialvalus of a DB.
Initialisations of DB's
Dear guru.
I think, you will transfer online actual values from some DataBlock present inside of the PLC to any user predifined block - offline.
Dg.: You can upload your interested DB into PG and you'll make
a copy with [File -->Generate source] as source file inside offline project
folder in STEP7 manager. (Do'nt forget to good name it - like same name as DB).
If you generated source of DB successfully, then you open source DB,
you can see two parts of these DB.
First is declaration part placed between STRUCT and END_STRUCT of
DB. (Can be predefined initial values included)
Second part will begin with keyword BEGIN, which will predefined (filled)
with actual values (uploaded prom PLC), written with programm assignement syntaxes (like := 10;).
Good luck. MSe
I think, you will transfer online actual values from some DataBlock present inside of the PLC to any user predifined block - offline.
Dg.: You can upload your interested DB into PG and you'll make
a copy with [File -->Generate source] as source file inside offline project
folder in STEP7 manager. (Do'nt forget to good name it - like same name as DB).
If you generated source of DB successfully, then you open source DB,
you can see two parts of these DB.
First is declaration part placed between STRUCT and END_STRUCT of
DB. (Can be predefined initial values included)
Second part will begin with keyword BEGIN, which will predefined (filled)
with actual values (uploaded prom PLC), written with programm assignement syntaxes (like := 10;).
Good luck. MSe