Skip to main content

Example - Ladder Diagram

FROM


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

Ladder Diagram Example


When the contact, M0.0, is ON (1), 1 WORD value of the buffer memory 12 is read from the expansion module at slot H0004 and stored in the data register, D0.



In this example, 75.6°F (digital value: 756) is read from the temperature detection value (°F) (channel 1) buffer memory of the CM3-SP04ERO expansion module at slot 4.

Memory Monitor

FROMP


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

Ladder Diagram Example


When the contact, M1.0, is ON (1), 1 WORD value of the buffer memory 0 is read from the expansion module at slot H0003 and stored in the data register, D2.



In this example, 6,084 is read from the digital conversion value (channel 1) buffer memory of the CM3-SP04EAA expansion module at slot 3.

Memory Monitor