Conditional Branching Settings Examples

The overall judgement result for processing up to the unit number in which the expression is set is acquired and subsequent measurement is branched according the result.
For example, condition branching is performed based on the overall judgement result of Units 0 to 4.
Example of cumulative judgement results for expression
  1. Set [Conditional Branching] in Unit 5. Set the following expressions in Expression A and B, respectively.
    • Expression A: TJG
      Acquire the overall judgement results from Unit 0 to Unit 4. The overall results based on the judgement results of Unit 0 to Unit 4 are output in the following manner.
      Result of unit 0 to unit 4
      TJG output
      All the unit's judgement results are OK
      1
      The judgement results of one or more units are NG
      -1
    • Expression B: 1
      Set the value that will be compared with the value of A (TJG value).
  2. Set the condition of the conditional expression to "A = B".
    A = B, which means that TJG = 1, is set as the condition. As a result, if all the unit judgement results from 0 to 4 are OK, then the condition judgement result will be "YES".
  3. Set each of the conditional branching destinations.
    If "Yes", branch to unit 6. If "No", branch to unit 8.