Sign in to follow this  
Followers 0
ee12ma3

Using Arrays in s7 1200

2 posts in this topic

Hi, im going to make a corrolated open loop system where an abb robot is involved as my Secondary project in High School. Im going to transport metal profiles on a conveyor where i will use a sensor which is going to detect the length and calculate the weight in my program, i want to store the data from this sensor in an two dimensional array, the first dimensional for the length, the other dimensional for the weight of the profile. i cant really find any useable information on how to add arrays in tia porta. so how does arrays work in step 7 tia portal?

Share this post


Link to post
Share on other sites
You can create it in a DB. Define the "name" and for example the data type select "Array[1..10,1..10] of Int". Best of luck

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