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

Help me create a Command

#1 by Mosayeb ( Guest ) , Tue Jul 22, 2025 12:44 pm

Guide me to create a button inside the Interface Panel page number 1, which when pressed will go to the Interface Panel page number 2.

Attached pictures:
Page2.png  

Mosayeb

RE: Help me create a Command

#2 by cquante , Wed Jul 23, 2025 6:19 am

To change the interface panel page, you need to configure a dedicated input signal in the I/O settings of your controller or K-Roset. The signal that you configured can be used to switch to the specific page using the button's signal.


Christian Quante
Technical Sales
Sales Department

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


The following user say thank you: albaloops
 
cquante
Posts: 376
Date registered 12.20.2019


RE: Help me create a Command

#3 by Mr.T , Thu Jul 24, 2025 3:08 pm

or in a parallel .pc program you could detect thebutton pressure on the ifp with a rising edge to filter it and then use the command IFPDISP N where n is the page number you want to have displayed

1
2
3
4
5
6
7
8
9
10
11
12
13
 

IF SIG(s_ifp_pg_nxt) THEN
; if button press
IF fr_bool THEN
;if is the positive edge
IFPDISP 2; view page number 2
;
fr_bool = FALSE ;off edge
END
ELSE
fr_bool = TRUE; restore edge
END
 
 


The following user say thank you: albaloops
Mr.T  
Mr.T
Posts: 62
Date registered 02.08.2021


RE: Help me create a Command

#4 by Mosayeb ( Guest ) , Mon Jul 28, 2025 12:07 pm

Hello and thanks
Both solutions are applicable
I searched a lot on the internet, and now I found out that there is a command (( IFPDISP ))
Also another command called (( MAINDISP ))
I don't know why it is not in the Manual

I have a suggestion:
When creating the 10-Monitor Command button, it does not accept the IFPDISP command
But you can easily execute MAINDISP
If you can execute this IFPDISP command inside the Command, it would be very easy


Mosayeb

RE: Help me create a Command

#5 by zuoyuanchun , Sun Aug 17, 2025 3:34 pm

.SYSDATA
DEFSIG_I I/F_PAGE1 ON 2201
DEFSIG_I I/F_PAGE2 ON 2202
DEFSIG_I I/F_PAGE3 ON 2203
DEFSIG_I I/F_PAGE4 ON 2204
.END
.INTER_PANEL_D
25,2," Page 2"," SIG2202","","",10,0,0,2202,0
26,2," Page 3"," SIG2203","","",10,0,0,2203,0
27,2," Page 4"," SIG2204","","",10,0,0,2204,0

53,2," Page 1"," SIG2201","","",10,0,0,2201,0
54,2," Page 3"," SIG2203","","",10,0,0,2203,0
55,2," Page 4"," SIG2204","","",10,0,0,2204,0

81,2," Page 1"," SIG2201","","",10,0,0,2201,0
82,2," Page 2"," SIG2202","","",10,0,0,2202,0
83,2," Page 4"," SIG2204","","",10,0,0,2204,0

109,2," Page 1"," SIG2201","","",10,0,0,2201,0
110,2," Page 2"," SIG2202","","",10,0,0,2202,0
111,2," Page 3"," SIG2203","","",10,0,0,2203,0
.END
.INTER_PANEL_TITLE
"Test Page 1",1
"Test Page 2",2
"Test Page 3",3
"Test Page 4",4
"",0
"",0
"",0
"",0
.END


The following user say thank you: cquante
zuoyuanchun  
zuoyuanchun
Posts: 24
Date registered 05.01.2020


RE: Help me create a Command

#6 by albaloops , Sat Oct 11, 2025 9:49 am

Does it really have to be written inside an if loop to use rising edge?
I've always wondered, can't we have rising edge inside the program?


albaloops  
albaloops
Posts: 1
Date registered 07.30.2025


   

New patterns
Native Git Support



Xobor Xobor Community Software
Datenschutz