Guest Conne Posted August 27, 2004 Report Posted August 27, 2004 Hello I have a litle problem using arrays in Simatic step 7 ver5.3. I would like to use indirekt adressing in my user defined type. Example: "HMI_DB".LOGG.PROD[1].PRODALARM instead of the 1 i would like to use a variable. "HMI_DB".LOGG.PROD[MyPointer].PRODALARM but i have problem to get this work. Is there anyone that have a sugestion?? Best regards Conrad Quote
jacekd Posted August 27, 2004 Report Posted August 27, 2004 You need SCL programming package. Or you'll have to get familiar with S7 addressing registers and address artmethic. Quote
Guest Guest Posted October 6, 2004 Report Posted October 6, 2004 If you go to the Siemens support pages and enter "open a data block indirectly" in the search box, you'll get some good examples. Cheers Roy Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.