Sergei Troizky

Aliasing possible in Sysmac Studio?

7 posts in this topic

Is it possible?
For instance, I want a BOOL with own name to be aliased to a member of ARRAY OF BOOLS.

Share this post


Link to post
Share on other sites

You can use a structure with BOOL fields?

Share this post


Link to post
Share on other sites

This is not aliasing, neither its emulation even for the simplest example I gave.

Share this post


Link to post
Share on other sites

Hi Sergei, I Don't think Aliasing is possible like in RSLogix. 

Share this post


Link to post
Share on other sites

That's very sad, as very often there is a dilemma between a variable individual meaningful name and being a part of array/structure/union.

Share this post


Link to post
Share on other sites

Sergei, it is possible by using address translation "AT" to set variables to point to the same memory location but it's not as easy as Tag Aliasing in RSLogix.

In Sysmac you could create an array of Bool for example and set the AT to %D100

You could then create a bool variable and have the AT set at %D100.5.

This would effectively become an alias but it would be difficult to manage on a large program.

Share this post


Link to post
Share on other sites

Well, better than nothing. Thanks.

Definitely, aliasing should be added to improvement requests.

Share this post


Link to post
Share on other sites

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