Skip to main content

Example - Ladder Diagram

DIS


The DIS instruction splits the WORD value, S, into 4 NIBBLEs and distributes each NIBBLE to n amount of WORD data registers, D.

Ladder Diagram Example


When the contact, M0.1 is ON (1), the instruction splits D5 into 4 NIBBLEs and distributes 3 NIBBLEs to D7, D8, and D9.


Memory Monitor

DISP


The DISP one-shot instruction splits the WORD value, S, into 4 NIBBLEs and distributes each NIBBLE to n amount of WORD data registers, D.
Every time this instruction executes, it energizes the output only once.

Ladder Diagram Example


When the contact, M0.0 is ON (1), the instruction splits D0 into 4 NIBBLEs and distributes 3 the NIBBLEs to D2, D3, and D4.


Memory Monitor