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

I always get mad about autostart

#1 by dm.bogachev , Fri Aug 21, 2026 4:18 pm

Hi! I often use some kind of initialize program, where I set some default system switches and KIDE always saves my AUTOSTART.PC ON with lowercase letters. It happens only if I have autostart.pc program (i.e. on screenshot I don't have autostart2.pc program, so it keeps uppercase). Could you, please, do something with that?


The following user say thank you: cquante
 
dm.bogachev
Posts: 24
Date registered 09.28.2021


RE: I always get mad about autostart

#2 by cquante , Thu Aug 27, 2026 6:37 am

Hi,
after loading the AS file, K-IDE searches the whole source code for the known variable/program names and replaces the names it found with the name case of the variable list. So if you use a program "autostart.pc", K-IDE replaces "AUTOSTART.PC" with "autostart.pc". If you rename that program to "Autostart.PC", you'll find "Autostart.PC ON" in your program's switch section.

Just an idea: what if you use a template for your switches in your initial AS file or a separate AS file?

1
2
3
4
5
6
7
8
9
10
11
12
 
.SYSDATA
SWITCH CP ON
SWITCH PREFETCH.SIGINS OFF
SWITCH QTOOL OFF
SWITCH REP_ONCE ON
SWITCH HOLD.STEP ON
SWITCH DISP.EXESTEP ON
SWITCH PROG.DATE ON
SWITCH ABS.SPEED ON
SWITCH AUTOSTART.PC ON
SWITCH ERRSTART.PC ON
.END
 


Christian Quante
Technical Sales
Sales Department

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


The following user say thank you: dm.bogachev
 
cquante
Posts: 407
Date registered 12.20.2019


RE: I always get mad about autostart

#3 by dm.bogachev , Yesterday 2:33 pm

Thank you, Cquante!

I will move only AUTOSTART.PC to the .SYSDATA section because I want to make sure that all switches are set exactly as required.
I will also have the PLC check separately whether autostart is enabled, so that the PLC can detect if AUTOSTART.PC has been disabled.


 
dm.bogachev
Posts: 24
Date registered 09.28.2021


   

Array Comments



Xobor Xobor Community Software
Datenschutz