10/11/2005 11:30 AM | |
Joined: 9/1/2005 Last visit: 1/13/2025 Posts: 4114 Rating: (195) |
Topic posted twice. Here the answer of the second Topic: [quote user="Dreminee"] Hello What you can do is the following. Create an interface DB for the scada, then everything regarding to scada is in that DB. This way the systemis clear. Indirect addressing should only be the case when you have no other option. It makes the programm difficult to read for unexperienced users |
My Forum is the place to personalize your profile, |
|
10/12/2005 11:30 AM | |
Joined: 9/1/2005 Last visit: 1/13/2025 Posts: 4114 Rating: (195) |
New question posted in a new thread. But itbelongs to this: [quote user="Xeren"]Hello! the idea it's make the system that can be configured from SCADA it's mean that in PLC we have a program working with M Variable but which input or output address using for block ,it's will configured from SCADA, For example: In Scada we write M1:=i4.3, M2:= Q7.3..... Mx:= Qx.x ....MWx:=PWx... All that will writing in DB of course. IN PLC We have for example bloc Valve that using Mx Variable that receive or transfer the result to inputs or outputs Hope see your answer soon, best regards.Thanks for your help :) |
My Forum is the place to personalize your profile, |
|
10/20/2005 9:17 AM | |
Posts: 4 Rating: (0) |
I think that you may declare 2dbs L 9 L 1 // end of setup A #AdrType1 // if adrtype is true = Q _002: L #Adr2
_004: L P#Q 0.0 // i add offset from DestAdr to the start adr of outputs L P#I 0.0 LAR2 A [AR2,P#0.0] //copy status of input to the output |
10/15/2017 8:14 PM | |
Joined: 1/28/2009 Last visit: 1/8/2025 Posts: 6858 Rating: (1366)
|
Dear user,
To add new points, you can find valuable tips on the indirect addressing topic with actual S7-Project in the following file.It shared in the technical forum.It includes important indirect addressing topics in S7 controllers and provides you great insight:
The Tips and regarding files can be downloaded from (simatic tips.zip).If you want more tips, you can check Hans Berger's books on programming ,online manual of STEP 7 and SIOS for FAQs and forum discussions.It is important to practice this topic for mastering. I hope it helps, hdhosseini |
Last edited by: hdhosseini at: 10/15/2017 8:15:49 PM |
|
Follow us on