K-IDE support forum
Find all information about Kawasaki's Integrated Development Environment

Array index wrong and not selectable

#1 by Roger_Kaisereng , Wed Jan 13, 2021 7:47 am

Dear all

I sometimes have the problem that KIDE chooses the array index itself, but it is wrong. You have no chance to change it afterwards and if you don't check, you always save the same position.

Best regards


Roger_Kaisereng  
Roger_Kaisereng
Posts: 19
Date registered 01.22.2020


RE: Array index wrong and not selectable

#2 by cquante , Wed Jan 13, 2021 12:37 pm

Dear Roger,

thank you for your bug report!

Can you please explain the issue a bit more in detail?

I just checked this functionality with a test project and didn't found anything strange.

If you right click a variable field with a static dimension (number), K-IDE should select the right array field for you. If you right click on a field with a dynamic dimension (REAL variable), K-IDE should ask you which static dimension to use.

If you like and if it's reproduceable, please send me the project file via email and tell me the location of the issue and I'll try to check what happens in the K-IDE.

Thank you!


Kind regards,
Christian


Christian Quante
Project Support & Development
Technical Department

Kawasaki Robotics GmbH
Rheiner Landstrasse 195A • 49078 Osnabrück
Germany


 
cquante
Posts: 259
Date registered 12.20.2019


RE: Array index wrong and not selectable

#3 by Roger_Kaisereng , Wed Jan 13, 2021 3:40 pm

I effectively haven't figured it out yet....

I have a feeling that it is related to K-Roset. Whenever one robot is working and another one is saving positions...

I'm trying to recreate it.


Roger_Kaisereng  
Roger_Kaisereng
Posts: 19
Date registered 01.22.2020


RE: Array index wrong and not selectable

#4 by Roger_Kaisereng , Wed Jan 13, 2021 4:45 pm

I have found out one thing!

There is an array variable stored, for example lay[1]. There are no more variables. In the programme, I then make a new variable lay[2]. KIDE does not recognise the new index and automatically saves everything in legen[1].


Roger_Kaisereng  
Roger_Kaisereng
Posts: 19
Date registered 01.22.2020


RE: Array index wrong and not selectable

#5 by Roger_Kaisereng , Wed Jan 13, 2021 4:58 pm

Why are .as files forbidden to be uploaded.... I hope it's a joke...

I want to save the file fetch_to[3]. It is not possible...

Attachment:
No rights to view attachments. Only file names are shown. Register now!
KIDE_Rob2_V1.zip

Roger_Kaisereng  
Roger_Kaisereng
Posts: 19
Date registered 01.22.2020


RE: Array index wrong and not selectable

#6 by cquante , Wed Jan 20, 2021 11:58 am

Zitat von Roger_Kaisereng im Beitrag #4
I have found out one thing!

There is an array variable stored, for example lay[1]. There are no more variables. In the programme, I then make a new variable lay[2]. KIDE does not recognise the new index and automatically saves everything in legen[1].


I understand what you mean. You registered a variable array with only one item (lay[1]) and after that you add another item of that array without registering it in the K-IDE. Then, of cause, the new variable is not known by K-IDE and cannot be listed to be changed.

In such a case all items of an array should be registered to the K-IDE to be handled properly.


Christian Quante
Project Support & Development
Technical Department

Kawasaki Robotics GmbH
Rheiner Landstrasse 195A • 49078 Osnabrück
Germany


 
cquante
Posts: 259
Date registered 12.20.2019


RE: Array index wrong and not selectable

#7 by R.Tumanov , Fri Mar 12, 2021 12:28 pm

Dear Christian,

I can understand the problem and would also like to see an improvement. If the index is unknown in the editor when right-clicking on the array variable, it is wrong in my view to take any index of the variable. There are certainly ways to fix this.

Very important difference, it only occurs when there is only one array variable!


Thank you!


Roman Tumanov
Application Engineer
Technical Department

Kawasaki Robotics GmbH
Rheiner Landstrasse 195A • 49078 Osnabrück
Germany


R.Tumanov  
R.Tumanov
Posts: 8
Date registered 01.27.2020


RE: Array index wrong and not selectable

#8 by cquante , Mon Mar 22, 2021 10:04 am

Dear Roger, dear Roman,

thank you for the explanation! Please find an update regarding that problem in the update section:

BETA / Update 1.0.0.5


Christian Quante
Project Support & Development
Technical Department

Kawasaki Robotics GmbH
Rheiner Landstrasse 195A • 49078 Osnabrück
Germany


 
cquante
Posts: 259
Date registered 12.20.2019


RE: Array index wrong and not selectable

#9 by Roger_Kaisereng , Mon Apr 05, 2021 7:42 am

I have installed version 1.0.0.6, is the update integrated there?


Roger_Kaisereng  
Roger_Kaisereng
Posts: 19
Date registered 01.22.2020


RE: Array index wrong and not selectable

#10 by cquante , Mon Apr 05, 2021 8:19 am

Yes, all updates are combined in the latest BETA.


Christian Quante
Technical Sales
Sales Department

Kawasaki Robotics GmbH
Rheiner Landstrasse 195A • 49078 Osnabrück
Germany


 
cquante
Posts: 259
Date registered 12.20.2019


RE: Array index wrong and not selectable

#11 by Roger_Kaisereng , Mon Apr 05, 2021 8:40 am

Very good.

I have just found an error, according to the following procedure:

There is a programme fetch

I have an array variable in the program that I want to assign, also with the name fetch.

Then the error comes on the printscreen

temp.JPG - Bild entfernt (keine Rechte)


Roger_Kaisereng  
Roger_Kaisereng
Posts: 19
Date registered 01.22.2020


RE: Array index wrong and not selectable

#12 by cquante , Mon Apr 05, 2021 10:04 am

Hey Roger,

thank you for your report!

I got the same error in that situation and will take a look at it ASAP.


Christian Quante
Technical Sales
Sales Department

Kawasaki Robotics GmbH
Rheiner Landstrasse 195A • 49078 Osnabrück
Germany


 
cquante
Posts: 259
Date registered 12.20.2019


RE: Array index wrong and not selectable

#13 by Roger_Kaisereng , Mon Apr 05, 2021 10:33 am

You don't have to hurry on my account. I was able to work around the problem...

Otherwise, the operation seems very good. I think the adjustments have helped very well


Roger_Kaisereng  
Roger_Kaisereng
Posts: 19
Date registered 01.22.2020


RE: Array index wrong and not selectable

#14 by cquante , Mon Apr 05, 2021 10:33 am

Dear Roger,

I found the problem but I do not know how to handle it.

The main Problem is that there is the same name for the program and the TRANS variable. If you right-click on the variable name to define the newly created variable, the name is still known by K-IDE and it is a name of the program. For that reason the K-IDE does not give you the possibility to create the variable as a new variable. As K-IDE knows the name as a program name, it realizes an error with the array definition (programs cannot be arranged in arrays).

I would highly recommend to use different names for different variable types (and programs)! It would make life easier for you and for the K-IDE. In your case I would suggest to use PosHolen and VPosHolen. Of cause the K-IDE will not limit you to that. If you nevertheless want to use the same name for the different types of variables I would recomment to define the variables in the specific variable list. Once defined, the variables will be handled correct in the text editors of K-IDE.


Christian Quante
Technical Sales
Sales Department

Kawasaki Robotics GmbH
Rheiner Landstrasse 195A • 49078 Osnabrück
Germany


 
cquante
Posts: 259
Date registered 12.20.2019

Last edited 04.05.2021 | Top

   

CPU Error when loading KIDE .as from SAVE/LOAD in TP
Port-Problems



Xobor Xobor Community Software
Datenschutz