Jump to content

Recommended Posts

Posted
Is anyone aware of a method (ST, FB, LD, etc) of using a string from an external file, DB, etc. to retrieve the value of an internal or global variable tag. For example if I have a tag called Pointer of type = String and the value of ‘Cyc_Count’ is there a method to retrieve the value of the tag called Cyc_Count’ of type Integer using the value in tag Pointer?

Posted

Pointers are powerful, but potentially deadly.  Just look at the quantity of Windows Security Updates protecting heap trampling of rouge pointers!  That's why IEC language doesn't include pointers to help create stable code.  Like Crossbow, in my experience you can usually create an array (or array of structures) and 'step' through them with an index. 

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...