#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