![UIrobot UI-SR Series User Manual Download Page 44](http://html1.mh-extra.com/html/uirobot/ui-sr-series/ui-sr-series_user-manual_3284810044.webp)
Page 44
M4220161122CN
UI Robot Technology Co. Ltd.
UIROBOT SCARA Robot
Click “While” button, program editing window display while loop statement:
While
(
loop judge condition
)
{
Execute code
;
Condition of jumping out of the loop
;}
Double click while statement in program editing window, automatically eject loop judge
condition input interface. Constants, variables, port input are available to be taken as loop
judge condition to constraint program.
If…else statement
if
(
expression
)
statement1 else statement2