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

Even in the latest version, when reformatting, the format is completely destroyed.

#1 by rapesia , Mon Dec 23, 2024 7:54 pm

I thought the bug was fixed in version 1.0.3, but when I use the reformatting program, the format is completely broken.
Because of that, the robot program that I worked on for 8 hours is completely broken.
Why don't you fix such a critical bug?


rapesia  
rapesia
Posts: 3
Date registered 12.22.2024


RE: Even in the latest version, when reformatting, the format is completely destroyed.

#2 by rapesia , Mon Dec 23, 2024 8:44 pm

And When I load a new existing program, OX is changed to lowercase, which causes grammar errors when downloading the program.


rapesia  
rapesia
Posts: 3
Date registered 12.22.2024


RE: Even in the latest version, when reformatting, the format is completely destroyed.

#3 by cquante , Fri Dec 27, 2024 10:23 am

I am sorry to hear about this problem! Please give me detailed information like this:

  • Code snippet that is causing the problems
  • Detailed information what should happen and what happens (screenshot / code snippet)
  • Deatiled information what you did to get that error (buttons pressed, menu items selected, ...)
  • K-IDE version number
  • Controller type
  • Firmware version

I can understand your anger, but remember: without detailed information, developers cannot fix bugs.

From your limited information I can guess that it has something to do with Block Teaching programs (OX). Am I right? Block Teaching program lines have been revised in 1.1.4.x with the templates I found and got from people who had problems with it. The trick in K-IDE is to figure out which line of code is a Block Teaching line and exclude those lines from formatting. For the examples I got, this works fine in 1.1.5.0. If you got some additional examples for me to test, please feel free to provide!

Thank you!


Christian Quante
Technical Sales
Sales Department

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


The following user say thank you: rapesia
 
cquante
Posts: 326
Date registered 12.20.2019


RE: Even in the latest version, when reformatting, the format is completely destroyed.

#4 by Mr.T , Fri Dec 27, 2024 2:16 pm

Zitat von rapesia im Beitrag #1
Because of that, the robot program that I worked on for 8 hours is completely broken


auto-save feature is available if you want, you have to edit the configuration file to enable it because it is not exposed.
for what little I have used it, it works.

Zitat von cquante im Beitrag Autosave file
a very simple auto-save functionality is added here: BETA / Update 1.1.1.12


LINK instructions



Mr.T  
Mr.T
Posts: 52
Date registered 02.08.2021

Last edited 12.27.2024 | Top

RE: Even in the latest version, when reformatting, the format is completely destroyed.

#5 by rapesia , Mon Jan 06, 2025 3:48 pm

If reformat like this, there will be spaces in all arrays, the robot will not load itself, and string errors will occur.

and version is 1.1.5.0.

Someone else reported the bug before and there was a patch file, but the new versions are causing the bug again. Please remove the reformatting button so that it is not pressed accidentally.


Attached pictures:
???? 2025-01-06 084507.png   ???? 2025-01-06 084535.png   ???? 2025-01-06 084546.png  

rapesia  
rapesia
Posts: 3
Date registered 12.22.2024

Last edited 01.06.2025 | Top

RE: Even in the latest version, when reformatting, the format is completely destroyed.

#6 by cquante , Tue Jan 07, 2025 6:29 am

Thank you for sharing the information!

I'm not a friend of removing functionality that does not work as expected. I like to fix that function instead. To be honest, I don't use Block Teaching functionality in my programs and therefor I need your help for fixing that.

The last time I got information about formating issues was half a year ago (see -> here <-. I fixed that in August 2024. Of cause the fix is still present in the latest K-IDE (v1.1.5.0 / 1.1.5.1). If it's still not working for you than please help me understanding what to do to get the faulty result!

I inspected the code and found that line:

1
2
3
4
5
 

// Block teaching line
if (_IsPainting || ((_IsStandard || _IsArcWelding || _IsSealing) && IsBlockTeachingLine (line.Trim ())))
return line; // leve the line unformated
// Perform formating from here...
 



That means, in a painting firmware, there will be no formating and for the standard (handling), arc welding or sealing firmware each line will be inspected. That may be a reason for your issues: if K-IDE cannot identify the firmware, no Block Teaching identification will be done and in fact all lines will be formated. So I suspect you were using a new file without any firmware information, copied you programs in there and edit them. In that case no "_IsXxx" boolean variable is set and the formating will be performed even on the Block Teaching line.

Am I right?


Christian Quante
Technical Sales
Sales Department

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


 
cquante
Posts: 326
Date registered 12.20.2019

Last edited 01.07.2025 | Top

   

shortcut add as real 1.1.5
Casting error in find identifier v1.1.5.0



Xobor Xobor Community Software
Datenschutz