Dear all,
other idea is a way to see the current value of local variables (.name)
Is already possible and, as usual I don't know how do it, or is not possible on the Kawasaki controller?
Thanks in advance
K-IDE support forum Find all information about Kawasaki's Integrated Development Environment |
Dear all,
other idea is a way to see the current value of local variables (.name)
Is already possible and, as usual I don't know how do it, or is not possible on the Kawasaki controller?
Thanks in advance
Posts: | 27 |
Date registered | 06.21.2024 |
Dear Lomba,
as local variables are only defined in the program were they are used, it is not possible to view the contents outside of that program. But I've seen some controller were the local variables are stored in another program and visible in AS code (AS backup). But I don't know how this works and so K-IDE is not able to handle that at the moment.
Christian Quante
Technical Sales
Sales Department
Kawasaki Robotics GmbH
Rheiner Landstrasse 195A • 49078 Osnabrück
Germany
Posts: | 301 |
Date registered | 12.20.2019 |
Dear CQuante,
maybe I not explain clear my idea, forgive me.
My idea is to see the current value of local variable in real time, inside the inspection list.
Thanks
Posts: | 27 |
Date registered | 06.21.2024 |
HI,
as "cquante" says, you cannot read the state of temporary variables (or at least I have not figured out, to date, how to do so) in real time from the controller.
It is possible to enable a system switch ( aux/advance/system switch/p8 LOCAL_VAR_DISP ) that saves in the "AS File" the current state of the variable when the "AS File" is downloaded within the program.
Posts: | 40 |
Date registered | 02.08.2021 |
Dear Lomba,
I understand what you mean but showing the actual state / value of a private variable is impossible by design! Local variables are only valid in the program where they are used. Imagine you have a variable ".i" which stores the counter value in your programs and you use that specific variable in more than one of your programs. If you would like to show the content of the variable, what value would you expect? If you like to see the actual value of a variable, you may choose a global variable or use print / type commands.
Christian Quante
Technical Sales
Sales Department
Kawasaki Robotics GmbH
Rheiner Landstrasse 195A • 49078 Osnabrück
Germany
Posts: | 301 |
Date registered | 12.20.2019 |
Thanks.
Sorry if I seems arrogant or conceited, but I'm just comparing different system and I would like to know if one operation or functionality that I find that is very useful in another system is possible (and how) or not.
Thanls for your time
Posts: | 27 |
Date registered | 06.21.2024 |
|