Skip to main content

Example - Ladder Diagram

DXNR


The DXNR instruction performs a logical XNOR on the DWORD value, S1, and the DWORD value, S2, and saves the result in an assigned DWORD data register, D.

Ladder Diagram Example


When the contact, M0.2, is powered ON (1), a logical XNOR operation is performed on the DWORD data registers, D30 and D33.
The result of the logical XNOR operation is saved in the DWORD data register, D36.


Memory Monitor


DXNRP


The DXNRP one-shot instruction performs a logical XNOR on the DWORD value, S1, and the DWORD value, S2, and saves the result in an assigned DWORD data register, D.
Every time this instruction energizes, it executes only once.

Ladder Diagram Example


When the contact, M0.4, is powered ON (1), a logical XNOR operation is performed on the DWORD data registers, D40 and D43.
The result of the logical XNOR operation is saved in the DWORD data register, D46.


Memory Monitor