Jump to content

Array adressing


Recommended Posts

Posted
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

Posted
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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...