10.1.6 Sample Program
Data Transfer
- Program contents
-
Data is transferred between two ET-LAN units.
-
The sample program is for an ET-LAN unit installed in Slot No. 0, and covers communication settings
up to where the SEND instruction is executed after the connection is opened as a result of the contents
noted below.
-
After the connection has been opened, no communication program is necessary on the PLC side which
receives the MEWTOCOL-DAT command.
To transfer the data, the following procedures are required.
Communication setting can be performed as shown below.
When the auto connection function is not used: Setting is performed only using the ladder
program.
→Case 1
When the auto connection function is used: When using the setup tool (Configurator ET)
▪ Connection setting using the ladder program
→Case 2-1
▪ Connection setting using the setup tool (Configurator ET)
→Case 2-2
The ladder programs required for the aforementioned cases are shown in the following pages.
10-11