randy Supporting Member R Join Date Apr 2002 Posts 158 May 6, 2011 #1 How do you setup two processor (S7) to share the same Data Block? Thanks rmonroe
Michael Hunt Member M Join Date Nov 2008 Location Leeds Posts 75 May 6, 2011 #2 randy said: How do you setup two processor (S7) to share the same Data Block? Thanks rmonroe Click to expand... Why would you want to share the same data block?
randy said: How do you setup two processor (S7) to share the same Data Block? Thanks rmonroe Click to expand... Why would you want to share the same data block?
L D[AR2P#0.0] Lifetime Supporting Member L Join Date Nov 2006 Location UK Posts 6,694 May 6, 2011 #4 How are the two CPU's connected, MPI/DP/Profinet ?
TurpoUrpo Lifetime Supporting Member T Join Date May 2008 Location Switzerland Posts 1,571 May 6, 2011 #5 randy said: How do you setup two processor (S7) to share the same Data Block? Thanks rmonroe Click to expand... You cant share it, but you can copy it (or part) from other to another. But access frome boths cpu's by just Code: L "DB_Share".Member1 Is not possible.
randy said: How do you setup two processor (S7) to share the same Data Block? Thanks rmonroe Click to expand... You cant share it, but you can copy it (or part) from other to another. But access frome boths cpu's by just Code: L "DB_Share".Member1 Is not possible.
randy Supporting Member OP R Join Date Apr 2002 Posts 158 May 7, 2011 #6 Were using MPI for communication.
L D[AR2P#0.0] Lifetime Supporting Member L Join Date Nov 2006 Location UK Posts 6,694 May 7, 2011 #7 Use SFC67 to copy db data from another CPU
randy Supporting Member OP R Join Date Apr 2002 Posts 158 May 14, 2011 #8 I just found where you setup Global Data Block. MPI>Option>Define Global Data. Now I can share one HMI with two CPU's rmonroe
I just found where you setup Global Data Block. MPI>Option>Define Global Data. Now I can share one HMI with two CPU's rmonroe