Dear all,
I don't know if here is the right place to ask or not.
Do someone ever use command ONE? Is a command that launch a task if one error occured but on the documentation there is no example.
Do someone has an example?
Thanks in advance
K-IDE support forum Find all information about Kawasaki's Integrated Development Environment |
Dear all,
I don't know if here is the right place to ask or not.
Do someone ever use command ONE? Is a command that launch a task if one error occured but on the documentation there is no example.
Do someone has an example?
Thanks in advance
Posts: | 29 |
Date registered | 06.21.2024 |
I didn't ever used "ONE", but I guess you have to place the command in one of the first lines of your PROGRAM to tell the controller what to if an error occured:
.PROGRAM Main ()
;
;
ONE PrintErr
;
; other commands here
:
.END
.PROGRAM PrintErr ()
PRINT "Error!"
RETURNE
.END
Christian Quante
Technical Sales
Sales Department
Kawasaki Robotics GmbH
Rheiner Landstrasse 195A • 49078 Osnabrück
Germany
Posts: | 326 |
Date registered | 12.20.2019 |
I don't think the control unit simply ignores it. My colleague sent me a little test program that does exactly what you expect. These are the inputs and outputs of the terminal:
ONE terminal.png - Bild entfernt (keine Rechte)
Christian Quante
Technical Sales
Sales Department
Kawasaki Robotics GmbH
Rheiner Landstrasse 195A • 49078 Osnabrück
Germany
Posts: | 326 |
Date registered | 12.20.2019 |
|