Example - Ladder Diagram
TO
The TO instruction writes n3 number of WORD data, S, to the buffer memory location, n2, on the expansion module, n1.
Ladder Diagram Example
When the contact, M0.0, is ON (1), 1 WORD value of the data register, D0, is written to buffer memory 26 on the expansion module at slot H0003.
In this example, 2,281 is written to the digital output value buffer memory of the CM3-SP04EAA expansion module at slot 3.
Memory Monitor
TOP
The TOP one-shot instruction writes n3 number of WORD data, S, to the buffer memory location, n2, on the expansion module, n1.
Every time this instruction executes, it energizes the output only once.
Ladder Diagram Example
When the contact, M2.0, is ON (1), 1 WORD value of the data register, D10, is written to buffer memory 42 on the expansion module at slot H0004.
In this example, 320 is written to the maximum temperature value buffer memory (channel 2) of the CM3-SP04ERO expansion module at slot 4.