Jump to content

Recommended Posts

Posted

I was looking for a manual on all the array instruction.  I need to make an array with 500 columns and 10 rows.  I not sure how to do this and can not find any help with how to setup arrays

Posted

Hi, the UniLogic arrays are 1 dimentional.

However, you can use the Data Tables... 

 

I'm assuming that all the columns are from the same type, right?

If so, create a Struct, with 1 member which is an array (of the type you want) with a dimension of 500.
 

Then create a Data Table which is linked to that struct, and set the rows to be 10.

Posted

Hey Saragani,  I have to have a bunch of different parts depending on the job number.  So if the job number is 1 you may need a part from bowl 1,2,4,6,8,10 if it is job 2 you may need a part from all 10 bowl.  what I will do is turn on the lights and open the doors to the bins that hole the parts depending on the job number entered.  So I guess what I need to do is have an array that would start with job number then when the operator enters the job number the array would lookup what parts are need and set it to that program. 

Posted

Thats looks like something you can do with a Data table.

Just fill the correct data for each row, and when the operator enters a job number, read the correct row and use it.

 

And since it is a data table, you can also save it to file, and load it

(Or export the table to Excel, edit it and import the values back to UniLogic, or generate a data table file from the excel file and use it to load it from Ladder).

Posted

I was looking at the data tables and I think that will work.  Are the data tables searchable?  Can they be edited for the touch screen ex add new products change or delete old ones?

 

Thanks

Paul

Posted

Like an array. rows cannot be added or removed (They can be cleared). The total number of rows always remains pre-defined.

You can search inside a data table, and the values can also be edited from the Data Table Widget.

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

Important Information

This site uses cookies. By clicking I accept, you agree to their use.