
Chapter 9 Programming
131
9.8
IF Command
Use the command to initiate different commands depending on the condition.
Enter the condition in an IF statement.
Press the text box to launch the formula keypad. For more details about the formula
keypad, refer to
If you use an IF command, an if statement will be created below the main flow.
Select the
Use Else
checkbox to create an else statement below the if statement.
Add Else IF to add another condition under the if statement.
-
To add Else IF under IF, then press the
+ Else IF
button.
-
To delete the Else IF statement you added, select the checkbox for the Else IF statement,
and press the
Delete
button.
If you select the icon on the right side of the conditional statement as shown below, you can
program to check the conditions of the conditional statement in real time.
-
Even if the IF condition is judged to be true, the condition is checked in real time while
executing the program. If the condition is False, the execution of the program command
is stopped and the upper or lower conditional statement is executed.
-
When If is executed
: If Else is present, execute the program command with the Else condition.
If Else is not present, execute the next program command of If.
Summary of Contents for HCR-5
Page 1: ...HCR 5 Collaborative Robot User Manual Aug 2019 V 2 001 ...
Page 2: ......
Page 14: ......
Page 96: ...Chapter 8 Safety Settings 96 ...
Page 101: ...Chapter 8 Safety Settings 101 3 Press the OK button ...
Page 188: ...Chapter 15 Maintenance 188 4 When the confirmation window appears press YES ...
Page 192: ...192 Appendix B Certification Safety ...
Page 193: ...193 ...
Page 194: ...194 MD Machinery Directive ...
Page 195: ...195 LVD Low Voltage Directive ...
Page 196: ...196 EMC Electro Magnetic Compatibility ...
Page 197: ...197 Cleanroom Body ...
Page 198: ...198 Cleanroom Controller ...
Page 199: ...199 Appendix C Dimensions for Installation ...
Page 205: ......