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.
|
|
| K-IDE support forum Find all information about Kawasaki's Integrated Development Environment |
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.
Christian Quante
Technical Sales
Sales Department
Kawasaki Robotics GmbH
Rheiner Landstrasse 195A • 49078 Osnabrück
Germany
| Posts: | 376 |
| Date registered | 12.20.2019 |
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
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
| Posts: | 62 |
| Date registered | 02.08.2021 |
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
.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
| Posts: | 24 |
| Date registered | 05.01.2020 |
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?
| Posts: | 1 |
| Date registered | 07.30.2025 |
|
|
|