View Single Post
Old September 30th, 2017, 04:34 PM   #14
qwemx
Member
India

qwemx is offline
 
qwemx's Avatar
 
Join Date: Jul 2017
Location: Earth
Posts: 74
I studied the Program and found answer to my question ,
This is an instant DB tied to a function block and the data (DPRD_DAT) is saved starting from offset 98.0 and further to 12 byte starting from there

I am trying to write the same program and I find that when I add more local variables the offset keeps changing and therefore either i should define all the local variables before i start writing the code in FB or i can change the address (where to save the control word and rest of the PZD ) once i am finished with the Program .

Last edited by qwemx; September 30th, 2017 at 04:42 PM. Reason: adding information for clarity
  Reply With Quote