Sign in to follow this  
Followers 0
saruans

shift array with struct

3 posts in this topic

Is it possible shift data array. I have

Array_ret:                                    ARRAY[0..10] OF test;   

and

TYPE tests :
STRUCT
	TinFoil:		BOOL;
	InFrame:		BOOL;
END_STRUCT
END_TYPE

I want shift all one time time Array_rest[0] information to Array_rest[1]. Array_rest[1] to Array_rest[2] and...

Is it possible?

Share this post


Link to post
Share on other sites

Is it possible to shift the type of array you describe? 

The answer is a qualified yes.  If you're using the right processor and the right command set then it is quite possible.

If you're on an old Modicon 984 Ladder System it's going to be extremely difficult.  On a newer Modicon Ecostruxure Control Expert Platofrm system is will be much easier.

SO to get a meaningful answer we're going to need to know a little more about the harddware you're contemplating usng?

Share this post


Link to post
Share on other sites
14 hours ago, BobLfoot said:

Is it possible to shift the type of array you describe? 

The answer is a qualified yes.  If you're using the right processor and the right command set then it is quite possible.

If you're on an old Modicon 984 Ladder System it's going to be extremely difficult.  On a newer Modicon Ecostruxure Control Expert Platofrm system is will be much easier.

SO to get a meaningful answer we're going to need to know a little more about the harddware you're contemplating usng?

I am using somachine 4.3V

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
Sign in to follow this  
Followers 0