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
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.
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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now