View Single Post
Old September 30th, 2017, 03:34 PM   #14

qwemx is offline
qwemx's Avatar
Join Date: Jul 2017
Location: United arab emirates
Posts: 77
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 03:42 PM. Reason: adding information for clarity
  Reply With Quote