beautypg.com

Arithmetic operations, Relational operations, Two operand functions – Banner PresencePLUS BCR 1.3 Series User Manual

Page 184: Multiple operand operations

background image

• Less Than Equal To
• Equal To
• Diff
• Mod
• Div

Arithmetic Operations

Returns (X

1

+ X

2

)

Add

Returns (X

1

- X

2

)

Subtract

Returns (X

1

* X

2

)

Multiply

Returns (X

1

/ X

2

)

Divide

Relational Operations

If (X

1

> X

2

) returns True, else False.

Greater Than

If (X

1

>= X

2

) returns True, else False.

Greater Than or Equal To

If (X

1

< X

2

) returns True, else False.

Less Than

If (X

1

>= X

2

) returns True, else False.

Less Than or Equal To

If (X

1

= X

2

) returns True, else False.

Equal To

If the output of relational operation is used as an input for another Math Tool, True interpreted as 1 and False
interpreted as 0.

Two Operand Functions

Returns Abs(X

1

- X

2

).

Returns the difference - absolute value of the difference between two operands.

Diff (Difference)

Returns Mod(X

1

/ X

2

).

The modulus, or remainder, operator divides operand1 by operand2 and returns
the remainder.

Mod (Modulus)

Returns Div(X

1

÷ X

2

).

Returns the integer part of division, remainder is discarded.

Div (Integer Division)

Multiple Operand Operations

Multiple Operand Operations allow the user to make a long list of input data. All of these pieces of information
are inputs to the selected Operation.

For example, select Min as the Operation, and select an input tool. A tab is created for the input tool. Click on
this tab to specify the attribute(s) of the vision tool that will be the Operands. Multiple tools can contribute
multiple Operands to the list as shown in the examples below.

P/N 000000

Banner Engineering Corp. - Minneapolis, MN USA - www.bannerengineering.com

Tel: 763.544.3164

184

7/2009

PresencePLUS Software Tools

This manual is related to the following products: