This instruction allows the axis control that runs the R3 program to make logical decisions.
Syntax |
|
|
---|---|---|
Validity |
Rule, Task |
|
Note |
If the "condition" results TRUE, the instruction group defined as "block1" is executed.
If the "condition" results FALSE, the instruction group defined as "block2" is executed.
Examples of use:
Note: In case "block2" instructions do not need to be executed, the keyword else can be omitted. Example:
Example: |