Bitwise XOR

This function block computes a bitwise XOR of the two input signals, i.e. an exclusive disjunction is performed at the corresponding bits.

Parameters

By using the parameter dialog the data type can be assigned.

Signals

Name I/O Type(s) Function
INP1 I LONG, LONGLONG, UCHAR, WORD Input value 1
INP2 I LONG, LONGLONG, UCHAR, WORD Input value 2
OUT O LONG, LONGLONG, UCHAR, WORD Output value

Comments

If no connection exists, another data type can be assigned by creating a new connection.

If the data type is changed by the parameter dialog, all invalid connections will be deleted.