1/5/2011 2:20 PM | |
Joined: 1/28/2009 Last visit: 1/30/2025 Posts: 6859 Rating: (1366) |
check following chapters in this manual : chapter 11-Creating Data Blocks chapter 12-Parameter Assignment for Data Blocks You may know these basic material about data blocks but the easiest way is to find the whole address is to get the starting point of the variable. Ex1: Data block 1, data type real, starting address18 = DB1.DBD18 Ex2: Data block 1, data type WORD, starting address22 = DB1.DBW22 Symbol addressing is another possible ways and help you to only write names instead of addresses.consider you defined symbol "motor1" to DB1 and in the DB1 editor you select "speed" to double word started from byte#18. So yo can write "motor1.speed" instead of DB1.DBD18. BR |
Last edited by: hdhosseini at: 1/5/2011 2:38 PM//Symbol addressing added |
|
1/5/2011 5:16 PM | |
Joined: 1/28/2009 Last visit: 1/30/2025 Posts: 6859 Rating: (1366) |
Dear Gogy Please check the attachment to show how create array of INT and how use them in a sample LAD program,the program checked and result is monitored in date block. Regards Attachmentsample.zip (1188 Downloads) |
This contribution was helpful to2 thankful Users |
1/5/2011 5:37 PM | |
Joined: 1/28/2009 Last visit: 1/30/2025 Posts: 6859 Rating: (1366) |
Dear Sir While you are working with logic , you can rely on PLCSIM . Exceptions:Which components are not supported by S7-PLCSIM V5.4 SP3? regards |
Last edited by: hdhosseini at: 1/5/2011 5:45 PM//Exceptions added |
|
1/5/2011 6:06 PM | |
Joined: 3/21/2006 Last visit: 1/30/2025 Posts: 10239 Rating: (1182) |
No this is not a problem. |
1/5/2011 6:14 PM | |
Posts: 40 Rating: (1) |
Super :) Thank you... |
This contribution was helpful to2 thankful Users |
Follow us on