Layout of Setting Expression Window

Setting Expression windowExpression Display AreaUnit AreaGeneral Button AreaFunctionFunction button area
  1. Expression Display Area
    This area is for setting expressions. The expressions are displayed in the following manner.
    Illustration of expression
  2. Unit Area
    Area where processing item values set in unit are selected.Tapping [▼] displays the unit number and unit name that have been set up in the currently displayed scene. Select the unit and then select items from sub-menus displayed for use in calculation.
    Reference: Each process item "Measurement Results for Which Output Is Possible"
  3. General Button Area
    Common buttons required for editing expressions. Numbers and operators can be input here.
    Button
    Type
    Description
    BS
    -
    Deletes the item directly in the front of the cursor in the expression display area.
    DEL
    -
    Deletes the item directly behind the cursor in the expression display area.
    0 to 9
    Numerical character
    Numbers will be displayed at the cursor position in the expression display area.The number range that can be set up is from -999999999.9999 to 999999999.9999.
    .
    Symbol
    A dot "." will be displayed at the cursor position in the expression display area.
    Icon
    Move
    The cursor in the expression display area moves one space to the left.
    Icon
    Move
    The cursor in the expression display area moves one space to the right.
    (
    Symbol
    Used to set off the numerical expression. Used in pairs with ")".
    )
    Symbol
    Used to set off the numerical expression. Used in pairs with "(".
    Operator
    Indicates division for real numbers.
    Operator
    Indicates multiplication.
    Operator
    Indicates subtraction.
    ,
    Symbol
    A comma "," will be displayed at the cursor position in the expression display area.
    Operator
    Addition.
    TJG
    -
    Acquires the overall judgement result for all units ahead of the unit No. in which an expression has been set.
    Conditional Branching Settings Examples
  4. [FUNC]
    Display/Hide the function button area.
  5. Function button area
    Buttons for inputting functions.
    Function
    Description
    SIN (equation)
    Calculates the sine. The returned result will be within -1 to 1.
    Indicates the angle designated in the numerical expression in degrees.
    COS (equation)
    Calculates the cosine. The returned result will be within -1 to 1.
    Indicates the angle designated in the numerical expression in degrees.
    ATAN (Y-axis component, X-axis component)
    Calculates the arc tangent of the Y-axis component/X-axis component.
    The result will be returned in radians between -π and π.
    (Example)
    For calculation of the angle between the straight line that connects the centers of gravity of area 0 and area 1 and a horizontal line
    ATAN (R1.Y-R0.Y, R1.X-R0.X)
    When both operands equal 0, the result 0 will be returned and NG will display.
    AND (Operand 1, Operand 2)
    Calculates the logical product.
    When one of two operands is 0, calculation will return a result of 0, and for all other cases, will return a result of -1.
    OR (Operand 1, Operand 2)
    Calculates the logical sum.
    When both operands are 0, calculation will return a result of 0 and for all other cases, will return a result of -1.
    NOT (operand)
    Calculates the logical NOT.
    When the operands equal 0, the result -1 will be returned. For the rest part, 0 will be returned.
    ABS (operand)
    Calculates the absolute value.
    MAX (Operand 1, Operand 2)
    The larger of two operands will be returned.
    MIN (Operand 1, Operand 2)
    The smaller of two operands will be returned.
    MOD (divisor, dividend)
    Calculates the remainder when dividing the dividend with the divisor.
    To calculate the remainder, if the number being used is a real number, round off the portion after the decimal point of the real number and then execute the calculation. The result is the remainder after division of the integer.
    (Example)
    MOD (13.4) … Result: 1 (the remainder when dividing 13 by 4)
    MOD (25.68,6.99) … Result: 5 (the remainder when dividing 26 by 7)
    SQRT (operand)
    Calculates the square root.
    When the operand is a negative number, the calculation result is 0. Judgement will be NG.
    ANGL (Y-axis component, X-axis component)
    Calculates the angle made by straight line that connects two points (center of gravity/center of model).
    Calculates the angle relative to the horizontal line. The returned result will be within -180 to 180.
    Illustration of Function (ANGL)
    DIST (X-Coordinate of first point, Y-Coordinate of first point, X-Coordinate of second point, Y-Coordinate of second point)
    Calculates the distance between two points (center of gravity/center of model).
    Illustration of Function (DIST)
    X (first line parameter A, first line parameter B, first line parameter C, second line parameter A, second line parameter B, second line parameter C)
    Calculates intersection (X coordinate) of data for two lines
    (Example) For case of calculating the X coordinate of the intersection between the lines made up of scan edge position 1 and scan edge position 2
    X (U1.A,U1.B,U1.C,U2.A,U2.B,U2.C)
    Y (first line parameter A, first line parameter B, first line parameter C, second line parameter A, second line parameter B, second line parameter C)
    Calculates intersection (Y coordinate) of data for two lines
    (Example) For case of calculating the Y coordinate of the intersection between the lines made up of scan edge position 1 and scan edge position 2
    Y (U1.A,U1.B,U1.C,U2.A,U2.B,U2.C)