Description

A logical AND/OR/XOR operation for two digital inputs.

Function

The function block is used to do an AND/OR/XOR operation for two digital inputs. Three options are available: "and", "OR" and "XOR".

Input

PIN

Description

Input1

Digital input 1 for and/OR/XOR operation

Input2

Digital input 2 for and/OR/XOR operation

Output

PIN

Description

Output

A digital value got after performing and/OR/XOR operation

Input value

PIN

Data type

Unit

Default value

Range

Input1

Digital

N/A

N/A

1.0

Input2

Digital

N/A

N/A

1.0

Output value

PIN

Data type

Unit

Default value

Range

Output

Digital

N/A

N/A

1.0

Example

Determines the system date to be valid if the system clock is before a set date (inclusive).