Skip to main content

Example - Ladder Diagram

SEND


The SEND instruction sends the frame, F_Name, to the communication module defined by the communication configuration program ID, PID, and saves the transmission result in an assigned data register, Result.

Ladder Diagram Example


When the contact M0.0, is powered ON (1), the frame, H0000, is sent to the communication module defined by the program ID, 1.
The result of the transmission is stored in the data register, L100.


Memory Monitor


The above example shows the binary result if there was no error.



The above example shows the binary result if there was an error.

SENDP


The SENDP one-shot instruction sends the frame, F_Name, to the communication module defined by the communication configuration program ID, PID, and saves the transmission result in an assigned data register, Result.
Every time this instruction executes, it energizes the output only once.

Ladder Diagram Example


When the contact M1.0, is powered ON (1), the frame, H0000, is sent to the communication module defined by the program ID, 1.
The result of the transmission is stored in the data register, L200.


Memory Monitor


The above example shows the binary result if there was no error.



The above example shows the binary result if there was an error.