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

Array Comments

#1 by MWirenfeldt , Thu Jul 23, 2026 9:02 pm

Hi Christian

i have a wish.
When you create an Array, and add a comment to that, it is the same comment to everything in that array
an example:
dly[1] = 0.2 ;Delay for update
dly[2] = 1 ;TON B200-1
dly[3] = 0 ;DISP

it could also be a Array of Position
Pallet[1] = X,Y,Z,O,A,T ;Position teached on P330, Center of Pallet
Pallet[2] = X,Y,Z,O,A,T ;Position teached on P340, Center of Pallet
Pallet[3] = X,Y,Z,O,A,T ;Position teached on P350, Center of Pallet

is that even possible to do?



The following user say thank you: cquante
MWirenfeldt  
MWirenfeldt
Posts: 8
Date registered 04.30.2024

Last edited 07.23.2026 | Top

RE: Array Comments

#2 by MWirenfeldt , Thu Jul 23, 2026 9:06 pm


Picture for example



The following user say thank you: cquante
MWirenfeldt  
MWirenfeldt
Posts: 8
Date registered 04.30.2024

Last edited 07.23.2026 | Top

RE: Array Comments

#3 by cquante , Fri Jul 24, 2026 12:07 pm

Thank you for the detailed description!

In theory, it is possible and was supported in older K-IDE versions. But it became clear it will lead to an overkill in a project with thousands of array items. The current, optimized code takes each array as a single entry in the IDE comments which gives the case-sensitive name and the comment for each array item.

I know, the current situation is not consistent. You can edit each array item separately but in the end, K-IDE stores only the first comment.


Christian Quante
Technical Sales
Sales Department

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


The following user say thank you: MWirenfeldt
 
cquante
Posts: 406
Date registered 12.20.2019


   

Other suggestion



Xobor Xobor Community Software
Datenschutz