F218_DXNR

Redundant instruction

NOTE

This is a redundant instruction. It is replaced by: XOR

The function performs a bit-wise exclusive NOR operation on two 32-bit data items at inputs s1 and s2. The result of the instruction is returned at output d.

Parameters

Input

s1 (DWORD, DINT, UDINT, DATE, TOD, DT)

32-bit equivalent constant or 32-bit area

s2 (DWORD, DINT, UDINT, DATE, TOD, DT)

32-bit equivalent constant or 32-bit area

Output

d (DWORD, DINT, UDINT, DATE, TOD, DT)

32-bit area for storing XNR operation result

Remarks

Truth table:

s1

s2

d

0

0

1

0

1

0

1

0

0

1

1

1

Error flags

sys_bIsEqual (turns to TRUE for one scan)

if the result calculated (output d) is 0.

Related topics:

Modified on: 2019-01-24Feedback on this pagePanasonic hotline