Skip to main content

Example - Ladder Diagram

DFRO


The DFRO instruction reads n3 number of DWORD data from the buffer memory address, n2, on the expansion module, n1, into the assigned DWORD data register, D.

Ladder Diagram Example


When the contact, M2.0 is ON (1), 1 DWORD value of the buffer memory 3 is read from the expansion module at slot H0003 and stored in the data register, D5.



In this example, 260,898,815 is read from the precise value (channel 2) buffer memory of the CM3-SP04EAA expansion module at slot 3.

Memory Monitor

DFROP


The DFROP one-shot instruction reads n3 number of DWORD data from the buffer memory address, n2, on the expansion module, n1, into the assigned DWORD data register, D.
Every time this instruction executes, it energizes the output only once.

Ladder Diagram Example


When the contact, M3.0 is ON (1), 1 DWORD value of the buffer memory 2 is read from the expansion module at slot H0004 and stored in the data register, D10.



In this example, 24.1°C (digital value: 241) is read from the temperature detection value (°C) (channel 2) buffer memory of the CM3-SP04ERO expansion module at slot 4.

Memory Monitor